Exemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Form18 f = new Form18();
            Image image1 = Image.FromFile("white-star-md.png");
            f.label1.Image = image1;
            f.label1.Text = "";

            f.Show();
            //_bFullScreenMode = true;
        }
Exemplo n.º 2
0
        private void button4_Click(object sender, EventArgs e)
        {
            openFileDialog1.Filter = "Obrazki|*.jpg;*.gif;*.bmp;*.png;*.jpeg";
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                Form18 f = new Form18();
                Image image1 = Image.FromFile(openFileDialog1.FileName );
                f.label1.Image = image1;
                f.label1.Text = "";

                f.Show();

            }
        }
Exemplo n.º 3
0
 private void button3_Click(object sender, EventArgs e)
 {
     Form18 f = new Form18();
     f.label1.Text = textBox1.Text;
     f.Show();
 }