예제 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(News));
     this.btnClose           = new System.Windows.Forms.Button();
     this.Browser            = new MLifter.Components.MLifterWebBrowser();
     this.lblConnectionError = new System.Windows.Forms.Label();
     this.MainHelp           = new System.Windows.Forms.HelpProvider();
     this.SuspendLayout();
     //
     // btnClose
     //
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.OK;
     resources.ApplyResources(this.btnClose, "btnClose");
     this.btnClose.Name = "btnClose";
     //
     // Browser
     //
     this.Browser.AllowWebBrowserDrop            = false;
     this.Browser.IsWebBrowserContextMenuEnabled = false;
     resources.ApplyResources(this.Browser, "Browser");
     this.Browser.MinimumSize = new System.Drawing.Size(20, 20);
     this.Browser.Name        = "Browser";
     this.Browser.WebBrowserShortcutsEnabled = false;
     this.Browser.DocumentCompleted         += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.Browser_DocumentCompleted);
     //
     // lblConnectionError
     //
     resources.ApplyResources(this.lblConnectionError, "lblConnectionError");
     this.lblConnectionError.Name = "lblConnectionError";
     //
     // News
     //
     this.AcceptButton = this.btnClose;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.btnClose;
     this.Controls.Add(this.lblConnectionError);
     this.Controls.Add(this.Browser);
     this.Controls.Add(this.btnClose);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "News";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.ResumeLayout(false);
 }
예제 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(News));
     this.btnClose = new System.Windows.Forms.Button();
     this.Browser = new MLifter.Components.MLifterWebBrowser();
     this.lblConnectionError = new System.Windows.Forms.Label();
     this.MainHelp = new System.Windows.Forms.HelpProvider();
     this.SuspendLayout();
     //
     // btnClose
     //
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.OK;
     resources.ApplyResources(this.btnClose, "btnClose");
     this.btnClose.Name = "btnClose";
     //
     // Browser
     //
     this.Browser.AllowWebBrowserDrop = false;
     this.Browser.IsWebBrowserContextMenuEnabled = false;
     resources.ApplyResources(this.Browser, "Browser");
     this.Browser.MinimumSize = new System.Drawing.Size(20, 20);
     this.Browser.Name = "Browser";
     this.Browser.WebBrowserShortcutsEnabled = false;
     this.Browser.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.Browser_DocumentCompleted);
     //
     // lblConnectionError
     //
     resources.ApplyResources(this.lblConnectionError, "lblConnectionError");
     this.lblConnectionError.Name = "lblConnectionError";
     //
     // News
     //
     this.AcceptButton = this.btnClose;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.btnClose;
     this.Controls.Add(this.lblConnectionError);
     this.Controls.Add(this.Browser);
     this.Controls.Add(this.btnClose);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "News";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.ResumeLayout(false);
 }