Most Recent Items
Ribbon for DisplayTabPanel
This commit is contained in:
		
							
								
								
									
										82
									
								
								PROMS/Volian.Controls.Library/DisplayTabRibbon.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										82
									
								
								PROMS/Volian.Controls.Library/DisplayTabRibbon.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,82 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.ComponentModel;
 | 
			
		||||
using System.Drawing;
 | 
			
		||||
using System.Data;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Windows.Forms;
 | 
			
		||||
 | 
			
		||||
namespace Volian.Controls.Library
 | 
			
		||||
{
 | 
			
		||||
	public partial class DisplayTabRibbon : UserControl
 | 
			
		||||
	{
 | 
			
		||||
 | 
			
		||||
		private RichTextBox _RichTextBox;
 | 
			
		||||
		public RichTextBox RichTextBox
 | 
			
		||||
		{
 | 
			
		||||
			get { return _RichTextBox; }
 | 
			
		||||
			set 
 | 
			
		||||
			{ 
 | 
			
		||||
				_RichTextBox = value;
 | 
			
		||||
				if (value != null)
 | 
			
		||||
				{
 | 
			
		||||
					_ContextMenuBar.SetContextMenuEx(_RichTextBox, btnCMRtfEdit);
 | 
			
		||||
					_RichTextBox.SelectionChanged += new EventHandler(_RichTextBox_SelectionChanged);
 | 
			
		||||
					_RichTextBox.Leave += new EventHandler(_RichTextBox_Leave);
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		void _RichTextBox_Leave(object sender, EventArgs e)
 | 
			
		||||
		{
 | 
			
		||||
			_RichTextBox.SelectionChanged -= new EventHandler(_RichTextBox_SelectionChanged);
 | 
			
		||||
			_RichTextBox.Leave -= new EventHandler(_RichTextBox_Leave);
 | 
			
		||||
		}
 | 
			
		||||
		void _RichTextBox_SelectionChanged(object sender, EventArgs e)
 | 
			
		||||
		{
 | 
			
		||||
			btnCMBold.Checked = btnBold.Checked  = _RichTextBox.SelectionFont.Bold;
 | 
			
		||||
			btnCMItalics.Checked = btnItalics.Checked = _RichTextBox.SelectionFont.Italic;
 | 
			
		||||
			btnCMUnderline.Checked = btnUnderline.Checked = _RichTextBox.SelectionFont.Underline;
 | 
			
		||||
			btnCut.Enabled = btnCopy.Enabled = btnCMCut.Enabled = btnCMCopy.Enabled = _RichTextBox.SelectionLength > 0;
 | 
			
		||||
		}
 | 
			
		||||
		public DisplayTabRibbon()
 | 
			
		||||
		{
 | 
			
		||||
			InitializeComponent();
 | 
			
		||||
		}
 | 
			
		||||
		private void btnPaste_Click(object sender, EventArgs e)
 | 
			
		||||
		{
 | 
			
		||||
			IDataObject myDO = Clipboard.GetDataObject();
 | 
			
		||||
			if (myDO.GetDataPresent("Rich Text Format"))
 | 
			
		||||
				_RichTextBox.SelectedRtf = myDO.GetData("Rich Text Format").ToString();
 | 
			
		||||
			else if (myDO.GetDataPresent("Text"))
 | 
			
		||||
				_RichTextBox.SelectedText = myDO.GetData("Text").ToString();
 | 
			
		||||
		}
 | 
			
		||||
		private void btnCut_Click(object sender, EventArgs e)
 | 
			
		||||
		{
 | 
			
		||||
			Clipboard.Clear();
 | 
			
		||||
			DataObject myDO = new DataObject("Rich Text Format", _RichTextBox.SelectedRtf);
 | 
			
		||||
			Clipboard.SetDataObject(myDO);
 | 
			
		||||
			_RichTextBox.SelectedText = "";
 | 
			
		||||
 		}
 | 
			
		||||
		private void btnCopy_Click(object sender, EventArgs e)
 | 
			
		||||
		{
 | 
			
		||||
			Clipboard.Clear();
 | 
			
		||||
			DataObject myDO = new DataObject("Rich Text Format", _RichTextBox.SelectedRtf);
 | 
			
		||||
			Clipboard.SetDataObject(myDO);
 | 
			
		||||
		}
 | 
			
		||||
		private void btnBold_Click(object sender, EventArgs e)
 | 
			
		||||
		{
 | 
			
		||||
			FontStyle fs = _RichTextBox.SelectionFont.Style ^ FontStyle.Bold;
 | 
			
		||||
			_RichTextBox.SelectionFont = new Font(_RichTextBox.SelectionFont, fs);
 | 
			
		||||
		}
 | 
			
		||||
		private void btnItalics_Click(object sender, EventArgs e)
 | 
			
		||||
		{
 | 
			
		||||
			FontStyle fs = _RichTextBox.SelectionFont.Style ^ FontStyle.Italic;
 | 
			
		||||
			_RichTextBox.SelectionFont = new Font(_RichTextBox.SelectionFont, fs);
 | 
			
		||||
		}
 | 
			
		||||
		private void btnUnderline_Click(object sender, EventArgs e)
 | 
			
		||||
		{
 | 
			
		||||
			FontStyle fs = _RichTextBox.SelectionFont.Style ^ FontStyle.Underline;
 | 
			
		||||
			_RichTextBox.SelectionFont = new Font(_RichTextBox.SelectionFont, fs);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										635
									
								
								PROMS/Volian.Controls.Library/DisplayTabRibbon.designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										635
									
								
								PROMS/Volian.Controls.Library/DisplayTabRibbon.designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,635 @@
 | 
			
		||||
namespace Volian.Controls.Library
 | 
			
		||||
{
 | 
			
		||||
	partial class DisplayTabRibbon
 | 
			
		||||
	{
 | 
			
		||||
		/// <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._RibbonControl = new DevComponents.DotNetBar.RibbonControl();
 | 
			
		||||
			this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
 | 
			
		||||
			this.rbFont = new DevComponents.DotNetBar.RibbonBar();
 | 
			
		||||
			this.itemContainer7 = new DevComponents.DotNetBar.ItemContainer();
 | 
			
		||||
			this.itemContainer8 = new DevComponents.DotNetBar.ItemContainer();
 | 
			
		||||
			this.btnBold = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnItalics = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnUnderline = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnSuperscript = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnSubscript = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.itemContainer9 = new DevComponents.DotNetBar.ItemContainer();
 | 
			
		||||
			this.buttonItem14 = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnUppercase = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnLowercase = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnTitleCase = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.rbClipboard = new DevComponents.DotNetBar.RibbonBar();
 | 
			
		||||
			this.btnPaste = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.itemContainer6 = new DevComponents.DotNetBar.ItemContainer();
 | 
			
		||||
			this.btnCut = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCopy = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
 | 
			
		||||
			this.rtabHome = new DevComponents.DotNetBar.RibbonTabItem();
 | 
			
		||||
			this.rtabInsert = new DevComponents.DotNetBar.RibbonTabItem();
 | 
			
		||||
			this._ContextMenuBar = new DevComponents.DotNetBar.ContextMenuBar();
 | 
			
		||||
			this.btnCMRtfEdit = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMEdit = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMCut = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMCopy = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMPaste = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMStyle = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMBold = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMItalics = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMUnderline = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMSuper = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMSubscript = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMCase = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMUpper = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMLower = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMTItle = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMInsert = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMHardspace = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMRO = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMTransition = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMSymbol = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnPageBreak = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMToggle = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.btnCMRTFEdit2 = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.itemContainer1 = new DevComponents.DotNetBar.ItemContainer();
 | 
			
		||||
			this.itemContainer2 = new DevComponents.DotNetBar.ItemContainer();
 | 
			
		||||
			this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.buttonItem3 = new DevComponents.DotNetBar.ButtonItem();
 | 
			
		||||
			this.itemContainer3 = new DevComponents.DotNetBar.ItemContainer();
 | 
			
		||||
			this._RibbonControl.SuspendLayout();
 | 
			
		||||
			this.ribbonPanel1.SuspendLayout();
 | 
			
		||||
			((System.ComponentModel.ISupportInitialize)(this._ContextMenuBar)).BeginInit();
 | 
			
		||||
			this.SuspendLayout();
 | 
			
		||||
			// 
 | 
			
		||||
			// _RibbonControl
 | 
			
		||||
			// 
 | 
			
		||||
			this._RibbonControl.Controls.Add(this.ribbonPanel1);
 | 
			
		||||
			this._RibbonControl.Controls.Add(this.ribbonPanel2);
 | 
			
		||||
			this._RibbonControl.Dock = System.Windows.Forms.DockStyle.Fill;
 | 
			
		||||
			this._RibbonControl.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.rtabHome,
 | 
			
		||||
            this.rtabInsert});
 | 
			
		||||
			this._RibbonControl.KeyTipsFont = new System.Drawing.Font("Tahoma", 7F);
 | 
			
		||||
			this._RibbonControl.Location = new System.Drawing.Point(0, 0);
 | 
			
		||||
			this._RibbonControl.Name = "_RibbonControl";
 | 
			
		||||
			this._RibbonControl.Office2007ColorTable = DevComponents.DotNetBar.Rendering.eOffice2007ColorScheme.Black;
 | 
			
		||||
			this._RibbonControl.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2);
 | 
			
		||||
			this._RibbonControl.Size = new System.Drawing.Size(777, 106);
 | 
			
		||||
			this._RibbonControl.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
 | 
			
		||||
			this._RibbonControl.TabGroupHeight = 14;
 | 
			
		||||
			this._RibbonControl.TabIndex = 0;
 | 
			
		||||
			this._RibbonControl.Text = "ribbonControl1";
 | 
			
		||||
			// 
 | 
			
		||||
			// ribbonPanel1
 | 
			
		||||
			// 
 | 
			
		||||
			this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
 | 
			
		||||
			this.ribbonPanel1.Controls.Add(this.rbFont);
 | 
			
		||||
			this.ribbonPanel1.Controls.Add(this.rbClipboard);
 | 
			
		||||
			this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
 | 
			
		||||
			this.ribbonPanel1.Location = new System.Drawing.Point(0, 25);
 | 
			
		||||
			this.ribbonPanel1.Name = "ribbonPanel1";
 | 
			
		||||
			this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
 | 
			
		||||
			this.ribbonPanel1.Size = new System.Drawing.Size(777, 79);
 | 
			
		||||
			this.ribbonPanel1.TabIndex = 1;
 | 
			
		||||
			// 
 | 
			
		||||
			// rbFont
 | 
			
		||||
			// 
 | 
			
		||||
			this.rbFont.AutoOverflowEnabled = true;
 | 
			
		||||
			this.rbFont.Dock = System.Windows.Forms.DockStyle.Left;
 | 
			
		||||
			this.rbFont.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.itemContainer7});
 | 
			
		||||
			this.rbFont.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
 | 
			
		||||
			this.rbFont.Location = new System.Drawing.Point(102, 0);
 | 
			
		||||
			this.rbFont.Name = "rbFont";
 | 
			
		||||
			this.rbFont.Size = new System.Drawing.Size(129, 76);
 | 
			
		||||
			this.rbFont.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
 | 
			
		||||
			this.rbFont.TabIndex = 1;
 | 
			
		||||
			this.rbFont.Text = "&Font";
 | 
			
		||||
			// 
 | 
			
		||||
			// itemContainer7
 | 
			
		||||
			// 
 | 
			
		||||
			this.itemContainer7.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
 | 
			
		||||
			this.itemContainer7.MinimumSize = new System.Drawing.Size(0, 0);
 | 
			
		||||
			this.itemContainer7.Name = "itemContainer7";
 | 
			
		||||
			this.itemContainer7.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.itemContainer8,
 | 
			
		||||
            this.itemContainer9});
 | 
			
		||||
			this.itemContainer7.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle;
 | 
			
		||||
			// 
 | 
			
		||||
			// itemContainer8
 | 
			
		||||
			// 
 | 
			
		||||
			this.itemContainer8.MinimumSize = new System.Drawing.Size(0, 0);
 | 
			
		||||
			this.itemContainer8.Name = "itemContainer8";
 | 
			
		||||
			this.itemContainer8.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.btnBold,
 | 
			
		||||
            this.btnItalics,
 | 
			
		||||
            this.btnUnderline,
 | 
			
		||||
            this.btnSuperscript,
 | 
			
		||||
            this.btnSubscript});
 | 
			
		||||
			// 
 | 
			
		||||
			// btnBold
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnBold.GlobalName = "Bold";
 | 
			
		||||
			this.btnBold.Image = global::Volian.Controls.Library.Properties.Resources.FontBold_Image;
 | 
			
		||||
			this.btnBold.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnBold.Name = "btnBold";
 | 
			
		||||
			this.btnBold.Text = "Bold";
 | 
			
		||||
			this.btnBold.Click += new System.EventHandler(this.btnBold_Click);
 | 
			
		||||
			// 
 | 
			
		||||
			// btnItalics
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnItalics.GlobalName = "Italic";
 | 
			
		||||
			this.btnItalics.Image = global::Volian.Controls.Library.Properties.Resources.FontItalic_Image;
 | 
			
		||||
			this.btnItalics.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnItalics.Name = "btnItalics";
 | 
			
		||||
			this.btnItalics.Text = "Italic";
 | 
			
		||||
			this.btnItalics.Click += new System.EventHandler(this.btnItalics_Click);
 | 
			
		||||
			// 
 | 
			
		||||
			// btnUnderline
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnUnderline.GlobalName = "Underline";
 | 
			
		||||
			this.btnUnderline.Image = global::Volian.Controls.Library.Properties.Resources.FontUnderline_Image;
 | 
			
		||||
			this.btnUnderline.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnUnderline.Name = "btnUnderline";
 | 
			
		||||
			this.btnUnderline.Text = "Underline";
 | 
			
		||||
			this.btnUnderline.Click += new System.EventHandler(this.btnUnderline_Click);
 | 
			
		||||
			// 
 | 
			
		||||
			// btnSuperscript
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnSuperscript.Image = global::Volian.Controls.Library.Properties.Resources.SuperScript;
 | 
			
		||||
			this.btnSuperscript.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnSuperscript.Name = "btnSuperscript";
 | 
			
		||||
			this.btnSuperscript.Text = "Superscript";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnSubscript
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnSubscript.Image = global::Volian.Controls.Library.Properties.Resources.SubScript;
 | 
			
		||||
			this.btnSubscript.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnSubscript.Name = "btnSubscript";
 | 
			
		||||
			this.btnSubscript.Text = "Subscript";
 | 
			
		||||
			// 
 | 
			
		||||
			// itemContainer9
 | 
			
		||||
			// 
 | 
			
		||||
			this.itemContainer9.MinimumSize = new System.Drawing.Size(0, 0);
 | 
			
		||||
			this.itemContainer9.Name = "itemContainer9";
 | 
			
		||||
			this.itemContainer9.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.buttonItem14});
 | 
			
		||||
			// 
 | 
			
		||||
			// buttonItem14
 | 
			
		||||
			// 
 | 
			
		||||
			this.buttonItem14.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.buttonItem14.Name = "buttonItem14";
 | 
			
		||||
			this.buttonItem14.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.btnUppercase,
 | 
			
		||||
            this.btnLowercase,
 | 
			
		||||
            this.btnTitleCase});
 | 
			
		||||
			this.buttonItem14.Text = "Change Case";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnUppercase
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnUppercase.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnUppercase.Name = "btnUppercase";
 | 
			
		||||
			this.btnUppercase.Text = "UPPER CASE";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnLowercase
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnLowercase.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnLowercase.Name = "btnLowercase";
 | 
			
		||||
			this.btnLowercase.Text = "lower case";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnTitleCase
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnTitleCase.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnTitleCase.Name = "btnTitleCase";
 | 
			
		||||
			this.btnTitleCase.Text = "Title Case";
 | 
			
		||||
			// 
 | 
			
		||||
			// rbClipboard
 | 
			
		||||
			// 
 | 
			
		||||
			this.rbClipboard.AutoOverflowEnabled = true;
 | 
			
		||||
			this.rbClipboard.Dock = System.Windows.Forms.DockStyle.Left;
 | 
			
		||||
			this.rbClipboard.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.btnPaste,
 | 
			
		||||
            this.itemContainer6});
 | 
			
		||||
			this.rbClipboard.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
 | 
			
		||||
			this.rbClipboard.Location = new System.Drawing.Point(3, 0);
 | 
			
		||||
			this.rbClipboard.Name = "rbClipboard";
 | 
			
		||||
			this.rbClipboard.Size = new System.Drawing.Size(99, 76);
 | 
			
		||||
			this.rbClipboard.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
 | 
			
		||||
			this.rbClipboard.TabIndex = 0;
 | 
			
		||||
			this.rbClipboard.Text = "&Clipboard";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnPaste
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnPaste.GlobalName = "Paste";
 | 
			
		||||
			this.btnPaste.Image = global::Volian.Controls.Library.Properties.Resources.Paste_Image;
 | 
			
		||||
			this.btnPaste.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnPaste.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
 | 
			
		||||
			this.btnPaste.KeyTips = "V";
 | 
			
		||||
			this.btnPaste.Name = "btnPaste";
 | 
			
		||||
			this.btnPaste.SubItemsExpandWidth = 14;
 | 
			
		||||
			this.btnPaste.Text = "Paste";
 | 
			
		||||
			this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click);
 | 
			
		||||
			// 
 | 
			
		||||
			// itemContainer6
 | 
			
		||||
			// 
 | 
			
		||||
			this.itemContainer6.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
 | 
			
		||||
			this.itemContainer6.MinimumSize = new System.Drawing.Size(0, 0);
 | 
			
		||||
			this.itemContainer6.Name = "itemContainer6";
 | 
			
		||||
			this.itemContainer6.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.btnCut,
 | 
			
		||||
            this.btnCopy});
 | 
			
		||||
			this.itemContainer6.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle;
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCut
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCut.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
 | 
			
		||||
			this.btnCut.GlobalName = "Cut";
 | 
			
		||||
			this.btnCut.Image = global::Volian.Controls.Library.Properties.Resources.Cut_Image;
 | 
			
		||||
			this.btnCut.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCut.KeyTips = "X";
 | 
			
		||||
			this.btnCut.Name = "btnCut";
 | 
			
		||||
			this.btnCut.Text = "Cut";
 | 
			
		||||
			this.btnCut.Click += new System.EventHandler(this.btnCut_Click);
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCopy
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCopy.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
 | 
			
		||||
			this.btnCopy.GlobalName = "Copy";
 | 
			
		||||
			this.btnCopy.Image = global::Volian.Controls.Library.Properties.Resources.Copy_Image;
 | 
			
		||||
			this.btnCopy.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCopy.Name = "btnCopy";
 | 
			
		||||
			this.btnCopy.Text = "Copy";
 | 
			
		||||
			this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click);
 | 
			
		||||
			// 
 | 
			
		||||
			// ribbonPanel2
 | 
			
		||||
			// 
 | 
			
		||||
			this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
 | 
			
		||||
			this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
 | 
			
		||||
			this.ribbonPanel2.Location = new System.Drawing.Point(0, 25);
 | 
			
		||||
			this.ribbonPanel2.Name = "ribbonPanel2";
 | 
			
		||||
			this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
 | 
			
		||||
			this.ribbonPanel2.Size = new System.Drawing.Size(777, 79);
 | 
			
		||||
			this.ribbonPanel2.TabIndex = 2;
 | 
			
		||||
			this.ribbonPanel2.Visible = false;
 | 
			
		||||
			// 
 | 
			
		||||
			// rtabHome
 | 
			
		||||
			// 
 | 
			
		||||
			this.rtabHome.Checked = true;
 | 
			
		||||
			this.rtabHome.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.rtabHome.Name = "rtabHome";
 | 
			
		||||
			this.rtabHome.Panel = this.ribbonPanel1;
 | 
			
		||||
			this.rtabHome.Text = "Home";
 | 
			
		||||
			// 
 | 
			
		||||
			// rtabInsert
 | 
			
		||||
			// 
 | 
			
		||||
			this.rtabInsert.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.rtabInsert.Name = "rtabInsert";
 | 
			
		||||
			this.rtabInsert.Panel = this.ribbonPanel2;
 | 
			
		||||
			this.rtabInsert.Text = "Insert";
 | 
			
		||||
			// 
 | 
			
		||||
			// _ContextMenuBar
 | 
			
		||||
			// 
 | 
			
		||||
			this._ContextMenuBar.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.btnCMRtfEdit,
 | 
			
		||||
            this.btnCMRTFEdit2});
 | 
			
		||||
			this._ContextMenuBar.Location = new System.Drawing.Point(562, 0);
 | 
			
		||||
			this._ContextMenuBar.Name = "_ContextMenuBar";
 | 
			
		||||
			this._ContextMenuBar.Size = new System.Drawing.Size(168, 25);
 | 
			
		||||
			this._ContextMenuBar.Stretch = true;
 | 
			
		||||
			this._ContextMenuBar.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
 | 
			
		||||
			this._ContextMenuBar.TabIndex = 2;
 | 
			
		||||
			this._ContextMenuBar.TabStop = false;
 | 
			
		||||
			this._ContextMenuBar.Text = "contextMenuBar1";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMRtfEdit
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMRtfEdit.AutoExpandOnClick = true;
 | 
			
		||||
			this.btnCMRtfEdit.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMRtfEdit.Name = "btnCMRtfEdit";
 | 
			
		||||
			this.btnCMRtfEdit.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.btnCMEdit,
 | 
			
		||||
            this.btnCMStyle,
 | 
			
		||||
            this.btnCMCase,
 | 
			
		||||
            this.btnCMInsert,
 | 
			
		||||
            this.btnCMToggle});
 | 
			
		||||
			this.btnCMRtfEdit.Text = "RTF Edit";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMEdit
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMEdit.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMEdit.Name = "btnCMEdit";
 | 
			
		||||
			this.btnCMEdit.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.btnCMCut,
 | 
			
		||||
            this.btnCMCopy,
 | 
			
		||||
            this.btnCMPaste});
 | 
			
		||||
			this.btnCMEdit.Tag = "Edit";
 | 
			
		||||
			this.btnCMEdit.Text = "Edit";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMCut
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMCut.GlobalName = "Cut";
 | 
			
		||||
			this.btnCMCut.Image = global::Volian.Controls.Library.Properties.Resources.Cut_Image;
 | 
			
		||||
			this.btnCMCut.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMCut.Name = "btnCMCut";
 | 
			
		||||
			this.btnCMCut.Text = "Cut";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMCopy
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMCopy.GlobalName = "Copy";
 | 
			
		||||
			this.btnCMCopy.Image = global::Volian.Controls.Library.Properties.Resources.Copy_Image;
 | 
			
		||||
			this.btnCMCopy.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMCopy.Name = "btnCMCopy";
 | 
			
		||||
			this.btnCMCopy.Text = "Copy";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMPaste
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMPaste.GlobalName = "Paste";
 | 
			
		||||
			this.btnCMPaste.Image = global::Volian.Controls.Library.Properties.Resources.PasteSmall_Image;
 | 
			
		||||
			this.btnCMPaste.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMPaste.Name = "btnCMPaste";
 | 
			
		||||
			this.btnCMPaste.Text = "Paste";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMStyle
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMStyle.AutoExpandOnClick = true;
 | 
			
		||||
			this.btnCMStyle.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMStyle.Name = "btnCMStyle";
 | 
			
		||||
			this.btnCMStyle.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.btnCMBold,
 | 
			
		||||
            this.btnCMItalics,
 | 
			
		||||
            this.btnCMUnderline,
 | 
			
		||||
            this.btnCMSuper,
 | 
			
		||||
            this.btnCMSubscript});
 | 
			
		||||
			this.btnCMStyle.Text = "Style";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMBold
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMBold.GlobalName = "Bold";
 | 
			
		||||
			this.btnCMBold.Image = global::Volian.Controls.Library.Properties.Resources.FontBold_Image;
 | 
			
		||||
			this.btnCMBold.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMBold.Name = "btnCMBold";
 | 
			
		||||
			this.btnCMBold.Text = "Bold";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMItalics
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMItalics.GlobalName = "Italic";
 | 
			
		||||
			this.btnCMItalics.Image = global::Volian.Controls.Library.Properties.Resources.FontItalic_Image;
 | 
			
		||||
			this.btnCMItalics.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMItalics.Name = "btnCMItalics";
 | 
			
		||||
			this.btnCMItalics.Text = "Italic";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMUnderline
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMUnderline.GlobalName = "Underline";
 | 
			
		||||
			this.btnCMUnderline.Image = global::Volian.Controls.Library.Properties.Resources.FontUnderline_Image;
 | 
			
		||||
			this.btnCMUnderline.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMUnderline.Name = "btnCMUnderline";
 | 
			
		||||
			this.btnCMUnderline.Text = "Underline";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMSuper
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMSuper.Image = global::Volian.Controls.Library.Properties.Resources.SuperScript;
 | 
			
		||||
			this.btnCMSuper.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMSuper.Name = "btnCMSuper";
 | 
			
		||||
			this.btnCMSuper.Text = "Superscript";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMSubscript
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMSubscript.Image = global::Volian.Controls.Library.Properties.Resources.SubScript;
 | 
			
		||||
			this.btnCMSubscript.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMSubscript.Name = "btnCMSubscript";
 | 
			
		||||
			this.btnCMSubscript.Text = "Subscript";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMCase
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMCase.AutoExpandOnClick = true;
 | 
			
		||||
			this.btnCMCase.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMCase.Name = "btnCMCase";
 | 
			
		||||
			this.btnCMCase.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.btnCMUpper,
 | 
			
		||||
            this.btnCMLower,
 | 
			
		||||
            this.btnCMTItle});
 | 
			
		||||
			this.btnCMCase.Text = "Case";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMUpper
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMUpper.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMUpper.Name = "btnCMUpper";
 | 
			
		||||
			this.btnCMUpper.Text = "UPPER CASE";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMLower
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMLower.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMLower.Name = "btnCMLower";
 | 
			
		||||
			this.btnCMLower.Text = "lower case";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMTItle
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMTItle.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMTItle.Name = "btnCMTItle";
 | 
			
		||||
			this.btnCMTItle.Text = "Title Case";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMInsert
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMInsert.AutoExpandOnClick = true;
 | 
			
		||||
			this.btnCMInsert.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMInsert.Name = "btnCMInsert";
 | 
			
		||||
			this.btnCMInsert.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.btnCMHardspace,
 | 
			
		||||
            this.btnCMRO,
 | 
			
		||||
            this.btnCMTransition,
 | 
			
		||||
            this.btnCMSymbol,
 | 
			
		||||
            this.btnPageBreak});
 | 
			
		||||
			this.btnCMInsert.Text = "Insert";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMHardspace
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMHardspace.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMHardspace.Name = "btnCMHardspace";
 | 
			
		||||
			this.btnCMHardspace.Text = "Hardspace";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMRO
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMRO.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMRO.Name = "btnCMRO";
 | 
			
		||||
			this.btnCMRO.Text = "Referenced Object";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMTransition
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMTransition.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMTransition.Name = "btnCMTransition";
 | 
			
		||||
			this.btnCMTransition.Text = "Transitions";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMSymbol
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMSymbol.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMSymbol.Name = "btnCMSymbol";
 | 
			
		||||
			this.btnCMSymbol.Text = "Symbol";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnPageBreak
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnPageBreak.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnPageBreak.Name = "btnPageBreak";
 | 
			
		||||
			this.btnPageBreak.Text = "Page Break";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMToggle
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMToggle.AutoExpandOnClick = true;
 | 
			
		||||
			this.btnCMToggle.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMToggle.Name = "btnCMToggle";
 | 
			
		||||
			this.btnCMToggle.Text = "View Mode";
 | 
			
		||||
			// 
 | 
			
		||||
			// btnCMRTFEdit2
 | 
			
		||||
			// 
 | 
			
		||||
			this.btnCMRTFEdit2.AutoExpandOnClick = true;
 | 
			
		||||
			this.btnCMRTFEdit2.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.btnCMRTFEdit2.Name = "btnCMRTFEdit2";
 | 
			
		||||
			this.btnCMRTFEdit2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.itemContainer1});
 | 
			
		||||
			this.btnCMRTFEdit2.Text = "RTF Edit 2";
 | 
			
		||||
			// 
 | 
			
		||||
			// itemContainer1
 | 
			
		||||
			// 
 | 
			
		||||
			this.itemContainer1.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
 | 
			
		||||
			this.itemContainer1.MinimumSize = new System.Drawing.Size(0, 0);
 | 
			
		||||
			this.itemContainer1.Name = "itemContainer1";
 | 
			
		||||
			this.itemContainer1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.itemContainer2,
 | 
			
		||||
            this.itemContainer3});
 | 
			
		||||
			// 
 | 
			
		||||
			// itemContainer2
 | 
			
		||||
			// 
 | 
			
		||||
			this.itemContainer2.MinimumSize = new System.Drawing.Size(0, 0);
 | 
			
		||||
			this.itemContainer2.Name = "itemContainer2";
 | 
			
		||||
			this.itemContainer2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
 | 
			
		||||
            this.buttonItem1,
 | 
			
		||||
            this.buttonItem2,
 | 
			
		||||
            this.buttonItem3});
 | 
			
		||||
			// 
 | 
			
		||||
			// buttonItem1
 | 
			
		||||
			// 
 | 
			
		||||
			this.buttonItem1.GlobalName = "Cut";
 | 
			
		||||
			this.buttonItem1.Image = global::Volian.Controls.Library.Properties.Resources.Cut_Image;
 | 
			
		||||
			this.buttonItem1.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.buttonItem1.Name = "buttonItem1";
 | 
			
		||||
			this.buttonItem1.Text = "buttonItem1";
 | 
			
		||||
			// 
 | 
			
		||||
			// buttonItem2
 | 
			
		||||
			// 
 | 
			
		||||
			this.buttonItem2.GlobalName = "Copy";
 | 
			
		||||
			this.buttonItem2.Image = global::Volian.Controls.Library.Properties.Resources.Copy_Image;
 | 
			
		||||
			this.buttonItem2.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.buttonItem2.Name = "buttonItem2";
 | 
			
		||||
			this.buttonItem2.Text = "buttonItem2";
 | 
			
		||||
			// 
 | 
			
		||||
			// buttonItem3
 | 
			
		||||
			// 
 | 
			
		||||
			this.buttonItem3.GlobalName = "Paste";
 | 
			
		||||
			this.buttonItem3.Image = global::Volian.Controls.Library.Properties.Resources.PasteSmall_Image;
 | 
			
		||||
			this.buttonItem3.ImagePaddingHorizontal = 8;
 | 
			
		||||
			this.buttonItem3.Name = "buttonItem3";
 | 
			
		||||
			this.buttonItem3.Text = "buttonItem3";
 | 
			
		||||
			// 
 | 
			
		||||
			// itemContainer3
 | 
			
		||||
			// 
 | 
			
		||||
			this.itemContainer3.MinimumSize = new System.Drawing.Size(0, 0);
 | 
			
		||||
			this.itemContainer3.Name = "itemContainer3";
 | 
			
		||||
			// 
 | 
			
		||||
			// DisplayTabRibbon
 | 
			
		||||
			// 
 | 
			
		||||
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
 | 
			
		||||
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | 
			
		||||
			this.Controls.Add(this._ContextMenuBar);
 | 
			
		||||
			this.Controls.Add(this._RibbonControl);
 | 
			
		||||
			this.Name = "DisplayTabRibbon";
 | 
			
		||||
			this.Size = new System.Drawing.Size(777, 106);
 | 
			
		||||
			this._RibbonControl.ResumeLayout(false);
 | 
			
		||||
			this._RibbonControl.PerformLayout();
 | 
			
		||||
			this.ribbonPanel1.ResumeLayout(false);
 | 
			
		||||
			((System.ComponentModel.ISupportInitialize)(this._ContextMenuBar)).EndInit();
 | 
			
		||||
			this.ResumeLayout(false);
 | 
			
		||||
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		#endregion
 | 
			
		||||
 | 
			
		||||
		private DevComponents.DotNetBar.RibbonControl _RibbonControl;
 | 
			
		||||
		private DevComponents.DotNetBar.RibbonPanel ribbonPanel1;
 | 
			
		||||
		private DevComponents.DotNetBar.RibbonBar rbClipboard;
 | 
			
		||||
		private DevComponents.DotNetBar.RibbonPanel ribbonPanel2;
 | 
			
		||||
		private DevComponents.DotNetBar.RibbonTabItem rtabHome;
 | 
			
		||||
		private DevComponents.DotNetBar.RibbonTabItem rtabInsert;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnPaste;
 | 
			
		||||
		private DevComponents.DotNetBar.ItemContainer itemContainer6;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCut;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCopy;
 | 
			
		||||
		private DevComponents.DotNetBar.RibbonBar rbFont;
 | 
			
		||||
		private DevComponents.DotNetBar.ItemContainer itemContainer7;
 | 
			
		||||
		private DevComponents.DotNetBar.ItemContainer itemContainer8;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnBold;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnItalics;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnUnderline;
 | 
			
		||||
		private DevComponents.DotNetBar.ItemContainer itemContainer9;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnSuperscript;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnSubscript;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem buttonItem14;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnUppercase;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnLowercase;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnTitleCase;
 | 
			
		||||
		private DevComponents.DotNetBar.ContextMenuBar _ContextMenuBar;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMRtfEdit;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMEdit;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMCut;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMCopy;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMPaste;
 | 
			
		||||
		public DevComponents.DotNetBar.ButtonItem btnCMStyle;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMBold;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMItalics;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMUnderline;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMSuper;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMSubscript;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMCase;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMUpper;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMLower;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMTItle;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMInsert;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMHardspace;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMRO;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMTransition;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMSymbol;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnPageBreak;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMToggle;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem btnCMRTFEdit2;
 | 
			
		||||
		private DevComponents.DotNetBar.ItemContainer itemContainer1;
 | 
			
		||||
		private DevComponents.DotNetBar.ItemContainer itemContainer2;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem buttonItem1;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem buttonItem2;
 | 
			
		||||
		private DevComponents.DotNetBar.ButtonItem buttonItem3;
 | 
			
		||||
		private DevComponents.DotNetBar.ItemContainer itemContainer3;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										120
									
								
								PROMS/Volian.Controls.Library/DisplayTabRibbon.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								PROMS/Volian.Controls.Library/DisplayTabRibbon.resx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,120 @@
 | 
			
		||||
