示例#1
0
 /// <summary>
 /// Требуемый метод для поддержки конструктора — не изменяйте
 /// содержимое этого метода с помощью редактора кода.
 /// </summary>
 private void InitializeComponent()
 {
     Model.LetterView letterView1 = new Model.LetterView();
     this.dateTimePickerResponseRequired = new System.Windows.Forms.DateTimePicker();
     this.labelDate = new System.Windows.Forms.Label();
     this.fullContentLetterControl1 = new FullContentLetterControl();
     this.SuspendLayout();
     //
     // dateTimePickerResponseRequired
     //
     this.dateTimePickerResponseRequired.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.dateTimePickerResponseRequired.Location = new System.Drawing.Point(394, 70);
     this.dateTimePickerResponseRequired.Name     = "dateTimePickerResponseRequired";
     this.dateTimePickerResponseRequired.Size     = new System.Drawing.Size(122, 20);
     this.dateTimePickerResponseRequired.TabIndex = 2;
     //
     // labelDate
     //
     this.labelDate.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelDate.AutoSize = true;
     this.labelDate.Location = new System.Drawing.Point(391, 54);
     this.labelDate.Name     = "labelDate";
     this.labelDate.Size     = new System.Drawing.Size(132, 13);
     this.labelDate.TabIndex = 3;
     this.labelDate.Text     = "&Date of response required:";
     //
     // fullContentLetterControl1
     //
     this.fullContentLetterControl1.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.fullContentLetterControl1.AutoScroll = true;
     letterView1.Date         = new System.DateTime(((long)(0)));
     letterView1.ExtendedData = null;
     letterView1.IdFolder     = new System.Guid("00000000-0000-0000-0000-000000000000");
     letterView1.IdSender     = new System.Guid("00000000-0000-0000-0000-000000000000");
     letterView1.IsRead       = false;
     letterView1.Name         = "";
     letterView1.SenderName   = "";
     letterView1.Text         = "";
     letterView1.Type         = 0;
     this.fullContentLetterControl1.LetterView  = letterView1;
     this.fullContentLetterControl1.Location    = new System.Drawing.Point(0, 0);
     this.fullContentLetterControl1.MinimumSize = new System.Drawing.Size(544, 500);
     this.fullContentLetterControl1.Name        = "fullContentLetterControl1";
     this.fullContentLetterControl1.ReadOnly    = true;
     this.fullContentLetterControl1.Size        = new System.Drawing.Size(544, 500);
     this.fullContentLetterControl1.TabIndex    = 1;
     //
     // LetterWithResponseTimeControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll          = true;
     this.Controls.Add(this.dateTimePickerResponseRequired);
     this.Controls.Add(this.labelDate);
     this.Controls.Add(this.fullContentLetterControl1);
     this.Name  = "LetterWithResponseTimeControl";
     this.Size  = new System.Drawing.Size(544, 500);
     this.Load += new System.EventHandler(this.LetterWithResponseTimeControl_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()
 {
     Model.LetterView letterView1 = new Model.LetterView();
     this.labelImportanceDegree          = new System.Windows.Forms.Label();
     this.importanceDegreeEditorControl1 = new ImportanceDegreeEditorControl();
     this.fullContentLetterControl1      = new FullContentLetterControl();
     this.SuspendLayout();
     //
     // labelImportanceDegree
     //
     this.labelImportanceDegree.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.labelImportanceDegree.AutoSize = true;
     this.labelImportanceDegree.Location = new System.Drawing.Point(392, 53);
     this.labelImportanceDegree.Name     = "labelImportanceDegree";
     this.labelImportanceDegree.Size     = new System.Drawing.Size(109, 13);
     this.labelImportanceDegree.TabIndex = 26;
     this.labelImportanceDegree.Text     = "Degree of importance";
     //
     // importanceDegreeEditorControl1
     //
     this.importanceDegreeEditorControl1.Anchor           = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.importanceDegreeEditorControl1.ImportanceDegree = Model.ImportanceDegree.Low;
     this.importanceDegreeEditorControl1.Location         = new System.Drawing.Point(391, 69);
     this.importanceDegreeEditorControl1.Name             = "importanceDegreeEditorControl1";
     this.importanceDegreeEditorControl1.ReadOnly         = false;
     this.importanceDegreeEditorControl1.Size             = new System.Drawing.Size(128, 30);
     this.importanceDegreeEditorControl1.TabIndex         = 25;
     //
     // fullContentLetterControl1
     //
     this.fullContentLetterControl1.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.fullContentLetterControl1.AutoScroll = true;
     letterView1.Date         = new System.DateTime(((long)(0)));
     letterView1.ExtendedData = null;
     letterView1.IdFolder     = new System.Guid("00000000-0000-0000-0000-000000000000");
     letterView1.IdSender     = new System.Guid("00000000-0000-0000-0000-000000000000");
     letterView1.IsRead       = false;
     letterView1.Name         = "";
     letterView1.SenderName   = "";
     letterView1.Text         = "";
     letterView1.Type         = 0;
     this.fullContentLetterControl1.LetterView  = letterView1;
     this.fullContentLetterControl1.Location    = new System.Drawing.Point(0, 0);
     this.fullContentLetterControl1.MinimumSize = new System.Drawing.Size(500, 500);
     this.fullContentLetterControl1.Name        = "fullContentLetterControl1";
     this.fullContentLetterControl1.ReadOnly    = true;
     this.fullContentLetterControl1.Size        = new System.Drawing.Size(544, 500);
     this.fullContentLetterControl1.TabIndex    = 24;
     //
     // ImportantLetterControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll          = true;
     this.Controls.Add(this.importanceDegreeEditorControl1);
     this.Controls.Add(this.labelImportanceDegree);
     this.Controls.Add(this.fullContentLetterControl1);
     this.MinimumSize = new System.Drawing.Size(544, 500);
     this.Name        = "ImportantLetterControl";
     this.Size        = new System.Drawing.Size(544, 500);
     this.Load       += new System.EventHandler(this.ImportantLetterControl_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }