Example #1
0
        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>();
        }
Example #2
0
        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>();
        }