Exemple #1
0
 void Scheduler_DBobjects_Intefraces.IEntity.SetDatabase(Scheduler_DBobjects_Intefraces.IMainDataBase db)
 {
     if (database == null)
     {
         database = db;
     }
 }
Exemple #2
0
 public Reports(Scheduler_DBobjects_Intefraces.IMainDataBase database)
 {
     InitializeComponent();
     db = database;
     cmbReportKindSelect.SelectedIndex = 0;
     date2.Value = DateTime.Now.Date;
     date1.Value = date2.Value.Subtract(TimeSpan.FromDays(30));
 }