Пример #1
0
 void Reset()
 {
     TxtLBound.Clear();
     TxtRate.Clear();
     TxtTestCode.Clear();
     TxtTestID.Clear();
     TxtTestName.Clear();
     CmbTestClass.SelectedItem = "";
     CmbTestUnits.SelectedItem = "";
 }
Пример #2
0
 private void TxtRate_TextChanged(object sender, EventArgs e)
 {
     try
     {
         rate = Convert.ToDouble(TxtRate.Text) * 0.01;
     }
     catch
     {
         //MessageBox.Show("年利率輸入錯誤");
         rate = 0;
         TxtRate.Clear();
         TxtRate.Focus();
     }
     Calculation();
 }
Пример #3
0
 private void TxtRate_Enter(object sender, EventArgs e)
 {
     TxtRate.Clear();
 }