Example #1
0
        /// <summary>
        /// Thêm Stock
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void barButtonItemAdd_ItemClick(object sender, ItemClickEventArgs e)
        {
            var addStock = new FormAddStock();

            addStock.ShowDialog();
            LoadStocks();
        }
Example #2
0
 /// <summary>
 /// Show form Thêm Kho Hàng
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gridLookUpEditStock_Properties_ButtonPressed(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var showFormAddStock = new FormAddStock();
         showFormAddStock.ShowDialog();
         LoadGirdLookUpStock();
     }
 }
Example #3
0
 private void navBarItemAddStocks_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 addStock = new FormAddStock();
     _waitDialog.CloseWait();
     addStock.ShowDialog();
 }
Example #4
0
 /// <summary>
 /// Show form Thêm Kho Hàng
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gridLookUpEditStock_Properties_ButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var showFormAddStock = new FormAddStock();
         showFormAddStock.ShowDialog();
         LoadGirdLookUpStock();
     }
 }
Example #5
0
 /// <summary>
 /// Thêm Stock
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barButtonItemAdd_ItemClick(object sender, ItemClickEventArgs e)
 {
     var addStock = new FormAddStock();
     addStock.ShowDialog();
     LoadStocks();
 }