Click here to Skip to main content
15,884,176 members
Articles / Multimedia / GDI+

100% Reflective Class Diagram Creation Tool

Rate me:
Please Sign up or sign in to vote.
4.98/5 (498 votes)
14 Jun 2011CPOL28 min read 1.8M   39.6K   1.2K  
100% Reflective Class Diagram Creation Tool
namespace AutoDiagramer
{
    #region frmSettings CLASS
    /// <summary>
    /// Partial class that creates the GUI part of the frmZoom object
    /// </summary>
    partial class frmZoom
    {
        #region Windows Form Designer generated code
        /// <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);
        }

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmZoom));
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.mnuZoomFixed = new System.Windows.Forms.ToolStripMenuItem();
            this.mnuZoom25 = new System.Windows.Forms.ToolStripMenuItem();
            this.mnuZoom50 = new System.Windows.Forms.ToolStripMenuItem();
            this.mnuZoom100 = new System.Windows.Forms.ToolStripMenuItem();
            this.mnuZoom200 = new System.Windows.Forms.ToolStripMenuItem();
            this.mnuZoomUser = new System.Windows.Forms.ToolStripMenuItem();
            this.mnuEnterManualZoom = new System.Windows.Forms.ToolStripMenuItem();
            this.pnlImage = new System.Windows.Forms.Panel();
            this.pnlBottom = new System.Windows.Forms.Panel();
            this.btnOk = new System.Windows.Forms.Button();
            this.menuStrip1.SuspendLayout();
            this.pnlBottom.SuspendLayout();
            this.SuspendLayout();
            // 
            // menuStrip1
            // 
            this.menuStrip1.BackColor = System.Drawing.SystemColors.Control;
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mnuZoomFixed,
            this.mnuZoomUser});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(860, 24);
            this.menuStrip1.TabIndex = 0;
            this.menuStrip1.Text = "menuStrip1";
            // 
            // mnuZoomFixed
            // 
            this.mnuZoomFixed.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mnuZoom25,
            this.mnuZoom50,
            this.mnuZoom100,
            this.mnuZoom200});
            this.mnuZoomFixed.Name = "mnuZoomFixed";
            this.mnuZoomFixed.Size = new System.Drawing.Size(79, 20);
            this.mnuZoomFixed.Text = "Fixed Zooms";
            // 
            // mnuZoom25
            // 
            this.mnuZoom25.Image = global::AutoDiagramer.Resource1.View16;
            this.mnuZoom25.Name = "mnuZoom25";
            this.mnuZoom25.Size = new System.Drawing.Size(114, 22);
            this.mnuZoom25.Text = "25%";
            this.mnuZoom25.ToolTipText = "Zoom 25%";
            this.mnuZoom25.Click += new System.EventHandler(this.mnuZoom25_Click);
            // 
            // mnuZoom50
            // 
            this.mnuZoom50.Image = global::AutoDiagramer.Resource1.View16;
            this.mnuZoom50.Name = "mnuZoom50";
            this.mnuZoom50.Size = new System.Drawing.Size(114, 22);
            this.mnuZoom50.Text = "50%";
            this.mnuZoom50.ToolTipText = "Zoom 50%";
            this.mnuZoom50.Click += new System.EventHandler(this.mnuZoom50_Click);
            // 
            // mnuZoom100
            // 
            this.mnuZoom100.Image = global::AutoDiagramer.Resource1.View16;
            this.mnuZoom100.Name = "mnuZoom100";
            this.mnuZoom100.Size = new System.Drawing.Size(114, 22);
            this.mnuZoom100.Text = "100%";
            this.mnuZoom100.ToolTipText = "Zoom 100%";
            this.mnuZoom100.Click += new System.EventHandler(this.mnuZoom100_Click);
            // 
            // mnuZoom200
            // 
            this.mnuZoom200.Image = global::AutoDiagramer.Resource1.View16;
            this.mnuZoom200.Name = "mnuZoom200";
            this.mnuZoom200.Size = new System.Drawing.Size(114, 22);
            this.mnuZoom200.Text = "200%";
            this.mnuZoom200.ToolTipText = "Zoom 200%";
            this.mnuZoom200.Click += new System.EventHandler(this.mnuZoom200_Click);
            // 
            // mnuZoomUser
            // 
            this.mnuZoomUser.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.mnuEnterManualZoom});
            this.mnuZoomUser.Name = "mnuZoomUser";
            this.mnuZoomUser.Size = new System.Drawing.Size(113, 20);
            this.mnuZoomUser.Text = "Enter Custom Zoom";
            // 
            // mnuEnterManualZoom
            // 
            this.mnuEnterManualZoom.Image = global::AutoDiagramer.Resource1.View16;
            this.mnuEnterManualZoom.Name = "mnuEnterManualZoom";
            this.mnuEnterManualZoom.Size = new System.Drawing.Size(211, 22);
            this.mnuEnterManualZoom.Text = "Enter A Specific Zoom Size";
            this.mnuEnterManualZoom.Click += new System.EventHandler(this.mnuEnterManualZoom_Click);
            // 
            // pnlImage
            // 
            this.pnlImage.BackColor = System.Drawing.Color.White;
            this.pnlImage.Dock = System.Windows.Forms.DockStyle.Top;
            this.pnlImage.Location = new System.Drawing.Point(0, 24);
            this.pnlImage.Name = "pnlImage";
            this.pnlImage.Size = new System.Drawing.Size(860, 482);
            this.pnlImage.TabIndex = 3;
            this.pnlImage.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlImage_Paint);
            // 
            // pnlBottom
            // 
            this.pnlBottom.BackColor = System.Drawing.Color.WhiteSmoke;
            this.pnlBottom.Controls.Add(this.btnOk);
            this.pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.pnlBottom.Location = new System.Drawing.Point(0, 508);
            this.pnlBottom.Name = "pnlBottom";
            this.pnlBottom.Size = new System.Drawing.Size(860, 36);
            this.pnlBottom.TabIndex = 4;
            // 
            // btnOk
            // 
            this.btnOk.Location = new System.Drawing.Point(785, 6);
            this.btnOk.MaximumSize = new System.Drawing.Size(66, 23);
            this.btnOk.MinimumSize = new System.Drawing.Size(66, 23);
            this.btnOk.Name = "btnOk";
            this.btnOk.Size = new System.Drawing.Size(66, 23);
            this.btnOk.TabIndex = 16;
            this.btnOk.Text = "OK";
            this.btnOk.UseVisualStyleBackColor = true;
            this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
            // 
            // frmZoom
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.White;
            this.ClientSize = new System.Drawing.Size(860, 544);
            this.Controls.Add(this.pnlBottom);
            this.Controls.Add(this.pnlImage);
            this.Controls.Add(this.menuStrip1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MainMenuStrip = this.menuStrip1;
            this.Name = "frmZoom";
            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "AutoDiagrammer";
            this.Resize += new System.EventHandler(this.frmZoom_Resize);
            this.Shown += new System.EventHandler(this.frmZoom_Shown);
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.pnlBottom.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion
        #region Instance Fields
        //instance fields
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        private System.Windows.Forms.MenuStrip menuStrip1;
        private System.Windows.Forms.ToolStripMenuItem mnuZoomFixed;
        private System.Windows.Forms.ToolStripMenuItem mnuZoom25;
        private System.Windows.Forms.ToolStripMenuItem mnuZoom50;
        private System.Windows.Forms.ToolStripMenuItem mnuZoom100;
        private System.Windows.Forms.ToolStripMenuItem mnuZoom200;
        private System.Windows.Forms.ToolStripMenuItem mnuZoomUser;
        private System.Windows.Forms.ToolStripMenuItem mnuEnterManualZoom;
        private System.Windows.Forms.Panel pnlImage;
        private System.Windows.Forms.Panel pnlBottom;
        private System.Windows.Forms.Button btnOk;
        #endregion
    }
    #endregion
}

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
Software Developer (Senior)
United Kingdom United Kingdom
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)

- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence

Both of these at Sussex University UK.

Award(s)

I am lucky enough to have won a few awards for Zany Crazy code articles over the years

  • Microsoft C# MVP 2016
  • Codeproject MVP 2016
  • Microsoft C# MVP 2015
  • Codeproject MVP 2015
  • Microsoft C# MVP 2014
  • Codeproject MVP 2014
  • Microsoft C# MVP 2013
  • Codeproject MVP 2013
  • Microsoft C# MVP 2012
  • Codeproject MVP 2012
  • Microsoft C# MVP 2011
  • Codeproject MVP 2011
  • Microsoft C# MVP 2010
  • Codeproject MVP 2010
  • Microsoft C# MVP 2009
  • Codeproject MVP 2009
  • Microsoft C# MVP 2008
  • Codeproject MVP 2008
  • And numerous codeproject awards which you can see over at my blog

Comments and Discussions