Пример #1
0
        public void Save()
        {
            CancelEventArgs ce = new CancelEventArgs();

            OnOptionsSaving(ce);
            if (!ce.Cancel)
            {
                JavaScriptBrowserContext.Options.BrowserOrientation = (Orientation)orientationComboBox.SelectedItem;
                JavaScriptBrowserContext.SaveOptions();
                OnOptionsSaved(EventArgs.Empty);
            }
        }
 public void Close()
 {
     JavaScriptBrowserContext.SaveOptions();
 }