Exemple #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();
        }
Exemple #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();
     }
 }
Exemple #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();
     }
 }
Exemple #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();
     } 
 }
Exemple #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();
 }