Click here to Skip to main content
15,895,084 members
Articles / Programming Languages / C#

Moveable Resizable Objects

Rate me:
Please Sign up or sign in to vote.
4.98/5 (59 votes)
9 Oct 2009CPOL198 min read 125.8K   8.7K   178  
Here is a description of an extremely powerful mechanism that makes screen objects moveable and resizable.
namespace Test_MoveGraphLibrary
{
    partial class Form_PieCharts
    {
        /// <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 Windows Form 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 .numericUD_Sectors = new System .Windows .Forms .NumericUpDown ();
            this .btnStartClr = new System .Windows .Forms .Button ();
            this .btnAddChart = new System .Windows .Forms .Button ();
            this .btnEndClr = new System .Windows .Forms .Button ();
            this .contextMenuOnPieChart = new System .Windows .Forms .ContextMenuStrip (this .components);
            this .miPieChartParams = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator5 = new System .Windows .Forms .ToolStripSeparator ();
            this .miHideUnveilComments = new System .Windows .Forms .ToolStripMenuItem ();
            this .miHideSectorCmnts = new System .Windows .Forms .ToolStripMenuItem ();
            this .miUnveilSectorCmnts = new System .Windows .Forms .ToolStripMenuItem ();
            this .miHidePieChartCmnts = new System .Windows .Forms .ToolStripMenuItem ();
            this .miUnveilPieChartCmnts = new System .Windows .Forms .ToolStripMenuItem ();
            this .miBordersSwitch = new System .Windows .Forms .ToolStripMenuItem ();
            this .miLookingToCenter = new System .Windows .Forms .ToolStripMenuItem ();
            this .miFixUnfixAngles = new System .Windows .Forms .ToolStripMenuItem ();
            this .miSwitchDrawingDirection = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator2 = new System .Windows .Forms .ToolStripSeparator ();
            this .miIntoClipboard = new System .Windows .Forms .ToolStripMenuItem ();
            this .miCircle = new System .Windows .Forms .ToolStripMenuItem ();
            this .miPieChart = new System .Windows .Forms .ToolStripMenuItem ();
            this .miFullPicture = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator4 = new System .Windows .Forms .ToolStripSeparator ();
            this .miPieChartOnWhite = new System .Windows .Forms .ToolStripMenuItem ();
            this .miFullPictureOnWhite = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator1 = new System .Windows .Forms .ToolStripSeparator ();
            this .miSendUnderneath = new System .Windows .Forms .ToolStripMenuItem ();
            this .miDeletePieChart = new System .Windows .Forms .ToolStripMenuItem ();
            this .contextMenuOnCircleComment = new System .Windows .Forms .ContextMenuStrip (this .components);
            this .miModifyComment = new System .Windows .Forms .ToolStripMenuItem ();
            this .miHideComment = new System .Windows .Forms .ToolStripMenuItem ();
            this .miDeleteComment = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator8 = new System .Windows .Forms .ToolStripSeparator ();
            this .miSwitchRotationAngle = new System .Windows .Forms .ToolStripMenuItem ();
            this .contextMenuOnSectorComment = new System .Windows .Forms .ContextMenuStrip (this .components);
            this .miModifySectorComment = new System .Windows .Forms .ToolStripMenuItem ();
            this .miHideSectorComment = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator6 = new System .Windows .Forms .ToolStripSeparator ();
            this .miView = new System .Windows .Forms .ToolStripMenuItem ();
            this .miText = new System .Windows .Forms .ToolStripMenuItem ();
            this .miValue = new System .Windows .Forms .ToolStripMenuItem ();
            this .miPercent = new System .Windows .Forms .ToolStripMenuItem ();
            this .miTextValue = new System .Windows .Forms .ToolStripMenuItem ();
            this .miTextPercent = new System .Windows .Forms .ToolStripMenuItem ();
            this .miValuePercent = new System .Windows .Forms .ToolStripMenuItem ();
            this .miTextValuePercent = new System .Windows .Forms .ToolStripMenuItem ();
            this .miAsSample = new System .Windows .Forms .ToolStripMenuItem ();
            this .miColorSample = new System .Windows .Forms .ToolStripMenuItem ();
            this .miFontSample = new System .Windows .Forms .ToolStripMenuItem ();
            this .miColorFontSample = new System .Windows .Forms .ToolStripMenuItem ();
            this .miRadiusSample = new System .Windows .Forms .ToolStripMenuItem ();
            this .miAngleSample = new System .Windows .Forms .ToolStripMenuItem ();
            this .miTextViewSample = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator7 = new System .Windows .Forms .ToolStripSeparator ();
            this .miAllParamsSample = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator9 = new System .Windows .Forms .ToolStripSeparator ();
            this .miRotationAngle = new System .Windows .Forms .ToolStripMenuItem ();
            ((System .ComponentModel .ISupportInitialize) (this .numericUD_Sectors)) .BeginInit ();
            this .contextMenuOnPieChart .SuspendLayout ();
            this .contextMenuOnCircleComment .SuspendLayout ();
            this .contextMenuOnSectorComment .SuspendLayout ();
            this .SuspendLayout ();
            // 
            // numericUD_Sectors
            // 
            this .numericUD_Sectors .Location = new System .Drawing .Point (610, 56);
            this .numericUD_Sectors .Maximum = new decimal (new int [] {
            22,
            0,
            0,
            0});
            this .numericUD_Sectors .Minimum = new decimal (new int [] {
            2,
            0,
            0,
            0});
            this .numericUD_Sectors .Name = "numericUD_Sectors";
            this .numericUD_Sectors .Size = new System .Drawing .Size (46, 22);
            this .numericUD_Sectors .TabIndex = 7;
            this .numericUD_Sectors .Value = new decimal (new int [] {
            5,
            0,
            0,
            0});
            // 
            // btnStartClr
            // 
            this .btnStartClr .Image = global::Test_MoveGraphLibrary .Properties .Resources .palette_;
            this .btnStartClr .Location = new System .Drawing .Point (610, 84);
            this .btnStartClr .Name = "btnStartClr";
            this .btnStartClr .Size = new System .Drawing .Size (28, 28);
            this .btnStartClr .TabIndex = 8;
            this .btnStartClr .UseVisualStyleBackColor = true;
            this .btnStartClr .Click += new System .EventHandler (this .Click_btnStartClr);
            // 
            // btnAddChart
            // 
            this .btnAddChart .Location = new System .Drawing .Point (610, 118);
            this .btnAddChart .Name = "btnAddChart";
            this .btnAddChart .Size = new System .Drawing .Size (120, 28);
            this .btnAddChart .TabIndex = 10;
            this .btnAddChart .Text = "Add";
            this .btnAddChart .UseVisualStyleBackColor = true;
            this .btnAddChart .Click += new System .EventHandler (this .Click_btnAddChart);
            // 
            // btnEndClr
            // 
            this .btnEndClr .Image = global::Test_MoveGraphLibrary .Properties .Resources .palette_;
            this .btnEndClr .Location = new System .Drawing .Point (702, 84);
            this .btnEndClr .Name = "btnEndClr";
            this .btnEndClr .Size = new System .Drawing .Size (28, 28);
            this .btnEndClr .TabIndex = 9;
            this .btnEndClr .UseVisualStyleBackColor = true;
            this .btnEndClr .Click += new System .EventHandler (this .Click_btnEndClr);
            // 
            // contextMenuOnPieChart
            // 
            this .contextMenuOnPieChart .Items .AddRange (new System .Windows .Forms .ToolStripItem [] {
            this.miPieChartParams,
            this.toolStripSeparator5,
            this.miHideUnveilComments,
            this.miBordersSwitch,
            this.miLookingToCenter,
            this.miFixUnfixAngles,
            this.miSwitchDrawingDirection,
            this.toolStripSeparator2,
            this.miIntoClipboard,
            this.toolStripSeparator1,
            this.miSendUnderneath,
            this.miDeletePieChart});
            this .contextMenuOnPieChart .Name = "contextMenuOnBarChart";
            this .contextMenuOnPieChart .ShowImageMargin = false;
            this .contextMenuOnPieChart .Size = new System .Drawing .Size (258, 220);
            this .contextMenuOnPieChart .Opening += new System .ComponentModel .CancelEventHandler (this .OnOpeningMenuOnPies);
            // 
            // miPieChartParams
            // 
            this .miPieChartParams .Name = "miPieChartParams";
            this .miPieChartParams .Size = new System .Drawing .Size (257, 22);
            this .miPieChartParams .Text = "Modify pie chart...";
            this .miPieChartParams .Click += new System .EventHandler (this .Click_miPieChartParams);
            // 
            // toolStripSeparator5
            // 
            this .toolStripSeparator5 .Name = "toolStripSeparator5";
            this .toolStripSeparator5 .Size = new System .Drawing .Size (254, 6);
            // 
            // miHideUnveilComments
            // 
            this .miHideUnveilComments .DropDownItems .AddRange (new System .Windows .Forms .ToolStripItem [] {
            this.miHideSectorCmnts,
            this.miUnveilSectorCmnts,
            this.miHidePieChartCmnts,
            this.miUnveilPieChartCmnts});
            this .miHideUnveilComments .Name = "miHideUnveilComments";
            this .miHideUnveilComments .Size = new System .Drawing .Size (257, 22);
            this .miHideUnveilComments .Text = "Hide/unveil comments";
            this .miHideUnveilComments .DropDownOpening += new System .EventHandler (this .DropDownOpening_miHideUnveil);
            // 
            // miHideSectorCmnts
            // 
            this .miHideSectorCmnts .Name = "miHideSectorCmnts";
            this .miHideSectorCmnts .Size = new System .Drawing .Size (264, 22);
            this .miHideSectorCmnts .Text = "Hide sector comments";
            this .miHideSectorCmnts .Click += new System .EventHandler (this .Click_miHideSectorComments);
            // 
            // miUnveilSectorCmnts
            // 
            this .miUnveilSectorCmnts .Name = "miUnveilSectorCmnts";
            this .miUnveilSectorCmnts .Size = new System .Drawing .Size (264, 22);
            this .miUnveilSectorCmnts .Text = "Unveil sector comments";
            this .miUnveilSectorCmnts .Click += new System .EventHandler (this .Click_miUnveilSectorComments);
            // 
            // miHidePieChartCmnts
            // 
            this .miHidePieChartCmnts .Name = "miHidePieChartCmnts";
            this .miHidePieChartCmnts .Size = new System .Drawing .Size (264, 22);
            this .miHidePieChartCmnts .Text = "Hide pie chart comments";
            this .miHidePieChartCmnts .Click += new System .EventHandler (this .Click_miHideComments);
            // 
            // miUnveilPieChartCmnts
            // 
            this .miUnveilPieChartCmnts .Name = "miUnveilPieChartCmnts";
            this .miUnveilPieChartCmnts .Size = new System .Drawing .Size (264, 22);
            this .miUnveilPieChartCmnts .Text = "Unveil pie chart comments";
            this .miUnveilPieChartCmnts .Click += new System .EventHandler (this .Click_miUnveilComments);
            // 
            // miBordersSwitch
            // 
            this .miBordersSwitch .Name = "miBordersSwitch";
            this .miBordersSwitch .Size = new System .Drawing .Size (257, 22);
            this .miBordersSwitch .Text = "Borders On/Off";
            this .miBordersSwitch .Click += new System .EventHandler (this .Click_miBordersSwitch);
            // 
            // miLookingToCenter
            // 
            this .miLookingToCenter .Name = "miLookingToCenter";
            this .miLookingToCenter .Size = new System .Drawing .Size (257, 22);
            this .miLookingToCenter .Text = "Sector texts looking to center";
            this .miLookingToCenter .Click += new System .EventHandler (this .Click_miLookingToCenter);
            // 
            // miFixUnfixAngles
            // 
            this .miFixUnfixAngles .Name = "miFixUnfixAngles";
            this .miFixUnfixAngles .Size = new System .Drawing .Size (257, 22);
            this .miFixUnfixAngles .Text = "Fix/unfix angles on rotation";
            this .miFixUnfixAngles .Click += new System .EventHandler (this .Click_miFixUnfixAngles);
            // 
            // miSwitchDrawingDirection
            // 
            this .miSwitchDrawingDirection .Name = "miSwitchDrawingDirection";
            this .miSwitchDrawingDirection .Size = new System .Drawing .Size (257, 22);
            this .miSwitchDrawingDirection .Text = "Switch drawing direction";
            this .miSwitchDrawingDirection .Click += new System .EventHandler (this .Click_miSwitchDrawingDirection);
            // 
            // toolStripSeparator2
            // 
            this .toolStripSeparator2 .Name = "toolStripSeparator2";
            this .toolStripSeparator2 .Size = new System .Drawing .Size (254, 6);
            // 
            // miIntoClipboard
            // 
            this .miIntoClipboard .DropDownItems .AddRange (new System .Windows .Forms .ToolStripItem [] {
            this.miCircle,
            this.miPieChart,
            this.miFullPicture,
            this.toolStripSeparator4,
            this.miPieChartOnWhite,
            this.miFullPictureOnWhite});
            this .miIntoClipboard .Name = "miIntoClipboard";
            this .miIntoClipboard .Size = new System .Drawing .Size (257, 22);
            this .miIntoClipboard .Text = "Into Clipboard";
            // 
            // miCircle
            // 
            this .miCircle .Name = "miCircle";
            this .miCircle .Size = new System .Drawing .Size (230, 22);
            this .miCircle .Text = "Circle";
            this .miCircle .Click += new System .EventHandler (this .Click_miCircle);
            // 
            // miPieChart
            // 
            this .miPieChart .Name = "miPieChart";
            this .miPieChart .Size = new System .Drawing .Size (230, 22);
            this .miPieChart .Text = "Piechart";
            this .miPieChart .Click += new System .EventHandler (this .Click_miPiechart);
            // 
            // miFullPicture
            // 
            this .miFullPicture .Name = "miFullPicture";
            this .miFullPicture .Size = new System .Drawing .Size (230, 22);
            this .miFullPicture .Text = "Full picture";
            this .miFullPicture .Click += new System .EventHandler (this .Click_miFullPicture);
            // 
            // toolStripSeparator4
            // 
            this .toolStripSeparator4 .Name = "toolStripSeparator4";
            this .toolStripSeparator4 .Size = new System .Drawing .Size (227, 6);
            // 
            // miPieChartOnWhite
            // 
            this .miPieChartOnWhite .Name = "miPieChartOnWhite";
            this .miPieChartOnWhite .Size = new System .Drawing .Size (230, 22);
            this .miPieChartOnWhite .Text = "Piechart (on white)";
            this .miPieChartOnWhite .Click += new System .EventHandler (this .Click_miPieChartOnWhite);
            // 
            // miFullPictureOnWhite
            // 
            this .miFullPictureOnWhite .Name = "miFullPictureOnWhite";
            this .miFullPictureOnWhite .Size = new System .Drawing .Size (230, 22);
            this .miFullPictureOnWhite .Text = "Full picture (on white)";
            this .miFullPictureOnWhite .Click += new System .EventHandler (this .Click_miPictureOnWhite);
            // 
            // toolStripSeparator1
            // 
            this .toolStripSeparator1 .Name = "toolStripSeparator1";
            this .toolStripSeparator1 .Size = new System .Drawing .Size (254, 6);
            // 
            // miSendUnderneath
            // 
            this .miSendUnderneath .Name = "miSendUnderneath";
            this .miSendUnderneath .Size = new System .Drawing .Size (257, 22);
            this .miSendUnderneath .Text = "Send pie chart underneath";
            this .miSendUnderneath .Click += new System .EventHandler (this .Click_miSendUnderneath);
            // 
            // miDeletePieChart
            // 
            this .miDeletePieChart .Name = "miDeletePieChart";
            this .miDeletePieChart .Size = new System .Drawing .Size (257, 22);
            this .miDeletePieChart .Text = "Delete pie chart";
            this .miDeletePieChart .Click += new System .EventHandler (this .Click_miDeletePieChart);
            // 
            // contextMenuOnCircleComment
            // 
            this .contextMenuOnCircleComment .Items .AddRange (new System .Windows .Forms .ToolStripItem [] {
            this.miModifyComment,
            this.miHideComment,
            this.miDeleteComment,
            this.toolStripSeparator8,
            this.miSwitchRotationAngle});
            this .contextMenuOnCircleComment .Name = "contextMenuOnComment";
            this .contextMenuOnCircleComment .ShowImageMargin = false;
            this .contextMenuOnCircleComment .Size = new System .Drawing .Size (210, 98);
            // 
            // miModifyComment
            // 
            this .miModifyComment .Name = "miModifyComment";
            this .miModifyComment .Size = new System .Drawing .Size (209, 22);
            this .miModifyComment .Text = "Modify comment...";
            this .miModifyComment .Click += new System .EventHandler (this .Click_miModifyCircleComment);
            // 
            // miHideComment
            // 
            this .miHideComment .Name = "miHideComment";
            this .miHideComment .Size = new System .Drawing .Size (209, 22);
            this .miHideComment .Text = "Hide comment";
            this .miHideComment .Click += new System .EventHandler (this .Click_miHideCircleComment);
            // 
            // miDeleteComment
            // 
            this .miDeleteComment .Name = "miDeleteComment";
            this .miDeleteComment .Size = new System .Drawing .Size (209, 22);
            this .miDeleteComment .Text = "Delete comment";
            this .miDeleteComment .Click += new System .EventHandler (this .Click_miDeleteCircleComment);
            // 
            // toolStripSeparator8
            // 
            this .toolStripSeparator8 .Name = "toolStripSeparator8";
            this .toolStripSeparator8 .Size = new System .Drawing .Size (206, 6);
            // 
            // miSwitchRotationAngle
            // 
            this .miSwitchRotationAngle .Name = "miSwitchRotationAngle";
            this .miSwitchRotationAngle .Size = new System .Drawing .Size (209, 22);
            this .miSwitchRotationAngle .Text = "Rotation angle On/Off";
            this .miSwitchRotationAngle .Click += new System .EventHandler (this .Click_miRotationAngle);
            // 
            // contextMenuOnSectorComment
            // 
            this .contextMenuOnSectorComment .Items .AddRange (new System .Windows .Forms .ToolStripItem [] {
            this.miModifySectorComment,
            this.miHideSectorComment,
            this.toolStripSeparator6,
            this.miView,
            this.miAsSample,
            this.toolStripSeparator9,
            this.miRotationAngle});
            this .contextMenuOnSectorComment .Name = "contextMenuOnComment";
            this .contextMenuOnSectorComment .ShowImageMargin = false;
            this .contextMenuOnSectorComment .Size = new System .Drawing .Size (210, 126);
            // 
            // miModifySectorComment
            // 
            this .miModifySectorComment .Name = "miModifySectorComment";
            this .miModifySectorComment .Size = new System .Drawing .Size (209, 22);
            this .miModifySectorComment .Text = "Modify comment...";
            this .miModifySectorComment .Click += new System .EventHandler (this .Click_miModifySectorComment);
            // 
            // miHideSectorComment
            // 
            this .miHideSectorComment .Name = "miHideSectorComment";
            this .miHideSectorComment .Size = new System .Drawing .Size (209, 22);
            this .miHideSectorComment .Text = "Hide comment";
            this .miHideSectorComment .Click += new System .EventHandler (this .Click_miHideSectorComment);
            // 
            // toolStripSeparator6
            // 
            this .toolStripSeparator6 .Name = "toolStripSeparator6";
            this .toolStripSeparator6 .Size = new System .Drawing .Size (206, 6);
            // 
            // miView
            // 
            this .miView .DropDownItems .AddRange (new System .Windows .Forms .ToolStripItem [] {
            this.miText,
            this.miValue,
            this.miPercent,
            this.miTextValue,
            this.miTextPercent,
            this.miValuePercent,
            this.miTextValuePercent});
            this .miView .Name = "miView";
            this .miView .Size = new System .Drawing .Size (209, 22);
            this .miView .Text = "Comment\'s view";
            // 
            // miText
            // 
            this .miText .Name = "miText";
            this .miText .Size = new System .Drawing .Size (237, 22);
            this .miText .Text = "Text";
            this .miText .Click += new System .EventHandler (this .Click_miText);
            // 
            // miValue
            // 
            this .miValue .Name = "miValue";
            this .miValue .Size = new System .Drawing .Size (237, 22);
            this .miValue .Text = "Value";
            this .miValue .Click += new System .EventHandler (this .click_miValue);
            // 
            // miPercent
            // 
            this .miPercent .Name = "miPercent";
            this .miPercent .Size = new System .Drawing .Size (237, 22);
            this .miPercent .Text = "Percent";
            this .miPercent .Click += new System .EventHandler (this .Click_miPercent);
            // 
            // miTextValue
            // 
            this .miTextValue .Name = "miTextValue";
            this .miTextValue .Size = new System .Drawing .Size (237, 22);
            this .miTextValue .Text = "Text (value)";
            this .miTextValue .Click += new System .EventHandler (this .Click_miTextValue);
            // 
            // miTextPercent
            // 
            this .miTextPercent .Name = "miTextPercent";
            this .miTextPercent .Size = new System .Drawing .Size (237, 22);
            this .miTextPercent .Text = "Text (percent)";
            this .miTextPercent .Click += new System .EventHandler (this .Click_miTextPercent);
            // 
            // miValuePercent
            // 
            this .miValuePercent .Name = "miValuePercent";
            this .miValuePercent .Size = new System .Drawing .Size (237, 22);
            this .miValuePercent .Text = "Value (percent)";
            this .miValuePercent .Click += new System .EventHandler (this .Click_miValuePercent);
            // 
            // miTextValuePercent
            // 
            this .miTextValuePercent .Name = "miTextValuePercent";
            this .miTextValuePercent .Size = new System .Drawing .Size (237, 22);
            this .miTextValuePercent .Text = "Text - value (percent)";
            this .miTextValuePercent .Click += new System .EventHandler (this .Click_miTextValuePercent);
            // 
            // miAsSample
            // 
            this .miAsSample .DropDownItems .AddRange (new System .Windows .Forms .ToolStripItem [] {
            this.miColorSample,
            this.miFontSample,
            this.miColorFontSample,
            this.miRadiusSample,
            this.miAngleSample,
            this.miTextViewSample,
            this.toolStripSeparator7,
            this.miAllParamsSample});
            this .miAsSample .Name = "miAsSample";
            this .miAsSample .Size = new System .Drawing .Size (209, 22);
            this .miAsSample .Text = "Use as sample";
            // 
            // miColorSample
            // 
            this .miColorSample .Name = "miColorSample";
            this .miColorSample .Size = new System .Drawing .Size (284, 22);
            this .miColorSample .Text = "Color";
            this .miColorSample .Click += new System .EventHandler (this .Click_miColorSample);
            // 
            // miFontSample
            // 
            this .miFontSample .Name = "miFontSample";
            this .miFontSample .Size = new System .Drawing .Size (284, 22);
            this .miFontSample .Text = "Font";
            this .miFontSample .Click += new System .EventHandler (this .Click_miFontSample);
            // 
            // miColorFontSample
            // 
            this .miColorFontSample .Name = "miColorFontSample";
            this .miColorFontSample .Size = new System .Drawing .Size (284, 22);
            this .miColorFontSample .Text = "Color + Font";
            this .miColorFontSample .Click += new System .EventHandler (this .Click_miColorFontSample);
            // 
            // miRadiusSample
            // 
            this .miRadiusSample .Name = "miRadiusSample";
            this .miRadiusSample .Size = new System .Drawing .Size (284, 22);
            this .miRadiusSample .Text = "Radius";
            this .miRadiusSample .Click += new System .EventHandler (this .Click_miRadiusSample);
            // 
            // miAngleSample
            // 
            this .miAngleSample .Name = "miAngleSample";
            this .miAngleSample .Size = new System .Drawing .Size (284, 22);
            this .miAngleSample .Text = "Angle";
            this .miAngleSample .Click += new System .EventHandler (this .Click_miAngleSample);
            // 
            // miTextViewSample
            // 
            this .miTextViewSample .Name = "miTextViewSample";
            this .miTextViewSample .Size = new System .Drawing .Size (284, 22);
            this .miTextViewSample .Text = "Text view";
            this .miTextViewSample .Click += new System .EventHandler (this .Click_miTextViewSample);
            // 
            // toolStripSeparator7
            // 
            this .toolStripSeparator7 .Name = "toolStripSeparator7";
            this .toolStripSeparator7 .Size = new System .Drawing .Size (281, 6);
            // 
            // miAllParamsSample
            // 
            this .miAllParamsSample .Name = "miAllParamsSample";
            this .miAllParamsSample .Size = new System .Drawing .Size (284, 22);
            this .miAllParamsSample .Text = "All parameters (except angle)";
            this .miAllParamsSample .Click += new System .EventHandler (this .Click_miAllParamsSample);
            // 
            // toolStripSeparator9
            // 
            this .toolStripSeparator9 .Name = "toolStripSeparator9";
            this .toolStripSeparator9 .Size = new System .Drawing .Size (206, 6);
            // 
            // miRotationAngle
            // 
            this .miRotationAngle .Name = "miRotationAngle";
            this .miRotationAngle .Size = new System .Drawing .Size (209, 22);
            this .miRotationAngle .Text = "Rotation angle On/Off";
            this .miRotationAngle .Click += new System .EventHandler (this .Click_miRotationAngle);
            // 
            // Form_PieCharts
            // 
            this .AutoScaleDimensions = new System .Drawing .SizeF (8F, 16F);
            this .AutoScaleMode = System .Windows .Forms .AutoScaleMode .Font;
            this .ClientSize = new System .Drawing .Size (790, 590);
            this .Controls .Add (this .numericUD_Sectors);
            this .Controls .Add (this .btnStartClr);
            this .Controls .Add (this .btnAddChart);
            this .Controls .Add (this .btnEndClr);
            this .DoubleBuffered = true;
            this .MaximizeBox = false;
            this .MinimizeBox = false;
            this .Name = "Form_PieCharts";
            this .Text = "Pie charts";
            this .Load += new System .EventHandler (this .OnLoad);
            this .MouseUp += new System .Windows .Forms .MouseEventHandler (this .OnMouseUp);
            this .MouseDoubleClick += new System .Windows .Forms .MouseEventHandler (this .OnMouseDoubleClick);
            this .Paint += new System .Windows .Forms .PaintEventHandler (this .OnPaint);
            this .ContextMenuStripChanged += new System .EventHandler (this .OnContextMenuChanged);
            this .MouseCaptureChanged += new System .EventHandler (this .OnMouseCaptureChanged);
            this .MouseDown += new System .Windows .Forms .MouseEventHandler (this .OnMouseDown);
            this .FormClosing += new System .Windows .Forms .FormClosingEventHandler (this .OnFormClosing);
            this .MouseMove += new System .Windows .Forms .MouseEventHandler (this .OnMouseMove);
            ((System .ComponentModel .ISupportInitialize) (this .numericUD_Sectors)) .EndInit ();
            this .contextMenuOnPieChart .ResumeLayout (false);
            this .contextMenuOnCircleComment .ResumeLayout (false);
            this .contextMenuOnSectorComment .ResumeLayout (false);
            this .ResumeLayout (false);

        }

