public MdiParentForm() { InitializeComponent(); instance = this; /* * foreach (Control c in this.Controls) * { * if (c is MdiClient) * { * (c as MdiClient).BackColor = Color.Black; * (c as MdiClient).BackgroundImage = Properties.Resources.BulletBillCannonTop; * (c as MdiClient).BackgroundImageLayout = ImageLayout.Center; * } * } */ this.Text = "NSMB Editor 5.2 " + Properties.Resources.version.Trim(); if (Properties.Settings.Default.MDIWindowInit) { this.Location = Properties.Settings.Default.MDIWindowPos; this.Size = Properties.Settings.Default.MDIWindowSize; if (Properties.Settings.Default.MDIWindowMax) { this.WindowState = FormWindowState.Maximized; } } this.Icon = Properties.Resources.nsmbe; }
public MdiParentForm() { InitializeComponent(); instance = this; /* foreach (Control c in this.Controls) { if (c is MdiClient) { (c as MdiClient).BackColor = Color.Black; (c as MdiClient).BackgroundImage = Properties.Resources.BulletBillCannonTop; (c as MdiClient).BackgroundImageLayout = ImageLayout.Center; } } */ this.Text = "NSMB Editor 5.2 " + Properties.Resources.version.Trim(); if (Properties.Settings.Default.MDIWindowInit) { this.Location = Properties.Settings.Default.MDIWindowPos; this.Size = Properties.Settings.Default.MDIWindowSize; if (Properties.Settings.Default.MDIWindowMax) this.WindowState = FormWindowState.Maximized; } this.Icon = Properties.Resources.nsmbe; }