private void buttonOpenArduinoPanel_Click(object sender, EventArgs e) { FormArduinoControlPanel arduinoForm = FormArduinoControlPanel.GetInstance(); arduinoForm.Show(); }
public static FormArduinoControlPanel GetInstance() { return(Instance ?? (Instance = new FormArduinoControlPanel())); }