private void BtnEdit_Click(object sender, EventArgs e)
 {
     PanelCRUD.Enabled = true;
     BtnCancel.Enabled = true;
     TxtItemCode.Focus();
     BtnSave.Enabled = true;
 }
 private void BtnAdd_Click(object sender, EventArgs e)
 {
     ResetFeilds();
     PanelCRUD.Enabled = true;
     BtnCancel.Enabled = true;
     BtnSave.Enabled   = true;
     TxtItemId.Text    = "0";
     TxtItemCode.Focus();
 }
Example #3
0
 private void BtnSaveItem_Click(object sender, RoutedEventArgs e)
 {
     TxtItemCode.Focus();
 }
Example #4
0
 private void WdwItemDetail_Loaded(object sender, RoutedEventArgs e)
 {
     TxtItemCode.Focus();
 }
Example #5
0
 public ItemDetail()
 {
     ItemDetailViewModel.Errors = 0;
     InitializeComponent();
     TxtItemCode.Focus();
 }
Example #6
0
 private void BtnAddNew_Click(object sender, RoutedEventArgs e)
 {
     TxtItemCode.Focus();
     //TxtPurchasePrice.Text = "";
     //TxtSellPrice.Text = "";
 }
Example #7
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     TxtItemCode.Focus();
 }