private void bbtnActivityKind_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { Forms.ActivityKindsSelectForm tmpForm = Forms.ActivityKindsSelectForm.getInst() as Forms.ActivityKindsSelectForm; tmpForm.MdiParent = this; tmpForm.Show(); xtraTabbedMdiManager1.SelectedPage = xtraTabbedMdiManager1.Pages[tmpForm]; }
private void lueActivityKind_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { if (e.Button.Index == 1) { ActivityKindsSelectForm tmpForm = new ActivityKindsSelectForm(getIDSelectedItemID); tmpForm.ShowDialog(); } }