当前位置: 首页>>代码示例>>C#>>正文


C# Form.Navigation方法代码示例

本文整理汇总了C#中Form.Navigation方法的典型用法代码示例。如果您正苦于以下问题:C# Form.Navigation方法的具体用法?C# Form.Navigation怎么用?C# Form.Navigation使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Form的用法示例。


在下文中一共展示了Form.Navigation方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Page_Loaded

 private void Page_Loaded(object sender, RoutedEventArgs e)
 {
     frm = new Form();
     frm.Navigation(this.LayoutRoot);
     txtName.Focus();
   
 }
开发者ID:sajidk,项目名称:Estimate-SL,代码行数:7,代码来源:UILogin.xaml.cs

示例2: CWAddrLookup

 /// <summary>
 /// 
 /// </summary>
 public CWAddrLookup()
 {
     InitializeComponent();
     sClient = new SDBServiceClient();
     sClient.GetCustomersCompleted += new EventHandler<GetCustomersCompletedEventArgs>(sClient_GetCustomersCompleted);
     frm = new Form();
     frm.Navigation(this.LayoutRoot);
     this.KeyDown += new KeyEventHandler(CWAddrLookup_KeyDown);
 }
开发者ID:sajidk,项目名称:Estimate-SL,代码行数:12,代码来源:CWAddrLookup.xaml.cs

示例3: OnNavigatedTo

 // Executes when the user navigates to this page.
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     frm = new Form();
     frm.Navigation(this.LayoutRoot);
     ClearForm();
     CommandStatus.Print = false;
     CommandStatus.Show = false;
     CommandStatus.Search = false;
     CommandStatus.SendMail = false;
 }
开发者ID:sajidk,项目名称:Estimate-SL,代码行数:11,代码来源:UIEstimate.xaml.cs

示例4: OnNavigatedTo

 // Executes when the user navigates to this page.
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     frm = new Form();
     frm.Navigation(this.LayoutRoot);
     if (!Common.IsConnected)
     {
         MessageBox.Show("ネットワークに接続していません。");
         return;
     }
     db.GetRequistionAsync("REQUISITION.DEL_FLG=0 AND REQUISITION.PAYMENT_DATE IS NULL");
     db.GetMastersAsync("DEL_FLG='0'", "M_STAFF");
     db.GetCustomersAsync("0=0");
     SetStatusCommand();
     CommandStatus.Print = false;
     CommandStatus.Show = false;
     CommandStatus.SendMail = false;
 }
开发者ID:sajidk,项目名称:Estimate-SL,代码行数:18,代码来源:UIRequisitionList.xaml.cs

示例5: childWindow_Loaded

 private void childWindow_Loaded(object sender, RoutedEventArgs e)
 {
     frm = new Form();
     frm.Navigation(this.LayoutRoot);
 }
开发者ID:sajidk,项目名称:Estimate-SL,代码行数:5,代码来源:CWLogin.xaml.cs

示例6: Page_Loaded

 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Page_Loaded(object sender, RoutedEventArgs e)
 {
     frm = new Form();
     frm.Navigation(this.ControlRoot);
     if (Common.favourites != null)
         foreach (Menu mn in Common.favourites)
         {
             if (mn.name == "担当者")
                 imgFvt.Visibility = System.Windows.Visibility.Collapsed;
         }
     btnAdd.Focus();
 }
开发者ID:sajidk,项目名称:Estimate-SL,代码行数:17,代码来源:UIStaff.xaml.cs

示例7: OnNavigatedTo

 // Executes when the user navigates to this page.
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     if (!Common.IsConnected)
     {
         MessageBox.Show("ネットワークに接続していません。");
         return;
     }
     frm = new Form();
     frm.Navigation(this.LayoutRoot);
     db.GetEstimateAsync("ESTIMATE.DEL_FLG=0 AND ESTIMATE.STAFF_CODE="+ Common.staff.Code +" AND ESTIMATE.FINISH_DATE IS NULL");
     db.GetMastersAsync("DEL_FLG='0'", "M_STAFF");
     db.GetCustomersAsync("0=0");
     db.GetSupplierAsync("0=0", "M_SUPPLIER");
     db1.GetMastersAsync("0=0", "ITEM_TYPE");
     cboCustomer.Focus();
    
     SetStatusCommand();
     CommandStatus.Print = false;
     CommandStatus.Show = false;
     CommandStatus.SendMail = false;
 }
开发者ID:sajidk,项目名称:Estimate-SL,代码行数:22,代码来源:UIEstimateList.xaml.cs

示例8: OnNavigatedTo

 // Executes when the user navigates to this page.
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     masterForm = new Form();
     taxForm = new Form();
     masterForm.Navigation(this.MasterRoot);
     taxForm.Navigation(this.TaxRoot);
     ButtonHandle(FormState.InitState);
     SetControlActive(true);
     Grid.SetColumn(btnAdd, 5);
     ClearControls();            
     CommandStatus.Refresh = true;
     CommandStatus.Print = false;
     CommandStatus.Show = false;
     CommandStatus.Search = false;
     CommandStatus.SendMail = false;
 }
开发者ID:sajidk,项目名称:Estimate-SL,代码行数:17,代码来源:UIMaster.xaml.cs


注:本文中的Form.Navigation方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。