<?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>
 | 
			
		||||
</root>
 | 
			
		||||
							
								
								
									
										145
									
								
								PROMS/Volian.Controls.Library/MostRecentItem.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										145
									
								
								PROMS/Volian.Controls.Library/MostRecentItem.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,145 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using VEPROMS.CSLA.Library;
 | 
			
		||||
 | 
			
		||||
namespace Volian.Controls.Library
 | 
			
		||||
{
 | 
			
		||||
	public class MostRecentItemList : List<MostRecentItem>
 | 
			
		||||
	{
 | 
			
		||||
		private int _MaxItems = 10;
 | 
			
		||||
		public int MaxItems
 | 
			
		||||
		{
 | 
			
		||||
			get { return _MaxItems; }
 | 
			
		||||
			set { _MaxItems = value; }
 | 
			
		||||
		}
 | 
			
		||||
		public new MostRecentItem Add(MostRecentItem myMRI)
 | 
			
		||||
		{
 | 
			
		||||
			MostRecentItem tmp = null;
 | 
			
		||||
			// Look for the ItemID
 | 
			
		||||
			foreach (MostRecentItem mri in this)
 | 
			
		||||
				if (mri.ItemID == myMRI.ItemID)
 | 
			
		||||
					tmp = mri;
 | 
			
		||||
			// If it exists - remove it
 | 
			
		||||
			if (tmp != null)
 | 
			
		||||
				Remove(tmp);
 | 
			
		||||
			// Insert it in the first place in the list
 | 
			
		||||
			Insert(0, myMRI);
 | 
			
		||||
			// If more than MaxItems exist remove the items beyond MaxItems 
 | 
			
		||||
			while (Count > MaxItems) RemoveAt(MaxItems);
 | 
			
		||||
			return myMRI;
 | 
			
		||||
		}
 | 
			
		||||
		public MostRecentItem Add(int itemID)
 | 
			
		||||
		{
 | 
			
		||||
			return Add(new MostRecentItem(ItemInfo.Get(itemID)));
 | 
			
		||||
		}
 | 
			
		||||
		public MostRecentItem Add(string s)
 | 
			
		||||
		{
 | 
			
		||||
			return Add(new MostRecentItem(s));
 | 
			
		||||
		}
 | 
			
		||||
		public MostRecentItem Add(IVEDrillDownReadOnly myDrillDown)
 | 
			
		||||
		{
 | 
			
		||||
			if (typeof(ItemInfo).IsAssignableFrom(myDrillDown.GetType()))
 | 
			
		||||
				return Add(new MostRecentItem((ItemInfo)myDrillDown));
 | 
			
		||||
			return null;
 | 
			
		||||
		}
 | 
			
		||||
		public static MostRecentItemList GetMRILst(System.Collections.Specialized.StringCollection list)
 | 
			
		||||
		{
 | 
			
		||||
			MostRecentItemList mril = new MostRecentItemList();
 | 
			
		||||
			if (list != null)
 | 
			
		||||
				for (int i = list.Count - 1; i >= 0;i-- )// Add in reverse order so first is last and last is first
 | 
			
		||||
					mril.Add(list[i]);
 | 
			
		||||
			return mril;
 | 
			
		||||
		}
 | 
			
		||||
		public System.Collections.Specialized.StringCollection ToSettings()
 | 
			
		||||
		{
 | 
			
		||||
			if (Count == 0) return null;
 | 
			
		||||
			System.Collections.Specialized.StringCollection retval = new System.Collections.Specialized.StringCollection();
 | 
			
		||||
			foreach (MostRecentItem mri in this)
 | 
			
		||||
				retval.Add(mri.ToString());
 | 
			
		||||
			return retval;
 | 
			
		||||
		}
 | 
			
		||||
	} // Class
 | 
			
		||||
	public class MostRecentItem
 | 
			
		||||
	{
 | 
			
		||||
		[NonSerialized]
 | 
			
		||||
		private ItemInfo _MyItem;
 | 
			
		||||
		public ItemInfo MyItem
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				if (_MyItem == null)
 | 
			
		||||
					_MyItem = ItemInfo.Get(_ItemID);
 | 
			
		||||
				return _MyItem;
 | 
			
		||||
			}
 | 
			
		||||
			set
 | 
			
		||||
			{
 | 
			
		||||
				_ItemID = value.ItemID;
 | 
			
		||||
				_MyItem = value;
 | 
			
		||||
				_MenuTitle = GetMenuTitle();
 | 
			
		||||
				_ToolTip = GetToolTip();
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		private int _ItemID;
 | 
			
		||||
		public int ItemID
 | 
			
		||||
		{
 | 
			
		||||
			get { return _ItemID; }
 | 
			
		||||
			set { _ItemID = value; }
 | 
			
		||||
		}
 | 
			
		||||
		private string _MenuTitle;
 | 
			
		||||
		public string MenuTitle
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				if (_MenuTitle == null)
 | 
			
		||||
					_MenuTitle = GetMenuTitle();
 | 
			
		||||
				return _MenuTitle;
 | 
			
		||||
			}
 | 
			
		||||
			set { _MenuTitle = value; }
 | 
			
		||||
		}
 | 
			
		||||
		private string GetMenuTitle()
 | 
			
		||||
		{
 | 
			
		||||
			return MyItem.Path;
 | 
			
		||||
		}
 | 
			
		||||
		private string _ToolTip;
 | 
			
		||||
		public string ToolTip
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				if (_ToolTip == null)
 | 
			
		||||
					_ToolTip = GetToolTip();
 | 
			
		||||
				return _ToolTip;
 | 
			
		||||
			}
 | 
			
		||||
			set { _ToolTip = value; }
 | 
			
		||||
		}
 | 
			
		||||
		private string GetToolTip()
 | 
			
		||||
		{
 | 
			
		||||
			DocVersionInfo tmp = (DocVersionInfo)(MyItem.MyProcedure.ActiveParent);
 | 
			
		||||
			StringBuilder sb = new StringBuilder();
 | 
			
		||||
			int indent = BuildPath(tmp.MyFolder, ref sb);
 | 
			
		||||
			return sb.ToString();
 | 
			
		||||
		}
 | 
			
		||||
		private int BuildPath(FolderInfo folderInfo, ref StringBuilder sb)
 | 
			
		||||
		{
 | 
			
		||||
			if (folderInfo.MyParent == null) return 0;
 | 
			
		||||
			int indent = BuildPath(folderInfo.MyParent, ref sb);
 | 
			
		||||
			sb.Append(string.Format("{0}{1}\r\n", "".PadLeft(indent * 2), folderInfo.Name));
 | 
			
		||||
			return indent;
 | 
			
		||||
		}
 | 
			
		||||
		public override string ToString()
 | 
			
		||||
		{
 | 
			
		||||
			return string.Format("{0}~{1}~{2}", _ItemID, MenuTitle, ToolTip);
 | 
			
		||||
		}
 | 
			
		||||
		public MostRecentItem(string str)
 | 
			
		||||
		{
 | 
			
		||||
			string[] parts = str.Split("~".ToCharArray());
 | 
			
		||||
			_ItemID = int.Parse(parts[0]);
 | 
			
		||||
			if (parts.Length > 1) _MenuTitle = parts[1];
 | 
			
		||||
			if (parts.Length > 2) _ToolTip = parts[2];
 | 
			
		||||
		}
 | 
			
		||||
		public MostRecentItem(ItemInfo myItem)
 | 
			
		||||
		{
 | 
			
		||||
			MyItem = myItem;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user