Exemple #1
0
        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();
            }
        }
Exemple #2
0
        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();
            }
        }