Пример #1
0
        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();
        }
Пример #2
0
 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();
     }
 }