This commit is contained in:
301
PROMS/Volian.Controls.Library/AnnotationDetails.Designer.cs
generated
Normal file
301
PROMS/Volian.Controls.Library/AnnotationDetails.Designer.cs
generated
Normal file
@@ -0,0 +1,301 @@
|
||||
namespace Volian.Controls.Library
|
||||
{
|
||||
partial class AnnotationDetails
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AnnotationDetails));
|
||||
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
|
||||
this.rtxbComment = new System.Windows.Forms.RichTextBox();
|
||||
this.btnSaveAnnotation = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnCancelAnnoation = new DevComponents.DotNetBar.ButtonX();
|
||||
this.cbGridAnnoType = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.btnRemoveAnnotation = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnAddAnnotation = new DevComponents.DotNetBar.ButtonX();
|
||||
this.pannelAnnoEdit = new DevComponents.DotNetBar.PanelEx();
|
||||
this.labelX1 = new DevComponents.DotNetBar.LabelX();
|
||||
this.panelAnnoEditBtns = new DevComponents.DotNetBar.PanelEx();
|
||||
this.expandableSplitter4 = new DevComponents.DotNetBar.ExpandableSplitter();
|
||||
this.pannelAnnoGrid = new DevComponents.DotNetBar.PanelEx();
|
||||
this.c1AnnotationGrid = new C1.Win.C1FlexGrid.C1FlexGrid();
|
||||
this.itemAnnotationsBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.pannelAnnoEdit.SuspendLayout();
|
||||
this.panelAnnoEditBtns.SuspendLayout();
|
||||
this.pannelAnnoGrid.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.c1AnnotationGrid)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.itemAnnotationsBindingSource)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// superTooltip1
|
||||
//
|
||||
this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
|
||||
//
|
||||
// rtxbComment
|
||||
//
|
||||
this.rtxbComment.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.rtxbComment.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.rtxbComment.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rtxbComment.Location = new System.Drawing.Point(87, 33);
|
||||
this.rtxbComment.Name = "rtxbComment";
|
||||
this.rtxbComment.Size = new System.Drawing.Size(489, 292);
|
||||
this.superTooltip1.SetSuperTooltip(this.rtxbComment, new DevComponents.DotNetBar.SuperTooltipInfo("Annotation", "", "Enter the annotation information here.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.rtxbComment.TabIndex = 1;
|
||||
this.rtxbComment.Text = "";
|
||||
this.rtxbComment.TextChanged += new System.EventHandler(this.rtxbComment_TextChanged);
|
||||
//
|
||||
// btnSaveAnnotation
|
||||
//
|
||||
this.btnSaveAnnotation.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnSaveAnnotation.Enabled = false;
|
||||
this.btnSaveAnnotation.Location = new System.Drawing.Point(419, 8);
|
||||
this.btnSaveAnnotation.Name = "btnSaveAnnotation";
|
||||
this.btnSaveAnnotation.Size = new System.Drawing.Size(71, 20);
|
||||
this.superTooltip1.SetSuperTooltip(this.btnSaveAnnotation, new DevComponents.DotNetBar.SuperTooltipInfo("Save Changes", "", "This will save the new annotation or changes made to an existing annotation.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.btnSaveAnnotation.TabIndex = 9;
|
||||
this.btnSaveAnnotation.Text = "Save";
|
||||
this.btnSaveAnnotation.Click += new System.EventHandler(this.btnSaveAnnotation_Click);
|
||||
//
|
||||
// btnCancelAnnoation
|
||||
//
|
||||
this.btnCancelAnnoation.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnCancelAnnoation.Enabled = false;
|
||||
this.btnCancelAnnoation.Location = new System.Drawing.Point(329, 8);
|
||||
this.btnCancelAnnoation.Name = "btnCancelAnnoation";
|
||||
this.btnCancelAnnoation.Size = new System.Drawing.Size(70, 20);
|
||||
this.superTooltip1.SetSuperTooltip(this.btnCancelAnnoation, new DevComponents.DotNetBar.SuperTooltipInfo("Cancel", "", "This will cancel the changes made to the annotation text and type selection", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(145, 100)));
|
||||
this.btnCancelAnnoation.TabIndex = 8;
|
||||
this.btnCancelAnnoation.Text = "Cancel";
|
||||
this.btnCancelAnnoation.Click += new System.EventHandler(this.btnCancelAnnoation_Click);
|
||||
//
|
||||
// cbGridAnnoType
|
||||
//
|
||||
this.cbGridAnnoType.DisplayMember = "Text";
|
||||
this.cbGridAnnoType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cbGridAnnoType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbGridAnnoType.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
|
||||
this.cbGridAnnoType.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cbGridAnnoType.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
this.cbGridAnnoType.Location = new System.Drawing.Point(134, 4);
|
||||
this.cbGridAnnoType.Name = "cbGridAnnoType";
|
||||
this.cbGridAnnoType.PreventEnterBeep = true;
|
||||
this.cbGridAnnoType.Size = new System.Drawing.Size(165, 23);
|
||||
this.superTooltip1.SetSuperTooltip(this.cbGridAnnoType, new DevComponents.DotNetBar.SuperTooltipInfo("Select Annotation Type", "", "This drop down list contains the posible annotation types.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.cbGridAnnoType.TabIndex = 7;
|
||||
this.cbGridAnnoType.WatermarkBehavior = DevComponents.DotNetBar.eWatermarkBehavior.HideNonEmpty;
|
||||
this.cbGridAnnoType.WatermarkText = "Select Annotation Type";
|
||||
this.cbGridAnnoType.SelectedValueChanged += new System.EventHandler(this.cbGridAnnoType_SelectedValueChanged);
|
||||
//
|
||||
// btnRemoveAnnotation
|
||||
//
|
||||
this.btnRemoveAnnotation.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnRemoveAnnotation.Location = new System.Drawing.Point(6, 34);
|
||||
this.btnRemoveAnnotation.Name = "btnRemoveAnnotation";
|
||||
this.btnRemoveAnnotation.Size = new System.Drawing.Size(71, 20);
|
||||
this.superTooltip1.SetSuperTooltip(this.btnRemoveAnnotation, new DevComponents.DotNetBar.SuperTooltipInfo("Remove Annotation", "", "This will remove the currently selected annotation.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.btnRemoveAnnotation.TabIndex = 4;
|
||||
this.btnRemoveAnnotation.Text = "Remove";
|
||||
this.btnRemoveAnnotation.Click += new System.EventHandler(this.btnRemoveAnnotation_Click);
|
||||
//
|
||||
// btnAddAnnotation
|
||||
//
|
||||
this.btnAddAnnotation.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnAddAnnotation.Location = new System.Drawing.Point(6, 4);
|
||||
this.btnAddAnnotation.Name = "btnAddAnnotation";
|
||||
this.btnAddAnnotation.Size = new System.Drawing.Size(71, 20);
|
||||
this.superTooltip1.SetSuperTooltip(this.btnAddAnnotation, new DevComponents.DotNetBar.SuperTooltipInfo("Add New Annotation", "", "This button will create a new annotation.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.btnAddAnnotation.TabIndex = 3;
|
||||
this.btnAddAnnotation.Text = "Add";
|
||||
this.btnAddAnnotation.Click += new System.EventHandler(this.btnAddAnnotation_Click);
|
||||
//
|
||||
// pannelAnnoEdit
|
||||
//
|
||||
this.pannelAnnoEdit.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pannelAnnoEdit.Controls.Add(this.rtxbComment);
|
||||
this.pannelAnnoEdit.Controls.Add(this.btnSaveAnnotation);
|
||||
this.pannelAnnoEdit.Controls.Add(this.btnCancelAnnoation);
|
||||
this.pannelAnnoEdit.Controls.Add(this.labelX1);
|
||||
this.pannelAnnoEdit.Controls.Add(this.cbGridAnnoType);
|
||||
this.pannelAnnoEdit.Controls.Add(this.panelAnnoEditBtns);
|
||||
this.pannelAnnoEdit.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pannelAnnoEdit.Location = new System.Drawing.Point(548, 0);
|
||||
this.pannelAnnoEdit.Name = "pannelAnnoEdit";
|
||||
this.pannelAnnoEdit.Size = new System.Drawing.Size(576, 325);
|
||||
this.pannelAnnoEdit.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pannelAnnoEdit.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.pannelAnnoEdit.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.pannelAnnoEdit.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pannelAnnoEdit.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.pannelAnnoEdit.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.pannelAnnoEdit.Style.GradientAngle = 90;
|
||||
this.pannelAnnoEdit.TabIndex = 16;
|
||||
this.pannelAnnoEdit.Text = "panelEx2";
|
||||
this.pannelAnnoEdit.ThemeAware = true;
|
||||
//
|
||||
// labelX1
|
||||
//
|
||||
this.labelX1.AutoSize = true;
|
||||
this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX1.Location = new System.Drawing.Point(93, 8);
|
||||
this.labelX1.Name = "labelX1";
|
||||
this.labelX1.Size = new System.Drawing.Size(35, 17);
|
||||
this.labelX1.TabIndex = 10;
|
||||
this.labelX1.Text = "Type:";
|
||||
//
|
||||
// panelAnnoEditBtns
|
||||
//
|
||||
this.panelAnnoEditBtns.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.panelAnnoEditBtns.Controls.Add(this.btnRemoveAnnotation);
|
||||
this.panelAnnoEditBtns.Controls.Add(this.btnAddAnnotation);
|
||||
this.panelAnnoEditBtns.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panelAnnoEditBtns.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelAnnoEditBtns.Name = "panelAnnoEditBtns";
|
||||
this.panelAnnoEditBtns.Size = new System.Drawing.Size(87, 325);
|
||||
this.panelAnnoEditBtns.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.panelAnnoEditBtns.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.panelAnnoEditBtns.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.panelAnnoEditBtns.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.panelAnnoEditBtns.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.panelAnnoEditBtns.Style.GradientAngle = 90;
|
||||
this.panelAnnoEditBtns.TabIndex = 11;
|
||||
this.panelAnnoEditBtns.ThemeAware = true;
|
||||
//
|
||||
// expandableSplitter4
|
||||
//
|
||||
this.expandableSplitter4.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(167)))), ((int)(((byte)(173)))), ((int)(((byte)(182)))));
|
||||
this.expandableSplitter4.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter4.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.expandableSplitter4.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(167)))), ((int)(((byte)(173)))), ((int)(((byte)(182)))));
|
||||
this.expandableSplitter4.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter4.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.expandableSplitter4.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
||||
this.expandableSplitter4.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.expandableSplitter4.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
||||
this.expandableSplitter4.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213)))));
|
||||
this.expandableSplitter4.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
|
||||
this.expandableSplitter4.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
|
||||
this.expandableSplitter4.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
|
||||
this.expandableSplitter4.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
|
||||
this.expandableSplitter4.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
|
||||
this.expandableSplitter4.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(167)))), ((int)(((byte)(173)))), ((int)(((byte)(182)))));
|
||||
this.expandableSplitter4.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter4.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.expandableSplitter4.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
||||
this.expandableSplitter4.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(167)))), ((int)(((byte)(173)))), ((int)(((byte)(182)))));
|
||||
this.expandableSplitter4.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.expandableSplitter4.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213)))));
|
||||
this.expandableSplitter4.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
|
||||
this.expandableSplitter4.Location = new System.Drawing.Point(545, 0);
|
||||
this.expandableSplitter4.Name = "expandableSplitter4";
|
||||
this.expandableSplitter4.Size = new System.Drawing.Size(3, 325);
|
||||
this.expandableSplitter4.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
|
||||
this.expandableSplitter4.TabIndex = 15;
|
||||
this.expandableSplitter4.TabStop = false;
|
||||
//
|
||||
// pannelAnnoGrid
|
||||
//
|
||||
this.pannelAnnoGrid.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pannelAnnoGrid.Controls.Add(this.c1AnnotationGrid);
|
||||
this.pannelAnnoGrid.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.pannelAnnoGrid.Location = new System.Drawing.Point(0, 0);
|
||||
this.pannelAnnoGrid.Name = "pannelAnnoGrid";
|
||||
this.pannelAnnoGrid.Size = new System.Drawing.Size(545, 325);
|
||||
this.pannelAnnoGrid.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pannelAnnoGrid.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.pannelAnnoGrid.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.pannelAnnoGrid.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pannelAnnoGrid.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.pannelAnnoGrid.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.pannelAnnoGrid.Style.GradientAngle = 90;
|
||||
this.pannelAnnoGrid.TabIndex = 14;
|
||||
this.pannelAnnoGrid.Text = "panelEx2";
|
||||
this.pannelAnnoGrid.ThemeAware = true;
|
||||
//
|
||||
// c1AnnotationGrid
|
||||
//
|
||||
this.c1AnnotationGrid.AllowDragging = C1.Win.C1FlexGrid.AllowDraggingEnum.None;
|
||||
this.c1AnnotationGrid.AllowEditing = false;
|
||||
this.c1AnnotationGrid.AutoGenerateColumns = false;
|
||||
this.c1AnnotationGrid.BackColor = System.Drawing.Color.Transparent;
|
||||
this.c1AnnotationGrid.ColumnInfo = resources.GetString("c1AnnotationGrid.ColumnInfo");
|
||||
this.c1AnnotationGrid.DataSource = this.itemAnnotationsBindingSource;
|
||||
this.c1AnnotationGrid.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.c1AnnotationGrid.ExtendLastCol = true;
|
||||
this.c1AnnotationGrid.FocusRect = C1.Win.C1FlexGrid.FocusRectEnum.Raised;
|
||||
this.c1AnnotationGrid.Location = new System.Drawing.Point(0, 0);
|
||||
this.c1AnnotationGrid.Name = "c1AnnotationGrid";
|
||||
this.c1AnnotationGrid.Rows.Count = 1;
|
||||
this.c1AnnotationGrid.Rows.DefaultSize = 19;
|
||||
this.c1AnnotationGrid.SelectionMode = C1.Win.C1FlexGrid.SelectionModeEnum.Row;
|
||||
this.c1AnnotationGrid.Size = new System.Drawing.Size(545, 325);
|
||||
this.c1AnnotationGrid.StyleInfo = resources.GetString("c1AnnotationGrid.StyleInfo");
|
||||
this.c1AnnotationGrid.TabIndex = 0;
|
||||
this.c1AnnotationGrid.EnterCell += new System.EventHandler(this.c1AnnotationGrid_EnterCell);
|
||||
//
|
||||
// itemAnnotationsBindingSource
|
||||
//
|
||||
this.itemAnnotationsBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.ItemAnnotation);
|
||||
//
|
||||
// AnnotationDetails
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.pannelAnnoEdit);
|
||||
this.Controls.Add(this.expandableSplitter4);
|
||||
this.Controls.Add(this.pannelAnnoGrid);
|
||||
this.Name = "AnnotationDetails";
|
||||
this.Size = new System.Drawing.Size(1124, 325);
|
||||
this.pannelAnnoEdit.ResumeLayout(false);
|
||||
this.pannelAnnoEdit.PerformLayout();
|
||||
this.panelAnnoEditBtns.ResumeLayout(false);
|
||||
this.pannelAnnoGrid.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.c1AnnotationGrid)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.itemAnnotationsBindingSource)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevComponents.DotNetBar.SuperTooltip superTooltip1;
|
||||
private DevComponents.DotNetBar.PanelEx pannelAnnoEdit;
|
||||
private System.Windows.Forms.RichTextBox rtxbComment;
|
||||
private DevComponents.DotNetBar.ButtonX btnSaveAnnotation;
|
||||
private DevComponents.DotNetBar.ButtonX btnCancelAnnoation;
|
||||
private DevComponents.DotNetBar.LabelX labelX1;
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx cbGridAnnoType;
|
||||
private DevComponents.DotNetBar.PanelEx panelAnnoEditBtns;
|
||||
private DevComponents.DotNetBar.ButtonX btnRemoveAnnotation;
|
||||
private DevComponents.DotNetBar.ButtonX btnAddAnnotation;
|
||||
private DevComponents.DotNetBar.ExpandableSplitter expandableSplitter4;
|
||||
private DevComponents.DotNetBar.PanelEx pannelAnnoGrid;
|
||||
private C1.Win.C1FlexGrid.C1FlexGrid c1AnnotationGrid;
|
||||
private System.Windows.Forms.BindingSource itemAnnotationsBindingSource;
|
||||
}
|
||||
}
|
294
PROMS/Volian.Controls.Library/AnnotationDetails.cs
Normal file
294
PROMS/Volian.Controls.Library/AnnotationDetails.cs
Normal file
@@ -0,0 +1,294 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
|
||||
namespace Volian.Controls.Library
|
||||
{
|
||||
public partial class AnnotationDetails : UserControl
|
||||
{
|
||||
#region Properties
|
||||
private ItemInfo _CurrentItem = null;
|
||||
private AnnotationSearch _AnnotationSearch;
|
||||
|
||||
private AnnotationInfoList _Annotations;
|
||||
public AnnotationInfoList Annotations
|
||||
{
|
||||
get { return _Annotations; }
|
||||
set
|
||||
{
|
||||
_Annotations = value;
|
||||
itemAnnotationsBindingSource.DataSource = _Annotations;
|
||||
}
|
||||
}
|
||||
|
||||
private AnnotationInfo _CurrentAnnotation = null;
|
||||
public AnnotationInfo CurrentAnnotation
|
||||
{
|
||||
get { return _CurrentAnnotation; }
|
||||
set
|
||||
{
|
||||
if (_CurrentAnnotation == null && value == null) return; // No Change
|
||||
if (_CurrentAnnotation != null && value != null)
|
||||
if (_CurrentAnnotation.AnnotationID == value.AnnotationID) return; // No Change
|
||||
//vlnStackTrace.ShowStack("CurrentAnnotation = '{0}' Old = '{1}'", value, _CurrentAnnotation);
|
||||
if (_CurrentAnnotation != null || _AddingAnnotation)
|
||||
{
|
||||
if (AnnotationDirty)
|
||||
SaveAnnotation();
|
||||
}
|
||||
_CurrentAnnotation = value;
|
||||
InitializeAnnotation();
|
||||
}
|
||||
}
|
||||
|
||||
private bool _AnnotationDirty = false;
|
||||
private bool AnnotationDirty
|
||||
{
|
||||
get { return _AnnotationDirty; }
|
||||
set
|
||||
{
|
||||
btnRemoveAnnotation.Enabled = btnAddAnnotation.Enabled = !value;
|
||||
btnSaveAnnotation.Enabled = btnCancelAnnoation.Enabled = value;
|
||||
_AddingAnnotation = value && (CurrentAnnotation == null);
|
||||
_AnnotationDirty = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string AnnotationText
|
||||
{
|
||||
get { return rtxbComment.Text; }
|
||||
set
|
||||
{
|
||||
rtxbComment.Text = value;
|
||||
if (rtxbComment.Text != string.Empty)
|
||||
rtxbComment.SelectionStart = rtxbComment.TextLength; // position cursor to end of text
|
||||
}
|
||||
}
|
||||
|
||||
public string AnnotationRTFText
|
||||
{
|
||||
get { return rtxbComment.Rtf; }
|
||||
set
|
||||
{
|
||||
rtxbComment.Rtf = value;
|
||||
if (rtxbComment.Rtf != string.Empty)
|
||||
rtxbComment.SelectionStart = rtxbComment.TextLength; // position cursor to end of text
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
public AnnotationDetails()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Events
|
||||
private bool _AddingAnnotation = false;
|
||||
private void btnAddAnnotation_Click(object sender, EventArgs e)
|
||||
{
|
||||
c1AnnotationGrid.Row = -1;
|
||||
CurrentAnnotation = null;
|
||||
_AddingAnnotation = true;
|
||||
}
|
||||
|
||||
private void btnRemoveAnnotation_Click(object sender, EventArgs e)
|
||||
{
|
||||
using (Annotation annotation = CurrentAnnotation.Get())
|
||||
{
|
||||
annotation.Delete();
|
||||
_AnnotationSearch.LoadingList = true;
|
||||
annotation.Save();
|
||||
_AnnotationSearch.LoadingList = false;
|
||||
CurrentAnnotation = null;
|
||||
UpdateAnnotationGrid();
|
||||
_AnnotationSearch.UpdateAnnotationSearchResults(); // update the search results
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void btnSaveAnnotation_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (cbGridAnnoType.SelectedIndex == -1)
|
||||
{
|
||||
MessageBox.Show("You Must Select an Annotation Type", "Annotation Type Not Selected", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
cbGridAnnoType.Focus();
|
||||
return;
|
||||
}
|
||||
if (rtxbComment.Text == string.Empty)
|
||||
{
|
||||
MessageBox.Show("You Must Enter Annotation Text", "Annotation Text Is Blank", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
rtxbComment.Focus();
|
||||
return;
|
||||
}
|
||||
SaveAnnotation();
|
||||
|
||||
}
|
||||
|
||||
private void btnCancelAnnoation_Click(object sender, EventArgs e)
|
||||
{
|
||||
InitializeAnnotation();
|
||||
}
|
||||
|
||||
private void cbGridAnnoType_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_LoadingAnnotation)
|
||||
AnnotationDirty = true;
|
||||
}
|
||||
|
||||
private bool _LoadingAnnotation = false;
|
||||
private bool _LoadingGrid = false;
|
||||
private void c1AnnotationGrid_EnterCell(object sender, EventArgs e)
|
||||
{
|
||||
if (!_LoadingGrid) // Only set the Current Annotation when not loading the grid
|
||||
{
|
||||
if ((_Annotations != null) && (c1AnnotationGrid.Row > 0))
|
||||
CurrentAnnotation = _Annotations[c1AnnotationGrid.Row - 1];
|
||||
else
|
||||
CurrentAnnotation = null;
|
||||
}
|
||||
}
|
||||
|
||||
private void rtxbComment_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_LoadingAnnotation)
|
||||
AnnotationDirty = true;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region LoadControlData
|
||||
|
||||
public void SetupAnnotations(AnnotationSearch annotation)
|
||||
{
|
||||
_AnnotationSearch = annotation; // reference the Annotation Search to update its lists
|
||||
|
||||
cbGridAnnoType.DisplayMember = "Name";
|
||||
cbGridAnnoType.ValueMember = "TypeId";
|
||||
cbGridAnnoType.DataSource = AnnotationTypeInfoList.Get().Clone();
|
||||
cbGridAnnoType.SelectedIndex = -1; //don't pre-select an annotation type
|
||||
}
|
||||
|
||||
private void InitializeAnnotation()
|
||||
{
|
||||
//vlnCSLAStackTrace.ShowStack("InitializeAnnotation - CurrentAnnotation = {0}", CurrentAnnotation);
|
||||
_LoadingAnnotation = true;
|
||||
if (CurrentAnnotation == null)
|
||||
{
|
||||
cbGridAnnoType.SelectedIndex = -1;
|
||||
AnnotationText = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
cbGridAnnoType.SelectedValue = CurrentAnnotation.TypeID;
|
||||
if (CurrentAnnotation.RtfText != "")
|
||||
AnnotationRTFText = CurrentAnnotation.RtfText;
|
||||
else
|
||||
AnnotationText = CurrentAnnotation.SearchText;
|
||||
}
|
||||
_LoadingAnnotation = false;
|
||||
AnnotationDirty = false;
|
||||
if (!_LoadingGrid)
|
||||
rtxbComment.Focus(); // Set the focus to the comment text
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region VariousSupportMethods
|
||||
|
||||
/// <summary>
|
||||
/// Set up the Annotation Grid for the given item
|
||||
/// This is called from frmVEPROMS
|
||||
/// </summary>
|
||||
/// <param name="currentitem"></param>
|
||||
public void UpdateAnnotationGrid(ItemInfo currentitem)
|
||||
{
|
||||
_CurrentItem = currentitem;
|
||||
UpdateAnnotationGrid();
|
||||
}
|
||||
|
||||
private void UpdateAnnotationGrid()
|
||||
{
|
||||
_LoadingGrid = true;
|
||||
_Annotations = _CurrentItem.ItemAnnotations;
|
||||
itemAnnotationsBindingSource.DataSource = _Annotations;
|
||||
if ((CurrentAnnotation == null || (_CurrentItem.ItemID != CurrentAnnotation.ItemID)))
|
||||
{
|
||||
if (_Annotations != null && _Annotations.Count > 0)
|
||||
CurrentAnnotation = _Annotations[0];
|
||||
else
|
||||
CurrentAnnotation = null;
|
||||
}
|
||||
FindCurrentAnnotation(); // position to the grid row of the current annotation
|
||||
_LoadingGrid = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Find the Current Annotation in the Annotation Grid select the corresponding row
|
||||
/// Note: this is also called from AnnotationSearch.cs when a search results is selected
|
||||
/// </summary>
|
||||
public void FindCurrentAnnotation()
|
||||
{
|
||||
int row = 0;
|
||||
if (CurrentAnnotation != null)
|
||||
{
|
||||
if (_Annotations != null)
|
||||
{
|
||||
foreach (AnnotationInfo ai in _Annotations)
|
||||
{
|
||||
if (ai.AnnotationID == CurrentAnnotation.AnnotationID)
|
||||
{
|
||||
row = _Annotations.IndexOf(ai) + 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
c1AnnotationGrid.Select(row, 0, true); // position to the corresponding grid row
|
||||
}
|
||||
|
||||
private void SaveAnnotation()
|
||||
{
|
||||
if (cbGridAnnoType.SelectedIndex == -1) return;
|
||||
if (rtxbComment.Text == string.Empty) return;
|
||||
using (AnnotationType annotationType = AnnotationType.Get((int)cbGridAnnoType.SelectedValue))
|
||||
{
|
||||
if (_AddingAnnotation)
|
||||
{
|
||||
_AddingAnnotation = false;
|
||||
using (Item myItem = _CurrentItem.Get())
|
||||
{
|
||||
using (Annotation annotation = Annotation.MakeAnnotation(myItem, annotationType, rtxbComment.Rtf, rtxbComment.Text, ""))
|
||||
{
|
||||
CurrentAnnotation = AnnotationInfo.Get(annotation.AnnotationID);
|
||||
annotation.DTS = DateTime.Now;
|
||||
annotation.Save();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
using (Annotation annotation = CurrentAnnotation.Get())
|
||||
{
|
||||
annotation.RtfText = rtxbComment.Rtf;
|
||||
annotation.SearchText = rtxbComment.Text;
|
||||
annotation.MyAnnotationType = annotationType;
|
||||
annotation.DTS = DateTime.Now;
|
||||
annotation.Save();
|
||||
}
|
||||
}
|
||||
}
|
||||
AnnotationDirty = false;
|
||||
UpdateAnnotationGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
132
PROMS/Volian.Controls.Library/AnnotationDetails.resx
Normal file
132
PROMS/Volian.Controls.Library/AnnotationDetails.resx
Normal file
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<data name="c1AnnotationGrid.ColumnInfo" xml:space="preserve">
|
||||
<value>18,1,0,0,0,95,Columns:0{Visible:False;} 1{Width:107;Name:"ErrorMessage";Caption:"ErrorMessage";Visible:False;AllowEditing:False;Style:"DataType:System.String;TextAlign:LeftCenter;";} 2{Width:100;Name:"AnnotationID";Caption:"AnnotationID";Visible:False;AllowEditing:False;Style:"DataType:System.Int32;TextAlign:RightCenter;";} 3{Width:173;Name:"MyAnnotation";Caption:"MyAnnotation";Visible:False;AllowEditing:False;Style:"DataType:VEPROMS.CSLA.Library.Annotation;TextAlign:GeneralCenter;";} 4{Width:66;Name:"TypeID";Caption:"TypeID";Visible:False;AllowEditing:False;Style:"DataType:System.Int32;TextAlign:RightCenter;";} 5{Width:145;Name:"MyAnnotationType";Caption:"Type";AllowDragging:False;AllowEditing:False;Style:"DataType:VEPROMS.CSLA.Library.AnnotationType;TextAlign:GeneralCenter;";} 6{Width:66;Name:"RtfText";Caption:"RtfText";Visible:False;Style:"DataType:System.String;TextAlign:LeftCenter;";} 7{Width:50;Name:"DTS";Caption:"Date";AllowDragging:False;AllowEditing:False;Style:"Format:""d"";DataType:System.DateTime;TextAlign:LeftCenter;";} 8{Width:64;Name:"UserID";Caption:"User";AllowDragging:False;AllowEditing:False;Style:"DataType:System.String;TextAlign:LeftCenter;";} 9{Width:91;Name:"SearchText";Caption:"Description";AllowDragging:False;AllowEditing:False;Style:"DataType:System.String;TextAlign:LeftCenter;";} 10{Width:62;Name:"Config";Caption:"Config";Visible:False;Style:"DataType:System.String;TextAlign:LeftCenter;";} 11{Width:160;Name:"AnnotationType_Name";Caption:"AnnotationType_Name";Visible:False;AllowEditing:False;Style:"DataType:System.String;TextAlign:LeftCenter;";} 12{Width:163;Name:"AnnotationType_Config";Caption:"AnnotationType_Config";Visible:False;AllowEditing:False;Style:"DataType:System.String;TextAlign:LeftCenter;";} 13{Width:151;Name:"AnnotationType_DTS";Caption:"AnnotationType_DTS";Visible:False;AllowEditing:False;Style:"Format:""d"";DataType:System.DateTime;TextAlign:LeftCenter;";} 14{Width:166;Name:"AnnotationType_UserID";Caption:"AnnotationType_UserID";Visible:False;AllowEditing:False;Style:"DataType:System.String;TextAlign:LeftCenter;";} 15{Width:123;Name:"HasBrokenRules";Caption:"HasBrokenRules";Visible:False;AllowEditing:False;Style:"DataType:VEPROMS.CSLA.Library.IVEHasBrokenRules;TextAlign:GeneralCenter;";} 16{Name:"BrokenRules";Caption:"BrokenRules";Visible:False;AllowEditing:False;Style:"DataType:Csla.Validation.BrokenRulesCollection;TextAlign:GeneralCenter;";} 17{Width:123;Name:"CurrentEditLevel";Caption:"CurrentEditLevel";Visible:False;AllowEditing:False;Style:"DataType:System.Int32;TextAlign:RightCenter;";} </value>
|
||||
</data>
|
||||
<metadata name="itemAnnotationsBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>156, 17</value>
|
||||
</metadata>
|
||||
<data name="c1AnnotationGrid.StyleInfo" xml:space="preserve">
|
||||
<value>Normal{Font:Microsoft Sans Serif, 7.8pt;BackColor:Transparent;} Alternate{} Fixed{BackColor:Control;ForeColor:ControlText;Border:Raised,1,Black,Both;BackgroundImageLayout:Hide;} Highlight{BackColor:Highlight;ForeColor:HighlightText;} Focus{} Editor{} Search{BackColor:Highlight;ForeColor:HighlightText;} Frozen{BackColor:Beige;} NewRow{} EmptyArea{BackColor:Transparent;Border:Flat,1,ControlDarkDark,Both;} SelectedColumnHeader{} SelectedRowHeader{} GrandTotal{BackColor:Black;ForeColor:White;} Subtotal0{BackColor:ControlDarkDark;ForeColor:White;} Subtotal1{BackColor:ControlDarkDark;ForeColor:White;} Subtotal2{BackColor:ControlDarkDark;ForeColor:White;} Subtotal3{BackColor:ControlDarkDark;ForeColor:White;} Subtotal4{BackColor:ControlDarkDark;ForeColor:White;} Subtotal5{BackColor:ControlDarkDark;ForeColor:White;} </value>
|
||||
</data>
|
||||
</root>
|
92
PROMS/Volian.Controls.Library/AnnotationSearch.Designer.cs
generated
Normal file
92
PROMS/Volian.Controls.Library/AnnotationSearch.Designer.cs
generated
Normal file
@@ -0,0 +1,92 @@
|
||||
namespace Volian.Controls.Library
|
||||
{
|
||||
partial class AnnotationSearch
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <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();
|
||||
this.cbAnnoType = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.lbResults = new System.Windows.Forms.ListBox();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// cbAnnoType
|
||||
//
|
||||
this.cbAnnoType.DisplayMember = "Text";
|
||||
this.cbAnnoType.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.cbAnnoType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.cbAnnoType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbAnnoType.FormattingEnabled = true;
|
||||
this.cbAnnoType.ItemHeight = 17;
|
||||
this.cbAnnoType.Location = new System.Drawing.Point(0, 0);
|
||||
this.cbAnnoType.Name = "cbAnnoType";
|
||||
this.cbAnnoType.Size = new System.Drawing.Size(239, 23);
|
||||
this.superTooltip1.SetSuperTooltip(this.cbAnnoType, new DevComponents.DotNetBar.SuperTooltipInfo("Select Annotation Search Type", "", "This drop down list contains the posible annotation types. When selected, a list" +
|
||||
" of the annotions of that type will be displayed below.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.cbAnnoType.TabIndex = 1;
|
||||
this.cbAnnoType.WatermarkBehavior = DevComponents.DotNetBar.eWatermarkBehavior.HideNonEmpty;
|
||||
this.cbAnnoType.WatermarkText = "Select Annotation Type";
|
||||
this.cbAnnoType.SelectedValueChanged += new System.EventHandler(this.cbAnnoType_SelectedValueChanged);
|
||||
//
|
||||
// lbResults
|
||||
//
|
||||
this.lbResults.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbResults.FormattingEnabled = true;
|
||||
this.lbResults.HorizontalScrollbar = true;
|
||||
this.lbResults.ItemHeight = 16;
|
||||
this.lbResults.Location = new System.Drawing.Point(0, 23);
|
||||
this.lbResults.Name = "lbResults";
|
||||
this.lbResults.Size = new System.Drawing.Size(239, 372);
|
||||
this.lbResults.TabIndex = 2;
|
||||
this.lbResults.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lbResults_MouseMove);
|
||||
this.lbResults.SelectedValueChanged += new System.EventHandler(this.lbResults_SelectedValueChanged);
|
||||
//
|
||||
// superTooltip1
|
||||
//
|
||||
this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
|
||||
//
|
||||
// AnnotationSearch
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.lbResults);
|
||||
this.Controls.Add(this.cbAnnoType);
|
||||
this.Name = "AnnotationSearch";
|
||||
this.Size = new System.Drawing.Size(239, 397);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevComponents.DotNetBar.Controls.ComboBoxEx cbAnnoType;
|
||||
private System.Windows.Forms.ListBox lbResults;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private DevComponents.DotNetBar.SuperTooltip superTooltip1;
|
||||
}
|
||||
}
|
91
PROMS/Volian.Controls.Library/AnnotationSearch.cs
Normal file
91
PROMS/Volian.Controls.Library/AnnotationSearch.cs
Normal file
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
|
||||
namespace Volian.Controls.Library
|
||||
{
|
||||
public partial class AnnotationSearch : UserControl
|
||||
{
|
||||
#region Properties
|
||||
private AnnotationDetails _AnnotationDetails = null;
|
||||
|
||||
private bool _LoadingList = false;
|
||||
public bool LoadingList
|
||||
{
|
||||
get { return _LoadingList; }
|
||||
set { _LoadingList = value; }
|
||||
}
|
||||
|
||||
private DisplayTabControl _TabControl;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
public AnnotationSearch()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Events
|
||||
private void cbAnnoType_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
UpdateAnnotationSearchResults();
|
||||
}
|
||||
|
||||
private void lbResults_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_LoadingList)
|
||||
{
|
||||
_AnnotationDetails.CurrentAnnotation = lbResults.SelectedValue as AnnotationInfo;
|
||||
if (_AnnotationDetails.CurrentAnnotation != null)
|
||||
_TabControl.OpenItem(_AnnotationDetails.CurrentAnnotation.MyItem); // open the corresponding procedure text
|
||||
_AnnotationDetails.FindCurrentAnnotation(); // position to corresponding row in annotation grid
|
||||
}
|
||||
}
|
||||
|
||||
private int LastResultsMouseOverIndex = -1;
|
||||
private void lbResults_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
int ResultsMouseOverIndex = lbResults.IndexFromPoint(e.Location);
|
||||
if (ResultsMouseOverIndex != -1 && ResultsMouseOverIndex != LastResultsMouseOverIndex)
|
||||
{
|
||||
AnnotationInfo ai = lbResults.Items[ResultsMouseOverIndex] as AnnotationInfo;
|
||||
toolTip1.SetToolTip(lbResults, ai.MyItem.Path); // display location of corresponding procedure text in a tooltip
|
||||
LastResultsMouseOverIndex = ResultsMouseOverIndex;
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region LoadControlData
|
||||
public void SetupAnnotationSearch(AnnotationDetails annotationDetails, DisplayTabControl tc)
|
||||
{
|
||||
_AnnotationDetails = annotationDetails;
|
||||
cbAnnoType.DisplayMember = "Name";
|
||||
cbAnnoType.DataSource = AnnotationTypeInfoList.Get();
|
||||
lbResults.MouseMove += new MouseEventHandler(lbResults_MouseMove);
|
||||
_TabControl = tc;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region VariousSupportMethods
|
||||
public void UpdateAnnotationSearchResults()
|
||||
{
|
||||
AnnotationTypeInfo ati = cbAnnoType.SelectedValue as AnnotationTypeInfo;
|
||||
_LoadingList = true;
|
||||
lbResults.DisplayMember = "SearchText";
|
||||
lbResults.DataSource = ati.AnnotationTypeAnnotations;
|
||||
lbResults.SelectedIndex = -1;
|
||||
LastResultsMouseOverIndex = -1;
|
||||
_LoadingList = false;
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
126
PROMS/Volian.Controls.Library/AnnotationSearch.resx
Normal file
126
PROMS/Volian.Controls.Library/AnnotationSearch.resx
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>121, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
45
PROMS/Volian.Controls.Library/DisplayRO.Designer.cs
generated
45
PROMS/Volian.Controls.Library/DisplayRO.Designer.cs
generated
@@ -44,12 +44,13 @@ namespace Volian.Controls.Library
|
||||
// tvROFST
|
||||
//
|
||||
this.tvROFST.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)));
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tvROFST.HideSelection = false;
|
||||
this.tvROFST.Location = new System.Drawing.Point(0, 52);
|
||||
this.tvROFST.Location = new System.Drawing.Point(0, 64);
|
||||
this.tvROFST.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tvROFST.Name = "tvROFST";
|
||||
this.tvROFST.Size = new System.Drawing.Size(226, 455);
|
||||
this.tvROFST.Size = new System.Drawing.Size(300, 559);
|
||||
this.tvROFST.TabIndex = 5;
|
||||
this.tvROFST.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvROFST_BeforeExpand);
|
||||
this.tvROFST.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvROFST_AfterSelect);
|
||||
@@ -60,8 +61,9 @@ namespace Volian.Controls.Library
|
||||
this.panelValue.Controls.Add(this.panelRoValue);
|
||||
this.panelValue.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panelValue.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelValue.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.panelValue.Name = "panelValue";
|
||||
this.panelValue.Size = new System.Drawing.Size(226, 53);
|
||||
this.panelValue.Size = new System.Drawing.Size(301, 65);
|
||||
this.panelValue.TabIndex = 7;
|
||||
//
|
||||
// pnlROButtons
|
||||
@@ -69,19 +71,21 @@ namespace Volian.Controls.Library
|
||||
this.pnlROButtons.Controls.Add(this.btnCancelRO);
|
||||
this.pnlROButtons.Controls.Add(this.btnSaveRO);
|
||||
this.pnlROButtons.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pnlROButtons.Location = new System.Drawing.Point(0, 25);
|
||||
this.pnlROButtons.Location = new System.Drawing.Point(0, 32);
|
||||
this.pnlROButtons.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.pnlROButtons.Name = "pnlROButtons";
|
||||
this.pnlROButtons.Size = new System.Drawing.Size(226, 28);
|
||||
this.pnlROButtons.Size = new System.Drawing.Size(301, 33);
|
||||
this.pnlROButtons.TabIndex = 9;
|
||||
//
|
||||
// btnCancelRO
|
||||
//
|
||||
this.btnCancelRO.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnCancelRO.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnCancelRO.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnCancelRO.Location = new System.Drawing.Point(142, 0);
|
||||
this.btnCancelRO.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btnCancelRO.Location = new System.Drawing.Point(211, 0);
|
||||
this.btnCancelRO.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.btnCancelRO.Name = "btnCancelRO";
|
||||
this.btnCancelRO.Size = new System.Drawing.Size(84, 27);
|
||||
this.btnCancelRO.Size = new System.Drawing.Size(90, 33);
|
||||
this.btnCancelRO.TabIndex = 9;
|
||||
this.btnCancelRO.Text = "Cancel";
|
||||
this.btnCancelRO.Click += new System.EventHandler(this.btnCancelRO_Click);
|
||||
@@ -92,8 +96,9 @@ namespace Volian.Controls.Library
|
||||
this.btnSaveRO.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnSaveRO.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.btnSaveRO.Location = new System.Drawing.Point(0, 0);
|
||||
this.btnSaveRO.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.btnSaveRO.Name = "btnSaveRO";
|
||||
this.btnSaveRO.Size = new System.Drawing.Size(78, 28);
|
||||
this.btnSaveRO.Size = new System.Drawing.Size(92, 33);
|
||||
this.btnSaveRO.TabIndex = 8;
|
||||
this.btnSaveRO.Text = "Save RO";
|
||||
this.btnSaveRO.Click += new System.EventHandler(this.btnSaveRO_Click);
|
||||
@@ -104,8 +109,9 @@ namespace Volian.Controls.Library
|
||||
this.panelRoValue.Controls.Add(this.lblROValue);
|
||||
this.panelRoValue.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panelRoValue.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelRoValue.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.panelRoValue.Name = "panelRoValue";
|
||||
this.panelRoValue.Size = new System.Drawing.Size(226, 25);
|
||||
this.panelRoValue.Size = new System.Drawing.Size(301, 32);
|
||||
this.panelRoValue.TabIndex = 8;
|
||||
//
|
||||
// tbROValue
|
||||
@@ -115,28 +121,33 @@ namespace Volian.Controls.Library
|
||||
//
|
||||
this.tbROValue.Border.Class = "TextBoxBorder";
|
||||
this.tbROValue.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tbROValue.Location = new System.Drawing.Point(59, 0);
|
||||
this.tbROValue.Location = new System.Drawing.Point(67, 0);
|
||||
this.tbROValue.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbROValue.Name = "tbROValue";
|
||||
this.tbROValue.Size = new System.Drawing.Size(167, 20);
|
||||
this.tbROValue.Size = new System.Drawing.Size(234, 22);
|
||||
this.tbROValue.TabIndex = 7;
|
||||
//
|
||||
// lblROValue
|
||||
//
|
||||
this.lblROValue.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.lblROValue.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblROValue.Location = new System.Drawing.Point(0, 0);
|
||||
this.lblROValue.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.lblROValue.Name = "lblROValue";
|
||||
this.lblROValue.Size = new System.Drawing.Size(59, 25);
|
||||
this.lblROValue.Size = new System.Drawing.Size(67, 32);
|
||||
this.lblROValue.TabIndex = 6;
|
||||
this.lblROValue.Text = "RO Value:";
|
||||
this.lblROValue.TextLineAlignment = System.Drawing.StringAlignment.Near;
|
||||
//
|
||||
// DisplayRO
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.panelValue);
|
||||
this.Controls.Add(this.tvROFST);
|
||||
this.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.Name = "DisplayRO";
|
||||
this.Size = new System.Drawing.Size(226, 507);
|
||||
this.Size = new System.Drawing.Size(301, 624);
|
||||
this.panelValue.ResumeLayout(false);
|
||||
this.pnlROButtons.ResumeLayout(false);
|
||||
this.panelRoValue.ResumeLayout(false);
|
||||
|
Reference in New Issue
Block a user