/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Awesomium.Core.WebPreferences webPreferences1 = new Awesomium.Core.WebPreferences(true); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(About)); this.webControl1 = new Awesomium.Windows.Forms.WebControl(this.components); this.webSessionProvider1 = new Awesomium.Windows.Forms.WebSessionProvider(this.components); this.SuspendLayout(); // // webControl1 // this.webControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.webControl1.Location = new System.Drawing.Point(0, 0); this.webControl1.Size = new System.Drawing.Size(536, 263); this.webControl1.Source = new System.Uri("asset://ui/about.html", System.UriKind.Absolute); this.webControl1.TabIndex = 0; this.webControl1.DocumentReady += new Awesomium.Core.UrlEventHandler(this.Awesomium_Windows_Forms_WebControl_DocumentReady); // // webSessionProvider1 // webPreferences1.CanScriptsAccessClipboard = true; webPreferences1.EnableGPUAcceleration = true; webPreferences1.FileAccessFromFileURL = true; webPreferences1.SmoothScrolling = true; webPreferences1.UniversalAccessFromFileURL = true; webPreferences1.WebSecurity = false; this.webSessionProvider1.Preferences = webPreferences1; this.webSessionProvider1.Views.Add(this.webControl1); // // About // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(536, 263); this.Controls.Add(this.webControl1); this.DoubleBuffered = true; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "About"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "About Skyply"; this.TopMost = true; this.Load += new System.EventHandler(this.About_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Awesomium.Core.WebPreferences webPreferences1 = new Awesomium.Core.WebPreferences(true); this.webControl = new Awesomium.Windows.Forms.WebControl(this.components); this.webSession = new Awesomium.Windows.Forms.WebSessionProvider(this.components); this.SuspendLayout(); // // webControl // this.webControl.Dock = System.Windows.Forms.DockStyle.Fill; this.webControl.Location = new System.Drawing.Point(0, 0); this.webControl.Size = new System.Drawing.Size(657, 431); this.webControl.TabIndex = 0; this.webControl.ViewType = Awesomium.Core.WebViewType.Offscreen; this.webControl.ShowCreatedWebView += new Awesomium.Core.ShowCreatedWebViewEventHandler(this.Awesomium_Windows_Forms_WebControl_ShowCreatedWebView); this.webControl.DocumentReady += new Awesomium.Core.UrlEventHandler(this.Awesomium_Windows_Forms_WebControl_DocumentReady); this.webControl.LoadingFrameComplete += new Awesomium.Core.FrameEventHandler(this.Awesomium_Windows_Forms_WebControl_LoadingFrameComplete); // // webSession // webPreferences1.AcceptLanguage = "ru-ru,ru"; webPreferences1.DefaultEncoding = "utf-8"; webPreferences1.EnableGPUAcceleration = true; webPreferences1.SmoothScrolling = true; webPreferences1.WebGL = true; this.webSession.Preferences = webPreferences1; this.webSession.Views.Add(this.webControl); // // WebDocument // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; this.ClientSize = new System.Drawing.Size(657, 431); this.Controls.Add(this.webControl); this.DockAreas = WeifenLuo.WinFormsUI.Docking.DockAreas.Document; this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.Name = "WebDocument"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "WebDocument"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.WebDocument_FormClosing); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Awesomium.Core.WebPreferences webPreferences1 = new Awesomium.Core.WebPreferences(true); this.web = new Awesomium.Windows.Forms.WebControl(this.components); this.ws = new Awesomium.Windows.Forms.WebSessionProvider(this.components); this.SuspendLayout(); // // web // this.web.Dock = System.Windows.Forms.DockStyle.Fill; this.web.Location = new System.Drawing.Point(0, 0); this.web.Size = new System.Drawing.Size(777, 559); this.web.Source = new System.Uri("http://localhost:1104/Testing/3js/Test3JS.aspx", System.UriKind.Absolute); this.web.TabIndex = 0; // // ws // this.ws.DataPath = "E:\\$Main\\Session"; webPreferences1.CanScriptsAccessClipboard = true; webPreferences1.Databases = true; webPreferences1.EnableGPUAcceleration = true; webPreferences1.FileAccessFromFileURL = true; webPreferences1.SmoothScrolling = true; webPreferences1.UniversalAccessFromFileURL = true; webPreferences1.WebGL = true; webPreferences1.WebSecurity = false; this.ws.Preferences = webPreferences1; this.ws.Views.Add(this.web); // // ManageForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(777, 559); this.Controls.Add(this.web); this.Name = "ManageForm"; this.Text = "Storage Management"; this.ResumeLayout(false); }
private string _siteInBrowserNow = "about:blank"; // what is actually in the browser now; using since I'm not sure how to access this via Awesomium #endregion Fields #region Constructors public WebBgMusicForm() { this.Opacity = 0; Awesomium.Core.WebPreferences prefs = new Awesomium.Core.WebPreferences(); prefs.FileAccessFromFileURL = true; prefs.UniversalAccessFromFileURL = true; prefs.WebGL = true; string configFolder = System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData) + @"\mute.fm"; Awesomium.Core.WebSession session = Awesomium.Core.WebCore.CreateWebSession(configFolder + @"\Awesomium", prefs); InitializeComponent(); this.webControl1 = new Awesomium.Windows.Forms.WebControl(); this.dockBrowserControl.Controls.Add(this.webControl1); // // webControl1 // this.webControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.webControl1.Location = new System.Drawing.Point(20, 20); this.webControl1.Name = "webControl1"; // TODO: Code generation for 'this.webControl1.NativeView' failed because of Exception 'Invalid Primitive Type: System.IntPtr. Consider using CodeObjectCreateExpression.'. this.webControl1.Size = new System.Drawing.Size(1156, 447); this.webControl1.TabIndex = 3; webControl1.WebSession = session; //this.webControl1. //webBrowser1.ScriptErrorsSuppressed = true; this.TopMost = false; //TODO this.ShowInTaskbar = true; this.Text = MuteFm.Constants.ProgramName + " browser"; mToolStrip.Items.Clear(); this.SuspendLayout(); mVolumeUpDown.Increment = 5; mVolumeUpDown.DecimalPlaces = 1; this.Width = 950; InitPanelHeadersHeight = panelHeaders.Height - 31; //TODO // this.mVolumeTrackBar.Visible = false; // Order here matters. Change UpdateUiForState if this gets changed (a little hacky for now) mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("home.png"), new EventHandler(mHomeToolStripButton_Click)); mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("pin.png"), new EventHandler(mAlwaysOnTopToolStripButton_Click)); mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("unpin.png"), new EventHandler(mNotAlwaysOnTopToolStripButton_Click)); //mToolStrip.Items.Add("Send To Chrome", null, new EventHandler(mAlwaysOnTopToolStripButton_Click)); // TODO: also for other browsers mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("mute.png"), new EventHandler(mMuteButton_Click)); mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("unmute.png"), new EventHandler(mUnmuteButton_Click)); mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("stop.png"), new EventHandler(mStopButton_Click)); // TODO: also other operations //mToolStrip.Items.Add("Refresh", null, new EventHandler(mAlwaysOnTopToolStripButton_Click)); // Make this always the last button so that the next fix doesn't have to get changed this.ResumeLayout(); panelToolbar.Width = mToolStrip.Left + mToolStrip.Width + 0; UpdateUiForState(); webControl1.LoadingFrameComplete += new Awesomium.Core.FrameEventHandler(webControl1_LoadingFrameComplete); webControl1.DocumentReady += new Awesomium.Core.UrlEventHandler(webControl1_DocumentReady); this.panelHeaders.Height = InitPanelHeadersHeight; //this.panelCannotHear.Height; this.panelCannotHear.Visible = false; webControl1.AddressChanged += new Awesomium.Core.UrlEventHandler(webControl1_AddressChanged); this.Visible = true; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Awesomium.Core.WebPreferences webPreferences1 = new Awesomium.Core.WebPreferences(true); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Notification)); this.webControl1 = new Awesomium.Windows.Forms.WebControl(this.components); this.showNotificationTimer = new System.Windows.Forms.Timer(this.components); this.hideNotificationTimer = new System.Windows.Forms.Timer(this.components); this.moveTimer = new System.Windows.Forms.Timer(this.components); this.CloseNotificationTimer = new System.Windows.Forms.Timer(this.components); this.webSessionProvider1 = new Awesomium.Windows.Forms.WebSessionProvider(this.components); this.SuspendLayout(); // // webControl1 // this.webControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.webControl1.Location = new System.Drawing.Point(0, 0); this.webControl1.Size = new System.Drawing.Size(322, 123); this.webControl1.Source = new System.Uri("asset://ui/notification.html", System.UriKind.Absolute); this.webControl1.TabIndex = 0; this.webControl1.DocumentReady += new Awesomium.Core.UrlEventHandler(this.Awesomium_Windows_Forms_WebControl_DocumentReady); this.webControl1.MouseEnter += new System.EventHandler(this.Awesomium_Windows_Forms_WebControl_MouseEnter); this.webControl1.MouseLeave += new System.EventHandler(this.Awesomium_Windows_Forms_WebControl_MouseLeave); // // showNotificationTimer // this.showNotificationTimer.Enabled = true; this.showNotificationTimer.Interval = 1; this.showNotificationTimer.Tick += new System.EventHandler(this.showNotificationTimer_Tick); // // hideNotificationTimer // this.hideNotificationTimer.Interval = 1; this.hideNotificationTimer.Tick += new System.EventHandler(this.hideNotificationTimer_Tick); // // moveTimer // this.moveTimer.Interval = 1; this.moveTimer.Tick += new System.EventHandler(this.moveTimer_Tick); // // CloseNotificationTimer // this.CloseNotificationTimer.Enabled = true; this.CloseNotificationTimer.Interval = 8000; this.CloseNotificationTimer.Tick += new System.EventHandler(this.CloseNotificationTimer_Tick); // // webSessionProvider1 // webPreferences1.EnableGPUAcceleration = true; webPreferences1.FileAccessFromFileURL = true; webPreferences1.UniversalAccessFromFileURL = true; webPreferences1.WebSecurity = false; this.webSessionProvider1.Preferences = webPreferences1; this.webSessionProvider1.Views.Add(this.webControl1); // // Notification // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(322, 123); this.ControlBox = false; this.Controls.Add(this.webControl1); this.DoubleBuffered = true; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "Notification"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Load += new System.EventHandler(this.Notification_Load); this.Shown += new System.EventHandler(this.Notification_Shown); this.MouseEnter += new System.EventHandler(this.Awesomium_Windows_Forms_WebControl_MouseEnter); this.MouseLeave += new System.EventHandler(this.Awesomium_Windows_Forms_WebControl_MouseLeave); this.ResumeLayout(false); }
public WebBgMusicForm() { this.Opacity = 0; Awesomium.Core.WebPreferences prefs = new Awesomium.Core.WebPreferences(); prefs.FileAccessFromFileURL = true; prefs.UniversalAccessFromFileURL = true; prefs.WebGL = true; string configFolder = System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData) + @"\mute.fm"; Awesomium.Core.WebSession session = Awesomium.Core.WebCore.CreateWebSession(configFolder + @"\Awesomium", prefs); InitializeComponent(); this.webControl1 = new Awesomium.Windows.Forms.WebControl(); this.dockBrowserControl.Controls.Add(this.webControl1); // // webControl1 // this.webControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.webControl1.Location = new System.Drawing.Point(20, 20); this.webControl1.Name = "webControl1"; // TODO: Code generation for 'this.webControl1.NativeView' failed because of Exception 'Invalid Primitive Type: System.IntPtr. Consider using CodeObjectCreateExpression.'. this.webControl1.Size = new System.Drawing.Size(1156, 447); this.webControl1.TabIndex = 3; webControl1.WebSession = session; //this.webControl1. //webBrowser1.ScriptErrorsSuppressed = true; this.TopMost = false; //TODO this.ShowInTaskbar = true; this.Text = MuteFm.Constants.ProgramName + " browser"; mToolStrip.Items.Clear(); this.SuspendLayout(); mVolumeUpDown.Increment = 5; mVolumeUpDown.DecimalPlaces = 1; this.Width = 950; InitPanelHeadersHeight = panelHeaders.Height - 31; //TODO // this.mVolumeTrackBar.Visible = false; // Order here matters. Change UpdateUiForState if this gets changed (a little hacky for now) mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("home.png"), new EventHandler(mHomeToolStripButton_Click)); mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("pin.png"), new EventHandler(mAlwaysOnTopToolStripButton_Click)); mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("unpin.png"), new EventHandler(mNotAlwaysOnTopToolStripButton_Click)); //mToolStrip.Items.Add("Send To Chrome", null, new EventHandler(mAlwaysOnTopToolStripButton_Click)); // TODO: also for other browsers mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("mute.png"), new EventHandler(mMuteButton_Click)); mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("unmute.png"), new EventHandler(mUnmuteButton_Click)); mToolStrip.Items.Add("", WebServer.GetBitmapFromWebServer("stop.png"), new EventHandler(mStopButton_Click)); // TODO: also other operations //mToolStrip.Items.Add("Refresh", null, new EventHandler(mAlwaysOnTopToolStripButton_Click)); // Make this always the last button so that the next fix doesn't have to get changed this.ResumeLayout(); panelToolbar.Width = mToolStrip.Left + mToolStrip.Width + 0; UpdateUiForState(); webControl1.LoadingFrameComplete += new Awesomium.Core.FrameEventHandler(webControl1_LoadingFrameComplete); webControl1.DocumentReady += new Awesomium.Core.UrlEventHandler(webControl1_DocumentReady); this.panelHeaders.Height = InitPanelHeadersHeight; //this.panelCannotHear.Height; this.panelCannotHear.Visible = false; webControl1.AddressChanged += new Awesomium.Core.UrlEventHandler(webControl1_AddressChanged); this.Visible = true; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Awesomium.Core.WebPreferences webPreferences1 = new Awesomium.Core.WebPreferences(true); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChooseForm)); this.wcChoose = new Awesomium.Windows.Forms.WebControl(this.components); this.wspChoose = new Awesomium.Windows.Forms.WebSessionProvider(this.components); this.msMain = new System.Windows.Forms.MenuStrip(); this.файлToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.настройкиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.показатьМенюToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.скрытьМенюToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.выходToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.webControlContextMenu1 = new Awesomium.Windows.Forms.WebControlContextMenu(this.components); this.tsmiMenu = new System.Windows.Forms.ToolStripMenuItem(); this.cmShoose = new System.Windows.Forms.ContextMenuStrip(this.components); this.показатьМенюToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.msMain.SuspendLayout(); this.webControlContextMenu1.SuspendLayout(); this.cmShoose.SuspendLayout(); this.SuspendLayout(); // // wcChoose // this.wcChoose.ContextMenuStrip = this.cmShoose; this.wcChoose.Dock = System.Windows.Forms.DockStyle.Fill; this.wcChoose.Location = new System.Drawing.Point(0, 24); this.wcChoose.Size = new System.Drawing.Size(800, 408); this.wcChoose.Source = new System.Uri("about:blank", System.UriKind.Absolute); this.wcChoose.TabIndex = 0; this.wcChoose.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Awesomium_Windows_Forms_WebControl_KeyDown); // // wspChoose // webPreferences1.CanScriptsAccessClipboard = true; webPreferences1.Databases = true; webPreferences1.EnableGPUAcceleration = true; webPreferences1.FileAccessFromFileURL = true; webPreferences1.JavascriptViewChangeSource = false; webPreferences1.JavascriptViewEvents = false; webPreferences1.JavascriptViewExecute = false; webPreferences1.MaxHttpCacheStorage = 1000; webPreferences1.SmoothScrolling = true; webPreferences1.UniversalAccessFromFileURL = true; webPreferences1.WebGL = true; this.wspChoose.Preferences = webPreferences1; // // msMain // this.msMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.файлToolStripMenuItem }); this.msMain.Location = new System.Drawing.Point(0, 0); this.msMain.Name = "msMain"; this.msMain.Size = new System.Drawing.Size(800, 24); this.msMain.TabIndex = 1; this.msMain.Text = "msMain"; // // файлToolStripMenuItem // this.файлToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.настройкиToolStripMenuItem, this.показатьМенюToolStripMenuItem, this.скрытьМенюToolStripMenuItem, this.выходToolStripMenuItem }); this.файлToolStripMenuItem.Name = "файлToolStripMenuItem"; this.файлToolStripMenuItem.Size = new System.Drawing.Size(48, 20); this.файлToolStripMenuItem.Text = "Файл"; // // настройкиToolStripMenuItem // this.настройкиToolStripMenuItem.Name = "настройкиToolStripMenuItem"; this.настройкиToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.S))); this.настройкиToolStripMenuItem.Size = new System.Drawing.Size(236, 22); this.настройкиToolStripMenuItem.Text = "Настройки"; this.настройкиToolStripMenuItem.Click += new System.EventHandler(this.настройкиToolStripMenuItem_Click); // // показатьМенюToolStripMenuItem // this.показатьМенюToolStripMenuItem.Name = "показатьМенюToolStripMenuItem"; this.показатьМенюToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.M))); this.показатьМенюToolStripMenuItem.Size = new System.Drawing.Size(236, 22); this.показатьМенюToolStripMenuItem.Text = "Показать меню"; this.показатьМенюToolStripMenuItem.Click += new System.EventHandler(this.показатьМенюToolStripMenuItem_Click); // // скрытьМенюToolStripMenuItem // this.скрытьМенюToolStripMenuItem.Name = "скрытьМенюToolStripMenuItem"; this.скрытьМенюToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M))); this.скрытьМенюToolStripMenuItem.Size = new System.Drawing.Size(236, 22); this.скрытьМенюToolStripMenuItem.Text = "Скрыть меню"; this.скрытьМенюToolStripMenuItem.Click += new System.EventHandler(this.скрытьМенюToolStripMenuItem_Click); // // выходToolStripMenuItem // this.выходToolStripMenuItem.Name = "выходToolStripMenuItem"; this.выходToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.X))); this.выходToolStripMenuItem.Size = new System.Drawing.Size(236, 22); this.выходToolStripMenuItem.Text = "Выход"; this.выходToolStripMenuItem.Click += new System.EventHandler(this.выходToolStripMenuItem_Click); // // webControlContextMenu1 // this.webControlContextMenu1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmiMenu }); this.webControlContextMenu1.Name = "webControlContextMenu1"; this.webControlContextMenu1.Size = new System.Drawing.Size(203, 148); this.webControlContextMenu1.View = null; // // tsmiMenu // this.tsmiMenu.Name = "tsmiMenu"; this.tsmiMenu.Size = new System.Drawing.Size(202, 22); this.tsmiMenu.Text = "Открыть меню"; // // cmShoose // this.cmShoose.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.показатьМенюToolStripMenuItem1 }); this.cmShoose.Name = "cmShoose"; this.cmShoose.Size = new System.Drawing.Size(160, 26); // // показатьМенюToolStripMenuItem1 // this.показатьМенюToolStripMenuItem1.Name = "показатьМенюToolStripMenuItem1"; this.показатьМенюToolStripMenuItem1.Size = new System.Drawing.Size(159, 22); this.показатьМенюToolStripMenuItem1.Text = "Показать меню"; this.показатьМенюToolStripMenuItem1.Click += new System.EventHandler(this.показатьМенюToolStripMenuItem1_Click); // // ChooseForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; this.ClientSize = new System.Drawing.Size(800, 432); this.ContextMenuStrip = this.cmShoose; this.Controls.Add(this.wcChoose); this.Controls.Add(this.msMain); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.HelpButton = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.MainMenuStrip = this.msMain; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ChooseForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Изучаем синтаксис MySQL"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ChooseForm_FormClosing); this.Load += new System.EventHandler(this.ChooseForm_Load); this.VisibleChanged += new System.EventHandler(this.ChooseForm_VisibleChanged); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ChooseForm_KeyDown); this.msMain.ResumeLayout(false); this.msMain.PerformLayout(); this.webControlContextMenu1.ResumeLayout(false); this.cmShoose.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Awesomium.Core.WebPreferences webPreferences1 = new Awesomium.Core.WebPreferences(true); this.btnRegisterAsOther = new System.Windows.Forms.Button(); this.messages = new System.Windows.Forms.TextBox(); this.btnConnectAsOther = new System.Windows.Forms.Button(); this.btnUnregisterFromNoah = new System.Windows.Forms.Button(); this.btnClearMessages = new System.Windows.Forms.Button(); this.btnSetNoahPatient = new System.Windows.Forms.Button(); this.webControl1 = new Awesomium.Windows.Forms.WebControl(this.components); this.btnGetPatientObjects = new System.Windows.Forms.Button(); this.btnDisconnect = new System.Windows.Forms.Button(); this.btnSetHERMESPatient = new System.Windows.Forms.Button(); this.webSessionProvider2 = new Awesomium.Windows.Forms.WebSessionProvider(this.components); this.btnAttemptLogin = new System.Windows.Forms.Button(); this.SuspendLayout(); // // btnRegisterAsOther // this.btnRegisterAsOther.Location = new System.Drawing.Point(22, 3); this.btnRegisterAsOther.Name = "btnRegisterAsOther"; this.btnRegisterAsOther.Size = new System.Drawing.Size(108, 23); this.btnRegisterAsOther.TabIndex = 0; this.btnRegisterAsOther.Text = "RegisterAsOther"; this.btnRegisterAsOther.UseVisualStyleBackColor = true; this.btnRegisterAsOther.Click += new System.EventHandler(this.btnRegisterAsOther_Click); // // messages // this.messages.Location = new System.Drawing.Point(435, 3); this.messages.Multiline = true; this.messages.Name = "messages"; this.messages.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.messages.Size = new System.Drawing.Size(334, 64); this.messages.TabIndex = 1; // // btnConnectAsOther // this.btnConnectAsOther.Location = new System.Drawing.Point(22, 33); this.btnConnectAsOther.Name = "btnConnectAsOther"; this.btnConnectAsOther.Size = new System.Drawing.Size(108, 23); this.btnConnectAsOther.TabIndex = 2; this.btnConnectAsOther.Text = "Connect As Other"; this.btnConnectAsOther.UseVisualStyleBackColor = true; this.btnConnectAsOther.Click += new System.EventHandler(this.btnConnectAsOther_Click); // // btnUnregisterFromNoah // this.btnUnregisterFromNoah.Location = new System.Drawing.Point(159, 3); this.btnUnregisterFromNoah.Name = "btnUnregisterFromNoah"; this.btnUnregisterFromNoah.Size = new System.Drawing.Size(107, 23); this.btnUnregisterFromNoah.TabIndex = 3; this.btnUnregisterFromNoah.Text = "UnregisterModule"; this.btnUnregisterFromNoah.UseVisualStyleBackColor = true; this.btnUnregisterFromNoah.Click += new System.EventHandler(this.btnUnregisterFromNoah_Click); // // btnClearMessages // this.btnClearMessages.Location = new System.Drawing.Point(159, 37); this.btnClearMessages.Name = "btnClearMessages"; this.btnClearMessages.Size = new System.Drawing.Size(107, 19); this.btnClearMessages.TabIndex = 4; this.btnClearMessages.Text = "Clear Messages"; this.btnClearMessages.UseVisualStyleBackColor = true; this.btnClearMessages.Click += new System.EventHandler(this.btnClearMessages_Click); // // btnSetNoahPatient // this.btnSetNoahPatient.Location = new System.Drawing.Point(287, 3); this.btnSetNoahPatient.Name = "btnSetNoahPatient"; this.btnSetNoahPatient.Size = new System.Drawing.Size(75, 23); this.btnSetNoahPatient.TabIndex = 5; this.btnSetNoahPatient.Text = "Set Patient"; this.btnSetNoahPatient.UseVisualStyleBackColor = true; this.btnSetNoahPatient.Click += new System.EventHandler(this.btnSetNoahPatient_Click); // // webControl1 // this.webControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.webControl1.Location = new System.Drawing.Point(22, 92); this.webControl1.Size = new System.Drawing.Size(1035, 398); this.webControl1.Source = new System.Uri("http://localhost/Github/aii-hermes.org/", System.UriKind.Absolute); this.webControl1.TabIndex = 6; this.webControl1.ViewType = Awesomium.Core.WebViewType.Offscreen; this.webControl1.ConsoleMessage += new Awesomium.Core.ConsoleMessageEventHandler(this.Awesomium_Windows_Forms_WebControl_ConsoleMessage); this.webControl1.DocumentReady += new Awesomium.Core.DocumentReadyEventHandler(this.OnDocumentReady); // // btnGetPatientObjects // this.btnGetPatientObjects.Location = new System.Drawing.Point(287, 33); this.btnGetPatientObjects.Name = "btnGetPatientObjects"; this.btnGetPatientObjects.Size = new System.Drawing.Size(120, 23); this.btnGetPatientObjects.TabIndex = 7; this.btnGetPatientObjects.Text = "Get Patient Objects"; this.btnGetPatientObjects.UseVisualStyleBackColor = true; this.btnGetPatientObjects.Click += new System.EventHandler(this.btnGetPatientObjects_Click); // // btnDisconnect // this.btnDisconnect.Location = new System.Drawing.Point(22, 63); this.btnDisconnect.Name = "btnDisconnect"; this.btnDisconnect.Size = new System.Drawing.Size(75, 23); this.btnDisconnect.TabIndex = 8; this.btnDisconnect.Text = "Disconnect"; this.btnDisconnect.UseVisualStyleBackColor = true; this.btnDisconnect.Click += new System.EventHandler(this.btnDisconnect_Click); // // btnSetHERMESPatient // this.btnSetHERMESPatient.Location = new System.Drawing.Point(794, 3); this.btnSetHERMESPatient.Name = "btnSetHERMESPatient"; this.btnSetHERMESPatient.Size = new System.Drawing.Size(75, 23); this.btnSetHERMESPatient.TabIndex = 9; this.btnSetHERMESPatient.Text = "GoToPatient"; this.btnSetHERMESPatient.UseVisualStyleBackColor = true; this.btnSetHERMESPatient.Click += new System.EventHandler(this.btnSetHERMESPatient_Click); // // webSessionProvider2 // webPreferences1.CustomCSS = "::-webkit-scrollbar { visibility: hidden; }"; webPreferences1.JavascriptViewChangeSource = false; webPreferences1.JavascriptViewEvents = false; webPreferences1.JavascriptViewExecute = false; webPreferences1.WebAudio = false; this.webSessionProvider2.Preferences = webPreferences1; this.webSessionProvider2.Views.Add(this.webControl1); // // btnAttemptLogin // this.btnAttemptLogin.Location = new System.Drawing.Point(794, 32); this.btnAttemptLogin.Name = "btnAttemptLogin"; this.btnAttemptLogin.Size = new System.Drawing.Size(75, 23); this.btnAttemptLogin.TabIndex = 10; this.btnAttemptLogin.Text = "delete user setup"; this.btnAttemptLogin.UseVisualStyleBackColor = true; this.btnAttemptLogin.Click += new System.EventHandler(this.btnAttemptLogin_Click); // // Noah4SampleMainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1094, 502); this.Controls.Add(this.btnAttemptLogin); this.Controls.Add(this.btnSetHERMESPatient); this.Controls.Add(this.btnDisconnect); this.Controls.Add(this.btnGetPatientObjects); this.Controls.Add(this.webControl1); this.Controls.Add(this.btnSetNoahPatient); this.Controls.Add(this.btnClearMessages); this.Controls.Add(this.btnUnregisterFromNoah); this.Controls.Add(this.btnConnectAsOther); this.Controls.Add(this.messages); this.Controls.Add(this.btnRegisterAsOther); this.Name = "Noah4SampleMainForm"; this.Text = "Form1"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Noah4SampleMainForm_FormClosing); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Awesomium.Core.WebPreferences webPreferences2 = new Awesomium.Core.WebPreferences(true); this.webControl1 = new Awesomium.Windows.Forms.WebControl(this.components); this.webSessionProvider1 = new Awesomium.Windows.Forms.WebSessionProvider(this.components); this.addressBox1 = new Awesomium.Windows.Forms.AddressBox(); this.webControlContextMenu1 = new Awesomium.Windows.Forms.WebControlContextMenu(this.components); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.writeHTMLToDiskToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // // webControl1 // this.webControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.webControl1.ContextMenuStrip = this.webControlContextMenu1; this.webControl1.Location = new System.Drawing.Point(12, 38); this.webControl1.Size = new System.Drawing.Size(606, 334); this.webControl1.Source = new System.Uri("https://roblox.com", System.UriKind.Absolute); this.webControl1.TabIndex = 0; // // webSessionProvider1 // webPreferences2.JavascriptViewChangeSource = false; webPreferences2.JavascriptViewEvents = false; webPreferences2.JavascriptViewExecute = false; webPreferences2.WebGL = true; this.webSessionProvider1.Preferences = webPreferences2; this.webSessionProvider1.Views.Add(this.webControl1); // // addressBox1 // this.addressBox1.AcceptsReturn = true; this.addressBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.addressBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.addressBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; this.addressBox1.Location = new System.Drawing.Point(12, 12); this.addressBox1.Name = "addressBox1"; this.addressBox1.Size = new System.Drawing.Size(606, 20); this.addressBox1.TabIndex = 1; this.addressBox1.URL = null; this.addressBox1.WebControl = null; // // webControlContextMenu1 // this.webControlContextMenu1.Name = "webControlContextMenu1"; this.webControlContextMenu1.Size = new System.Drawing.Size(204, 126); this.webControlContextMenu1.View = null; // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(630, 24); this.menuStrip1.TabIndex = 3; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.writeHTMLToDiskToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // writeHTMLToDiskToolStripMenuItem // this.writeHTMLToDiskToolStripMenuItem.Name = "writeHTMLToDiskToolStripMenuItem"; this.writeHTMLToDiskToolStripMenuItem.Size = new System.Drawing.Size(177, 22); this.writeHTMLToDiskToolStripMenuItem.Text = "Write HTML to Disk"; this.writeHTMLToDiskToolStripMenuItem.Click += new System.EventHandler(this.writeHTMLToDiskToolStripMenuItem_Click); // // AwesomiumBrowser // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(630, 384); this.Controls.Add(this.menuStrip1); this.Controls.Add(this.addressBox1); this.Controls.Add(this.webControl1); this.MainMenuStrip = this.menuStrip1; this.Name = "AwesomiumBrowser"; this.Text = "AwesomiumBrowser"; this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WebDocument)); Awesomium.Core.WebPreferences webPreferences1 = new Awesomium.Core.WebPreferences(true); this.pageMenuStrip = new System.Windows.Forms.MenuStrip(); this.pageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newTabToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.closeTabToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeOtherTabsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.copyHTMLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.customizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pageToolStrip = new System.Windows.Forms.ToolStrip(); this.pageImageList = new System.Windows.Forms.ImageList(this.components); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); this.addressBox = new Awesomium.Windows.Forms.ToolStripAddressBox(); this.webControl = new Awesomium.Windows.Forms.WebControl(this.components); this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); this.webControlBindingSource = new System.Windows.Forms.BindingSource(this.components); this.webSessionProvider = new Awesomium.Windows.Forms.WebSessionProvider(this.components); this.pageMenuStrip.SuspendLayout(); this.pageToolStrip.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.webControlBindingSource)).BeginInit(); this.SuspendLayout(); // // pageMenuStrip // this.pageMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.pageToolStripMenuItem, this.editToolStripMenuItem, this.toolsToolStripMenuItem }); this.pageMenuStrip.Location = new System.Drawing.Point(0, 0); this.pageMenuStrip.Name = "pageMenuStrip"; this.pageMenuStrip.Size = new System.Drawing.Size(474, 24); this.pageMenuStrip.TabIndex = 0; this.pageMenuStrip.Visible = false; // // pageToolStripMenuItem // this.pageToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newTabToolStripMenuItem, this.toolStripSeparator1, this.saveToolStripMenuItem, this.toolStripSeparator9, this.refreshToolStripMenuItem, this.toolStripSeparator2, this.printToolStripMenuItem, this.toolStripSeparator8, this.closeTabToolStripMenuItem, this.closeOtherTabsToolStripMenuItem }); this.pageToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.Insert; this.pageToolStripMenuItem.MergeIndex = 1; this.pageToolStripMenuItem.Name = "pageToolStripMenuItem"; this.pageToolStripMenuItem.Size = new System.Drawing.Size(45, 20); this.pageToolStripMenuItem.Text = "Page"; // // newTabToolStripMenuItem // this.newTabToolStripMenuItem.Name = "newTabToolStripMenuItem"; this.newTabToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T))); this.newTabToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.newTabToolStripMenuItem.Text = "New Tab"; this.newTabToolStripMenuItem.Click += new System.EventHandler(this.newTabToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(168, 6); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); this.saveToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.saveToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.saveToolStripMenuItem.Text = "&Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); // // toolStripSeparator9 // this.toolStripSeparator9.Name = "toolStripSeparator9"; this.toolStripSeparator9.Size = new System.Drawing.Size(168, 6); // // refreshToolStripMenuItem // this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; this.refreshToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R))); this.refreshToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.refreshToolStripMenuItem.Text = "Refresh"; this.refreshToolStripMenuItem.Click += new System.EventHandler(this.refreshToolStripMenuItem_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(168, 6); // // printToolStripMenuItem // this.printToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripMenuItem.Image"))); this.printToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.printToolStripMenuItem.Name = "printToolStripMenuItem"; this.printToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.printToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.printToolStripMenuItem.Text = "&Print"; this.printToolStripMenuItem.Click += new System.EventHandler(this.printToolStripMenuItem_Click); // // toolStripSeparator8 // this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Size = new System.Drawing.Size(168, 6); // // closeTabToolStripMenuItem // this.closeTabToolStripMenuItem.Name = "closeTabToolStripMenuItem"; this.closeTabToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W))); this.closeTabToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.closeTabToolStripMenuItem.Text = "Close Tab"; this.closeTabToolStripMenuItem.Click += new System.EventHandler(this.closeTabToolStripMenuItem_Click); // // closeOtherTabsToolStripMenuItem // this.closeOtherTabsToolStripMenuItem.Name = "closeOtherTabsToolStripMenuItem"; this.closeOtherTabsToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.closeOtherTabsToolStripMenuItem.Text = "Close Other Tabs"; this.closeOtherTabsToolStripMenuItem.Click += new System.EventHandler(this.closeOtherTabsToolStripMenuItem_Click); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.copyToolStripMenuItem, this.copyHTMLToolStripMenuItem, this.cutToolStripMenuItem, this.pasteToolStripMenuItem, this.toolStripSeparator6, this.selectAllToolStripMenuItem }); this.editToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.Insert; this.editToolStripMenuItem.MergeIndex = 2; this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); this.editToolStripMenuItem.Text = "&Edit"; // // copyToolStripMenuItem // this.copyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripMenuItem.Image"))); this.copyToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.copyToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.copyToolStripMenuItem.Text = "&Copy"; this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); // // copyHTMLToolStripMenuItem // this.copyHTMLToolStripMenuItem.Name = "copyHTMLToolStripMenuItem"; this.copyHTMLToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.copyHTMLToolStripMenuItem.Text = "Copy &HTML"; this.copyHTMLToolStripMenuItem.Click += new System.EventHandler(this.copyHTMLToolStripMenuItem_Click); // // cutToolStripMenuItem // this.cutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripMenuItem.Image"))); this.cutToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); this.cutToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.cutToolStripMenuItem.Text = "Cu&t"; this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click); // // pasteToolStripMenuItem // this.pasteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripMenuItem.Image"))); this.pasteToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V))); this.pasteToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.pasteToolStripMenuItem.Text = "&Paste"; this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(141, 6); // // selectAllToolStripMenuItem // this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.selectAllToolStripMenuItem.Text = "Select &All"; this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click); // // toolsToolStripMenuItem // this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.customizeToolStripMenuItem }); this.toolsToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.MatchOnly; this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; this.toolsToolStripMenuItem.Size = new System.Drawing.Size(48, 20); this.toolsToolStripMenuItem.Text = "&Tools"; // // customizeToolStripMenuItem // this.customizeToolStripMenuItem.Name = "customizeToolStripMenuItem"; this.customizeToolStripMenuItem.Size = new System.Drawing.Size(130, 22); this.customizeToolStripMenuItem.Text = "&Customize"; this.customizeToolStripMenuItem.Click += new System.EventHandler(this.customizeToolStripMenuItem_Click); // // pageToolStrip // this.pageToolStrip.CanOverflow = false; this.pageToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.pageToolStrip.ImageList = this.pageImageList; this.pageToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripButton1, this.toolStripButton2, this.toolStripButton3, this.toolStripButton4, this.addressBox, this.toolStripButton5 }); this.pageToolStrip.Location = new System.Drawing.Point(0, 0); this.pageToolStrip.Name = "pageToolStrip"; this.pageToolStrip.Size = new System.Drawing.Size(474, 25); this.pageToolStrip.Stretch = true; this.pageToolStrip.TabIndex = 1; // // pageImageList // this.pageImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("pageImageList.ImageStream"))); this.pageImageList.TransparentColor = System.Drawing.Color.Transparent; this.pageImageList.Images.SetKeyName(0, "development 23 grey.png"); this.pageImageList.Images.SetKeyName(1, "development 23.png"); this.pageImageList.Images.SetKeyName(2, "development 21 grey.png"); this.pageImageList.Images.SetKeyName(3, "development 21.png"); this.pageImageList.Images.SetKeyName(4, "development 39 grey.png"); this.pageImageList.Images.SetKeyName(5, "development 39.png"); this.pageImageList.Images.SetKeyName(6, "development 20 grey.png"); this.pageImageList.Images.SetKeyName(7, "development 20.png"); this.pageImageList.Images.SetKeyName(8, "development 53 grey.png"); this.pageImageList.Images.SetKeyName(9, "development 53.png"); // // toolStripButton1 // this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButton1.ImageIndex = 0; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(23, 22); this.toolStripButton1.Text = "&Back"; this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); this.toolStripButton1.MouseEnter += new System.EventHandler(this.toolStripButton1_MouseEnter); this.toolStripButton1.MouseLeave += new System.EventHandler(this.toolStripButton1_MouseLeave); // // toolStripButton2 // this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButton2.ImageIndex = 2; this.toolStripButton2.Name = "toolStripButton2"; this.toolStripButton2.Size = new System.Drawing.Size(23, 22); this.toolStripButton2.Text = "&Forward"; this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); this.toolStripButton2.MouseEnter += new System.EventHandler(this.toolStripButton1_MouseEnter); this.toolStripButton2.MouseLeave += new System.EventHandler(this.toolStripButton1_MouseLeave); // // toolStripButton3 // this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButton3.ImageIndex = 4; this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Transparent; this.toolStripButton3.Name = "toolStripButton3"; this.toolStripButton3.Size = new System.Drawing.Size(23, 22); this.toolStripButton3.Text = "&Refresh"; this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); this.toolStripButton3.MouseEnter += new System.EventHandler(this.toolStripButton1_MouseEnter); this.toolStripButton3.MouseLeave += new System.EventHandler(this.toolStripButton1_MouseLeave); // // toolStripButton4 // this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButton4.ImageIndex = 6; this.toolStripButton4.Name = "toolStripButton4"; this.toolStripButton4.Size = new System.Drawing.Size(23, 22); this.toolStripButton4.Text = "&Home"; this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); this.toolStripButton4.MouseEnter += new System.EventHandler(this.toolStripButton1_MouseEnter); this.toolStripButton4.MouseLeave += new System.EventHandler(this.toolStripButton1_MouseLeave); // // addressBox // this.addressBox.Font = new System.Drawing.Font("Segoe UI", 9F); this.addressBox.Name = "addressBox"; this.addressBox.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never; this.addressBox.Size = new System.Drawing.Size(325, 25); this.addressBox.URL = null; this.addressBox.WebControl = this.webControl; // // webControl // this.webControl.Dock = System.Windows.Forms.DockStyle.Fill; this.webControl.Location = new System.Drawing.Point(0, 25); this.webControl.Size = new System.Drawing.Size(474, 377); this.webControl.TabIndex = 2; this.webControl.WindowClose += new Awesomium.Core.WindowCloseEventHandler(this.webControl_WindowClose); this.webControl.TargetURLChanged += new Awesomium.Core.UrlEventHandler(this.webControl_TargetUrlChanged); this.webControl.DocumentReady += new Awesomium.Core.DocumentReadyEventHandler(this.webControl_DomReady); this.webControl.LoadingFrame += new Awesomium.Core.LoadingFrameEventHandler(this.webControl_BeginLoading); this.webControl.SelectLocalFiles += new Awesomium.Core.FileDialogEventHandler(this.webControl_SelectLocalFiles); this.webControl.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(this.webControl_PropertyChanged); // // toolStripButton5 // this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.toolStripButton5.ImageIndex = 8; this.toolStripButton5.Name = "toolStripButton5"; this.toolStripButton5.Size = new System.Drawing.Size(23, 22); this.toolStripButton5.Text = "&Downloads"; this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click); this.toolStripButton5.MouseEnter += new System.EventHandler(this.toolStripButton1_MouseEnter); this.toolStripButton5.MouseLeave += new System.EventHandler(this.toolStripButton1_MouseLeave); // // webControlBindingSource // this.webControlBindingSource.DataSource = typeof(Awesomium.Core.IWebView); // // webSessionProvider // this.webSessionProvider.DataPath = ".\\Cache"; webPreferences1.SmoothScrolling = true; this.webSessionProvider.Preferences = webPreferences1; this.webSessionProvider.Views.Add(this.webControl); // // WebDocument // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(474, 402); this.Controls.Add(this.webControl); this.Controls.Add(this.pageToolStrip); this.Controls.Add(this.pageMenuStrip); this.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.webControlBindingSource, "Title", true)); this.DockAreas = WeifenLuo.WinFormsUI.Docking.DockAreas.Document; this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.pageMenuStrip; this.Name = "WebDocument"; this.Text = "Loading..."; this.pageMenuStrip.ResumeLayout(false); this.pageMenuStrip.PerformLayout(); this.pageToolStrip.ResumeLayout(false); this.pageToolStrip.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.webControlBindingSource)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }