Sfoglia il codice sorgente

made messagebox also dark-style

winforms
benjamin.m 5 anni fa
parent
commit
c953b38d5e
2 ha cambiato i file con 8 aggiunte e 3 eliminazioni
  1. 5
    1
      Buhnenrennen/Program.cs
  2. 3
    2
      Buhnenrennen/Scripter.cs

+ 5
- 1
Buhnenrennen/Program.cs Vedi File

using System;
using DragonSkills99.ControlCollection;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing;
using System.Linq; using System.Linq;
using System.Security.Permissions; using System.Security.Permissions;
using System.Text; using System.Text;
[STAThread] [STAThread]
static void Main( string[] args ) static void Main( string[] args )
{ {
ColorMessageBox.ForeColor = Color.White;
ColorMessageBox.BackColor = Color.FromArgb( 45, 45, 45 );
Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault( false ); Application.SetCompatibleTextRenderingDefault( false );
Application.Run( new Scripter() ); Application.Run( new Scripter() );

+ 3
- 2
Buhnenrennen/Scripter.cs Vedi File

using System;
using DragonSkills99.ControlCollection;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Data; using System.Data;


if ( filenumbers_int.Count <= 0 ) if ( filenumbers_int.Count <= 0 )
{ {
MessageBox.Show( "Es wurden keine Setup-Dateien gefunden, bitte legt erst welche an und startet das Programm dann erneut." );
ColorMessageBox.Show( "Es wurden keine Setup-Dateien gefunden, bitte legt erst welche an und startet das Programm dann erneut." );
Application.Exit(); Application.Exit();
return; return;
} }

Loading…
Annulla
Salva