private void repositoryItemButtonEditDetails_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     DataSources.dsTeachersUnion.Qry9Row row = (DataSources.dsTeachersUnion.Qry9Row)gridViewData.GetDataRow(gridViewData.FocusedRowHandle);
     TblMemberAttachFrm frm = new TblMemberAttachFrm(row.MemberId);
     frm.StartPosition = FormStartPosition.CenterScreen;
     frm.ShowDialog();
 }
        private void repositoryItemButtonEditEdit_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            GridView GV = (GridView)gridControlData.MainView;
            DataSources.dsTeachersUnionQuery.Qry20Row Row = (DataSources.dsTeachersUnionQuery.Qry20Row)GV.GetFocusedDataRow();

            TblMemberAttachFrm frm = new TblMemberAttachFrm(Row.MemberId);
            frm.ShowDialog();
        }
 private void mbMembersTblMemberAttach_ItemClick(object sender, ItemClickEventArgs e)
 {
     SplashScreenManager.ShowForm(typeof(Forms.Main.WaitWindowFrm));
     this.Invoke(new MethodInvoker(() =>
     {
         TblMemberAttachFrm FrmData = new TblMemberAttachFrm() { MdiParent = this, Icon = FXFW.SqlDB.MakeIcon(ribbonImageCollectionLarge.Images["TblMemberAttach.png"], 32, false) };
         FrmData.Show();
     }));
     SplashScreenManager.CloseForm();
 }