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();
 }
Exemple #3
0
 private void BtnSaveItem_Click(object sender, RoutedEventArgs e)
 {
     TxtItemCode.Focus();
 }
Exemple #4
0
 private void WdwItemDetail_Loaded(object sender, RoutedEventArgs e)
 {
     TxtItemCode.Focus();
 }
Exemple #5
0
 public ItemDetail()
 {
     ItemDetailViewModel.Errors = 0;
     InitializeComponent();
     TxtItemCode.Focus();
 }
Exemple #6
0
 private void BtnAddNew_Click(object sender, RoutedEventArgs e)
 {
     TxtItemCode.Focus();
     //TxtPurchasePrice.Text = "";
     //TxtSellPrice.Text = "";
 }
Exemple #7
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     TxtItemCode.Focus();
 }