private void Graf_spolu_Click(object sender, EventArgs e) { if (senzor_spolu.IsDisposed) { senzor_spolu = new graf_panel(); } senzor_spolu.Text = "Graph sensors"; senzor_spolu.all_checked = true; senzor_spolu.Show(); }
private void graf_compass(object sender, EventArgs e) { if (senzor_spolu.IsDisposed) { senzor_spolu = new graf_panel(); } senzor_spolu.Text = "Graph sensors"; senzor_spolu.all_checked = false; senzor_spolu.Compass = true; senzor_spolu.Show(); }