コード例 #1
0
        public IntPtr CreateFrame(IntPtr parentWindow)
        {
            _optionsForm = new OptionsForm();

            SetParent(_optionsForm.Handle, parentWindow);

            _optionsForm.OpenWindowOnInitCheckBox.Click      += OnCheckBoxClick;
            _optionsForm.RestoreWindowLocationCheckBox.Click += OnCheckBoxClick;

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