コード例 #1
0
        public IntPtr CreateFrame(IntPtr parentWindow)
        {
            _settingsWindow = new OptionsForm(parentWindow);
            _settingsWindow.OnSaved += (sender, args) =>
                {
                    _player.ServiceOptionsDialog.FrameModified(this);
                };

            _settingsWindow.Show();
            return _settingsWindow.Handle;
        }
コード例 #2
0
 public void DestroyFrame()
 {
     _settingsWindow.Close();
     _settingsWindow = null;
 }