private void Form2_Resize(object sender, EventArgs e) { if (mi != null) { turkiye f1 = new turkiye(); Size x = f1.Size; // The form has been resized. if (mi.Eval("WindowID(0)") != "") { // Update the map to match the current size of the panel. MoveWindow((System.IntPtr) long.Parse(mi.Eval("WindowInfo(FrontWindow(),12)")), 0, 0, this.panel1.Width, this.panel1.Height, false); } } }
public BilgiButonuClass(turkiye _turkiye) { _tr = _turkiye; }
private void turkiyeBtn_Click(object sender, EventArgs e) { turkiye tr = new turkiye(); tr.ShowDialog(); }