Пример #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(SelectRecordTemplateDlg));
     this.listView1            = new DigitalPlatform.GUI.ListViewNF();
     this.columnHeader_name    = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_comment = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.checkBox_notAsk      = new System.Windows.Forms.CheckBox();
     this.button_OK            = new System.Windows.Forms.Button();
     this.button_Cancel        = new System.Windows.Forms.Button();
     this.label1       = new System.Windows.Forms.Label();
     this.textBox_name = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // listView1
     //
     this.listView1.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.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader_name,
         this.columnHeader_comment
     });
     this.listView1.FullRowSelect = true;
     this.listView1.HideSelection = false;
     this.listView1.Location      = new System.Drawing.Point(9, 9);
     this.listView1.MultiSelect   = false;
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new System.Drawing.Size(403, 233);
     this.listView1.TabIndex      = 0;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = System.Windows.Forms.View.Details;
     this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
     this.listView1.DoubleClick          += new System.EventHandler(this.listView1_DoubleClick);
     this.listView1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView1_MouseUp);
     //
     // columnHeader_name
     //
     this.columnHeader_name.Text  = "模板名";
     this.columnHeader_name.Width = 200;
     //
     // columnHeader_comment
     //
     this.columnHeader_comment.Text  = "说明";
     this.columnHeader_comment.Width = 300;
     //
     // checkBox_notAsk
     //
     this.checkBox_notAsk.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBox_notAsk.AutoSize = true;
     this.checkBox_notAsk.Enabled  = false;
     this.checkBox_notAsk.Location = new System.Drawing.Point(9, 277);
     this.checkBox_notAsk.Name     = "checkBox_notAsk";
     this.checkBox_notAsk.Size     = new System.Drawing.Size(144, 16);
     this.checkBox_notAsk.TabIndex = 1;
     this.checkBox_notAsk.Text     = "下次不再出现此对话框";
     //
     // button_OK
     //
     this.button_OK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_OK.Location = new System.Drawing.Point(337, 247);
     this.button_OK.Name     = "button_OK";
     this.button_OK.Size     = new System.Drawing.Size(75, 22);
     this.button_OK.TabIndex = 2;
     this.button_OK.Text     = "确定";
     this.button_OK.Click   += new System.EventHandler(this.button_OK_Click);
     //
     // button_Cancel
     //
     this.button_Cancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button_Cancel.Location     = new System.Drawing.Point(337, 273);
     this.button_Cancel.Name         = "button_Cancel";
     this.button_Cancel.Size         = new System.Drawing.Size(75, 22);
     this.button_Cancel.TabIndex     = 3;
     this.button_Cancel.Text         = "取消";
     this.button_Cancel.Click       += new System.EventHandler(this.button_Cancel_Click);
     //
     // label1
     //
     this.label1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(7, 249);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(65, 12);
     this.label1.TabIndex = 4;
     this.label1.Text     = "模板名(&N):";
     //
     // textBox_name
     //
     this.textBox_name.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox_name.ImeMode      = System.Windows.Forms.ImeMode.Off;
     this.textBox_name.Location     = new System.Drawing.Point(85, 247);
     this.textBox_name.Name         = "textBox_name";
     this.textBox_name.Size         = new System.Drawing.Size(247, 21);
     this.textBox_name.TabIndex     = 5;
     this.textBox_name.TextChanged += new System.EventHandler(this.textBox_name_TextChanged);
     //
     // SelectRecordTemplateDlg
     //
     this.AcceptButton      = this.button_OK;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.button_Cancel;
     this.ClientSize        = new System.Drawing.Size(421, 304);
     this.Controls.Add(this.textBox_name);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.button_Cancel);
     this.Controls.Add(this.button_OK);
     this.Controls.Add(this.checkBox_notAsk);
     this.Controls.Add(this.listView1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "SelectRecordTemplateDlg";
     this.ShowInTaskbar = false;
     this.Text          = "请选择新记录模板";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.SelectRecordTemplateDlg_Closing);
     this.Closed       += new System.EventHandler(this.SelectRecordTemplateDlg_Closed);
     this.Load         += new System.EventHandler(this.SelectRecordTemplateDlg_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #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(OneProjectDialog));
     this.label1 = new System.Windows.Forms.Label();
     this.textBox_projectName = new System.Windows.Forms.TextBox();
     this.label2                       = new System.Windows.Forms.Label();
     this.button_Cancel                = new System.Windows.Forms.Button();
     this.button_OK                    = new System.Windows.Forms.Button();
     this.textBox_projectPathOfName    = new System.Windows.Forms.TextBox();
     this.label5                       = new System.Windows.Forms.Label();
     this.listView_files               = new DigitalPlatform.GUI.ListViewNF();
     this.columnHeader_fileName        = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_comment         = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.textBox_projectLocate        = new System.Windows.Forms.TextBox();
     this.label3                       = new System.Windows.Forms.Label();
     this.button_editFile              = new System.Windows.Forms.Button();
     this.button_newFile               = new System.Windows.Forms.Button();
     this.button_deleteFile            = new System.Windows.Forms.Button();
     this.button_changeProjectLocation = new System.Windows.Forms.Button();
     this.button_changeProjectName     = new System.Windows.Forms.Button();
     this.checkBox_displayTempFile     = new System.Windows.Forms.CheckBox();
     this.button_openProjectFolder     = new System.Windows.Forms.Button();
     this.button_openInCode            = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(7, 12);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(47, 12);
     this.label1.TabIndex = 0;
     this.label1.Text     = "方案名:";
     //
     // textBox_projectName
     //
     this.textBox_projectName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox_projectName.Location = new System.Drawing.Point(121, 9);
     this.textBox_projectName.Name     = "textBox_projectName";
     this.textBox_projectName.ReadOnly = true;
     this.textBox_projectName.Size     = new System.Drawing.Size(282, 21);
     this.textBox_projectName.TabIndex = 1;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(9, 124);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(59, 12);
     this.label2.TabIndex = 10;
     this.label2.Text     = "构成文件:";
     //
     // button_Cancel
     //
     this.button_Cancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button_Cancel.Location     = new System.Drawing.Point(408, 322);
     this.button_Cancel.Name         = "button_Cancel";
     this.button_Cancel.Size         = new System.Drawing.Size(74, 22);
     this.button_Cancel.TabIndex     = 17;
     this.button_Cancel.Text         = "取消";
     this.button_Cancel.Click       += new System.EventHandler(this.button_Cancel_Click);
     //
     // button_OK
     //
     this.button_OK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_OK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.button_OK.Location     = new System.Drawing.Point(328, 322);
     this.button_OK.Name         = "button_OK";
     this.button_OK.Size         = new System.Drawing.Size(75, 22);
     this.button_OK.TabIndex     = 16;
     this.button_OK.Text         = "确定";
     this.button_OK.Click       += new System.EventHandler(this.button_OK_Click);
     //
     // textBox_projectPathOfName
     //
     this.textBox_projectPathOfName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox_projectPathOfName.Location = new System.Drawing.Point(121, 33);
     this.textBox_projectPathOfName.Name     = "textBox_projectPathOfName";
     this.textBox_projectPathOfName.ReadOnly = true;
     this.textBox_projectPathOfName.Size     = new System.Drawing.Size(282, 21);
     this.textBox_projectPathOfName.TabIndex = 4;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(7, 36);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(95, 12);
     this.label5.TabIndex = 3;
     this.label5.Text     = "方案名所在位置:";
     //
     // listView_files
     //
     this.listView_files.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.listView_files.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader_fileName,
         this.columnHeader_comment
     });
     this.listView_files.FullRowSelect = true;
     this.listView_files.HideSelection = false;
     this.listView_files.Location      = new System.Drawing.Point(9, 138);
     this.listView_files.Name          = "listView_files";
     this.listView_files.Size          = new System.Drawing.Size(394, 179);
     this.listView_files.TabIndex      = 11;
     this.listView_files.UseCompatibleStateImageBehavior = false;
     this.listView_files.View = System.Windows.Forms.View.Details;
     this.listView_files.SelectedIndexChanged += new System.EventHandler(this.listView_files_SelectedIndexChanged);
     this.listView_files.DoubleClick          += new System.EventHandler(this.listView_files_DoubleClick);
     this.listView_files.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView_files_MouseUp);
     //
     // columnHeader_fileName
     //
     this.columnHeader_fileName.Text  = "文件名";
     this.columnHeader_fileName.Width = 204;
     //
     // columnHeader_comment
     //
     this.columnHeader_comment.Text  = "注释";
     this.columnHeader_comment.Width = 288;
     //
     // textBox_projectLocate
     //
     this.textBox_projectLocate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox_projectLocate.Location     = new System.Drawing.Point(121, 58);
     this.textBox_projectLocate.Name         = "textBox_projectLocate";
     this.textBox_projectLocate.ReadOnly     = true;
     this.textBox_projectLocate.Size         = new System.Drawing.Size(361, 21);
     this.textBox_projectLocate.TabIndex     = 6;
     this.textBox_projectLocate.TextChanged += new System.EventHandler(this.textBox_projectLocate_TextChanged);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(7, 60);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(83, 12);
     this.label3.TabIndex = 5;
     this.label3.Text     = "方案文件目录:";
     //
     // button_editFile
     //
     this.button_editFile.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button_editFile.Location = new System.Drawing.Point(408, 138);
     this.button_editFile.Name     = "button_editFile";
     this.button_editFile.Size     = new System.Drawing.Size(74, 21);
     this.button_editFile.TabIndex = 12;
     this.button_editFile.Text     = "编辑(&E)";
     this.button_editFile.Click   += new System.EventHandler(this.button_editFile_Click);
     //
     // button_newFile
     //
     this.button_newFile.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button_newFile.Location = new System.Drawing.Point(408, 164);
     this.button_newFile.Name     = "button_newFile";
     this.button_newFile.Size     = new System.Drawing.Size(74, 22);
     this.button_newFile.TabIndex = 13;
     this.button_newFile.Text     = "新增(&N)";
     this.button_newFile.Click   += new System.EventHandler(this.button_newFile_Click);
     //
     // button_deleteFile
     //
     this.button_deleteFile.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button_deleteFile.Location = new System.Drawing.Point(408, 205);
     this.button_deleteFile.Name     = "button_deleteFile";
     this.button_deleteFile.Size     = new System.Drawing.Size(74, 22);
     this.button_deleteFile.TabIndex = 14;
     this.button_deleteFile.Text     = "删除(&D)";
     this.button_deleteFile.Click   += new System.EventHandler(this.button_deleteFile_Click);
     //
     // button_changeProjectLocation
     //
     this.button_changeProjectLocation.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button_changeProjectLocation.Location = new System.Drawing.Point(408, 82);
     this.button_changeProjectLocation.Name     = "button_changeProjectLocation";
     this.button_changeProjectLocation.Size     = new System.Drawing.Size(74, 21);
     this.button_changeProjectLocation.TabIndex = 9;
     this.button_changeProjectLocation.Text     = "改名(&R)";
     this.button_changeProjectLocation.Click   += new System.EventHandler(this.button_changeProjectLocation_Click);
     //
     // button_changeProjectName
     //
     this.button_changeProjectName.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button_changeProjectName.Location = new System.Drawing.Point(408, 9);
     this.button_changeProjectName.Name     = "button_changeProjectName";
     this.button_changeProjectName.Size     = new System.Drawing.Size(74, 22);
     this.button_changeProjectName.TabIndex = 2;
     this.button_changeProjectName.Text     = "改名(&R)";
     this.button_changeProjectName.Click   += new System.EventHandler(this.button_changeProjectName_Click);
     //
     // checkBox_displayTempFile
     //
     this.checkBox_displayTempFile.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBox_displayTempFile.AutoSize        = true;
     this.checkBox_displayTempFile.Location        = new System.Drawing.Point(9, 328);
     this.checkBox_displayTempFile.Name            = "checkBox_displayTempFile";
     this.checkBox_displayTempFile.Size            = new System.Drawing.Size(114, 16);
     this.checkBox_displayTempFile.TabIndex        = 15;
     this.checkBox_displayTempFile.Text            = "显示临时文件(&T)";
     this.checkBox_displayTempFile.CheckedChanged += new System.EventHandler(this.checkBox_displayTempFile_CheckedChanged);
     //
     // button_openProjectFolder
     //
     this.button_openProjectFolder.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button_openProjectFolder.Location = new System.Drawing.Point(270, 82);
     this.button_openProjectFolder.Name     = "button_openProjectFolder";
     this.button_openProjectFolder.Size     = new System.Drawing.Size(133, 21);
     this.button_openProjectFolder.TabIndex = 8;
     this.button_openProjectFolder.Text     = "打开文件夹(&F)...";
     this.button_openProjectFolder.Click   += new System.EventHandler(this.button_openProjectFolder_Click);
     //
     // button_openInCode
     //
     this.button_openInCode.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button_openInCode.Location = new System.Drawing.Point(121, 82);
     this.button_openInCode.Name     = "button_openInCode";
     this.button_openInCode.Size     = new System.Drawing.Size(143, 21);
     this.button_openInCode.TabIndex = 7;
     this.button_openInCode.Text     = "在 Code 中打开(&C)...";
     this.button_openInCode.Click   += new System.EventHandler(this.button_openInCode_Click);
     //
     // OneProjectDialog
     //
     this.AcceptButton        = this.button_OK;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.button_Cancel;
     this.ClientSize          = new System.Drawing.Size(492, 353);
     this.Controls.Add(this.button_openInCode);
     this.Controls.Add(this.button_openProjectFolder);
     this.Controls.Add(this.checkBox_displayTempFile);
     this.Controls.Add(this.button_changeProjectName);
     this.Controls.Add(this.button_changeProjectLocation);
     this.Controls.Add(this.button_deleteFile);
     this.Controls.Add(this.button_newFile);
     this.Controls.Add(this.button_editFile);
     this.Controls.Add(this.textBox_projectLocate);
     this.Controls.Add(this.textBox_projectPathOfName);
     this.Controls.Add(this.textBox_projectName);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.listView_files);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.button_Cancel);
     this.Controls.Add(this.button_OK);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "OneProjectDialog";
     this.ShowInTaskbar = false;
     this.Text          = "脚本代码管理";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.ScriptDlg_Closing);
     this.Closed       += new System.EventHandler(this.ScriptDlg_Closed);
     this.Load         += new System.EventHandler(this.ScriptDlg_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #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.button_OK                 = new System.Windows.Forms.Button();
     this.button_Cancel             = new System.Windows.Forms.Button();
     this.button_newServer          = new System.Windows.Forms.Button();
     this.listView1                 = new DigitalPlatform.GUI.ListViewNF();
     this.columnHeader_name         = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_url          = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_userName     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_savePassword = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_uid          = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_lineNo       = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.SuspendLayout();
     //
     // button_OK
     //
     this.button_OK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_OK.Location = new System.Drawing.Point(560, 253);
     this.button_OK.Name     = "button_OK";
     this.button_OK.Size     = new System.Drawing.Size(138, 38);
     this.button_OK.TabIndex = 1;
     this.button_OK.Text     = "确定";
     this.button_OK.Click   += new System.EventHandler(this.button_OK_Click);
     //
     // button_Cancel
     //
     this.button_Cancel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_Cancel.Location = new System.Drawing.Point(560, 300);
     this.button_Cancel.Name     = "button_Cancel";
     this.button_Cancel.Size     = new System.Drawing.Size(138, 35);
     this.button_Cancel.TabIndex = 2;
     this.button_Cancel.Text     = "取消";
     this.button_Cancel.Click   += new System.EventHandler(this.button_Cancel_Click);
     //
     // button_newServer
     //
     this.button_newServer.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.button_newServer.Location = new System.Drawing.Point(17, 253);
     this.button_newServer.Name     = "button_newServer";
     this.button_newServer.Size     = new System.Drawing.Size(206, 38);
     this.button_newServer.TabIndex = 3;
     this.button_newServer.Text     = "新增服务器(&N)";
     this.button_newServer.UseVisualStyleBackColor = true;
     this.button_newServer.Click += new System.EventHandler(this.button_newServer_Click);
     //
     // listView1
     //
     this.listView1.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.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader_name,
         this.columnHeader_url,
         this.columnHeader_userName,
         this.columnHeader_savePassword,
         this.columnHeader_uid,
         this.columnHeader_lineNo
     });
     this.listView1.FullRowSelect = true;
     this.listView1.HideSelection = false;
     this.listView1.Location      = new System.Drawing.Point(17, 16);
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new System.Drawing.Size(681, 229);
     this.listView1.TabIndex      = 0;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = System.Windows.Forms.View.Details;
     this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
     this.listView1.DoubleClick          += new System.EventHandler(this.listView1_DoubleClick);
     this.listView1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView1_MouseUp);
     //
     // columnHeader_name
     //
     this.columnHeader_name.Text  = "服务器名";
     this.columnHeader_name.Width = 200;
     //
     // columnHeader_url
     //
     this.columnHeader_url.Text  = "服务器URL";
     this.columnHeader_url.Width = 300;
     //
     // columnHeader_userName
     //
     this.columnHeader_userName.Text  = "用户名";
     this.columnHeader_userName.Width = 150;
     //
     // columnHeader_savePassword
     //
     this.columnHeader_savePassword.Text  = "是否保存密码";
     this.columnHeader_savePassword.Width = 150;
     //
     // columnHeader_uid
     //
     this.columnHeader_uid.Text  = "UID";
     this.columnHeader_uid.Width = 200;
     //
     // columnHeader_lineNo
     //
     this.columnHeader_lineNo.Text      = "行号";
     this.columnHeader_lineNo.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.columnHeader_lineNo.Width     = 70;
     //
     // ServersDlg
     //
     this.AcceptButton      = this.button_OK;
     this.AutoScaleBaseSize = new System.Drawing.Size(11, 24);
     this.ClientSize        = new System.Drawing.Size(714, 352);
     this.Controls.Add(this.button_newServer);
     this.Controls.Add(this.button_Cancel);
     this.Controls.Add(this.button_OK);
     this.Controls.Add(this.listView1);
     this.Name          = "ServersDlg";
     this.ShowIcon      = false;
     this.ShowInTaskbar = false;
     this.Text          = "dp2library 服务器和默认帐户管理";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.ServersDlg_Closing);
     this.Load         += new System.EventHandler(this.ServersDlg_Load);
     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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SelectTemplateDlg));
            this.listView1 = new DigitalPlatform.GUI.ListViewNF();
            this.columnHeader_name = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader_comment = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.checkBox_notAsk = new System.Windows.Forms.CheckBox();
            this.button_OK = new System.Windows.Forms.Button();
            this.button_Cancel = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.textBox_name = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            // 
            // listView1
            // 
            this.listView1.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.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader_name,
            this.columnHeader_comment});
            this.listView1.FullRowSelect = true;
            this.listView1.HideSelection = false;
            this.listView1.Location = new System.Drawing.Point(9, 9);
            this.listView1.MultiSelect = false;
            this.listView1.Name = "listView1";
            this.listView1.Size = new System.Drawing.Size(429, 249);
            this.listView1.TabIndex = 0;
            this.listView1.UseCompatibleStateImageBehavior = false;
            this.listView1.View = System.Windows.Forms.View.Details;
            this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
            this.listView1.DoubleClick += new System.EventHandler(this.listView1_DoubleClick);
            this.listView1.Enter += new System.EventHandler(this.listView1_Enter);
            this.listView1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView1_MouseUp);
            // 
            // columnHeader_name
            // 
            this.columnHeader_name.Text = "模板名";
            this.columnHeader_name.Width = 200;
            // 
            // columnHeader_comment
            // 
            this.columnHeader_comment.Text = "说明";
            this.columnHeader_comment.Width = 300;
            // 
            // checkBox_notAsk
            // 
            this.checkBox_notAsk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.checkBox_notAsk.AutoSize = true;
            this.checkBox_notAsk.Enabled = false;
            this.checkBox_notAsk.Location = new System.Drawing.Point(9, 295);
            this.checkBox_notAsk.Name = "checkBox_notAsk";
            this.checkBox_notAsk.Size = new System.Drawing.Size(144, 16);
            this.checkBox_notAsk.TabIndex = 1;
            this.checkBox_notAsk.Text = "下次不再出现此对话框";
            // 
            // button_OK
            // 
            this.button_OK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.button_OK.Location = new System.Drawing.Point(362, 263);
            this.button_OK.Name = "button_OK";
            this.button_OK.Size = new System.Drawing.Size(76, 22);
            this.button_OK.TabIndex = 2;
            this.button_OK.Text = "确定";
            this.button_OK.Click += new System.EventHandler(this.button_OK_Click);
            // 
            // button_Cancel
            // 
            this.button_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.button_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.button_Cancel.Location = new System.Drawing.Point(362, 290);
            this.button_Cancel.Name = "button_Cancel";
            this.button_Cancel.Size = new System.Drawing.Size(76, 21);
            this.button_Cancel.TabIndex = 3;
            this.button_Cancel.Text = "取消";
            this.button_Cancel.Click += new System.EventHandler(this.button_Cancel_Click);
            // 
            // label1
            // 
            this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(7, 265);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(65, 12);
            this.label1.TabIndex = 4;
            this.label1.Text = "模板名(&N):";
            // 
            // textBox_name
            // 
            this.textBox_name.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.textBox_name.ImeMode = System.Windows.Forms.ImeMode.Off;
            this.textBox_name.Location = new System.Drawing.Point(85, 263);
            this.textBox_name.Name = "textBox_name";
            this.textBox_name.Size = new System.Drawing.Size(273, 21);
            this.textBox_name.TabIndex = 5;
            this.textBox_name.TextChanged += new System.EventHandler(this.textBox_name_TextChanged);
            this.textBox_name.Enter += new System.EventHandler(this.textBox_name_Enter);
            // 
            // SelectTemplateDlg
            // 
            this.AcceptButton = this.button_OK;
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.CancelButton = this.button_Cancel;
            this.ClientSize = new System.Drawing.Size(446, 321);
            this.Controls.Add(this.textBox_name);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.button_Cancel);
            this.Controls.Add(this.button_OK);
            this.Controls.Add(this.checkBox_notAsk);
            this.Controls.Add(this.listView1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "SelectTemplateDlg";
            this.ShowInTaskbar = false;
            this.Text = "请选择新记录模板";
            this.Closing += new System.ComponentModel.CancelEventHandler(this.SelectRecordTemplateDlg_Closing);
            this.Closed += new System.EventHandler(this.SelectRecordTemplateDlg_Closed);
            this.Load += new System.EventHandler(this.SelectRecordTemplateDlg_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

		}
Пример #5
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ValueListDlg));
     this.listView_valueList       = new DigitalPlatform.GUI.ListViewNF();
     this.columnHeader_value       = new System.Windows.Forms.ColumnHeader();
     this.columnHeader_description = new System.Windows.Forms.ColumnHeader();
     this.button_ok     = new System.Windows.Forms.Button();
     this.button_cancel = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // listView_valueList
     //
     this.listView_valueList.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.listView_valueList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader_value,
         this.columnHeader_description
     });
     this.listView_valueList.FullRowSelect = true;
     this.listView_valueList.HideSelection = false;
     this.listView_valueList.Location      = new System.Drawing.Point(12, 12);
     this.listView_valueList.MultiSelect   = false;
     this.listView_valueList.Name          = "listView_valueList";
     this.listView_valueList.Size          = new System.Drawing.Size(295, 199);
     this.listView_valueList.TabIndex      = 0;
     this.listView_valueList.UseCompatibleStateImageBehavior = false;
     this.listView_valueList.View         = System.Windows.Forms.View.Details;
     this.listView_valueList.DoubleClick += new System.EventHandler(this.listView_valueList_DoubleClick);
     this.listView_valueList.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_valueList_ColumnClick);
     //
     // columnHeader_value
     //
     this.columnHeader_value.Text  = "值";
     this.columnHeader_value.Width = 66;
     //
     // columnHeader_description
     //
     this.columnHeader_description.Text  = "说明";
     this.columnHeader_description.Width = 164;
     //
     // button_ok
     //
     this.button_ok.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_ok.Location = new System.Drawing.Point(101, 217);
     this.button_ok.Name     = "button_ok";
     this.button_ok.Size     = new System.Drawing.Size(100, 28);
     this.button_ok.TabIndex = 1;
     this.button_ok.Text     = "确定";
     this.button_ok.Click   += new System.EventHandler(this.button_ok_Click);
     //
     // button_cancel
     //
     this.button_cancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button_cancel.Location     = new System.Drawing.Point(207, 217);
     this.button_cancel.Name         = "button_cancel";
     this.button_cancel.Size         = new System.Drawing.Size(100, 28);
     this.button_cancel.TabIndex     = 2;
     this.button_cancel.Text         = "取消";
     this.button_cancel.Click       += new System.EventHandler(this.button_cancel_Click);
     //
     // ValueListDlg
     //
     this.AcceptButton      = this.button_ok;
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 18);
     this.CancelButton      = this.button_cancel;
     this.ClientSize        = new System.Drawing.Size(319, 257);
     this.Controls.Add(this.button_cancel);
     this.Controls.Add(this.button_ok);
     this.Controls.Add(this.listView_valueList);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "ValueListDlg";
     this.ShowInTaskbar = false;
     this.Text          = "ValueListDlg";
     this.Load         += new System.EventHandler(this.ValueListDlg_Load);
     this.FormClosed   += new System.Windows.Forms.FormClosedEventHandler(this.ValueListDlg_FormClosed);
     this.ResumeLayout(false);
 }
