private void StartKompasButton_Click(object sender, EventArgs e) { try { _kompasConnector.StartKompas(); ButtonDraw.Enabled = true; StartKompasButton.Enabled = false; CloseKompasButton.Enabled = true; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void StartKompasButton_Click(object sender, EventArgs e) { _connector.StartKompas(); SetFormView(false, true, true, false, true); }