public static void ShowCategory(XtraUserControl control, String Title, Size? size) { frmCategoryDialog item = new frmCategoryDialog(control, Title, size); ProtocolForm.ShowModalDialog(FrameworkParams.MainForm, item); }
public void Show() { frmCategoryDialog cat = new frmCategoryDialog(this.DM_QUAN_LY_FIELD()); ProtocolForm.ShowModalDialog(FrameworkParams.MainForm, cat); }