Пример #6
0
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ValueListDlg));
            this.listView_valueList = new DigitalPlatform.GUI.ListViewNF();
            this.columnHeader_value = new System.Windows.Forms.ColumnHeader();
            this.columnHeader_description = new System.Windows.Forms.ColumnHeader();
            this.button_ok = new System.Windows.Forms.Button();
            this.button_cancel = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // listView_valueList
            // 
            this.listView_valueList.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.listView_valueList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader_value,
            this.columnHeader_description});
            this.listView_valueList.FullRowSelect = true;
            this.listView_valueList.HideSelection = false;
            this.listView_valueList.Location = new System.Drawing.Point(12, 12);
            this.listView_valueList.MultiSelect = false;
            this.listView_valueList.Name = "listView_valueList";
            this.listView_valueList.Size = new System.Drawing.Size(295, 199);
            this.listView_valueList.TabIndex = 0;
            this.listView_valueList.UseCompatibleStateImageBehavior = false;
            this.listView_valueList.View = System.Windows.Forms.View.Details;
            this.listView_valueList.DoubleClick += new System.EventHandler(this.listView_valueList_DoubleClick);
            this.listView_valueList.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_valueList_ColumnClick);
            // 
            // columnHeader_value
            // 
            this.columnHeader_value.Text = "值";
            this.columnHeader_value.Width = 66;
            // 
            // columnHeader_description
            // 
            this.columnHeader_description.Text = "说明";
            this.columnHeader_description.Width = 164;
            // 
            // button_ok
            // 
            this.button_ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.button_ok.Location = new System.Drawing.Point(101, 217);
            this.button_ok.Name = "button_ok";
            this.button_ok.Size = new System.Drawing.Size(100, 28);
            this.button_ok.TabIndex = 1;
            this.button_ok.Text = "确定";
            this.button_ok.Click += new System.EventHandler(this.button_ok_Click);
            // 
            // button_cancel
            // 
            this.button_cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.button_cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.button_cancel.Location = new System.Drawing.Point(207, 217);
            this.button_cancel.Name = "button_cancel";
            this.button_cancel.Size = new System.Drawing.Size(100, 28);
            this.button_cancel.TabIndex = 2;
            this.button_cancel.Text = "取消";
            this.button_cancel.Click += new System.EventHandler(this.button_cancel_Click);
            // 
            // ValueListDlg
            // 
            this.AcceptButton = this.button_ok;
            this.AutoScaleBaseSize = new System.Drawing.Size(8, 18);
            this.CancelButton = this.button_cancel;
            this.ClientSize = new System.Drawing.Size(319, 257);
            this.Controls.Add(this.button_cancel);
            this.Controls.Add(this.button_ok);
            this.Controls.Add(this.listView_valueList);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "ValueListDlg";
            this.ShowInTaskbar = false;
            this.Text = "ValueListDlg";
            this.Load += new System.EventHandler(this.ValueListDlg_Load);
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.ValueListDlg_FormClosed);
            this.ResumeLayout(false);

		}
