Exemple #1
0
 /// <summary>
 /// Show Form Thêm Màu Sắc
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gridLookUpEditColor_ButtonPressed(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var showFormAddColor = new FormAddColor();
         showFormAddColor.ShowDialog();
         LoadGirdLookUpColor();
     }
 }
Exemple #2
0
 /// <summary>
 /// Show Form Thêm Màu Sắc
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gridLookUpEditColor_ButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var showFormAddColor = new FormAddColor();
         showFormAddColor.ShowDialog();
         LoadGirdLookUpColor();
     }
 }