예제 #1
0
 private void InitializeEventHandlers()
 {
     _amplitudeEventHandler    = new AmplitudeEventHandler(_mainMenuController, harmonicList, amplitudeErrorProvider, amplitudeTextBox);
     _frequencyEventHandler    = new FrequencyEventHandler(_mainMenuController, harmonicList, frequencyErrorProvider, frequencyTextBox);
     _phaseEventHandler        = new PhaseEventHandler(_mainMenuController, harmonicList, phaseErrorProvider, phaseTextBox);
     _harmonicKindEventHandler = new HarmonicKindEventHandler(_mainMenuController, harmonicList, sinRadioButton, cosRadioButton);
 }
예제 #2
0
 private void InitializeEventHandlers()
 {
     _amplitudeEventHandler    = new AmplitudeEventHandler(_mainMenuController, harmonicList, errorProvider1, textBox1);
     _frequencyEventHandler    = new FrequencyEventHandler(_mainMenuController, harmonicList, errorProvider2, textBox3);
     _phaseEventHandler        = new PhaseEventHandler(_mainMenuController, harmonicList, errorProvider3, textBox2);
     _harmonicKindEventHandler = new HarmonicKindEventHandler(_mainMenuController, harmonicList, radioButton1, radioButton2);
 }