コード例 #1
0
 void tuyenthucuocclick(object sender, RoutedEventArgs e)
 {
     frmtuyenthu dstuyen = new frmtuyenthu("");
     dstuyen.Width = this.ActualWidth;
     dstuyen.Height = this.ActualHeight;
     dstuyen.Show();
 }
コード例 #2
0
 private void OnSubmitCompleted(SubmitOperation so)
 {
     if (so.HasError)
     {
         MessageBox.Show(string.Format("Submit Failed: {0}", so.Error.Message));
         so.MarkErrorAsHandled();
     }
     else
     {
         gridControl1.ShowLoadingPanel = false;
        // dien_dl(cmbtuyen.Text.Trim());
         MessageBox.Show("Đã lưu thay đổi !");
         this.Hide();
         frmtuyenthu frmtuyen = new frmtuyenthu(cmbtuyen.Text.Trim());
         frmtuyen.Width = this.ActualWidth;
         frmtuyen.Height = this.ActualHeight;
         frmtuyen.Show();
     }
 }