private void repositoryItemGridLookUpEditHafzaId_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { if (e.Button.Kind != DevExpress.XtraEditors.Controls.ButtonPredefines.Plus) return; TBLPrintCardFrm Frm = new TBLPrintCardFrm(); Frm.ShowDialog(); LoadDefaultData(CodeFrm.TableNames.All); }
private void mbMembersTBLPrintCard_ItemClick(object sender, ItemClickEventArgs e) { SplashScreenManager.ShowForm(typeof(Forms.Main.WaitWindowFrm)); this.Invoke(new MethodInvoker(() => { TBLPrintCardFrm FrmData = new TBLPrintCardFrm() { MdiParent = this, Icon = FXFW.SqlDB.MakeIcon(ribbonImageCollectionLarge.Images["TBLPrintCard.png"], 32, false) }; FrmData.Show(); })); SplashScreenManager.CloseForm(); }