Exemple #1
0
 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);
     }
 }
Exemple #2
0
        private void StartKompasButton_Click(object sender, EventArgs e)
        {
            _connector.StartKompas();

            SetFormView(false, true, true, false, true);
        }