public IntPtr CreateFrame(IntPtr parentWindow) { _settingsWindow = new OptionsForm(parentWindow); _settingsWindow.OnSaved += (sender, args) => { _player.ServiceOptionsDialog.FrameModified(this); }; _settingsWindow.Show(); return _settingsWindow.Handle; }
public void DestroyFrame() { _settingsWindow.Close(); _settingsWindow = null; }