Пример #7
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.listView1 = new DigitalPlatform.GUI.ListViewNF();
            this.columnHeader_name = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader_url = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader_userName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader_savePassword = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.button_OK = new System.Windows.Forms.Button();
            this.button_Cancel = new System.Windows.Forms.Button();
            this.button_newServer = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // listView1
            // 
            this.listView1.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.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader_name,
            this.columnHeader_url,
            this.columnHeader_userName,
            this.columnHeader_savePassword});
            this.listView1.FullRowSelect = true;
            this.listView1.HideSelection = false;
            this.listView1.Location = new System.Drawing.Point(9, 9);
            this.listView1.Name = "listView1";
            this.listView1.Size = new System.Drawing.Size(446, 276);
            this.listView1.TabIndex = 0;
            this.listView1.UseCompatibleStateImageBehavior = false;
            this.listView1.View = System.Windows.Forms.View.Details;
            this.listView1.DoubleClick += new System.EventHandler(this.listView1_DoubleClick);
            this.listView1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView1_MouseUp);
            // 
            // columnHeader_name
            // 
            this.columnHeader_name.Text = "服务器名";
            this.columnHeader_name.Width = 200;
            // 
            // columnHeader_url
            // 
            this.columnHeader_url.Text = "服务器URL";
            this.columnHeader_url.Width = 300;
            // 
            // columnHeader_userName
            // 
            this.columnHeader_userName.Text = "用户名";
            this.columnHeader_userName.Width = 150;
            // 
            // columnHeader_savePassword
            // 
            this.columnHeader_savePassword.Text = "是否保存密码";
            this.columnHeader_savePassword.Width = 150;
            // 
            // button_OK
            // 
            this.button_OK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.button_OK.Location = new System.Drawing.Point(380, 290);
            this.button_OK.Name = "button_OK";
            this.button_OK.Size = new System.Drawing.Size(75, 22);
            this.button_OK.TabIndex = 1;
            this.button_OK.Text = "确定";
            this.button_OK.Click += new System.EventHandler(this.button_OK_Click);
            // 
            // button_Cancel
            // 
            this.button_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.button_Cancel.Location = new System.Drawing.Point(380, 317);
            this.button_Cancel.Name = "button_Cancel";
            this.button_Cancel.Size = new System.Drawing.Size(75, 21);
            this.button_Cancel.TabIndex = 2;
            this.button_Cancel.Text = "取消";
            this.button_Cancel.Click += new System.EventHandler(this.button_Cancel_Click);
            // 
            // button_newServer
            // 
            this.button_newServer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.button_newServer.Location = new System.Drawing.Point(9, 290);
            this.button_newServer.Name = "button_newServer";
            this.button_newServer.Size = new System.Drawing.Size(113, 22);
            this.button_newServer.TabIndex = 3;
            this.button_newServer.Text = "新增服务器(&N)";
            this.button_newServer.UseVisualStyleBackColor = true;
            this.button_newServer.Click += new System.EventHandler(this.button_newServer_Click);
            // 
            // ServersDlg
            // 
            this.AcceptButton = this.button_OK;
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize = new System.Drawing.Size(464, 348);
            this.Controls.Add(this.button_newServer);
            this.Controls.Add(this.button_Cancel);
            this.Controls.Add(this.button_OK);
            this.Controls.Add(this.listView1);
            this.Name = "ServersDlg";
            this.ShowIcon = false;
            this.ShowInTaskbar = false;
            this.Text = "dp2library 服务器和缺省帐户管理";
            this.Closing += new System.ComponentModel.CancelEventHandler(this.ServersDlg_Closing);
            this.Load += new System.EventHandler(this.ServersDlg_Load);
            this.ResumeLayout(false);

		}
