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