Beispiel #1
0
        private void btnBlock_Click(object sender, EventArgs e)
        {
            BalanceWarehouse WareHouse = new BalanceWarehouse();

            WareHouse.UseDefaultCredentials = true;

            try
            {
                WareHouse.WSBlockLotNo(tbInputData.Text, Globals.theWinlogon, DateTime.Now, "Varen er ikke OK", true);
            }
            catch (Exception ex)
            {
                MessageBoxExample.MyMessageBox.ShowBox(ex.Message);
            }
            WareHouse.Dispose();
            tbInputData.Focus();
            tbInputData.SelectAll();
        }