protected override void OnClosing(CancelEventArgs e) { Settings.SettingsHwnd = IntPtr.Zero; #if DEBUG CentroidColorForm.HideSlice(); #endif }
protected override void OnShown(EventArgs e) { Settings.SettingsHwnd = this.Handle; #if DEBUG CentroidColorForm.ShowSlice(); #endif }