private void RoundButton1_Click_1(object sender, EventArgs e)
        {
            int smer = puscicaGumb.ImageIndex;

            if (smer == 0)
            {
                String skupaj = comboBox1.Text + "-" + comboBox2.Text;
                info   nov    = new info(skupaj, "povrsina");
                nov.Show();
            }
            else
            {
                String skupaj = comboBox2.Text + "-" + comboBox1.Text;
                info   nov    = new info(skupaj, "povrsina");
                nov.Show();
            }
        }
Exemple #2
0
        private void Button1_Click(object sender, EventArgs e)
        {
            int smer = puscicaGumb.ImageIndex;

            if (smer == 0)
            {
                String skupaj = comboBox1.Text + "-" + comboBox2.Text;
                info   nov    = new info(skupaj, "temperatura");
                nov.Show();
            }
            else
            {
                String skupaj = comboBox2.Text + "-" + comboBox1.Text;
                info   nov    = new info(skupaj, "temperatura");
                nov.Show();
            }

            this.Hide();
        }