コード例 #1
0
 private void repositoryItemButtonEditSarfArc_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     DataSources.dsQueries.vQry44Row row = (DataSources.dsQueries.vQry44Row)((DataRowView)gridViewData.GetRow(gridViewData.FocusedRowHandle)).Row;
     SplashScreenManager.ShowForm(typeof(Forms.Main.WaitWindowFrm));
     this.Invoke(new MethodInvoker(() =>
     {
         Qry27Frm frm = new Qry27Frm(row.MMashatId);
         frm.MdiParent = this.ParentForm;
         frm.Show();
     }));
     SplashScreenManager.CloseForm();
 }
コード例 #2
0
 private void mbRetCenterQry27_ItemClick(object sender, ItemClickEventArgs e)
 {
     SplashScreenManager.ShowForm(typeof(Forms.Main.WaitWindowFrm));
     this.Invoke(new MethodInvoker(() =>
     {
         Qry27Frm FrmData = new Qry27Frm() { MdiParent = this, Icon = FXFW.SqlDB.MakeIcon(ribbonImageCollectionLarge.Images["Qry.png"], 32, false) };
         FrmData.Show();
     }));
     SplashScreenManager.CloseForm();
 }