public ModuleMainForm()
        {
            InitializeComponent();
            try
            {
                // make data folder for this module
                Common.MakeAllSubFolders(Static.DataFolderPath);
                // check sdf database file, and copy new if dont exists
                Static.CheckDB_SDF();

                conn    = new SqlCeConnection(Static.ConnectionString);
                command = new SqlCeCommand("", conn);
                dgwPanel.Columns.Add("tag", "Tag");
                dgwPanel.Columns.Add("info", "Info");
                DataGridViewButtonColumn btnColl1 = new DataGridViewButtonColumn();
                btnColl1.HeaderText = "Edit";
                btnColl1.Name       = "Edit";
                dgwPanel.Columns.Add(btnColl1);
                keyEventsArgs        = new KeyEventArgs(Keys.Oemtilde | Keys.Control);
                HookManager.KeyDown += new KeyEventHandler(HookManager_KeyDown);
            }
            catch (Exception exc)
            {
                Log.Write(exc, this.Name, "ModuleMainForm", Log.LogType.ERROR);
            }
        }