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