public TitleScreen() { InitializeComponent(); this.startmenu.Paint += (sender, args) => Paintbrush.PaintClassicBorders(sender, args, 2); SeizureWarning sw = new SeizureWarning(); sw.Size = programContent.Size; programContent.Controls.Add(sw); sw.BringToFront(); }
public TitleScreen() { InitializeComponent(); this.startmenu.Paint += (sender, args) => Paintbrush.PaintClassicBorders(sender, args, 2); if (!File.Exists(Path.Combine(DataDirectory, "o.k"))) { SeizureWarning sw = new SeizureWarning(); sw.Size = programContent.Size; programContent.Controls.Add(sw); sw.BringToFront(); } }