private void colorMeterToolStripMenuItem_Click(object sender, EventArgs e) { if (Balance != null) { Balance.Dispose(); Balance = null; } using (var meter = new ColorMeter(Settings.Default.ColorCOMPort)) { ColorForm c = new ColorForm(meter); c.Show(); } }
private void colorMeterToolStripMenuItem_Click(object sender, EventArgs e) { if(Balance != null) { Balance.Dispose(); Balance = null; } using (var meter = new ColorMeter(Settings.Default.ColorCOMPort)) { ColorForm c = new ColorForm(meter); c.Show(); } }