private void MainFormClosed(object sender, FormClosedEventArgs e) { ThemeController.UnRegisterForm(this); }