示例#1
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FixedTemplateDlg));
     this.button_ok       = new System.Windows.Forms.Button();
     this.button_cancel   = new System.Windows.Forms.Button();
     this.label_message   = new System.Windows.Forms.Label();
     this.toolTip1        = new System.Windows.Forms.ToolTip(this.components);
     this.TemplateControl = new DigitalPlatform.Marc.MarcFixedFieldControl();
     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.AutoSize = true;
     this.button_ok.Location = new System.Drawing.Point(425, 256);
     this.button_ok.Name     = "button_ok";
     this.button_ok.Size     = new System.Drawing.Size(75, 23);
     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.AutoSize     = true;
     this.button_cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button_cancel.Location     = new System.Drawing.Point(506, 256);
     this.button_cancel.Name         = "button_cancel";
     this.button_cancel.Size         = new System.Drawing.Size(76, 23);
     this.button_cancel.TabIndex     = 3;
     this.button_cancel.Text         = "取消";
     this.button_cancel.Click       += new System.EventHandler(this.button_cancel_Click);
     //
     // label_message
     //
     this.label_message.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.label_message.Location   = new System.Drawing.Point(9, 261);
     this.label_message.Name       = "label_message";
     this.label_message.Size       = new System.Drawing.Size(413, 25);
     this.label_message.TabIndex   = 1;
     this.label_message.MouseMove += new System.Windows.Forms.MouseEventHandler(this.label_message_MouseMove);
     //
     // TemplateControl
     //
     this.TemplateControl.AdditionalValue = "";
     this.TemplateControl.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.TemplateControl.AutoScroll         = true;
     this.TemplateControl.BackColor          = System.Drawing.SystemColors.Control;
     this.TemplateControl.Location           = new System.Drawing.Point(11, 12);
     this.TemplateControl.Name               = "TemplateControl";
     this.TemplateControl.Padding            = new System.Windows.Forms.Padding(8);
     this.TemplateControl.Size               = new System.Drawing.Size(567, 238);
     this.TemplateControl.TabIndex           = 0;
     this.TemplateControl.Value              = "";
     this.TemplateControl.GetTemplateDef    += new DigitalPlatform.Marc.GetTemplateDefEventHandler(this.TemplateControl_GetTemplateDef);
     this.TemplateControl.ResetSize         += new System.EventHandler(this.TemplateControl_ResetSize);
     this.TemplateControl.ResetTitle        += new DigitalPlatform.Marc.ResetTitleEventHandler(this.TemplateControl_ResetTitle);
     this.TemplateControl.BeginGetValueList += new DigitalPlatform.Marc.BeginGetValueListEventHandle(this.marcFixedFieldControl1_BeginGetValueList);
     this.TemplateControl.EndGetValueList   += new DigitalPlatform.Marc.EndGetValueListEventHandle(this.marcFixedFieldControl1_EndGetValueList);
     //
     // FixedTemplateDlg
     //
     this.AcceptButton      = this.button_ok;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.button_cancel;
     this.ClientSize        = new System.Drawing.Size(590, 288);
     this.Controls.Add(this.TemplateControl);
     this.Controls.Add(this.label_message);
     this.Controls.Add(this.button_cancel);
     this.Controls.Add(this.button_ok);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(100, 300);
     this.Name          = "FixedTemplateDlg";
     this.ShowInTaskbar = false;
     this.Text          = "定义模板";
     this.Load         += new System.EventHandler(this.MarcFixedFieldControlDlg_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }