164 lines
8.5 KiB
C#
164 lines
8.5 KiB
C#
namespace Volian.Controls.Library
|
|
{
|
|
partial class ImageItem
|
|
{
|
|
/// <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)
|
|
{
|
|
_BeingDisposed = true;
|
|
DisposeOfChildren(MyAfterEditItems);
|
|
DisposeOfChildren(MyBeforeEditItems);
|
|
DisposeOfChildren(MyRNOEditItems);
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
MyItemInfo.MyContent.Changed -= new VEPROMS.CSLA.Library.ContentInfoEvent(MyContent_Changed);
|
|
MyItemInfo.MyProcedure.MyContent.Changed -= new VEPROMS.CSLA.Library.ContentInfoEvent(MyContent_Changed);
|
|
}
|
|
private void DisposeOfChildren(System.Collections.Generic.List<EditItem> children)
|
|
{
|
|
if (children == null) return;
|
|
foreach (EditItem child in children)
|
|
child.Dispose();
|
|
children = null;
|
|
}
|
|
|
|
|
|
#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()
|
|
{
|
|
components = new System.ComponentModel.Container();
|
|
this._MyPictureBox = new System.Windows.Forms.PictureBox();
|
|
this._MyStepRTB = new Volian.Controls.Library.StepRTB(this.components);
|
|
this._MyStepRTB.Location = new System.Drawing.Point(0, -20); // position richtextbox outside visible range
|
|
this.lblTab = new System.Windows.Forms.Label();
|
|
this._MyToolTip = new DevComponents.DotNetBar.SuperTooltip();
|
|
//this._MyvlnExpander = new Volian.Controls.Library.vlnExpander();
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.SuspendLayout();
|
|
//
|
|
// _MyPictureBox
|
|
//
|
|
this._MyToolTip.SetSuperTooltip(this._MyPictureBox, new DevComponents.DotNetBar.SuperTooltipInfo("Figure", "", "The image size can be adjusted from the Tags tab on the Step Properties panel", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(150, 80)));
|
|
this._MyPictureBox.Location = new System.Drawing.Point(7, 5);
|
|
this._MyPictureBox.Name = "_MyPictureBox";
|
|
//
|
|
// lblTab
|
|
//
|
|
this.lblTab.BackColor = System.Drawing.Color.Transparent;
|
|
this.lblTab.Location = new System.Drawing.Point(0, 0);
|
|
this.lblTab.Name = "lblTab";
|
|
this.lblTab.Size = new System.Drawing.Size(61, 23);
|
|
this.lblTab.TabIndex = 3;
|
|
this.lblTab.Visible = false;
|
|
//this.lblTab.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblTab_MouseDown);
|
|
//
|
|
// _MyStepRTB
|
|
//
|
|
this._MyStepRTB.Visible = false;
|
|
//this._MyStepRTB.AdjustSize = new System.Drawing.Size(0, 0);
|
|
//this._MyStepRTB.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
// | System.Windows.Forms.AnchorStyles.Right)));
|
|
//this._MyStepRTB.BackColor = System.Drawing.Color.Linen;
|
|
//this._MyStepRTB.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
////KBR this._MyStepRTB.CheckAbove = "|│└┬┼├┌┴┐┤";
|
|
////KBR this._MyStepRTB.CheckBelow = "|│";
|
|
////KBR this._MyStepRTB.CheckLeft = "-─┤┬├┼┌┐└‑";
|
|
////KBR this._MyStepRTB.CheckRight = "-─‑";
|
|
this._MyStepRTB.FieldToEdit = VEPROMS.CSLA.Library.E_FieldToEdit.Text; // was text, but would not process steptabribbon button enabling. .Text;
|
|
//this._MyStepRTB.Font = new System.Drawing.Font("Prestige Elite Tall", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
|
|
//this._MyStepRTB.Location = new System.Drawing.Point(107, 0);
|
|
//this._MyStepRTB.Margin = new System.Windows.Forms.Padding(4);
|
|
//this._MyStepRTB.MyClassName = "RichEdit20W";
|
|
//this._MyStepRTB.MyItemInfo = null;
|
|
//this._MyStepRTB.MyLinkText = null;
|
|
//this._MyStepRTB.Name = "_MyStepRTB";
|
|
//this._MyStepRTB.ProcessKeystrokes = true;
|
|
//this._MyStepRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks;
|
|
//this._MyStepRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
|
|
//this._MyStepRTB.ShowDebug = false;
|
|
//this._MyStepRTB.Size = new System.Drawing.Size(312, 25);
|
|
//this._MyStepRTB.TabIndex = 2;
|
|
//this._MyStepRTB.Text = "";
|
|
//this._MyStepRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit;
|
|
//KBR this._MyStepRTB.LinkGoTo += new Volian.Controls.Library.StepRTBLinkEvent(this._MyStepRTB_LinkGoTo);
|
|
//this._MyStepRTB.Enter += new System.EventHandler(this._StepRTB_Enter);
|
|
//this._MyStepRTB.HeightChanged += new Volian.Controls.Library.StepRTBEvent(this._MyStepRTB_HeightChanged);
|
|
//this._MyStepRTB.ModeChange += new Volian.Controls.Library.StepRTBModeChangeEvent(this._MyStepRTB_ModeChange);
|
|
//KBR this._MyStepRTB.LinkModifyTran += new Volian.Controls.Library.StepRTBLinkEvent(this._MyStepRTB_LinkModifyTran);
|
|
//this._MyPictureBox..CursorKeyPress += new Volian.Controls.Library.StepRTBCursorKeysEvent(this._MyStepRTB_CursorKeyPress);
|
|
//this._MyPictureBox.CursorMovement += new Volian.Controls.Library.StepRTBCursorMovementEvent(this._MyStepRTB_CursorMovement);
|
|
//KBR this._MyStepRTB.LinkModifyRO += new Volian.Controls.Library.StepRTBLinkEvent(this._MyStepRTB_LinkModifyRO);
|
|
//KBR this._MyStepRTB.SetMenu += new StepRTBMenuEvent(_MyStepRTB_SetMenu);
|
|
//this._MyStepRTB.AdjustTableWidth += new StepRTBTableWidthEvent(_MyStepRTB_AdjustTableWidth);
|
|
//KBR this._MyStepRTB.IsNotCurrentSelection += new StepRTBBooleanEvent(_MyStepRTB_IsNotCurrentSelection);
|
|
//KBR this._MyStepRTB.OpenAnnotations += new StepRTBEvent(_MyStepRTB_OpenAnnotations);
|
|
//KBR this._MyStepRTB.InsertPgBrk += new StepRTBEvent(_MyStepRTB_InsertPgBrk);
|
|
//KBR this._MyStepRTB.EnterKeyPressed += new StepRTBCursorKeysEvent(_MyStepRTB_EnterKeyPressed);
|
|
//KBR this._MyStepRTB.CheckClipboard += new StepRTBBooleanEvent(_MyStepRTB_CheckClipboard);
|
|
//KBR this._MyStepRTB.CopyStep += new StepRTBEvent(_MyStepRTB_CopyStep);
|
|
//KBR this._MyStepRTB.OpenContextMenu += new StepRTBLocationEvent(_MyStepRTB_OpenContextMenu);
|
|
//KBR this._MyStepRTB.DoMouseWheel += new StepRTBMouseEvent(_MyStepRTB_DoMouseWheel);
|
|
//this._MyStepRTB.DoSaveContents += new StepRTBEvent(_MyStepRTB_DoSaveContents);
|
|
//KBR this._MyStepRTB.RoInsert += new StepRTBRoEvent(_MyStepRTB_RoInsert);
|
|
//this._MyStepRTB.Resize += new System.EventHandler(_MyStepRTB_Resize);
|
|
|
|
//this._MyvlnExpander.Attachment = false;
|
|
//this._MyvlnExpander.BackColor = System.Drawing.Color.Transparent;
|
|
//this._MyvlnExpander.BorderColor = System.Drawing.Color.Silver;
|
|
//this._MyvlnExpander.Color1 = System.Drawing.Color.Aquamarine;
|
|
//this._MyvlnExpander.Color2 = System.Drawing.Color.Violet;
|
|
//this._MyvlnExpander.Expanded = false;
|
|
//this._MyvlnExpander.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
|
|
//this._MyvlnExpander.GradientAngle = 45;
|
|
//this._MyvlnExpander.Location = new System.Drawing.Point(4, 4);
|
|
//this._MyvlnExpander.Margin = new System.Windows.Forms.Padding(5);
|
|
//this._MyvlnExpander.MyExpanderStyle = Volian.Controls.Library.ExpanderStyle.Round;
|
|
//this._MyvlnExpander.Name = "_MyvlnExpander";
|
|
//this._MyvlnExpander.PenWidth = 0;
|
|
//this._MyvlnExpander.Size = new System.Drawing.Size(17, 17);
|
|
//this._MyvlnExpander.TabIndex = 0;
|
|
//this._MyvlnExpander.Trans1 = 128;
|
|
//this._MyvlnExpander.Trans2 = 128;
|
|
//this._MyvlnExpander.WidthFactor = 7;
|
|
//this._MyvlnExpander.BeforeColapse += new Volian.Controls.Library.vlnExpanderEvent(this.vlnExp_BeforeColapse);
|
|
//this._MyvlnExpander.BeforeExpand += new Volian.Controls.Library.vlnExpanderEvent(this.vlnExp_BeforeExpand);
|
|
//
|
|
// ImageItem
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.SystemColors.ButtonFace;
|
|
this.Controls.Add(this._MyStepRTB);
|
|
//this.Controls.Add(this._MyvlnExpander);
|
|
this.Controls.Add(this._MyPictureBox);
|
|
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
|
this.Name = "ImageItem";
|
|
this.Size = new System.Drawing.Size(419, 25);
|
|
//this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblTab_MouseDown);
|
|
this.ResumeLayout(false);
|
|
}
|
|
private StepRTB _MyStepRTB;
|
|
private System.Windows.Forms.PictureBox _MyPictureBox;
|
|
private System.Windows.Forms.Label lblTab;
|
|
private DevComponents.DotNetBar.SuperTooltip _MyToolTip;
|
|
#endregion
|
|
}
|
|
}
|