Пример #1
0
 private void Page_Loaded(object sender, RoutedEventArgs e)
 {
     frm = new Form();
     frm.Navigation(this.LayoutRoot);
     txtName.Focus();
   
 }
Пример #2
0
 /// <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
0
 // 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
0
 // 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
0
 private void childWindow_Loaded(object sender, RoutedEventArgs e)
 {
     frm = new Form();
     frm.Navigation(this.LayoutRoot);
 }
Пример #6
0
 /// <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
0
 // 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
0
 // 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;
 }