        #endregion

        private System .Windows .Forms .NumericUpDown numericUD_Sectors;
        private System .Windows .Forms .Button btnStartClr;
        private System .Windows .Forms .Button btnAddChart;
        private System .Windows .Forms .Button btnEndClr;
        private System .Windows .Forms .ContextMenuStrip contextMenuOnPieChart;
        private System .Windows .Forms .ToolStripMenuItem miSendUnderneath;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator1;
        private System .Windows .Forms .ToolStripMenuItem miPieChartParams;
        private System .Windows .Forms .ToolStripMenuItem miIntoClipboard;
        private System .Windows .Forms .ToolStripMenuItem miCircle;
        private System .Windows .Forms .ToolStripMenuItem miPieChart;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator4;
        private System .Windows .Forms .ToolStripMenuItem miFullPicture;
        private System .Windows .Forms .ToolStripMenuItem miPieChartOnWhite;
        private System .Windows .Forms .ToolStripMenuItem miFullPictureOnWhite;
        private System .Windows .Forms .ToolStripMenuItem miDeletePieChart;
        private System .Windows .Forms .ContextMenuStrip contextMenuOnCircleComment;
        private System .Windows .Forms .ToolStripMenuItem miDeleteComment;
        private System .Windows .Forms .ToolStripMenuItem miHideComment;
        private System .Windows .Forms .ToolStripMenuItem miModifyComment;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator8;
        private System .Windows .Forms .ToolStripMenuItem miSwitchRotationAngle;
        private System .Windows .Forms .ContextMenuStrip contextMenuOnSectorComment;
        private System .Windows .Forms .ToolStripMenuItem miHideSectorComment;
        private System .Windows .Forms .ToolStripMenuItem miModifySectorComment;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator6;
        private System .Windows .Forms .ToolStripMenuItem miAsSample;
        private System .Windows .Forms .ToolStripMenuItem miColorSample;
        private System .Windows .Forms .ToolStripMenuItem miFontSample;
        private System .Windows .Forms .ToolStripMenuItem miColorFontSample;
        private System .Windows .Forms .ToolStripMenuItem miRadiusSample;
        private System .Windows .Forms .ToolStripMenuItem miTextViewSample;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator7;
        private System .Windows .Forms .ToolStripMenuItem miAllParamsSample;
        private System .Windows .Forms .ToolStripMenuItem miView;
        private System .Windows .Forms .ToolStripMenuItem miText;
        private System .Windows .Forms .ToolStripMenuItem miValue;
        private System .Windows .Forms .ToolStripMenuItem miPercent;
        private System .Windows .Forms .ToolStripMenuItem miTextValue;
        private System .Windows .Forms .ToolStripMenuItem miTextPercent;
        private System .Windows .Forms .ToolStripMenuItem miValuePercent;
        private System .Windows .Forms .ToolStripMenuItem miTextValuePercent;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator9;
        private System .Windows .Forms .ToolStripMenuItem miRotationAngle;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator5;
        private System .Windows .Forms .ToolStripMenuItem miAngleSample;
        private System .Windows .Forms .ToolStripMenuItem miBordersSwitch;
        private System .Windows .Forms .ToolStripMenuItem miFixUnfixAngles;
        private System .Windows .Forms .ToolStripMenuItem miSwitchDrawingDirection;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator2;
        private System .Windows .Forms .ToolStripMenuItem miHideUnveilComments;
        private System .Windows .Forms .ToolStripMenuItem miHideSectorCmnts;
        private System .Windows .Forms .ToolStripMenuItem miUnveilSectorCmnts;
        private System .Windows .Forms .ToolStripMenuItem miHidePieChartCmnts;
        private System .Windows .Forms .ToolStripMenuItem miUnveilPieChartCmnts;
        private System .Windows .Forms .ToolStripMenuItem miLookingToCenter;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions