public MainForm() { InitializeComponent(); SetMinimizedMetrics(); WinApi.SetTaskmanWindow(this.Handle); WinApi.RegisterShellHookWindow(this.Handle); uMsgNotify = WinApi.RegisterWindowMessage("SHELLHOOK"); db = new SQLiteDatabase(AppPath + "\\data.s3db"); todo = new ToDoManager(db); startup = new StartUpManager(db); startup.onReady += new StartUpManager.AppStarted(AppsReady); bkg = new BackgroundSwitcher(this); pc = new SystemManager(AppPath); apps = new ProcessManager(); }
public ToDoManager(SQLiteDatabase database) { db = database; }
public MainForm() { InitializeComponent(); db = new SQLiteDatabase(AppPath + "\\data.s3db"); }
public StartUpManager(SQLiteDatabase database) { db = database; }