Exemple #1
0
 private void контролиToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Controls k = new Controls(this);
     this.Enabled = false;
     k.Show();
 }
Exemple #2
0
        private void pictureBox2_MouseUp(object sender, MouseEventArgs e)
        {
            ResourceManager rm = Resources.ResourceManager;
            Image slika = (Image)rm.GetObject("kontroli_kopce");
            pictureBox2.Image = slika;

            Controls kontroli = new Controls(this);
            this.Hide();
            kontroli.Show();
        }