Exemple #1
0
        /// <summary>
        /// Form Thêm Nhà cung cấp
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void barButtonItemAdd_ItemClick(object sender, ItemClickEventArgs e)
        {
            var suppliers = new FormAddSuppliers();

            suppliers.ShowDialog();
            LoadSuppliers();
        }
Exemple #2
0
 /// <summary>
 /// Show Form Thêm Nhà Cung Cấp
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gridLookUpEditSuppliers_ButtonPressed(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var showFormAddSupplier = new FormAddSuppliers();
         showFormAddSupplier.ShowDialog();
         LoadGirdLookUpSuppliers();
     }
 }
Exemple #3
0
 /// <summary>
 /// Show Form Thêm Nhà Cung Cấp
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gridLookUpEditSuppliers_ButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var showFormAddSupplier = new FormAddSuppliers();
         showFormAddSupplier.ShowDialog();
         LoadGirdLookUpStock();
     }
 }
Exemple #4
0
 private void navBarItemAddSuppliers_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     _waitDialog.CreateWaitDialog();
     _waitDialog.SetWaitDialogCaption("Chương trình đang tải dữ liệu.\n Vui lòng chờ trong giây lát!");
     var addSupplier = new FormAddSuppliers();
     _waitDialog.CloseWait();
     addSupplier.ShowDialog();
 }
Exemple #5
0
 private void gridLookUpEditSuppliers_ButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var showAddSupplier = new FormAddSuppliers();
         showAddSupplier.ShowDialog();
         LoadGirdLookUpSuppliers();
     }
 }
Exemple #6
0
 private void gridLookUpEditEmployees_ButtonPressed(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var showAddSupplier = new FormAddSuppliers();
         showAddSupplier.ShowDialog();
         LoadGirdLookUpEmployees();
     }
 }
Exemple #7
0
 /// <summary>
 /// Form Thêm Nhà cung cấp
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barButtonItemAdd_ItemClick(object sender, ItemClickEventArgs e)
 {
     var suppliers = new FormAddSuppliers();
     suppliers.ShowDialog();
     LoadSuppliers();
 }