/// <summary> /// Thêm /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void bbiAddProductGroup_ItemClick(object sender, ItemClickEventArgs e) { var insertOrUpdate = new FormInsertOrUpdateProductGroup(null); insertOrUpdate.ShowDialog(); LoadData(); }
private void gridLookUpEditProductGroup_ButtonPressed(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { if (e.Button.Index == 1) { var productGroup = new FormInsertOrUpdateProductGroup(null); productGroup.ShowDialog(); LoadGirdLookUpProductGroup(); } }
private void gridView1_DoubleClick(object sender, EventArgs e) { if (string.IsNullOrEmpty(_productGroupId)) { MessageBoxHelper.ShowMessageBoxEditWaringNotSelectId(this.Text); } else { var insertOrUpdate = new FormInsertOrUpdateProductGroup(_productGroupId); insertOrUpdate.ShowDialog(); LoadData(); } }