Ejemplo n.º 1
0
 private void ResetButton_Click(object sender, EventArgs e)
 {
     TodayDateRadioButton.Checked   = true;
     ExpDateTimePicker.CustomFormat = " ";
     CatagoryComboBox.SelectedIndex = -1;
     AmountTextBox.Clear();
     ExpDescTextBox.Clear();
     ExpDateTimePicker.Focus();
 }
Ejemplo n.º 2
0
 private void AddExpButton_Click(object sender, EventArgs e)
 {
     if (IsValidated())
     {
         GetAllRecored();
         MessageBox.Show("New Record Added SuccsessFully...", "Record Added", MessageBoxButtons.OK, MessageBoxIcon.Information);
         TodayDateRadioButton.Checked   = true;
         ExpDateTimePicker.CustomFormat = " ";
         CatagoryComboBox.SelectedIndex = -1;
         AmountTextBox.Clear();
         ExpDescTextBox.Clear();
         ExpDateTimePicker.Focus();
     }
 }