Example #1
0
        private void barButtonItemAdd_ItemClick(object sender, ItemClickEventArgs e)
        {
            var unit = new FormAddUnit();

            unit.ShowDialog();
            LoadUnits();
        }
Example #2
0
 /// <summary>
 /// Show Form Add Đơn Vị Tính
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gridLookUpEditUnit_ButtonPressed(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var showFormAddUnit = new FormAddUnit();
         showFormAddUnit.ShowDialog();
         LoadGirdLookUpUnit();
     }
 }
Example #3
0
 /// <summary>
 /// Show Form Add Đơn Vị Tính
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gridLookUpEditUnit_ButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var showFormAddUnit = new FormAddUnit();
         showFormAddUnit.ShowDialog();
         LoadGirdLookUpUnit();
     }
 }
Example #4
0
 private void barButtonItemAdd_ItemClick(object sender, ItemClickEventArgs e)
 {
     var unit = new FormAddUnit();
     unit.ShowDialog();
     LoadUnits();
 }