private void Form1_Load(object sender, EventArgs e) { hide_show_hotkey.Register(); history_hotkey.Register(); if (can_exit) { this.Close(); } }