Exemplo n.º 1
0
        private void button4_Click_4(object sender, EventArgs e)
        {
            Time_Pump MyTimePump = new Time_Pump();

            MyTimePump.Owner = this;
            MyTimePump.Show();
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Time_Pump main = this.Owner as Time_Pump;

            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                foreach (var item in openFileDialog1.FileNames)
                {
                    MyAllSensors.LoadFromFile(item, MyAllSensors);
                }
                //    MyAllSensors.Sort();

                //checkedListBox1.Visible = false;

                for (int i = 0; i < MyAllSensors.Count; i++)
                {
                    comboBox1.Items.Add(MyAllSensors[i].KKS_Name);
                    MyListKKS.Add(MyAllSensors[i].KKS_Name);
                }
                //  checkedListBox1.Visible = true;
            }
            button5.Enabled = true;
            //button4.Enabled = true;
            //  button3.Enabled = true;
        }