示例#1
0
        /// <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();
        }
示例#2
0
 private void gridLookUpEditProductGroup_ButtonPressed(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var productGroup = new FormInsertOrUpdateProductGroup(null);
         productGroup.ShowDialog();
         LoadGirdLookUpProductGroup();
     }
 }
示例#3
0
 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();
     }
 }
示例#4
0
 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();
     }
 }
 private void gridLookUpEditProductGroup_ButtonPressed(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var productGroup = new FormInsertOrUpdateProductGroup(null);
         productGroup.ShowDialog();
         LoadGirdLookUpProductGroup();
     } 
 }
示例#6
0
 /// <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();
 }