public MainForm() { InitializeComponent(); singleton = this; Database = new LiteDatabase(AppDatabaseFilename); Database.Tables.Add(new Database.Tables.Devices()); Database.Tables.Add(new Database.Tables.Keys()); Database.Open(); Watchers = new List <Forms.UsbWatcherForm>(); }
public MainForm() { InitializeComponent(); singleton = this; Database = new LiteDatabase(AppDatabaseFilename); Database.Tables.Add(new Database.Tables.Devices()); Database.Tables.Add(new Database.Tables.Keys()); Database.Open(); Watchers = new List<Forms.UsbWatcherForm>(); }