コード例 #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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(EditServerFile));
     this.fileText  = new System.Windows.Forms.TextBox();
     this.save      = new Anderson.Chris.BlogX.WindowsClient.XButton();
     this.fileList  = new System.Windows.Forms.TreeView();
     this.splitter1 = new System.Windows.Forms.Splitter();
     this.password  = new System.Windows.Forms.TextBox();
     this.label2    = new System.Windows.Forms.Label();
     this.label1    = new System.Windows.Forms.Label();
     this.label3    = new System.Windows.Forms.Label();
     this.userName  = new System.Windows.Forms.TextBox();
     this.login     = new Anderson.Chris.BlogX.WindowsClient.XButton();
     this.SuspendLayout();
     //
     // fileText
     //
     this.fileText.AcceptsReturn = true;
     this.fileText.AcceptsTab    = true;
     this.fileText.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.fileText.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.fileText.Font          = new System.Drawing.Font("Lucida Console", 10F);
     this.fileText.Location      = new System.Drawing.Point(187, 70);
     this.fileText.Multiline     = true;
     this.fileText.Name          = "fileText";
     this.fileText.ScrollBars    = System.Windows.Forms.ScrollBars.Both;
     this.fileText.Size          = new System.Drawing.Size(483, 330);
     this.fileText.TabIndex      = 4;
     this.fileText.Text          = "";
     this.fileText.WordWrap      = false;
     this.fileText.TextChanged  += new System.EventHandler(this.fileText_TextChanged);
     //
     // save
     //
     this.save.Anchor    = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.save.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(120)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.save.Enabled   = false;
     this.save.Location  = new System.Drawing.Point(596, 44);
     this.save.Name      = "save";
     this.save.TabIndex  = 5;
     this.save.Text      = "Save";
     this.save.Click    += new System.EventHandler(this.save_Click);
     //
     // fileList
     //
     this.fileList.BorderStyle        = System.Windows.Forms.BorderStyle.FixedSingle;
     this.fileList.Dock               = System.Windows.Forms.DockStyle.Left;
     this.fileList.Font               = new System.Drawing.Font("Tahoma", 10F);
     this.fileList.ImageIndex         = -1;
     this.fileList.Location           = new System.Drawing.Point(10, 70);
     this.fileList.Name               = "fileList";
     this.fileList.SelectedImageIndex = -1;
     this.fileList.Size               = new System.Drawing.Size(174, 330);
     this.fileList.TabIndex           = 3;
     this.fileList.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.fileList_AfterSelect);
     this.fileList.BeforeSelect      += new System.Windows.Forms.TreeViewCancelEventHandler(this.fileList_BeforeSelect);
     //
     // splitter1
     //
     this.splitter1.BackColor = System.Drawing.Color.Navy;
     this.splitter1.Location  = new System.Drawing.Point(184, 70);
     this.splitter1.Name      = "splitter1";
     this.splitter1.Size      = new System.Drawing.Size(3, 330);
     this.splitter1.TabIndex  = 5;
     this.splitter1.TabStop   = false;
     //
     // password
     //
     this.password.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.password.Font         = new System.Drawing.Font("Tahoma", 10F);
     this.password.Location     = new System.Drawing.Point(332, 24);
     this.password.Name         = "password";
     this.password.PasswordChar = '*';
     this.password.Size         = new System.Drawing.Size(144, 24);
     this.password.TabIndex     = 1;
     this.password.Text         = "";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Location  = new System.Drawing.Point(332, 8);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(144, 16);
     this.label2.TabIndex  = 8;
     this.label2.Text      = "Password:"******"label1";
     this.label1.Size      = new System.Drawing.Size(176, 48);
     this.label1.TabIndex  = 6;
     this.label1.Text      = "Type in password, then file list will be populated";
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Location  = new System.Drawing.Point(184, 8);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(144, 16);
     this.label3.TabIndex  = 8;
     this.label3.Text      = "User Name:";
     //
     // userName
     //
     this.userName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.userName.Font        = new System.Drawing.Font("Tahoma", 10F);
     this.userName.Location    = new System.Drawing.Point(184, 24);
     this.userName.Name        = "userName";
     this.userName.Size        = new System.Drawing.Size(144, 24);
     this.userName.TabIndex    = 0;
     this.userName.Text        = "";
     //
     // login
     //
     this.login.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(120)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.login.Location  = new System.Drawing.Point(480, 4);
     this.login.Name      = "login";
     this.login.TabIndex  = 2;
     this.login.Text      = "Login";
     this.login.Click    += new System.EventHandler(this.login_Click);
     //
     // EditServerFile
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 17);
     this.ClientSize        = new System.Drawing.Size(680, 410);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.login,
         this.password,
         this.label2,
         this.label1,
         this.fileText,
         this.splitter1,
         this.fileList,
         this.save,
         this.label3,
         this.userName
     });
     this.DockPadding.Bottom = 10;
     this.DockPadding.Left   = 10;
     this.DockPadding.Right  = 10;
     this.DockPadding.Top    = 70;
     this.Font          = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
     this.ForeColor     = System.Drawing.Color.White;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "EditServerFile";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Edit Server Files";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.EditServerFile_Closing);
     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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(BlogComment));
     this.commentList    = new System.Windows.Forms.ListView();
     this.columnHeader1  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3  = new System.Windows.Forms.ColumnHeader();
     this.commentPreview = new Anderson.Chris.BlogX.WindowsClient.HtmlViewer();
     this.panel1         = new System.Windows.Forms.Panel();
     this.splitter1      = new System.Windows.Forms.Splitter();
     this.label4         = new System.Windows.Forms.Label();
     this.homepageText   = new System.Windows.Forms.TextBox();
     this.label3         = new System.Windows.Forms.Label();
     this.authorText     = new System.Windows.Forms.TextBox();
     this.label2         = new System.Windows.Forms.Label();
     this.emailText      = new System.Windows.Forms.TextBox();
     this.commentEditor  = new Anderson.Chris.BlogX.WindowsClient.HtmlEditor();
     this.label1         = new System.Windows.Forms.Label();
     this.label5         = new System.Windows.Forms.Label();
     this.add            = new Anderson.Chris.BlogX.WindowsClient.XButton();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // commentList
     //
     this.commentList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3
     });
     this.commentList.Dock                  = System.Windows.Forms.DockStyle.Left;
     this.commentList.Font                  = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.commentList.FullRowSelect         = true;
     this.commentList.HeaderStyle           = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.commentList.HideSelection         = false;
     this.commentList.Name                  = "commentList";
     this.commentList.Size                  = new System.Drawing.Size(340, 104);
     this.commentList.TabIndex              = 0;
     this.commentList.View                  = System.Windows.Forms.View.Details;
     this.commentList.SelectedIndexChanged += new System.EventHandler(this.commentList_SelectedIndexChanged);
     //
     // columnHeader1
     //
     this.columnHeader1.Text = "Date";
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Content";
     this.columnHeader2.Width = 210;
     //
     // columnHeader3
     //
     this.columnHeader3.Text = "Author";
     //
     // commentPreview
     //
     this.commentPreview.AllowInPlaceNavigation = false;
     this.commentPreview.Border3d          = false;
     this.commentPreview.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.commentPreview.FlatScrollBars    = false;
     this.commentPreview.Html              = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\r\n\r\n\r\n";
     this.commentPreview.Location          = new System.Drawing.Point(343, 0);
     this.commentPreview.Name              = "commentPreview";
     this.commentPreview.ScriptEnabled     = false;
     this.commentPreview.ScriptObject      = null;
     this.commentPreview.ScrollBarsEnabled = true;
     this.commentPreview.Size              = new System.Drawing.Size(273, 104);
     this.commentPreview.TabIndex          = 1;
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.commentPreview,
         this.splitter1,
         this.commentList
     });
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(10, 32);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(616, 104);
     this.panel1.TabIndex = 2;
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(340, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 104);
     this.splitter1.TabIndex = 2;
     this.splitter1.TabStop  = false;
     //
     // label4
     //
     this.label4.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.label4.BackColor = System.Drawing.Color.Transparent;
     this.label4.Location  = new System.Drawing.Point(420, 256);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(96, 16);
     this.label4.TabIndex  = 15;
     this.label4.Text      = "Homepage:";
     //
     // homepageText
     //
     this.homepageText.Anchor      = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.homepageText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.homepageText.Font        = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.homepageText.Location    = new System.Drawing.Point(420, 272);
     this.homepageText.Name        = "homepageText";
     this.homepageText.Size        = new System.Drawing.Size(212, 24);
     this.homepageText.TabIndex    = 14;
     this.homepageText.Text        = "http://www.simplegeek.com";
     //
     // label3
     //
     this.label3.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Location  = new System.Drawing.Point(420, 212);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(96, 16);
     this.label3.TabIndex  = 13;
     this.label3.Text      = "Author:";
     //
     // authorText
     //
     this.authorText.Anchor      = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.authorText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.authorText.Font        = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.authorText.Location    = new System.Drawing.Point(420, 228);
     this.authorText.Name        = "authorText";
     this.authorText.Size        = new System.Drawing.Size(212, 24);
     this.authorText.TabIndex    = 12;
     this.authorText.Text        = "Chris Anderson";
     //
     // label2
     //
     this.label2.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Location  = new System.Drawing.Point(420, 168);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(96, 16);
     this.label2.TabIndex  = 11;
     this.label2.Text      = "Email:";
     //
     // emailText
     //
     this.emailText.Anchor      = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.emailText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.emailText.Font        = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.emailText.Location    = new System.Drawing.Point(420, 184);
     this.emailText.Name        = "emailText";
     this.emailText.Size        = new System.Drawing.Size(212, 24);
     this.emailText.TabIndex    = 10;
     this.emailText.Text        = "*****@*****.**";
     //
     // commentEditor
     //
     this.commentEditor.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                   | System.Windows.Forms.AnchorStyles.Left)
                                  | System.Windows.Forms.AnchorStyles.Right);
     this.commentEditor.Html     = "<body xmlns=\"http://www.w3.org/1999/xhtml\">\r\n</body>";
     this.commentEditor.Location = new System.Drawing.Point(12, 164);
     this.commentEditor.Name     = "commentEditor";
     this.commentEditor.Size     = new System.Drawing.Size(400, 208);
     this.commentEditor.TabIndex = 17;
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Location  = new System.Drawing.Point(12, 140);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(612, 24);
     this.label1.TabIndex  = 18;
     this.label1.Text      = "New Comment";
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Dock      = System.Windows.Forms.DockStyle.Top;
     this.label5.Location  = new System.Drawing.Point(10, 10);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(616, 22);
     this.label5.TabIndex  = 19;
     this.label5.Text      = "Old Comments";
     //
     // add
     //
     this.add.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.add.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(120)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.add.Enabled   = false;
     this.add.Location  = new System.Drawing.Point(556, 352);
     this.add.Name      = "add";
     this.add.TabIndex  = 20;
     this.add.Text      = "Add";
     this.add.Click    += new System.EventHandler(this.add_Click);
     //
     // BlogComment
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 17);
     this.ClientSize        = new System.Drawing.Size(636, 382);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.add,
         this.label1,
         this.commentEditor,
         this.label4,
         this.homepageText,
         this.label3,
         this.authorText,
         this.label2,
         this.emailText,
         this.panel1,
         this.label5
     });
     this.DockPadding.All = 10;
     this.Font            = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.ForeColor       = System.Drawing.Color.White;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "BlogComment";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Comments";
     this.Load           += new System.EventHandler(this.BlogComment_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #3
0
 /// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(WaitDialog));
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.kill   = new Anderson.Chris.BlogX.WindowsClient.XButton();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label1.Location  = new System.Drawing.Point(5, 5);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(576, 122);
     this.label1.TabIndex  = 0;
     this.label1.Text      = @"Yes, I know showing a wait dialog is wrong. You should really never show one that lacks a cancel button. But for now, this is better than a random pause in the application. At least you know that you are waiting for something to happen. I'll work on fixing this later.";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Font      = new System.Drawing.Font("Lucida Console", 12F);
     this.label2.Location  = new System.Drawing.Point(512, 112);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(72, 16);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "00000";
     //
     // timer1
     //
     this.timer1.Enabled  = true;
     this.timer1.Interval = 150;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // kill
     //
     this.kill.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(120)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.kill.Font      = new System.Drawing.Font("Tahoma", 10F);
     this.kill.Location  = new System.Drawing.Point(8, 104);
     this.kill.Name      = "kill";
     this.kill.Size      = new System.Drawing.Size(88, 24);
     this.kill.TabIndex  = 2;
     this.kill.Text      = "Kill Program";
     this.kill.Click    += new System.EventHandler(this.kill_Click);
     //
     // WaitDialog
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(9, 20);
     this.BackColor         = System.Drawing.SystemColors.Info;
     this.ClientSize        = new System.Drawing.Size(586, 132);
     this.ControlBox        = false;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.kill,
         this.label2,
         this.label1
     });
     this.DockPadding.All = 5;
     this.Font            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
     this.ForeColor       = System.Drawing.Color.White;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "WaitDialog";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Annoying wait dialog";
     this.ResumeLayout(false);
 }
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ProjectEditor));
     this.label1     = new System.Windows.Forms.Label();
     this.editing    = new System.Windows.Forms.TextBox();
     this.label2     = new System.Windows.Forms.Label();
     this.browsing   = new System.Windows.Forms.TextBox();
     this.label3     = new System.Windows.Forms.Label();
     this.localCache = new System.Windows.Forms.TextBox();
     this.ok         = new Anderson.Chris.BlogX.WindowsClient.XButton();
     this.cancel     = new Anderson.Chris.BlogX.WindowsClient.XButton();
     this.detail     = new System.Windows.Forms.CheckBox();
     this.baseUrl    = new System.Windows.Forms.TextBox();
     this.label4     = new System.Windows.Forms.Label();
     this.config     = new System.Windows.Forms.TextBox();
     this.label5     = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Location  = new System.Drawing.Point(8, 72);
     this.label1.Name      = "label1";
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Editing:";
     //
     // editing
     //
     this.editing.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                            | System.Windows.Forms.AnchorStyles.Right);
     this.editing.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.editing.Enabled     = false;
     this.editing.Font        = new System.Drawing.Font("Tahoma", 10F);
     this.editing.Location    = new System.Drawing.Point(112, 72);
     this.editing.Name        = "editing";
     this.editing.Size        = new System.Drawing.Size(344, 24);
     this.editing.TabIndex    = 1;
     this.editing.Text        = "http://www.simplegeek.com/blogxediting.asmx";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Location  = new System.Drawing.Point(8, 96);
     this.label2.Name      = "label2";
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Browing:";
     //
     // browsing
     //
     this.browsing.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                             | System.Windows.Forms.AnchorStyles.Right);
     this.browsing.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.browsing.Enabled     = false;
     this.browsing.Font        = new System.Drawing.Font("Tahoma", 10F);
     this.browsing.Location    = new System.Drawing.Point(112, 96);
     this.browsing.Name        = "browsing";
     this.browsing.Size        = new System.Drawing.Size(344, 24);
     this.browsing.TabIndex    = 3;
     this.browsing.Text        = "http://www.simplegeek.com/blogxbrowsing.asmx";
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Location  = new System.Drawing.Point(8, 144);
     this.label3.Name      = "label3";
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Local Cache:";
     //
     // localCache
     //
     this.localCache.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                               | System.Windows.Forms.AnchorStyles.Right);
     this.localCache.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.localCache.Enabled     = false;
     this.localCache.Font        = new System.Drawing.Font("Tahoma", 10F);
     this.localCache.Location    = new System.Drawing.Point(112, 144);
     this.localCache.Name        = "localCache";
     this.localCache.Size        = new System.Drawing.Size(344, 24);
     this.localCache.TabIndex    = 5;
     this.localCache.Text        = "";
     //
     // ok
     //
     this.ok.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.ok.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(120)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.ok.Location  = new System.Drawing.Point(276, 176);
     this.ok.Name      = "ok";
     this.ok.Size      = new System.Drawing.Size(88, 28);
     this.ok.TabIndex  = 6;
     this.ok.Text      = "OK";
     this.ok.Click    += new System.EventHandler(this.ok_Clicked);
     //
     // cancel
     //
     this.cancel.Anchor       = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.cancel.BackColor    = System.Drawing.Color.FromArgb(((System.Byte)(120)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancel.Location     = new System.Drawing.Point(368, 176);
     this.cancel.Name         = "cancel";
     this.cancel.Size         = new System.Drawing.Size(88, 28);
     this.cancel.TabIndex     = 7;
     this.cancel.Text         = "Cancel";
     this.cancel.Click       += new System.EventHandler(this.cancel_Clicked);
     //
     // detail
     //
     this.detail.BackColor       = System.Drawing.Color.Transparent;
     this.detail.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.detail.Location        = new System.Drawing.Point(80, 40);
     this.detail.Name            = "detail";
     this.detail.Size            = new System.Drawing.Size(324, 24);
     this.detail.TabIndex        = 8;
     this.detail.Text            = "Adjust Details (you don\'t need to do this)";
     this.detail.CheckedChanged += new System.EventHandler(this.detail_CheckedChanged);
     //
     // baseUrl
     //
     this.baseUrl.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                            | System.Windows.Forms.AnchorStyles.Right);
     this.baseUrl.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.baseUrl.Font         = new System.Drawing.Font("Tahoma", 10F);
     this.baseUrl.Location     = new System.Drawing.Point(112, 8);
     this.baseUrl.Name         = "baseUrl";
     this.baseUrl.Size         = new System.Drawing.Size(344, 24);
     this.baseUrl.TabIndex     = 9;
     this.baseUrl.Text         = "http://www.simplegeek.com";
     this.baseUrl.TextChanged += new System.EventHandler(this.baseUrl_TextChanged);
     //
     // label4
     //
     this.label4.BackColor = System.Drawing.Color.Transparent;
     this.label4.Location  = new System.Drawing.Point(8, 12);
     this.label4.Name      = "label4";
     this.label4.TabIndex  = 10;
     this.label4.Text      = "Base URL:";
     //
     // config
     //
     this.config.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                           | System.Windows.Forms.AnchorStyles.Right);
     this.config.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.config.Enabled     = false;
     this.config.Font        = new System.Drawing.Font("Tahoma", 10F);
     this.config.Location    = new System.Drawing.Point(112, 120);
     this.config.Name        = "config";
     this.config.Size        = new System.Drawing.Size(344, 24);
     this.config.TabIndex    = 12;
     this.config.Text        = "http://www.simplegeek.com/configediting.asmx";
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Location  = new System.Drawing.Point(8, 120);
     this.label5.Name      = "label5";
     this.label5.TabIndex  = 11;
     this.label5.Text      = "Config:";
     //
     // ProjectEditor
     //
     this.AcceptButton      = this.ok;
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 17);
     this.CancelButton      = this.cancel;
     this.ClientSize        = new System.Drawing.Size(464, 210);
     this.ControlBox        = false;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.config,
         this.label5,
         this.label4,
         this.baseUrl,
         this.detail,
         this.cancel,
         this.ok,
         this.localCache,
         this.label3,
         this.browsing,
         this.label2,
         this.editing,
         this.label1
     });
     this.Font          = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
     this.ForeColor     = System.Drawing.Color.White;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimizeBox   = false;
     this.Name          = "ProjectEditor";
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Project Editor";
     this.ResumeLayout(false);
 }
