예제 #1
0
 private void valueTextBox_TextChanged(object sender, EventArgs e)
 {
     saveButton.Enabled     = controller.checkSave(valueTextBox.Text);
     saveButton.BackColor   = controller.checkSave(valueTextBox.Text) ? Color.DarkOrange : Color.LightBlue;
     valueTextBox.BackColor = !AddlevelOfQualityController.isEmpty(valueTextBox.Text.Replace(" ", "")) ? Color.White : Color.LightBlue;
 }
예제 #2
0
 public AddLevelOfQualityForm(FormValue <string, string> newFormValue)
 {
     InitializeComponent();
     controller = new AddlevelOfQualityController();
     formValue  = newFormValue;
 }