本文整理汇总了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();
}
示例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);
}
示例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;
}
示例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;
}
示例5: childWindow_Loaded
private void childWindow_Loaded(object sender, RoutedEventArgs e)
{
frm = new Form();
frm.Navigation(this.LayoutRoot);
}
示例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();
}
示例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;
}
示例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;
}