Пример #8
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(OneProjectDialog));
            this.label1 = new System.Windows.Forms.Label();
            this.textBox_projectName = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.button_Cancel = new System.Windows.Forms.Button();
            this.button_OK = new System.Windows.Forms.Button();
            this.textBox_projectPathOfName = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.listView_files = new DigitalPlatform.GUI.ListViewNF();
            this.columnHeader_fileName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader_comment = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.textBox_projectLocate = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.button_editFile = new System.Windows.Forms.Button();
            this.button_newFile = new System.Windows.Forms.Button();
            this.button_deleteFile = new System.Windows.Forms.Button();
            this.button_changeProjectLocation = new System.Windows.Forms.Button();
            this.button_changeProjectName = new System.Windows.Forms.Button();
            this.checkBox_displayTempFile = new System.Windows.Forms.CheckBox();
            this.button_openProjectFolder = new System.Windows.Forms.Button();
            this.button_openInCode = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(7, 12);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(47, 12);
            this.label1.TabIndex = 0;
            this.label1.Text = "方案名:";
            // 
            // textBox_projectName
            // 
            this.textBox_projectName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.textBox_projectName.Location = new System.Drawing.Point(121, 9);
            this.textBox_projectName.Name = "textBox_projectName";
            this.textBox_projectName.ReadOnly = true;
            this.textBox_projectName.Size = new System.Drawing.Size(282, 21);
            this.textBox_projectName.TabIndex = 1;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(9, 124);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(59, 12);
            this.label2.TabIndex = 10;
            this.label2.Text = "构成文件:";
            // 
            // button_Cancel
            // 
            this.button_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.button_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.button_Cancel.Location = new System.Drawing.Point(408, 322);
            this.button_Cancel.Name = "button_Cancel";
            this.button_Cancel.Size = new System.Drawing.Size(74, 22);
            this.button_Cancel.TabIndex = 17;
            this.button_Cancel.Text = "取消";
            this.button_Cancel.Click += new System.EventHandler(this.button_Cancel_Click);
            // 
            // button_OK
            // 
            this.button_OK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.button_OK.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.button_OK.Location = new System.Drawing.Point(328, 322);
            this.button_OK.Name = "button_OK";
            this.button_OK.Size = new System.Drawing.Size(75, 22);
            this.button_OK.TabIndex = 16;
            this.button_OK.Text = "确定";
            this.button_OK.Click += new System.EventHandler(this.button_OK_Click);
            // 
            // textBox_projectPathOfName
            // 
            this.textBox_projectPathOfName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.textBox_projectPathOfName.Location = new System.Drawing.Point(121, 33);
            this.textBox_projectPathOfName.Name = "textBox_projectPathOfName";
            this.textBox_projectPathOfName.ReadOnly = true;
            this.textBox_projectPathOfName.Size = new System.Drawing.Size(282, 21);
            this.textBox_projectPathOfName.TabIndex = 4;
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(7, 36);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(95, 12);
            this.label5.TabIndex = 3;
            this.label5.Text = "方案名所在位置:";
            // 
            // listView_files
            // 
            this.listView_files.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.listView_files.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader_fileName,
            this.columnHeader_comment});
            this.listView_files.FullRowSelect = true;
            this.listView_files.HideSelection = false;
            this.listView_files.Location = new System.Drawing.Point(9, 138);
            this.listView_files.Name = "listView_files";
            this.listView_files.Size = new System.Drawing.Size(394, 179);
            this.listView_files.TabIndex = 11;
            this.listView_files.UseCompatibleStateImageBehavior = false;
            this.listView_files.View = System.Windows.Forms.View.Details;
            this.listView_files.SelectedIndexChanged += new System.EventHandler(this.listView_files_SelectedIndexChanged);
            this.listView_files.DoubleClick += new System.EventHandler(this.listView_files_DoubleClick);
            this.listView_files.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView_files_MouseUp);
            // 
            // columnHeader_fileName
            // 
            this.columnHeader_fileName.Text = "文件名";
            this.columnHeader_fileName.Width = 204;
            // 
            // columnHeader_comment
            // 
            this.columnHeader_comment.Text = "注释";
            this.columnHeader_comment.Width = 288;
            // 
            // textBox_projectLocate
            // 
            this.textBox_projectLocate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.textBox_projectLocate.Location = new System.Drawing.Point(121, 58);
            this.textBox_projectLocate.Name = "textBox_projectLocate";
            this.textBox_projectLocate.ReadOnly = true;
            this.textBox_projectLocate.Size = new System.Drawing.Size(361, 21);
            this.textBox_projectLocate.TabIndex = 6;
            this.textBox_projectLocate.TextChanged += new System.EventHandler(this.textBox_projectLocate_TextChanged);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(7, 60);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(83, 12);
            this.label3.TabIndex = 5;
            this.label3.Text = "方案文件目录:";
            // 
            // button_editFile
            // 
            this.button_editFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button_editFile.Location = new System.Drawing.Point(408, 138);
            this.button_editFile.Name = "button_editFile";
            this.button_editFile.Size = new System.Drawing.Size(74, 21);
            this.button_editFile.TabIndex = 12;
            this.button_editFile.Text = "编辑(&E)";
            this.button_editFile.Click += new System.EventHandler(this.button_editFile_Click);
            // 
            // button_newFile
            // 
            this.button_newFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button_newFile.Location = new System.Drawing.Point(408, 164);
            this.button_newFile.Name = "button_newFile";
            this.button_newFile.Size = new System.Drawing.Size(74, 22);
            this.button_newFile.TabIndex = 13;
            this.button_newFile.Text = "新增(&N)";
            this.button_newFile.Click += new System.EventHandler(this.button_newFile_Click);
            // 
            // button_deleteFile
            // 
            this.button_deleteFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button_deleteFile.Location = new System.Drawing.Point(408, 205);
            this.button_deleteFile.Name = "button_deleteFile";
            this.button_deleteFile.Size = new System.Drawing.Size(74, 22);
            this.button_deleteFile.TabIndex = 14;
            this.button_deleteFile.Text = "删除(&D)";
            this.button_deleteFile.Click += new System.EventHandler(this.button_deleteFile_Click);
            // 
            // button_changeProjectLocation
            // 
            this.button_changeProjectLocation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button_changeProjectLocation.Location = new System.Drawing.Point(408, 82);
            this.button_changeProjectLocation.Name = "button_changeProjectLocation";
            this.button_changeProjectLocation.Size = new System.Drawing.Size(74, 21);
            this.button_changeProjectLocation.TabIndex = 9;
            this.button_changeProjectLocation.Text = "改名(&R)";
            this.button_changeProjectLocation.Click += new System.EventHandler(this.button_changeProjectLocation_Click);
            // 
            // button_changeProjectName
            // 
            this.button_changeProjectName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button_changeProjectName.Location = new System.Drawing.Point(408, 9);
            this.button_changeProjectName.Name = "button_changeProjectName";
            this.button_changeProjectName.Size = new System.Drawing.Size(74, 22);
            this.button_changeProjectName.TabIndex = 2;
            this.button_changeProjectName.Text = "改名(&R)";
            this.button_changeProjectName.Click += new System.EventHandler(this.button_changeProjectName_Click);
            // 
            // checkBox_displayTempFile
            // 
            this.checkBox_displayTempFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.checkBox_displayTempFile.AutoSize = true;
            this.checkBox_displayTempFile.Location = new System.Drawing.Point(9, 328);
            this.checkBox_displayTempFile.Name = "checkBox_displayTempFile";
            this.checkBox_displayTempFile.Size = new System.Drawing.Size(114, 16);
            this.checkBox_displayTempFile.TabIndex = 15;
            this.checkBox_displayTempFile.Text = "显示临时文件(&T)";
            this.checkBox_displayTempFile.CheckedChanged += new System.EventHandler(this.checkBox_displayTempFile_CheckedChanged);
            // 
            // button_openProjectFolder
            // 
            this.button_openProjectFolder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button_openProjectFolder.Location = new System.Drawing.Point(270, 82);
            this.button_openProjectFolder.Name = "button_openProjectFolder";
            this.button_openProjectFolder.Size = new System.Drawing.Size(133, 21);
            this.button_openProjectFolder.TabIndex = 8;
            this.button_openProjectFolder.Text = "打开文件夹(&F)...";
            this.button_openProjectFolder.Click += new System.EventHandler(this.button_openProjectFolder_Click);
            // 
            // button_openInCode
            // 
            this.button_openInCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button_openInCode.Location = new System.Drawing.Point(121, 82);
            this.button_openInCode.Name = "button_openInCode";
            this.button_openInCode.Size = new System.Drawing.Size(143, 21);
            this.button_openInCode.TabIndex = 7;
            this.button_openInCode.Text = "在 Code 中打开(&C)...";
            this.button_openInCode.Click += new System.EventHandler(this.button_openInCode_Click);
            // 
            // OneProjectDialog
            // 
            this.AcceptButton = this.button_OK;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CancelButton = this.button_Cancel;
            this.ClientSize = new System.Drawing.Size(492, 353);
            this.Controls.Add(this.button_openInCode);
            this.Controls.Add(this.button_openProjectFolder);
            this.Controls.Add(this.checkBox_displayTempFile);
            this.Controls.Add(this.button_changeProjectName);
            this.Controls.Add(this.button_changeProjectLocation);
            this.Controls.Add(this.button_deleteFile);
            this.Controls.Add(this.button_newFile);
            this.Controls.Add(this.button_editFile);
            this.Controls.Add(this.textBox_projectLocate);
            this.Controls.Add(this.textBox_projectPathOfName);
            this.Controls.Add(this.textBox_projectName);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.listView_files);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.button_Cancel);
            this.Controls.Add(this.button_OK);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "OneProjectDialog";
            this.ShowInTaskbar = false;
            this.Text = "脚本代码管理";
            this.Closing += new System.ComponentModel.CancelEventHandler(this.ScriptDlg_Closing);
            this.Closed += new System.EventHandler(this.ScriptDlg_Closed);
            this.Load += new System.EventHandler(this.ScriptDlg_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }