Enhanced Documents, delete items Enhanced Documents button disable/enable Enhanced Documents, tree view support for insert/delete/copy-paste Move DisplayText.cs to CSLA Enhanced Documents adding links (method added in docversion)
166 lines
17 KiB
C#
166 lines
17 KiB
C#
namespace Volian.Controls.Library
|
||
{
|
||
partial class RTBItem
|
||
{
|
||
/// <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()
|
||
{
|
||
this.components = new System.ComponentModel.Container();
|
||
this.lblTab = new System.Windows.Forms.Label();
|
||
this._MyToolTip = new DevComponents.DotNetBar.SuperTooltip();
|
||
this._MyStepRTB = new Volian.Controls.Library.StepRTB(this.components);
|
||
this._MyvlnExpander = new Volian.Controls.Library.vlnExpander();
|
||
this.SuspendLayout();
|
||
//
|
||
// lblTab
|
||
//
|
||
this.lblTab.BackColor = System.Drawing.Color.Transparent;
|
||
this.lblTab.Location = new System.Drawing.Point(27, 0);
|
||
this.lblTab.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||
this.lblTab.Name = "lblTab";
|
||
this.lblTab.Size = new System.Drawing.Size(81, 28);
|
||
this.lblTab.TabIndex = 3;
|
||
this.lblTab.Visible = false;
|
||
this.lblTab.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblTab_MouseDown);
|
||
//
|
||
// _MyToolTip
|
||
//
|
||
this._MyToolTip.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
|
||
//
|
||
// _MyStepRTB
|
||
//
|
||
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;
|
||
this._MyStepRTB.CheckAbove = "|│└┬┼├┌┴┐┤";
|
||
this._MyStepRTB.CheckBelow = "|│";
|
||
this._MyStepRTB.CheckLeft = "-─┤┬├┼┌┐└‑";
|
||
this._MyStepRTB.CheckRight = "-─‑";
|
||
this._MyStepRTB.FieldToEdit = VEPROMS.CSLA.Library.E_FieldToEdit.StepText;
|
||
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;
|
||
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);
|
||
this._MyStepRTB.LinkModifyTran += new Volian.Controls.Library.StepRTBLinkEvent(this._MyStepRTB_LinkModifyTran);
|
||
this._MyStepRTB.CursorKeyPress += new Volian.Controls.Library.StepRTBCursorKeysEvent(this._MyStepRTB_CursorKeyPress);
|
||
this._MyStepRTB.CursorMovement += new Volian.Controls.Library.StepRTBCursorMovementEvent(this._MyStepRTB_CursorMovement);
|
||
this._MyStepRTB.LinkModifyRO += new Volian.Controls.Library.StepRTBLinkEvent(this._MyStepRTB_LinkModifyRO);
|
||
this._MyStepRTB.SetMenu += new StepRTBMenuEvent(_MyStepRTB_SetMenu);
|
||
this._MyStepRTB.AdjustTableWidth += new StepRTBTableWidthEvent(_MyStepRTB_AdjustTableWidth);
|
||
this._MyStepRTB.IsNotCurrentSelection += new StepRTBBooleanEvent(_MyStepRTB_IsNotCurrentSelection);
|
||
this._MyStepRTB.OpenAnnotations += new StepRTBEvent(_MyStepRTB_OpenAnnotations);
|
||
this._MyStepRTB.InsertPgBrk += new StepRTBEvent(_MyStepRTB_InsertPgBrk);
|
||
this._MyStepRTB.ToggleSuperScript += new StepRTBEvent(_MyStepRTB_ToggleSuperScript);
|
||
this._MyStepRTB.ToggleSubScript += new StepRTBEvent(_MyStepRTB_ToggleSubScript);
|
||
this._MyStepRTB.ToggleChangeBar += new StepRTBEvent(_MyStepRTB_ToggleChangeBar);
|
||
this._MyStepRTB.ToggleContinuousActionSummary += new StepRTBEvent(_MyStepRTB_ToggleContinuousActionSummary);
|
||
this._MyStepRTB.TogglePlaceKeeper += new StepRTBEvent(_MyStepRTB_TogglePlaceKeeper);
|
||
this._MyStepRTB.TogglePlaceKeeperContAct += new StepRTBEvent(_MyStepRTB_TogglePlaceKeeperContAct);
|
||
this._MyStepRTB.EnterKeyPressed += new StepRTBCursorKeysEvent(_MyStepRTB_EnterKeyPressed);
|
||
this._MyStepRTB.CheckClipboard += new StepRTBBooleanEvent(_MyStepRTB_CheckClipboard);
|
||
this._MyStepRTB.CopyStep += new StepRTBEvent(_MyStepRTB_CopyStep);
|
||
this._MyStepRTB.OpenContextMenu += new StepRTBLocationEvent(_MyStepRTB_OpenContextMenu);
|
||
this._MyStepRTB.DoMouseWheel += new StepRTBMouseEvent(_MyStepRTB_DoMouseWheel);
|
||
this._MyStepRTB.DoSaveContents += new StepRTBEvent(_MyStepRTB_DoSaveContents);
|
||
this._MyStepRTB.RoInsert += new StepRTBRoEvent(_MyStepRTB_RoInsert);
|
||
this._MyStepRTB.Resize+=new System.EventHandler(_MyStepRTB_Resize);
|
||
//
|
||
// _MyvlnExpander
|
||
//
|
||
this._MyvlnExpander.Attachment = false;
|
||
this._MyvlnExpander.BackColor = System.Drawing.Color.Transparent;
|
||
this._MyvlnExpander.BorderColor = System.Drawing.Color.Silver;
|
||
this._MyvlnExpander.Color1 = System.Drawing.Color.ForestGreen;
|
||
this._MyvlnExpander.Color2 = System.Drawing.Color.ForestGreen;
|
||
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 = 255;
|
||
this._MyvlnExpander.Trans2 = 255;
|
||
this._MyvlnExpander.WidthFactor = 7;
|
||
this._MyvlnExpander.AttachmentClick += new Volian.Controls.Library.vlnExpanderEvent(this.vlnExp_AttachmentClick);
|
||
this._MyvlnExpander.BeforeColapse += new Volian.Controls.Library.vlnExpanderEvent(this.vlnExp_BeforeColapse);
|
||
this._MyvlnExpander.BeforeExpand += new Volian.Controls.Library.vlnExpanderEvent(this.vlnExp_BeforeExpand);
|
||
//
|
||
// RTBItem
|
||
//
|
||
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.lblTab);
|
||
this.Controls.Add(this._MyStepRTB);
|
||
this.Controls.Add(this._MyvlnExpander);
|
||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.Name = "RTBItem";
|
||
this.Size = new System.Drawing.Size(419, 25);
|
||
this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblTab_MouseDown);
|
||
this.ResumeLayout(false);
|
||
}
|
||
#endregion
|
||
|
||
private vlnExpander _MyvlnExpander;
|
||
private StepRTB _MyStepRTB;
|
||
private System.Windows.Forms.Label lblTab;
|
||
private DevComponents.DotNetBar.SuperTooltip _MyToolTip;
|
||
}
|
||
}
|