private void Form1_Load(object sender, EventArgs e) { this.IsMdiContainer = true; Vhod vh = new Vhod(); vh.ShowDialog(); Vid_r vdr = new Vid_r(); vdr.MdiParent = this; vdr.Show(); }
private void button1_Click(object sender, EventArgs e) { Vhod vhod = new Vhod(); vhod.Show(); }