Ejemplo n.º 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();
        }
Ejemplo n.º 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();
     }
 }