Exemplo n.º 1
0
 public LotteryWindow(DatabaseAPI database)
 {
     InitializeComponent();
     this.database = database;
     dataForm      = new HistoryView(database);
     dataForm.Show();
 }
Exemplo n.º 2
0
        static void Main()
        {
            Application.SetHighDpiMode(HighDpiMode.SystemAware);
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            DatabaseAPI database = new DatabaseAPI();

            Application.Run(new LotteryWindow(database));
        }
Exemplo n.º 3
0
 public PlayForm(DatabaseAPI database)
 {
     InitializeComponent();
     this.database = database;
 }
Exemplo n.º 4
0
 public HistoryView(DatabaseAPI database)
 {
     InitializeComponent();
     this.database = database;
 }