コード例 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(BlogEditor));
     this.designDescription = new Anderson.Chris.BlogX.WindowsClient.HtmlEditor();
     this.panel1            = new System.Windows.Forms.Panel();
     this.panel2            = new System.Windows.Forms.Panel();
     this.categoryList      = new System.Windows.Forms.CheckedListBox();
     this.panel4            = new System.Windows.Forms.Panel();
     this.newCategory       = new System.Windows.Forms.TextBox();
     this.addCategory       = new Anderson.Chris.BlogX.WindowsClient.XButton();
     this.label1            = new System.Windows.Forms.Label();
     this.splitter1         = new System.Windows.Forms.Splitter();
     this.passwordText      = new System.Windows.Forms.TextBox();
     this.panel3            = new System.Windows.Forms.Panel();
     this.save          = new Anderson.Chris.BlogX.WindowsClient.XButton();
     this.panel5        = new System.Windows.Forms.Panel();
     this.cancel        = new Anderson.Chris.BlogX.WindowsClient.XButton();
     this.passwordLabel = new System.Windows.Forms.Label();
     this.userNameText  = new System.Windows.Forms.TextBox();
     this.userNameLabel = new System.Windows.Forms.Label();
     this.description   = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.title         = new System.Windows.Forms.TextBox();
     this.label2        = new System.Windows.Forms.Label();
     this.panel2.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // designDescription
     //
     this.designDescription.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.designDescription.Font     = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.designDescription.Html     = "<body xmlns=\"http://www.w3.org/1999/xhtml\">\r\n    htmlDescription</body>";
     this.designDescription.Location = new System.Drawing.Point(5, 104);
     this.designDescription.Name     = "designDescription";
     this.designDescription.Size     = new System.Drawing.Size(478, 293);
     this.designDescription.TabIndex = 0;
     //
     // panel1
     //
     this.panel1.BackColor          = System.Drawing.Color.Transparent;
     this.panel1.Dock               = System.Windows.Forms.DockStyle.Top;
     this.panel1.DockPadding.Bottom = 5;
     this.panel1.Font               = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.panel1.Location           = new System.Drawing.Point(5, 5);
     this.panel1.Name               = "panel1";
     this.panel1.Size               = new System.Drawing.Size(678, 99);
     this.panel1.TabIndex           = 6;
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.Transparent;
     this.panel2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.categoryList,
         this.panel4,
         this.label1
     });
     this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
     this.panel2.DockPadding.Bottom = 150;
     this.panel2.DockPadding.Left   = 5;
     this.panel2.Location           = new System.Drawing.Point(483, 104);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(200, 293);
     this.panel2.TabIndex = 7;
     //
     // categoryList
     //
     this.categoryList.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.categoryList.Font           = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.categoryList.IntegralHeight = false;
     this.categoryList.Location       = new System.Drawing.Point(5, 48);
     this.categoryList.Name           = "categoryList";
     this.categoryList.Size           = new System.Drawing.Size(195, 95);
     this.categoryList.TabIndex       = 0;
     //
     // panel4
     //
     this.panel4.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.newCategory,
         this.addCategory
     });
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel4.Location = new System.Drawing.Point(5, 23);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(195, 25);
     this.panel4.TabIndex = 2;
     //
     // newCategory
     //
     this.newCategory.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.newCategory.Font     = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.newCategory.Name     = "newCategory";
     this.newCategory.Size     = new System.Drawing.Size(147, 24);
     this.newCategory.TabIndex = 0;
     this.newCategory.Text     = "";
     //
     // addCategory
     //
     this.addCategory.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(120)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.addCategory.Dock      = System.Windows.Forms.DockStyle.Right;
     this.addCategory.Location  = new System.Drawing.Point(147, 0);
     this.addCategory.Name      = "addCategory";
     this.addCategory.Size      = new System.Drawing.Size(48, 25);
     this.addCategory.TabIndex  = 1;
     this.addCategory.Text      = " Add";
     this.addCategory.Click    += new System.EventHandler(this.addCategory_Click);
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.label1.Location  = new System.Drawing.Point(5, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(195, 23);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Categories";
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitter1.Location = new System.Drawing.Point(480, 104);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 293);
     this.splitter1.TabIndex = 9;
     this.splitter1.TabStop  = false;
     //
     // passwordText
     //
     this.passwordText.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.passwordText.Dock         = System.Windows.Forms.DockStyle.Left;
     this.passwordText.Font         = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.passwordText.Location     = new System.Drawing.Point(299, 0);
     this.passwordText.Name         = "passwordText";
     this.passwordText.PasswordChar = '*';
     this.passwordText.Size         = new System.Drawing.Size(133, 24);
     this.passwordText.TabIndex     = 1;
     this.passwordText.Text         = "";
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.Transparent;
     this.panel3.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.save,
         this.panel5,
         this.cancel,
         this.passwordText,
         this.passwordLabel,
         this.userNameText,
         this.userNameLabel
     });
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel3.Location = new System.Drawing.Point(5, 397);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(678, 24);
     this.panel3.TabIndex = 11;
     //
     // save
     //
     this.save.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(120)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.save.Dock      = System.Windows.Forms.DockStyle.Right;
     this.save.Location  = new System.Drawing.Point(524, 0);
     this.save.Name      = "save";
     this.save.Size      = new System.Drawing.Size(75, 24);
     this.save.TabIndex  = 2;
     this.save.Text      = "Save";
     this.save.Click    += new System.EventHandler(this.save_Click);
     //
     // panel5
     //
     this.panel5.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel5.Location = new System.Drawing.Point(599, 0);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(4, 24);
     this.panel5.TabIndex = 14;
     //
     // cancel
     //
     this.cancel.BackColor    = System.Drawing.Color.FromArgb(((System.Byte)(120)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancel.Dock         = System.Windows.Forms.DockStyle.Right;
     this.cancel.Location     = new System.Drawing.Point(603, 0);
     this.cancel.Name         = "cancel";
     this.cancel.Size         = new System.Drawing.Size(75, 24);
     this.cancel.TabIndex     = 3;
     this.cancel.Text         = "Cancel";
     this.cancel.Click       += new System.EventHandler(this.cancel_Click);
     //
     // passwordLabel
     //
     this.passwordLabel.AutoSize = true;
     this.passwordLabel.Dock     = System.Windows.Forms.DockStyle.Left;
     this.passwordLabel.Location = new System.Drawing.Point(218, 0);
     this.passwordLabel.Name     = "passwordLabel";
     this.passwordLabel.Size     = new System.Drawing.Size(81, 17);
     this.passwordLabel.TabIndex = 11;
     this.passwordLabel.Text     = "Password: "******"Tahoma", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.userNameText.Location    = new System.Drawing.Point(85, 0);
     this.userNameText.Name        = "userNameText";
     this.userNameText.Size        = new System.Drawing.Size(133, 24);
     this.userNameText.TabIndex    = 0;
     this.userNameText.Text        = "";
     //
     // userNameLabel
     //
     this.userNameLabel.AutoSize = true;
     this.userNameLabel.Dock     = System.Windows.Forms.DockStyle.Left;
     this.userNameLabel.Name     = "userNameLabel";
     this.userNameLabel.Size     = new System.Drawing.Size(85, 17);
     this.userNameLabel.TabIndex = 16;
     this.userNameLabel.Text     = "User Name:";
     //
     // description
     //
     this.description.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.description.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.description.Location    = new System.Drawing.Point(128, 48);
     this.description.Multiline   = true;
     this.description.Name        = "description";
     this.description.ScrollBars  = System.Windows.Forms.ScrollBars.Vertical;
     this.description.Size        = new System.Drawing.Size(552, 48);
     this.description.TabIndex    = 14;
     this.description.Text        = "";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Font      = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label3.Location  = new System.Drawing.Point(8, 48);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(117, 23);
     this.label3.TabIndex  = 15;
     this.label3.Text      = "Description";
     //
     // title
     //
     this.title.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.title.Font        = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.title.Location    = new System.Drawing.Point(128, 8);
     this.title.Name        = "title";
     this.title.Size        = new System.Drawing.Size(552, 36);
     this.title.TabIndex    = 12;
     this.title.Text        = "";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Font      = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location  = new System.Drawing.Point(8, 8);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(78, 29);
     this.label2.TabIndex  = 13;
     this.label2.Text      = "Title  ";
     //
     // BlogEditor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 17);
     this.ClientSize        = new System.Drawing.Size(688, 426);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.description,
         this.label3,
         this.title,
         this.label2,
         this.splitter1,
         this.designDescription,
         this.panel2,
         this.panel1,
         this.panel3
     });
     this.DockPadding.All = 5;
     this.Font            = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.ForeColor       = System.Drawing.Color.White;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "BlogEditor";
     this.Text            = "BlogEditor";
     this.Load           += new System.EventHandler(this.BlogEditor_Load);
     this.panel2.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }