This commit is contained in:
2009-08-18 14:11:11 +00:00
parent b0c0a65af8
commit 6ba374729d
5 changed files with 90 additions and 43 deletions

View File

@@ -28,6 +28,7 @@ namespace Volian.Controls.Library
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DisplayLibDocs));
this.groupPanelBtns = new DevComponents.DotNetBar.Controls.GroupPanel();
this.btnImpLibDoc = new System.Windows.Forms.Button();
this.groupPanelLibDocs = new DevComponents.DotNetBar.Controls.GroupPanel();
@@ -43,6 +44,7 @@ namespace Volian.Controls.Library
this.lblName = new System.Windows.Forms.Label();
this.listBoxUsages = new System.Windows.Forms.ListBox();
this.groupPanelUsages = new DevComponents.DotNetBar.Controls.GroupPanel();
this.superTooltipLibDocs = new DevComponents.DotNetBar.SuperTooltip();
this.groupPanelBtns.SuspendLayout();
this.groupPanelLibDocs.SuspendLayout();
this.pnlProp.SuspendLayout();
@@ -87,6 +89,8 @@ namespace Volian.Controls.Library
this.btnImpLibDoc.Location = new System.Drawing.Point(0, 0);
this.btnImpLibDoc.Name = "btnImpLibDoc";
this.btnImpLibDoc.Size = new System.Drawing.Size(495, 38);
this.superTooltipLibDocs.SetSuperTooltip(this.btnImpLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Import Existing Word Document", "", "Imports an existing Word Document into the Veproms data, allowing it to be used a" +
"s a library document", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnImpLibDoc.TabIndex = 1;
this.btnImpLibDoc.Text = "Import Existing Word Document";
this.btnImpLibDoc.UseVisualStyleBackColor = true;
@@ -122,6 +126,7 @@ namespace Volian.Controls.Library
this.groupPanelLibDocs.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.groupPanelLibDocs.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.groupPanelLibDocs.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
this.superTooltipLibDocs.SetSuperTooltip(this.groupPanelLibDocs, new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.groupPanelLibDocs.TabIndex = 27;
this.groupPanelLibDocs.Text = "Library Documents";
//
@@ -135,11 +140,13 @@ namespace Volian.Controls.Library
this.listBoxLibDocs.Margin = new System.Windows.Forms.Padding(4);
this.listBoxLibDocs.Name = "listBoxLibDocs";
this.listBoxLibDocs.Size = new System.Drawing.Size(495, 276);
this.superTooltipLibDocs.SetSuperTooltip(this.listBoxLibDocs, new DevComponents.DotNetBar.SuperTooltipInfo("Library Documents", "", resources.GetString("listBoxLibDocs.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.listBoxLibDocs.TabIndex = 13;
this.listBoxLibDocs.SelectedIndexChanged += new System.EventHandler(this.listBoxLibDocs_Click);
//
// pnlProp
//
this.pnlProp.BackColor = System.Drawing.Color.Beige;
this.pnlProp.Controls.Add(this.btnOpenLibDoc);
this.pnlProp.Controls.Add(this.btnDelLibDoc);
this.pnlProp.Controls.Add(this.btnCancel);
@@ -160,6 +167,7 @@ namespace Volian.Controls.Library
this.btnOpenLibDoc.Location = new System.Drawing.Point(376, 120);
this.btnOpenLibDoc.Name = "btnOpenLibDoc";
this.btnOpenLibDoc.Size = new System.Drawing.Size(108, 30);
this.superTooltipLibDocs.SetSuperTooltip(this.btnOpenLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Open", "", "Opens, for edit, a unused library document.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnOpenLibDoc.TabIndex = 14;
this.btnOpenLibDoc.Text = "Open";
this.btnOpenLibDoc.UseVisualStyleBackColor = true;
@@ -171,6 +179,7 @@ namespace Volian.Controls.Library
this.btnDelLibDoc.Location = new System.Drawing.Point(263, 118);
this.btnDelLibDoc.Name = "btnDelLibDoc";
this.btnDelLibDoc.Size = new System.Drawing.Size(107, 34);
this.superTooltipLibDocs.SetSuperTooltip(this.btnDelLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Delete", "", "Deletes an unused library document.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnDelLibDoc.TabIndex = 13;
this.btnDelLibDoc.Text = "Delete";
this.btnDelLibDoc.UseVisualStyleBackColor = true;
@@ -181,6 +190,7 @@ namespace Volian.Controls.Library
this.btnCancel.Location = new System.Drawing.Point(99, 80);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.superTooltipLibDocs.SetSuperTooltip(this.btnCancel, new DevComponents.DotNetBar.SuperTooltipInfo("Cancel", "", "Cancels change of Name or Comment. Restores to original.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnCancel.TabIndex = 12;
this.btnCancel.Text = "Cancel";
this.btnCancel.UseVisualStyleBackColor = true;
@@ -191,6 +201,7 @@ namespace Volian.Controls.Library
this.btnSave.Location = new System.Drawing.Point(18, 80);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 23);
this.superTooltipLibDocs.SetSuperTooltip(this.btnSave, new DevComponents.DotNetBar.SuperTooltipInfo("Save", "", "Saves change of Name or Comment.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.btnSave.TabIndex = 11;
this.btnSave.Text = "Save";
this.btnSave.UseVisualStyleBackColor = true;
@@ -204,6 +215,7 @@ namespace Volian.Controls.Library
this.tbComment.Multiline = true;
this.tbComment.Name = "tbComment";
this.tbComment.Size = new System.Drawing.Size(400, 41);
this.superTooltipLibDocs.SetSuperTooltip(this.tbComment, new DevComponents.DotNetBar.SuperTooltipInfo("Comment", "", "Comment for this library document.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.tbComment.TabIndex = 10;
this.tbComment.TextChanged += new System.EventHandler(this.tbComment_TextChanged);
//
@@ -214,6 +226,7 @@ namespace Volian.Controls.Library
this.tbName.Location = new System.Drawing.Point(70, 3);
this.tbName.Name = "tbName";
this.tbName.Size = new System.Drawing.Size(413, 22);
this.superTooltipLibDocs.SetSuperTooltip(this.tbName, new DevComponents.DotNetBar.SuperTooltipInfo("Name", "", "Name of library document.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.tbName.TabIndex = 9;
this.tbName.TextChanged += new System.EventHandler(this.tbName_TextChanged);
//
@@ -248,6 +261,8 @@ namespace Volian.Controls.Library
this.listBoxUsages.Location = new System.Drawing.Point(0, 0);
this.listBoxUsages.Name = "listBoxUsages";
this.listBoxUsages.Size = new System.Drawing.Size(495, 292);
this.superTooltipLibDocs.SetSuperTooltip(this.listBoxUsages, new DevComponents.DotNetBar.SuperTooltipInfo("Usages", "", "Shows where a selected library document is used. Clicking on use will bring up t" +
"he library document.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.listBoxUsages.TabIndex = 0;
this.listBoxUsages.SelectedValueChanged += new System.EventHandler(this.listBoxUsages_SelectedValueChanged);
//
@@ -284,6 +299,10 @@ namespace Volian.Controls.Library
this.groupPanelUsages.TabIndex = 31;
this.groupPanelUsages.Text = "Usages";
//
// superTooltipLibDocs
//
this.superTooltipLibDocs.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
//
// DisplayLibDocs
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
@@ -322,5 +341,6 @@ namespace Volian.Controls.Library
private System.Windows.Forms.Label lblName;
private System.Windows.Forms.ListBox listBoxUsages;
private DevComponents.DotNetBar.Controls.GroupPanel groupPanelUsages;
private DevComponents.DotNetBar.SuperTooltip superTooltipLibDocs;
}
}