Example #1
0
        public Game(Tao.Platform.Windows.SimpleOpenGlControl AnT)
        {
            this.AnT = AnT;
            width    = 10.0 * (float)AnT.Width / (float)AnT.Height;
            height   = 10.0;
            double
                emptySpace  = 0.01,
                tableWidth  = width * (1 - emptySpace * 2) - Table.border * 2,
                tableHeight = tableWidth / 2;

            left   = (width - tableWidth) / 2;
            right  = left + tableWidth;
            bottom = Table.border + width * emptySpace;
            top    = bottom + tableHeight;


            field          = new Field();
            field.OnPaint += field_OnPaint;
            InitTable();
            field.Start();

            InitPlayers();

            scenario = new Scenario(this);
            scenario.Excecute();
        }
Example #2
0
        /// <summary>
        /// Требуемый метод для поддержки конструктора — не изменяйте
        /// содержимое этого метода с помощью редактора кода.
        /// </summary>

        private void InitializeComponent()
        {
            this.AnT = new Tao.Platform.Windows.SimpleOpenGlControl();
            this.SuspendLayout();
            //
            // AnT
            //
            this.AnT.AccumBits       = ((byte)(0));
            this.AnT.AutoCheckErrors = false;
            this.AnT.AutoFinish      = false;
            this.AnT.AutoMakeCurrent = true;
            this.AnT.AutoSwapBuffers = true;
            this.AnT.BackColor       = System.Drawing.Color.Black;
            this.AnT.ColorBits       = ((byte)(32));
            this.AnT.DepthBits       = ((byte)(16));
            this.AnT.Location        = new System.Drawing.Point(32, 15);
            this.AnT.Margin          = new System.Windows.Forms.Padding(4);
            this.AnT.Name            = "AnT";
            this.AnT.Size            = new System.Drawing.Size(700, 700);
            this.AnT.StencilBits     = ((byte)(0));
            this.AnT.TabIndex        = 0;
            this.AnT.Load           += new System.EventHandler(this.simpleOpenGlControl1_Load);
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(791, 738);
            this.Controls.Add(this.AnT);
            this.Margin = new System.Windows.Forms.Padding(4);
            this.Name   = "Form1";
            this.Text   = "Form1";
            this.Load  += new System.EventHandler(this.Form1_Load);
            this.ResumeLayout(false);
        }
Example #3
0
        public static Bitmap ScreenShot(Tao.Platform.Windows.SimpleOpenGlControl simpleOpenGlControl1)
        {
            Bitmap     b  = new Bitmap(simpleOpenGlControl1.Width, simpleOpenGlControl1.Height);
            BitmapData bd = b.LockBits(new Rectangle(0, 0, simpleOpenGlControl1.Width, simpleOpenGlControl1.Height), ImageLockMode.WriteOnly, PixelFormat.Format32bppArgb);

            Gl.glReadPixels(0, 0, simpleOpenGlControl1.Width, simpleOpenGlControl1.Height, Gl.GL_BGRA, Gl.GL_UNSIGNED_BYTE, bd.Scan0);
            b.UnlockBits(bd);
            b.RotateFlip(RotateFlipType.RotateNoneFlipY);
            return(b);
        }
Example #4
0
        public static void InitTextRenderer(Tao.Platform.Windows.SimpleOpenGlControl openGlCtrl)
        {
            openGlControl = openGlCtrl;

            try
            {
                int Errors = 0;
                // CREATE FONT
                sysfont = new FTFont("FreeSans.ttf", out Errors);
                // INITIALISE FONT AS A PER_CHARACTER TEXTURE MAPPED FONT
                sysfont.ftRenderToTexture(12, 196);
                // SET the sample font to align CENTERED
                sysfont.FT_ALIGN           = FTFontAlign.FT_ALIGN_LEFT;
                sIsTextRendererInitialized = true;
            }
            catch (Exception)
            {
                sIsTextRendererInitialized = false;
            }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.simpleOpenGlControl = new Tao.Platform.Windows.SimpleOpenGlControl();
     this.SuspendLayout();
     //
     // simpleOpenGlControl
     //
     this.simpleOpenGlControl.AccumBits = ((byte)(0));
     this.simpleOpenGlControl.AutoCheckErrors = false;
     this.simpleOpenGlControl.AutoFinish = false;
     this.simpleOpenGlControl.AutoMakeCurrent = true;
     this.simpleOpenGlControl.AutoSwapBuffers = true;
     this.simpleOpenGlControl.BackColor = System.Drawing.Color.Black;
     this.simpleOpenGlControl.ColorBits = ((byte)(32));
     this.simpleOpenGlControl.DepthBits = ((byte)(16));
     this.simpleOpenGlControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.simpleOpenGlControl.Location = new System.Drawing.Point(0, 0);
     this.simpleOpenGlControl.Name = "simpleOpenGlControl";
     this.simpleOpenGlControl.Size = new System.Drawing.Size(600, 480);
     this.simpleOpenGlControl.StencilBits = ((byte)(0));
     this.simpleOpenGlControl.TabIndex = 0;
     this.simpleOpenGlControl.Load += new System.EventHandler(this.simpleOpenGlControl_Load);
     this.simpleOpenGlControl.Paint += new System.Windows.Forms.PaintEventHandler(this.simpleOpenGlControl_Paint);
     this.simpleOpenGlControl.SizeChanged += new System.EventHandler(this.simpleOpenGlControl_SizeChanged);
     //
     // Form_3Dcuboid
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(600, 480);
     this.Controls.Add(this.simpleOpenGlControl);
     this.Name = "Form_3Dcuboid";
     this.Text = "3D Cuboid";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form_3Dcuboid_FormClosing);
     this.VisibleChanged += new System.EventHandler(this.Form_3Dcuboid_VisibleChanged);
     this.ResumeLayout(false);
 }
Example #6
0
        void setupgl()
        {
            dgl = new Tao.Platform.Windows.SimpleOpenGlControl();
            //
            // dgl
            //
            dgl.AccumBits       = ((byte)(0));
            dgl.AutoCheckErrors = false;
            dgl.AutoFinish      = false;
            dgl.AutoMakeCurrent = false;
            dgl.AutoSwapBuffers = false;
            dgl.BackColor       = System.Drawing.Color.Black;
            dgl.ColorBits       = ((byte)(32));
            dgl.DepthBits       = ((byte)(16));
            dgl.Dock            = System.Windows.Forms.DockStyle.Fill;
            dgl.Location        = new System.Drawing.Point(0, 0);
            dgl.Name            = "dgl";
            dgl.Size            = new System.Drawing.Size(295, 271);
            dgl.StencilBits     = ((byte)(0));

            Controls.Add(dgl);

            dgl.InitializeContexts();
            dgl.MakeCurrent();
            Gl.glClearColor(1, 1, 1, 1);
            Gl.glShadeModel(Gl.GL_SMOOTH);
            Gl.glEnable(Gl.GL_TEXTURE_2D);
            Gl.glClearColor(1, 1, 1, 1.0f);
            Gl.glClearDepth(1);
            Gl.glEnable(Gl.GL_DEPTH_TEST);
            Gl.glDepthFunc(Gl.GL_LEQUAL);
            Gl.glHint(Gl.GL_PERSPECTIVE_CORRECTION_HINT, Gl.GL_NICEST);
            Gl.glMatrixMode(Gl.GL_MODELVIEW);
            Gl.glEnable(Gl.GL_CULL_FACE); // backface culling
            dgl.Paint += new PaintEventHandler(dgl_Paint);
        }
Example #7
0
        private void InitializeGlControl()
        {
            this.GlControl = new Tao.Platform.Windows.SimpleOpenGlControl();
            this.SuspendLayout();
            //
            // GlControl
            //
            this.GlControl.AccumBits = ((byte)(0));
            this.GlControl.AutoCheckErrors = false;
            this.GlControl.AutoFinish = false;
            this.GlControl.AutoMakeCurrent = true;
            this.GlControl.AutoSize = true;
            this.GlControl.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.GlControl.AutoSwapBuffers = true;
            this.GlControl.BackColor = System.Drawing.Color.Black;
            this.GlControl.ColorBits = ((byte)(32));
            this.GlControl.DepthBits = ((byte)(16));
            this.GlControl.Dock = System.Windows.Forms.DockStyle.Fill;
            this.GlControl.Location = new System.Drawing.Point(0, 0);
            this.GlControl.Name = "GlControl";
            this.GlControl.Size = this.ctlTabsMain.TabPages[0].ClientSize;
            this.GlControl.StencilBits = ((byte)(0));
            this.GlControl.TabIndex = 0;

            this.ctlTabsMain.TabPages[0].Controls.Add(this.GlControl);
        }
Example #8
0
        public static void InitTextRenderer(Tao.Platform.Windows.SimpleOpenGlControl openGlCtrl)
        {
            openGlControl = openGlCtrl;

            int Errors = 0;
            // CREATE FONT
            sysfont = new FTFont("FreeSans.ttf", out Errors);
            // INITIALISE FONT AS A PER_CHARACTER TEXTURE MAPPED FONT
            sysfont.ftRenderToTexture(12, 196);
            // SET the sample font to align CENTERED
            sysfont.FT_ALIGN = FTFontAlign.FT_ALIGN_LEFT;
            sIsTextRendererInitialized = true;
        }
Example #9
0
 private void InitializeComponent()
 {
     this.components              = new System.ComponentModel.Container();
     this.btReal                  = new System.Windows.Forms.Button();
     this.ChartGl                 = new Tao.Platform.Windows.SimpleOpenGlControl();
     this.Load                    = new System.Windows.Forms.Button();
     this.timer2                  = new System.Windows.Forms.Timer(this.components);
     this.lbTime                  = new System.Windows.Forms.Label();
     this.toolStripContainer1     = new System.Windows.Forms.ToolStripContainer();
     this.cbTf                    = new System.Windows.Forms.ComboBox();
     this.lbTf                    = new System.Windows.Forms.Label();
     this.label3                  = new System.Windows.Forms.Label();
     this.tbIgnoreTickVol         = new System.Windows.Forms.TextBox();
     this.label2                  = new System.Windows.Forms.Label();
     this.tbVolFilterMax          = new System.Windows.Forms.TextBox();
     this.tbVolFilterMin          = new System.Windows.Forms.TextBox();
     this.label1                  = new System.Windows.Forms.Label();
     this.cbSecurity              = new System.Windows.Forms.ComboBox();
     this.menuMain                = new System.Windows.Forms.MenuStrip();
     this.fdgfdgToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.btDom                   = new System.Windows.Forms.ToolStripMenuItem();
     this.btApply                 = new System.Windows.Forms.ToolStripMenuItem();
     this.btClose                 = new System.Windows.Forms.ToolStripMenuItem();
     this.btSetup                 = new System.Windows.Forms.ToolStripMenuItem();
     this.lbReal                  = new System.Windows.Forms.Label();
     this.lbProfit                = new System.Windows.Forms.Label();
     this.toolStripContainer1.ContentPanel.SuspendLayout();
     this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
     this.toolStripContainer1.SuspendLayout();
     this.menuMain.SuspendLayout();
     this.SuspendLayout();
     //
     // btReal
     //
     this.btReal.Location = new System.Drawing.Point(751, 74);
     this.btReal.Name     = "btReal";
     this.btReal.Size     = new System.Drawing.Size(75, 23);
     this.btReal.TabIndex = 0;
     this.btReal.Text     = "Real";
     this.btReal.UseVisualStyleBackColor = true;
     this.btReal.Click += new System.EventHandler(this.btReal_Click);
     //
     // ChartGl
     //
     this.ChartGl.AccumBits = ((byte)(0));
     this.ChartGl.Anchor    = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.ChartGl.AutoCheckErrors = false;
     this.ChartGl.AutoFinish      = false;
     this.ChartGl.AutoMakeCurrent = true;
     this.ChartGl.AutoSwapBuffers = true;
     this.ChartGl.BackColor       = System.Drawing.Color.Black;
     this.ChartGl.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ChartGl.ColorBits       = ((byte)(32));
     this.ChartGl.DepthBits       = ((byte)(16));
     this.ChartGl.Location        = new System.Drawing.Point(1, 93);
     this.ChartGl.Name            = "ChartGl";
     this.ChartGl.Size            = new System.Drawing.Size(641, 506);
     this.ChartGl.StencilBits     = ((byte)(0));
     this.ChartGl.TabIndex        = 1;
     //
     // Load
     //
     this.Load.Location = new System.Drawing.Point(751, 103);
     this.Load.Name     = "Load";
     this.Load.Size     = new System.Drawing.Size(75, 23);
     this.Load.TabIndex = 2;
     this.Load.Text     = "btLoad";
     this.Load.UseVisualStyleBackColor = true;
     this.Load.Click += new System.EventHandler(this.Load_Click);
     //
     // timer2
     //
     this.timer2.Enabled  = true;
     this.timer2.Interval = 1000;
     this.timer2.Tick    += new System.EventHandler(this.timer2_Tick);
     //
     // lbTime
     //
     this.lbTime.AutoSize  = true;
     this.lbTime.BackColor = System.Drawing.Color.Transparent;
     this.lbTime.Font      = new System.Drawing.Font("MS Reference Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.lbTime.ForeColor = System.Drawing.Color.White;
     this.lbTime.Location  = new System.Drawing.Point(12, -1);
     this.lbTime.Name      = "lbTime";
     this.lbTime.Size      = new System.Drawing.Size(57, 24);
     this.lbTime.TabIndex  = 3;
     this.lbTime.Text      = "Time";
     //
     // toolStripContainer1
     //
     this.toolStripContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
     //
     // toolStripContainer1.ContentPanel
     //
     this.toolStripContainer1.ContentPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.toolStripContainer1.ContentPanel.Controls.Add(this.cbTf);
     this.toolStripContainer1.ContentPanel.Controls.Add(this.lbTf);
     this.toolStripContainer1.ContentPanel.Controls.Add(this.label3);
     this.toolStripContainer1.ContentPanel.Controls.Add(this.tbIgnoreTickVol);
     this.toolStripContainer1.ContentPanel.Controls.Add(this.label2);
     this.toolStripContainer1.ContentPanel.Controls.Add(this.tbVolFilterMax);
     this.toolStripContainer1.ContentPanel.Controls.Add(this.tbVolFilterMin);
     this.toolStripContainer1.ContentPanel.Controls.Add(this.label1);
     this.toolStripContainer1.ContentPanel.Controls.Add(this.cbSecurity);
     this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(860, 26);
     this.toolStripContainer1.Location          = new System.Drawing.Point(0, 20);
     this.toolStripContainer1.Name     = "toolStripContainer1";
     this.toolStripContainer1.Size     = new System.Drawing.Size(860, 54);
     this.toolStripContainer1.TabIndex = 4;
     this.toolStripContainer1.Text     = "toolStripContainer1";
     //
     // toolStripContainer1.TopToolStripPanel
     //
     this.toolStripContainer1.TopToolStripPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuMain);
     this.toolStripContainer1.TopToolStripPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.toolStripContainer1_TopToolStripPanel_Paint);
     //
     // cbTf
     //
     this.cbTf.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.cbTf.FlatStyle         = System.Windows.Forms.FlatStyle.Popup;
     this.cbTf.FormattingEnabled = true;
     this.cbTf.Items.AddRange(new object[] {
         "5 SEC",
         "10 SEC",
         "15 SEC",
         "20 SEC",
         "30 SEC",
         "1 MIN",
         "2 MIN",
         "3 MIN",
         "4 MIN",
         "5 MIN",
         "6 MIN",
         "10 MIN",
         "15 MIN",
         "20 MIN",
         "30 MIN",
         "1 HOUR",
         "2 HOUR",
         "4 HOUR",
         "1 DAY"
     });
     this.cbTf.Location              = new System.Drawing.Point(534, 2);
     this.cbTf.Name                  = "cbTf";
     this.cbTf.Size                  = new System.Drawing.Size(90, 21);
     this.cbTf.TabIndex              = 8;
     this.cbTf.Text                  = "1 MIN";
     this.cbTf.SelectedValueChanged += new System.EventHandler(this.cbTf_SelectedValueChanged);
     //
     // lbTf
     //
     this.lbTf.AutoSize  = true;
     this.lbTf.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.lbTf.ForeColor = System.Drawing.Color.Black;
     this.lbTf.Location  = new System.Drawing.Point(500, 5);
     this.lbTf.Name      = "lbTf";
     this.lbTf.Size      = new System.Drawing.Size(28, 16);
     this.lbTf.TabIndex  = 7;
     this.lbTf.Text      = "TF:";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label3.ForeColor = System.Drawing.Color.Black;
     this.label3.Location  = new System.Drawing.Point(361, 5);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 16);
     this.label3.TabIndex  = 6;
     this.label3.Text      = "Ignor tick:";
     //
     // tbIgnoreTickVol
     //
     this.tbIgnoreTickVol.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.tbIgnoreTickVol.Location  = new System.Drawing.Point(430, 4);
     this.tbIgnoreTickVol.Name      = "tbIgnoreTickVol";
     this.tbIgnoreTickVol.Size      = new System.Drawing.Size(64, 20);
     this.tbIgnoreTickVol.TabIndex  = 5;
     this.tbIgnoreTickVol.Text      = "1";
     this.tbIgnoreTickVol.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tbIgnoreTickVol_KeyPress);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label2.ForeColor = System.Drawing.Color.Black;
     this.label2.Location  = new System.Drawing.Point(254, 5);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(19, 16);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "to";
     //
     // tbVolFilterMax
     //
     this.tbVolFilterMax.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.tbVolFilterMax.Location  = new System.Drawing.Point(279, 4);
     this.tbVolFilterMax.Name      = "tbVolFilterMax";
     this.tbVolFilterMax.Size      = new System.Drawing.Size(64, 20);
     this.tbVolFilterMax.TabIndex  = 3;
     this.tbVolFilterMax.Text      = "500";
     this.tbVolFilterMax.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tbVolFilterMax_KeyPress);
     //
     // tbVolFilterMin
     //
     this.tbVolFilterMin.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.tbVolFilterMin.Location  = new System.Drawing.Point(178, 3);
     this.tbVolFilterMin.Name      = "tbVolFilterMin";
     this.tbVolFilterMin.Size      = new System.Drawing.Size(64, 20);
     this.tbVolFilterMin.TabIndex  = 2;
     this.tbVolFilterMin.Text      = "300";
     this.tbVolFilterMin.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tbMinVol_KeyPress);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label1.ForeColor = System.Drawing.Color.Black;
     this.label1.Location  = new System.Drawing.Point(108, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(63, 16);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Vol Filter:";
     //
     // cbSecurity
     //
     this.cbSecurity.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.cbSecurity.FlatStyle         = System.Windows.Forms.FlatStyle.Popup;
     this.cbSecurity.FormattingEnabled = true;
     this.cbSecurity.Items.AddRange(new object[] {
         "RIZ6",
         "SiZ6",
         "SRZ6",
         "GZZ6"
     });
     this.cbSecurity.Location              = new System.Drawing.Point(12, 3);
     this.cbSecurity.Name                  = "cbSecurity";
     this.cbSecurity.Size                  = new System.Drawing.Size(90, 21);
     this.cbSecurity.TabIndex              = 0;
     this.cbSecurity.Text                  = "RIZ6";
     this.cbSecurity.SelectedValueChanged += new System.EventHandler(this.cbSecurity_SelectedValueChanged);
     //
     // menuMain
     //
     this.menuMain.BackColor = System.Drawing.Color.Transparent;
     this.menuMain.Dock      = System.Windows.Forms.DockStyle.None;
     this.menuMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.fdgfdgToolStripMenuItem,
         this.btDom,
         this.btApply,
         this.btClose,
         this.btSetup
     });
     this.menuMain.Location = new System.Drawing.Point(0, 0);
     this.menuMain.Name     = "menuMain";
     this.menuMain.Size     = new System.Drawing.Size(860, 28);
     this.menuMain.TabIndex = 0;
     this.menuMain.Text     = "mainMenu";
     //
     // fdgfdgToolStripMenuItem
     //
     this.fdgfdgToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.fdgfdgToolStripMenuItem.Name = "fdgfdgToolStripMenuItem";
     this.fdgfdgToolStripMenuItem.Size = new System.Drawing.Size(50, 24);
     this.fdgfdgToolStripMenuItem.Text = "Real";
     //
     // btDom
     //
     this.btDom.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.btDom.Name = "btDom";
     this.btDom.Size = new System.Drawing.Size(54, 24);
     this.btDom.Text = "Dom";
     //
     // btApply
     //
     this.btApply.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
     this.btApply.Font      = new System.Drawing.Font("MS Reference Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.btApply.ForeColor = System.Drawing.Color.White;
     this.btApply.Name      = "btApply";
     this.btApply.Size      = new System.Drawing.Size(66, 24);
     this.btApply.Text      = "Apply";
     this.btApply.Click    += new System.EventHandler(this.btApply_Click);
     //
     // btClose
     //
     this.btClose.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
     this.btClose.Font      = new System.Drawing.Font("MS Reference Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.btClose.ForeColor = System.Drawing.Color.White;
     this.btClose.Name      = "btClose";
     this.btClose.Size      = new System.Drawing.Size(66, 24);
     this.btClose.Text      = "Close";
     //
     // btSetup
     //
     this.btSetup.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
     this.btSetup.Font      = new System.Drawing.Font("MS Reference Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.btSetup.ForeColor = System.Drawing.Color.White;
     this.btSetup.Name      = "btSetup";
     this.btSetup.Size      = new System.Drawing.Size(68, 24);
     this.btSetup.Text      = "Setup";
     //
     // lbReal
     //
     this.lbReal.AutoSize  = true;
     this.lbReal.BackColor = System.Drawing.Color.Transparent;
     this.lbReal.Font      = new System.Drawing.Font("MS Reference Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.lbReal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
     this.lbReal.Location  = new System.Drawing.Point(9, 75);
     this.lbReal.Name      = "lbReal";
     this.lbReal.Size      = new System.Drawing.Size(35, 16);
     this.lbReal.TabIndex  = 5;
     this.lbReal.Text      = "Real";
     //
     // lbProfit
     //
     this.lbProfit.AutoSize  = true;
     this.lbProfit.BackColor = System.Drawing.Color.Transparent;
     this.lbProfit.Font      = new System.Drawing.Font("MS Reference Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.lbProfit.ForeColor = System.Drawing.Color.White;
     this.lbProfit.Location  = new System.Drawing.Point(553, 77);
     this.lbProfit.Name      = "lbProfit";
     this.lbProfit.Size      = new System.Drawing.Size(33, 16);
     this.lbProfit.TabIndex  = 6;
     this.lbProfit.Text      = "P/L:";
     //
     // WindowCluster
     //
     this.BackColor  = System.Drawing.Color.Black;
     this.ClientSize = new System.Drawing.Size(860, 600);
     this.Controls.Add(this.lbProfit);
     this.Controls.Add(this.lbReal);
     this.Controls.Add(this.toolStripContainer1);
     this.Controls.Add(this.lbTime);
     this.Controls.Add(this.Load);
     this.Controls.Add(this.ChartGl);
     this.Controls.Add(this.btReal);
     this.DoubleBuffered = true;
     this.Name           = "WindowCluster";
     this.Text           = "Price Cluster";
     this.FormClosing   += new System.Windows.Forms.FormClosingEventHandler(this.WindowCluster_FormClosing);
     this.toolStripContainer1.ContentPanel.ResumeLayout(false);
     this.toolStripContainer1.ContentPanel.PerformLayout();
     this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
     this.toolStripContainer1.TopToolStripPanel.PerformLayout();
     this.toolStripContainer1.ResumeLayout(false);
     this.toolStripContainer1.PerformLayout();
     this.menuMain.ResumeLayout(false);
     this.menuMain.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #10
0
		public static void InitTextRenderer(Tao.Platform.Windows.SimpleOpenGlControl openGlCtrl)
		{
			openGlControl = openGlCtrl;
		}
 /// <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.simpleOpenGlControl = new Tao.Platform.Windows.SimpleOpenGlControl();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.DrawLabel = new System.Windows.Forms.LinkLabel();
     this.Ax = new System.Windows.Forms.Label();
     this.Ay = new System.Windows.Forms.Label();
     this.Az = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.DataAx = new System.Windows.Forms.Label();
     this.DatAx = new System.Windows.Forms.Label();
     this.DatAy = new System.Windows.Forms.Label();
     this.DatAz = new System.Windows.Forms.Label();
     this.DatGx = new System.Windows.Forms.Label();
     this.DatGy = new System.Windows.Forms.Label();
     this.DatGz = new System.Windows.Forms.Label();
     this.lab2 = new System.Windows.Forms.Label();
     this.lab3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.DatZ = new System.Windows.Forms.Label();
     this.DatY = new System.Windows.Forms.Label();
     this.DatX = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // simpleOpenGlControl
     //
     this.simpleOpenGlControl.AccumBits = ((byte)(0));
     this.simpleOpenGlControl.AutoCheckErrors = false;
     this.simpleOpenGlControl.AutoFinish = false;
     this.simpleOpenGlControl.AutoMakeCurrent = true;
     this.simpleOpenGlControl.AutoSwapBuffers = true;
     this.simpleOpenGlControl.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.simpleOpenGlControl.ColorBits = ((byte)(32));
     this.simpleOpenGlControl.DepthBits = ((byte)(16));
     this.simpleOpenGlControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.simpleOpenGlControl.ForeColor = System.Drawing.SystemColors.ActiveBorder;
     this.simpleOpenGlControl.Location = new System.Drawing.Point(0, 0);
     this.simpleOpenGlControl.Name = "simpleOpenGlControl";
     this.simpleOpenGlControl.Size = new System.Drawing.Size(491, 298);
     this.simpleOpenGlControl.StencilBits = ((byte)(0));
     this.simpleOpenGlControl.TabIndex = 0;
     this.simpleOpenGlControl.Load += new System.EventHandler(this.simpleOpenGlControl_Load);
     this.simpleOpenGlControl.SizeChanged += new System.EventHandler(this.simpleOpenGlControl_SizeChanged);
     this.simpleOpenGlControl.Paint += new System.Windows.Forms.PaintEventHandler(this.simpleOpenGlControl_Paint);
     //
     // timer1
     //
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // DrawLabel
     //
     this.DrawLabel.AutoSize = true;
     this.DrawLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DrawLabel.ForeColor = System.Drawing.Color.White;
     this.DrawLabel.LinkColor = System.Drawing.SystemColors.ButtonHighlight;
     this.DrawLabel.Location = new System.Drawing.Point(164, 272);
     this.DrawLabel.Name = "DrawLabel";
     this.DrawLabel.Size = new System.Drawing.Size(118, 17);
     this.DrawLabel.TabIndex = 1;
     this.DrawLabel.TabStop = true;
     this.DrawLabel.Text = "NAME SYSTEM";
     //
     // Ax
     //
     this.Ax.AutoSize = true;
     this.Ax.BackColor = System.Drawing.Color.Black;
     this.Ax.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Ax.ForeColor = System.Drawing.Color.White;
     this.Ax.Location = new System.Drawing.Point(-2, 9);
     this.Ax.Name = "Ax";
     this.Ax.Size = new System.Drawing.Size(60, 17);
     this.Ax.TabIndex = 2;
     this.Ax.Text = "Ax(g) =";
     //
     // Ay
     //
     this.Ay.AutoSize = true;
     this.Ay.BackColor = System.Drawing.Color.Black;
     this.Ay.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Ay.ForeColor = System.Drawing.Color.White;
     this.Ay.Location = new System.Drawing.Point(-2, 29);
     this.Ay.Name = "Ay";
     this.Ay.Size = new System.Drawing.Size(66, 17);
     this.Ay.TabIndex = 3;
     this.Ay.Text = "Ay(g) = ";
     //
     // Az
     //
     this.Az.AutoSize = true;
     this.Az.BackColor = System.Drawing.Color.Black;
     this.Az.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Az.ForeColor = System.Drawing.Color.White;
     this.Az.Location = new System.Drawing.Point(-2, 49);
     this.Az.Name = "Az";
     this.Az.Size = new System.Drawing.Size(66, 17);
     this.Az.TabIndex = 4;
     this.Az.Text = "Az(g) = ";
     this.Az.Click += new System.EventHandler(this.Az_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.BackColor = System.Drawing.Color.Black;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location = new System.Drawing.Point(-2, 220);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(95, 17);
     this.label1.TabIndex = 5;
     this.label1.Text = "Gx(rad/s) = ";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.BackColor = System.Drawing.Color.Black;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.White;
     this.label2.Location = new System.Drawing.Point(-2, 237);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(91, 17);
     this.label2.TabIndex = 6;
     this.label2.Text = "Gy(rad/s) =";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.BackColor = System.Drawing.Color.Black;
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.White;
     this.label3.Location = new System.Drawing.Point(-2, 254);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(91, 17);
     this.label3.TabIndex = 7;
     this.label3.Text = "Gz(rad/s)= ";
     //
     // DataAx
     //
     this.DataAx.AutoSize = true;
     this.DataAx.BackColor = System.Drawing.Color.Black;
     this.DataAx.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataAx.ForeColor = System.Drawing.Color.White;
     this.DataAx.Location = new System.Drawing.Point(62, 9);
     this.DataAx.Name = "DataAx";
     this.DataAx.Size = new System.Drawing.Size(0, 20);
     this.DataAx.TabIndex = 8;
     //
     // DatAx
     //
     this.DatAx.AutoSize = true;
     this.DatAx.BackColor = System.Drawing.Color.Black;
     this.DatAx.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DatAx.ForeColor = System.Drawing.Color.White;
     this.DatAx.Location = new System.Drawing.Point(60, 9);
     this.DatAx.Name = "DatAx";
     this.DatAx.Size = new System.Drawing.Size(25, 17);
     this.DatAx.TabIndex = 9;
     this.DatAx.Text = "Ax";
     //
     // DatAy
     //
     this.DatAy.AutoSize = true;
     this.DatAy.BackColor = System.Drawing.Color.Black;
     this.DatAy.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DatAy.ForeColor = System.Drawing.Color.White;
     this.DatAy.Location = new System.Drawing.Point(59, 29);
     this.DatAy.Name = "DatAy";
     this.DatAy.Size = new System.Drawing.Size(26, 17);
     this.DatAy.TabIndex = 10;
     this.DatAy.Text = "Ay";
     //
     // DatAz
     //
     this.DatAz.AutoSize = true;
     this.DatAz.BackColor = System.Drawing.Color.Black;
     this.DatAz.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DatAz.ForeColor = System.Drawing.Color.White;
     this.DatAz.Location = new System.Drawing.Point(59, 49);
     this.DatAz.Name = "DatAz";
     this.DatAz.Size = new System.Drawing.Size(26, 17);
     this.DatAz.TabIndex = 11;
     this.DatAz.Text = "Az";
     //
     // DatGx
     //
     this.DatGx.AutoSize = true;
     this.DatGx.BackColor = System.Drawing.Color.Black;
     this.DatGx.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DatGx.ForeColor = System.Drawing.Color.White;
     this.DatGx.Location = new System.Drawing.Point(86, 220);
     this.DatGx.Name = "DatGx";
     this.DatGx.Size = new System.Drawing.Size(27, 17);
     this.DatGx.TabIndex = 12;
     this.DatGx.Text = "Gx";
     //
     // DatGy
     //
     this.DatGy.AutoSize = true;
     this.DatGy.BackColor = System.Drawing.Color.Black;
     this.DatGy.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DatGy.ForeColor = System.Drawing.Color.White;
     this.DatGy.Location = new System.Drawing.Point(86, 237);
     this.DatGy.Name = "DatGy";
     this.DatGy.Size = new System.Drawing.Size(28, 17);
     this.DatGy.TabIndex = 13;
     this.DatGy.Text = "Gy";
     //
     // DatGz
     //
     this.DatGz.AutoSize = true;
     this.DatGz.BackColor = System.Drawing.Color.Black;
     this.DatGz.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DatGz.ForeColor = System.Drawing.Color.White;
     this.DatGz.Location = new System.Drawing.Point(85, 254);
     this.DatGz.Name = "DatGz";
     this.DatGz.Size = new System.Drawing.Size(28, 17);
     this.DatGz.TabIndex = 14;
     this.DatGz.Text = "Gz";
     //
     // lab2
     //
     this.lab2.AutoSize = true;
     this.lab2.BackColor = System.Drawing.Color.Black;
     this.lab2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lab2.ForeColor = System.Drawing.Color.White;
     this.lab2.Location = new System.Drawing.Point(331, 9);
     this.lab2.Name = "lab2";
     this.lab2.Size = new System.Drawing.Size(76, 17);
     this.lab2.TabIndex = 15;
     this.lab2.Text = "X(deg) = ";
     //
     // lab3
     //
     this.lab3.AutoSize = true;
     this.lab3.BackColor = System.Drawing.Color.Black;
     this.lab3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lab3.ForeColor = System.Drawing.Color.White;
     this.lab3.Location = new System.Drawing.Point(331, 29);
     this.lab3.Name = "lab3";
     this.lab3.Size = new System.Drawing.Size(76, 17);
     this.lab3.TabIndex = 16;
     this.lab3.Text = "Y(deg) = ";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.BackColor = System.Drawing.Color.Black;
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.White;
     this.label4.Location = new System.Drawing.Point(331, 49);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(76, 17);
     this.label4.TabIndex = 17;
     this.label4.Text = "Z(deg) = ";
     //
     // DatZ
     //
     this.DatZ.AutoSize = true;
     this.DatZ.BackColor = System.Drawing.Color.Black;
     this.DatZ.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DatZ.ForeColor = System.Drawing.Color.White;
     this.DatZ.Location = new System.Drawing.Point(398, 49);
     this.DatZ.Name = "DatZ";
     this.DatZ.Size = new System.Drawing.Size(18, 17);
     this.DatZ.TabIndex = 18;
     this.DatZ.Text = "Z";
     //
     // DatY
     //
     this.DatY.AutoSize = true;
     this.DatY.BackColor = System.Drawing.Color.Black;
     this.DatY.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DatY.ForeColor = System.Drawing.Color.White;
     this.DatY.Location = new System.Drawing.Point(398, 29);
     this.DatY.Name = "DatY";
     this.DatY.Size = new System.Drawing.Size(18, 17);
     this.DatY.TabIndex = 19;
     this.DatY.Text = "Y";
     //
     // DatX
     //
     this.DatX.AutoSize = true;
     this.DatX.BackColor = System.Drawing.Color.Black;
     this.DatX.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DatX.ForeColor = System.Drawing.Color.White;
     this.DatX.Location = new System.Drawing.Point(398, 9);
     this.DatX.Name = "DatX";
     this.DatX.Size = new System.Drawing.Size(18, 17);
     this.DatX.TabIndex = 20;
     this.DatX.Text = "X";
     //
     // Form_3Dcuboid
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.Black;
     this.ClientSize = new System.Drawing.Size(491, 298);
     this.Controls.Add(this.DatX);
     this.Controls.Add(this.DatY);
     this.Controls.Add(this.DatZ);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.lab3);
     this.Controls.Add(this.lab2);
     this.Controls.Add(this.DatGz);
     this.Controls.Add(this.DatGy);
     this.Controls.Add(this.DatGx);
     this.Controls.Add(this.DatAz);
     this.Controls.Add(this.DatAy);
     this.Controls.Add(this.DatAx);
     this.Controls.Add(this.DataAx);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.Az);
     this.Controls.Add(this.Ay);
     this.Controls.Add(this.Ax);
     this.Controls.Add(this.DrawLabel);
     this.Controls.Add(this.simpleOpenGlControl);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "Form_3Dcuboid";
     this.Text = "3D Cuboid";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form_3Dcuboid_FormClosing);
     this.Load += new System.EventHandler(this.Form_3Dcuboid_Load);
     this.VisibleChanged += new System.EventHandler(this.Form_3Dcuboid_VisibleChanged);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.simpleOpenGlControl1 = new Tao.Platform.Windows.SimpleOpenGlControl();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.treeView1 = new System.Windows.Forms.TreeView();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // simpleOpenGlControl1
     //
     this.simpleOpenGlControl1.AccumBits = ((byte)(0));
     this.simpleOpenGlControl1.AutoCheckErrors = false;
     this.simpleOpenGlControl1.AutoFinish = false;
     this.simpleOpenGlControl1.AutoMakeCurrent = true;
     this.simpleOpenGlControl1.AutoSwapBuffers = true;
     this.simpleOpenGlControl1.BackColor = System.Drawing.Color.Black;
     this.simpleOpenGlControl1.ColorBits = ((byte)(32));
     this.simpleOpenGlControl1.DepthBits = ((byte)(32));
     this.simpleOpenGlControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.simpleOpenGlControl1.Location = new System.Drawing.Point(3, 3);
     this.simpleOpenGlControl1.Name = "simpleOpenGlControl1";
     this.simpleOpenGlControl1.Size = new System.Drawing.Size(575, 353);
     this.simpleOpenGlControl1.StencilBits = ((byte)(8));
     this.simpleOpenGlControl1.TabIndex = 0;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location = new System.Drawing.Point(0, 0);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(589, 385);
     this.tabControl1.TabIndex = 1;
     this.tabControl1.Selecting += new System.Windows.Forms.TabControlCancelEventHandler(this.tabControl1_Selecting);
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.simpleOpenGlControl1);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(581, 359);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Render";
     this.tabPage1.UseVisualStyleBackColor = true;
     this.tabPage1.Layout += new System.Windows.Forms.LayoutEventHandler(this.CGFX_Layout);
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.splitContainer1);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(581, 359);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Content";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // splitContainer1
     //
     this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(3, 3);
     this.splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.treeView1);
     this.splitContainer1.Size = new System.Drawing.Size(575, 353);
     this.splitContainer1.SplitterDistance = 191;
     this.splitContainer1.TabIndex = 0;
     //
     // treeView1
     //
     this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeView1.Location = new System.Drawing.Point(0, 0);
     this.treeView1.Name = "treeView1";
     this.treeView1.Size = new System.Drawing.Size(191, 353);
     this.treeView1.TabIndex = 0;
     //
     // CGFXViewer
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(589, 385);
     this.Controls.Add(this.tabControl1);
     this.Name = "CGFXViewer";
     this.Text = "CGFX";
     this.Activated += new System.EventHandler(this.CGFXViewer_Activated);
     this.Load += new System.EventHandler(this.CGFX_Load);
     this.Layout += new System.Windows.Forms.LayoutEventHandler(this.CGFX_Layout);
     this.Resize += new System.EventHandler(this.CGFX_Resize);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.simpleOpenGlControl1 = new Tao.Platform.Windows.SimpleOpenGlControl();
            this.panel1 = new System.Windows.Forms.Panel();
            this.btnLoadMap = new System.Windows.Forms.Button();
            this.trackBarElev = new System.Windows.Forms.TrackBar();
            this.trackBarAng = new System.Windows.Forms.TrackBar();
            this.trackBarDist = new System.Windows.Forms.TrackBar();
            this.lblElevation = new System.Windows.Forms.Label();
            this.lblAngle = new System.Windows.Forms.Label();
            this.lblDistance = new System.Windows.Forms.Label();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.trackBarElev)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.trackBarAng)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.trackBarDist)).BeginInit();
            this.SuspendLayout();
            // 
            // simpleOpenGlControl1
            // 
            this.simpleOpenGlControl1.AccumBits = ((byte)(0));
            this.simpleOpenGlControl1.AutoCheckErrors = false;
            this.simpleOpenGlControl1.AutoFinish = false;
            this.simpleOpenGlControl1.AutoMakeCurrent = true;
            this.simpleOpenGlControl1.AutoSwapBuffers = true;
            this.simpleOpenGlControl1.BackColor = System.Drawing.Color.Black;
            this.simpleOpenGlControl1.ColorBits = ((byte)(32));
            this.simpleOpenGlControl1.DepthBits = ((byte)(16));
            this.simpleOpenGlControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.simpleOpenGlControl1.Location = new System.Drawing.Point(0, 0);
            this.simpleOpenGlControl1.Name = "simpleOpenGlControl1";
            this.simpleOpenGlControl1.Size = new System.Drawing.Size(489, 262);
            this.simpleOpenGlControl1.StencilBits = ((byte)(0));
            this.simpleOpenGlControl1.TabIndex = 0;
            this.simpleOpenGlControl1.Paint += new System.Windows.Forms.PaintEventHandler(this.simpleOpenGlControl1_Paint);
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.lblDistance);
            this.panel1.Controls.Add(this.lblAngle);
            this.panel1.Controls.Add(this.lblElevation);
            this.panel1.Controls.Add(this.btnLoadMap);
            this.panel1.Controls.Add(this.trackBarElev);
            this.panel1.Controls.Add(this.trackBarAng);
            this.panel1.Controls.Add(this.trackBarDist);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
            this.panel1.Location = new System.Drawing.Point(289, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(200, 262);
            this.panel1.TabIndex = 1;
            // 
            // btnLoadMap
            // 
            this.btnLoadMap.Location = new System.Drawing.Point(17, 202);
            this.btnLoadMap.Name = "btnLoadMap";
            this.btnLoadMap.Size = new System.Drawing.Size(75, 23);
            this.btnLoadMap.TabIndex = 3;
            this.btnLoadMap.Text = "Load map";
            this.btnLoadMap.UseVisualStyleBackColor = true;
            this.btnLoadMap.Click += new System.EventHandler(this.btnLoadMap_Click);
            // 
            // trackBarElev
            // 
            this.trackBarElev.Location = new System.Drawing.Point(17, 148);
            this.trackBarElev.Maximum = 1800;
            this.trackBarElev.Minimum = -1800;
            this.trackBarElev.Name = "trackBarElev";
            this.trackBarElev.Size = new System.Drawing.Size(147, 45);
            this.trackBarElev.TabIndex = 2;
            this.trackBarElev.Scroll += new System.EventHandler(this.trackBarElev_Scroll);
            // 
            // trackBarAng
            // 
            this.trackBarAng.Location = new System.Drawing.Point(17, 83);
            this.trackBarAng.Maximum = 1800;
            this.trackBarAng.Minimum = -1800;
            this.trackBarAng.Name = "trackBarAng";
            this.trackBarAng.Size = new System.Drawing.Size(147, 45);
            this.trackBarAng.TabIndex = 1;
            this.trackBarAng.Scroll += new System.EventHandler(this.trackBarAng_Scroll);
            // 
            // trackBarDist
            // 
            this.trackBarDist.Location = new System.Drawing.Point(17, 28);
            this.trackBarDist.Maximum = 100;
            this.trackBarDist.Minimum = -100;
            this.trackBarDist.Name = "trackBarDist";
            this.trackBarDist.Size = new System.Drawing.Size(147, 45);
            this.trackBarDist.TabIndex = 0;
            this.trackBarDist.Scroll += new System.EventHandler(this.trackBarDist_Scroll);
            // 
            // lblElevation
            // 
            this.lblElevation.AutoSize = true;
            this.lblElevation.Location = new System.Drawing.Point(65, 132);
            this.lblElevation.Name = "lblElevation";
            this.lblElevation.Size = new System.Drawing.Size(51, 13);
            this.lblElevation.TabIndex = 4;
            this.lblElevation.Text = "Elevation";
            // 
            // lblAngle
            // 
            this.lblAngle.AutoSize = true;
            this.lblAngle.Location = new System.Drawing.Point(73, 66);
            this.lblAngle.Name = "lblAngle";
            this.lblAngle.Size = new System.Drawing.Size(34, 13);
            this.lblAngle.TabIndex = 5;
            this.lblAngle.Text = "Angle";
            // 
            // lblDistance
            // 
            this.lblDistance.AutoSize = true;
            this.lblDistance.Location = new System.Drawing.Point(66, 12);
            this.lblDistance.Name = "lblDistance";
            this.lblDistance.Size = new System.Drawing.Size(49, 13);
            this.lblDistance.TabIndex = 6;
            this.lblDistance.Text = "Distance";
            // 
            // GLForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(489, 262);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.simpleOpenGlControl1);
            this.Name = "GLForm";
            this.Text = "GLForm";
            this.Load += new System.EventHandler(this.GLForm_Load);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.trackBarElev)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.trackBarAng)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.trackBarDist)).EndInit();
            this.ResumeLayout(false);

        }
 /// <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(Form3DQuaternion));
     this.simpleOpenGlControl = new Tao.Platform.Windows.SimpleOpenGlControl();
     this.statusStrip1 = new System.Windows.Forms.StatusStrip();
     this.toolStripStatusLabelX = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabelY = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabelZ = new System.Windows.Forms.ToolStripStatusLabel();
     this.statusStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // simpleOpenGlControl
     //
     this.simpleOpenGlControl.AccumBits = ((byte)(0));
     this.simpleOpenGlControl.AutoCheckErrors = false;
     this.simpleOpenGlControl.AutoFinish = false;
     this.simpleOpenGlControl.AutoMakeCurrent = true;
     this.simpleOpenGlControl.AutoSwapBuffers = true;
     this.simpleOpenGlControl.BackColor = System.Drawing.Color.Black;
     this.simpleOpenGlControl.ColorBits = ((byte)(32));
     this.simpleOpenGlControl.DepthBits = ((byte)(16));
     this.simpleOpenGlControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.simpleOpenGlControl.Location = new System.Drawing.Point(0, 0);
     this.simpleOpenGlControl.Name = "simpleOpenGlControl";
     this.simpleOpenGlControl.Size = new System.Drawing.Size(584, 362);
     this.simpleOpenGlControl.StencilBits = ((byte)(0));
     this.simpleOpenGlControl.TabIndex = 0;
     this.simpleOpenGlControl.Load += new System.EventHandler(this.simpleOpenGlControl_Load);
     this.simpleOpenGlControl.SizeChanged += new System.EventHandler(this.simpleOpenGlControl_SizeChanged);
     this.simpleOpenGlControl.Paint += new System.Windows.Forms.PaintEventHandler(this.simpleOpenGlControl_Paint);
     this.simpleOpenGlControl.MouseClick += new System.Windows.Forms.MouseEventHandler(this.simpleOpenGlControl_MouseClick);
     //
     // statusStrip1
     //
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripStatusLabelX,
     this.toolStripStatusLabelY,
     this.toolStripStatusLabelZ});
     this.statusStrip1.Location = new System.Drawing.Point(0, 340);
     this.statusStrip1.Name = "statusStrip1";
     this.statusStrip1.Size = new System.Drawing.Size(584, 22);
     this.statusStrip1.TabIndex = 1;
     this.statusStrip1.Text = "statusStrip1";
     //
     // toolStripStatusLabelX
     //
     this.toolStripStatusLabelX.ForeColor = System.Drawing.Color.Red;
     this.toolStripStatusLabelX.Name = "toolStripStatusLabelX";
     this.toolStripStatusLabelX.Size = new System.Drawing.Size(189, 17);
     this.toolStripStatusLabelX.Spring = true;
     this.toolStripStatusLabelX.Text = "toolStripStatusLabelX";
     //
     // toolStripStatusLabelY
     //
     this.toolStripStatusLabelY.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
     this.toolStripStatusLabelY.Name = "toolStripStatusLabelY";
     this.toolStripStatusLabelY.Size = new System.Drawing.Size(189, 17);
     this.toolStripStatusLabelY.Spring = true;
     this.toolStripStatusLabelY.Text = "toolStripStatusLabelY";
     //
     // toolStripStatusLabelZ
     //
     this.toolStripStatusLabelZ.ForeColor = System.Drawing.Color.Blue;
     this.toolStripStatusLabelZ.Name = "toolStripStatusLabelZ";
     this.toolStripStatusLabelZ.Size = new System.Drawing.Size(189, 17);
     this.toolStripStatusLabelZ.Spring = true;
     this.toolStripStatusLabelZ.Text = "toolStripStatusLabelZ";
     //
     // Form3DQuaternion
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(584, 362);
     this.Controls.Add(this.statusStrip1);
     this.Controls.Add(this.simpleOpenGlControl);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "Form3DQuaternion";
     this.Text = "3D Cuboid";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form3DQuaternion_FormClosing);
     this.VisibleChanged += new System.EventHandler(this.Form3DQuaternion_VisibleChanged);
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #15
0
 public static void InitTextRenderer(Tao.Platform.Windows.SimpleOpenGlControl openGlCtrl)
 {
     openGlControl = openGlCtrl;
 }
Example #16
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Opciones));
     this.trackBar1 = new System.Windows.Forms.TrackBar();
     this.trackBar2 = new System.Windows.Forms.TrackBar();
     this.trackBar3 = new System.Windows.Forms.TrackBar();
     this.trackBar4 = new System.Windows.Forms.TrackBar();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.button1 = new System.Windows.Forms.Button();
     this.simpleOpenGlControl1 = new Tao.Platform.Windows.SimpleOpenGlControl();
     this.label5 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar4)).BeginInit();
     this.SuspendLayout();
     //
     // trackBar1
     //
     this.trackBar1.LargeChange = 10;
     this.trackBar1.Location = new System.Drawing.Point(96, 40);
     this.trackBar1.Maximum = 100;
     this.trackBar1.Name = "trackBar1";
     this.trackBar1.Size = new System.Drawing.Size(104, 45);
     this.trackBar1.SmallChange = 5;
     this.trackBar1.TabIndex = 0;
     this.trackBar1.Tag = "0";
     this.trackBar1.TickStyle = System.Windows.Forms.TickStyle.Both;
     this.trackBar1.Scroll += new System.EventHandler(this.trackBar1_Scroll);
     //
     // trackBar2
     //
     this.trackBar2.LargeChange = 10;
     this.trackBar2.Location = new System.Drawing.Point(96, 88);
     this.trackBar2.Maximum = 100;
     this.trackBar2.Name = "trackBar2";
     this.trackBar2.Size = new System.Drawing.Size(104, 45);
     this.trackBar2.SmallChange = 5;
     this.trackBar2.TabIndex = 1;
     this.trackBar2.Tag = "1";
     this.trackBar2.TickStyle = System.Windows.Forms.TickStyle.Both;
     this.trackBar2.Scroll += new System.EventHandler(this.trackBar1_Scroll);
     //
     // trackBar3
     //
     this.trackBar3.LargeChange = 10;
     this.trackBar3.Location = new System.Drawing.Point(96, 136);
     this.trackBar3.Maximum = 100;
     this.trackBar3.Name = "trackBar3";
     this.trackBar3.Size = new System.Drawing.Size(104, 45);
     this.trackBar3.SmallChange = 5;
     this.trackBar3.TabIndex = 2;
     this.trackBar3.Tag = "2";
     this.trackBar3.TickStyle = System.Windows.Forms.TickStyle.Both;
     this.trackBar3.Scroll += new System.EventHandler(this.trackBar1_Scroll);
     //
     // trackBar4
     //
     this.trackBar4.LargeChange = 10;
     this.trackBar4.Location = new System.Drawing.Point(96, 184);
     this.trackBar4.Maximum = 100;
     this.trackBar4.Name = "trackBar4";
     this.trackBar4.Size = new System.Drawing.Size(104, 45);
     this.trackBar4.SmallChange = 5;
     this.trackBar4.TabIndex = 3;
     this.trackBar4.Tag = "3";
     this.trackBar4.TickStyle = System.Windows.Forms.TickStyle.Both;
     this.trackBar4.Scroll += new System.EventHandler(this.trackBar1_Scroll);
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(8, 48);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(88, 23);
     this.label1.TabIndex = 4;
     this.label1.Text = "Rojo";
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(8, 96);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(72, 23);
     this.label2.TabIndex = 5;
     this.label2.Text = "Verde";
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label3.Location = new System.Drawing.Point(8, 144);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(64, 23);
     this.label3.TabIndex = 6;
     this.label3.Text = "Azul";
     //
     // label4
     //
     this.label4.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label4.Location = new System.Drawing.Point(8, 192);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(80, 23);
     this.label4.TabIndex = 7;
     this.label4.Text = "Transparencia";
     //
     // button1
     //
     this.button1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.button1.Location = new System.Drawing.Point(136, 248);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(136, 48);
     this.button1.TabIndex = 8;
     this.button1.Text = "Aceptar";
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // simpleOpenGlControl1
     //
     this.simpleOpenGlControl1.AccumBits = ((System.Byte)(0));
     this.simpleOpenGlControl1.AutoCheckErrors = false;
     this.simpleOpenGlControl1.AutoFinish = false;
     this.simpleOpenGlControl1.AutoMakeCurrent = true;
     this.simpleOpenGlControl1.AutoSwapBuffers = true;
     this.simpleOpenGlControl1.BackColor = System.Drawing.Color.Black;
     this.simpleOpenGlControl1.ColorBits = ((System.Byte)(32));
     this.simpleOpenGlControl1.DepthBits = ((System.Byte)(16));
     this.simpleOpenGlControl1.Location = new System.Drawing.Point(224, 40);
     this.simpleOpenGlControl1.Name = "simpleOpenGlControl1";
     this.simpleOpenGlControl1.Size = new System.Drawing.Size(180, 180);
     this.simpleOpenGlControl1.StencilBits = ((System.Byte)(0));
     this.simpleOpenGlControl1.TabIndex = 9;
     this.simpleOpenGlControl1.Resize += new System.EventHandler(this.simpleOpenGlControl1_Resize_1);
     this.simpleOpenGlControl1.Paint += new System.Windows.Forms.PaintEventHandler(this.simpleOpenGlControl1_Paint);
     //
     // label5
     //
     this.label5.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.Location = new System.Drawing.Point(8, 8);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(184, 16);
     this.label5.TabIndex = 10;
     this.label5.Text = "Color del elemento";
     //
     // Opciones
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(196)), ((System.Byte)(218)), ((System.Byte)(250)));
     this.ClientSize = new System.Drawing.Size(448, 326);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.simpleOpenGlControl1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.trackBar4);
     this.Controls.Add(this.trackBar3);
     this.Controls.Add(this.trackBar2);
     this.Controls.Add(this.trackBar1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "Opciones";
     this.ShowInTaskbar = false;
     this.Text = "Opciones";
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar4)).EndInit();
     this.ResumeLayout(false);
 }
Example #17
0
 /// <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();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(WinForms));
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.mainMenu1 = new System.Windows.Forms.MainMenu();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.menuItem6 = new System.Windows.Forms.MenuItem();
     this.menuItem5 = new System.Windows.Forms.MenuItem();
     this.menuItem2 = new System.Windows.Forms.MenuItem();
     this.menuItem3 = new System.Windows.Forms.MenuItem();
     this.menuItem4 = new System.Windows.Forms.MenuItem();
     this.menuItem7 = new System.Windows.Forms.MenuItem();
     this.menuItem8 = new System.Windows.Forms.MenuItem();
     this.menuItem9 = new System.Windows.Forms.MenuItem();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.uiTab1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.editBox4 = new System.Windows.Forms.RichTextBox();
     this.button2 = new System.Windows.Forms.Button();
     this.button1 = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.editBox5 = new System.Windows.Forms.TextBox();
     this.editBox3 = new System.Windows.Forms.TextBox();
     this.editBox2 = new System.Windows.Forms.TextBox();
     this.editBox1 = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.progressBar1 = new System.Windows.Forms.ProgressBar();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.numericEditBox2 = new System.Windows.Forms.TextBox();
     this.numericEditBox1 = new System.Windows.Forms.TextBox();
     this.groupBox8 = new System.Windows.Forms.GroupBox();
     this.radioButton6 = new System.Windows.Forms.RadioButton();
     this.radioButton5 = new System.Windows.Forms.RadioButton();
     this.button5 = new System.Windows.Forms.Button();
     this.groupBox7 = new System.Windows.Forms.GroupBox();
     this.button6 = new System.Windows.Forms.Button();
     this.groupBox6 = new System.Windows.Forms.GroupBox();
     this.numericEditBox3 = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.groupBox5 = new System.Windows.Forms.GroupBox();
     this.radioButton4 = new System.Windows.Forms.RadioButton();
     this.radioButton3 = new System.Windows.Forms.RadioButton();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.tabPage3 = new System.Windows.Forms.TabPage();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.button4 = new System.Windows.Forms.Button();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.checkBox2 = new System.Windows.Forms.CheckBox();
     this.button3 = new System.Windows.Forms.Button();
     this.radioButton2 = new System.Windows.Forms.RadioButton();
     this.radioButton1 = new System.Windows.Forms.RadioButton();
     this.tabPage4 = new System.Windows.Forms.TabPage();
     this.button8 = new System.Windows.Forms.Button();
     this.groupBox9 = new System.Windows.Forms.GroupBox();
     this.checkBox3 = new System.Windows.Forms.CheckBox();
     this.label9 = new System.Windows.Forms.Label();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.radioButton8 = new System.Windows.Forms.RadioButton();
     this.radioButton7 = new System.Windows.Forms.RadioButton();
     this.button7 = new System.Windows.Forms.Button();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.label7 = new System.Windows.Forms.Label();
     this.simpleOpenGlControl1 = new Tao.Platform.Windows.SimpleOpenGlControl();
     this.uiStatusBar1 = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
     this.directorySearcher1 = new System.DirectoryServices.DirectorySearcher();
     this.uiTab1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.groupBox8.SuspendLayout();
     this.groupBox7.SuspendLayout();
     this.groupBox6.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.tabPage3.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.tabPage4.SuspendLayout();
     this.groupBox9.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBox1
     //
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(336, 0);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(459, 99);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 2;
     this.pictureBox1.TabStop = false;
     //
     // pictureBox2
     //
     this.pictureBox2.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(196)), ((System.Byte)(218)), ((System.Byte)(250)));
     this.pictureBox2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
     this.pictureBox2.Location = new System.Drawing.Point(-8, 0);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new System.Drawing.Size(347, 66);
     this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 3;
     this.pictureBox2.TabStop = false;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem1,
                                                                               this.menuItem2,
                                                                               this.menuItem7});
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem6,
                                                                               this.menuItem5});
     this.menuItem1.Text = "Archivo";
     //
     // menuItem6
     //
     this.menuItem6.Index = 0;
     this.menuItem6.Text = "Guardar Coordenadas";
     this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index = 1;
     this.menuItem5.Text = "Salir";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem3,
                                                                               this.menuItem4});
     this.menuItem2.Text = "Opciones";
     //
     // menuItem3
     //
     this.menuItem3.Index = 0;
     this.menuItem3.Text = "Cambiar Particula";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index = 1;
     this.menuItem4.Text = "Agregar Definición de Particula";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem7
     //
     this.menuItem7.Index = 2;
     this.menuItem7.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem8,
                                                                               this.menuItem9});
     this.menuItem7.Text = "Ayuda";
     //
     // menuItem8
     //
     this.menuItem8.Index = 0;
     this.menuItem8.Text = "Temas de Ayuda";
     this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click);
     //
     // menuItem9
     //
     this.menuItem9.Index = 1;
     this.menuItem9.Text = "Acerca de RSA Generator";
     this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click);
     //
     // imageList1
     //
     this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit;
     this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // uiTab1
     //
     this.uiTab1.Controls.Add(this.tabPage1);
     this.uiTab1.Controls.Add(this.tabPage2);
     this.uiTab1.Controls.Add(this.tabPage3);
     this.uiTab1.Controls.Add(this.tabPage4);
     this.uiTab1.ImageList = this.imageList1;
     this.uiTab1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.uiTab1.Location = new System.Drawing.Point(8, 112);
     this.uiTab1.Name = "uiTab1";
     this.uiTab1.SelectedIndex = 0;
     this.uiTab1.Size = new System.Drawing.Size(368, 384);
     this.uiTab1.TabIndex = 4;
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(196)), ((System.Byte)(218)), ((System.Byte)(250)));
     this.tabPage1.Controls.Add(this.groupBox2);
     this.tabPage1.Controls.Add(this.button2);
     this.tabPage1.Controls.Add(this.button1);
     this.tabPage1.Controls.Add(this.groupBox1);
     this.tabPage1.Controls.Add(this.progressBar1);
     this.tabPage1.ImageIndex = 2;
     this.tabPage1.Location = new System.Drawing.Point(4, 25);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Size = new System.Drawing.Size(360, 355);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Generar";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.editBox4);
     this.groupBox2.Location = new System.Drawing.Point(8, 152);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(352, 184);
     this.groupBox2.TabIndex = 11;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Descripcion de la Generacion de Particulas";
     //
     // editBox4
     //
     this.editBox4.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(218)), ((System.Byte)(250)));
     this.editBox4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.editBox4.Location = new System.Drawing.Point(8, 24);
     this.editBox4.Name = "editBox4";
     this.editBox4.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
     this.editBox4.Size = new System.Drawing.Size(336, 152);
     this.editBox4.TabIndex = 0;
     this.editBox4.Text = "";
     //
     // button2
     //
     this.button2.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(80)), ((System.Byte)(80)), ((System.Byte)(80)));
     this.button2.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.button2.ForeColor = System.Drawing.Color.White;
     this.button2.ImageIndex = 4;
     this.button2.ImageList = this.imageList1;
     this.button2.Location = new System.Drawing.Point(248, 80);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(112, 56);
     this.button2.TabIndex = 10;
     this.button2.Text = "Limpiar";
     this.button2.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(80)), ((System.Byte)(80)), ((System.Byte)(80)));
     this.button1.Font = new System.Drawing.Font("Trebuchet MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.button1.ForeColor = System.Drawing.Color.White;
     this.button1.ImageIndex = 3;
     this.button1.ImageList = this.imageList1;
     this.button1.Location = new System.Drawing.Point(248, 24);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(112, 56);
     this.button1.TabIndex = 9;
     this.button1.Text = "Generar";
     this.button1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.editBox5);
     this.groupBox1.Controls.Add(this.editBox3);
     this.groupBox1.Controls.Add(this.editBox2);
     this.groupBox1.Controls.Add(this.editBox1);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(8, 16);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(240, 120);
     this.groupBox1.TabIndex = 8;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Parametros Iniciales";
     //
     // editBox5
     //
     this.editBox5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(218)), ((System.Byte)(250)));
     this.editBox5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.editBox5.Location = new System.Drawing.Point(136, 88);
     this.editBox5.Name = "editBox5";
     this.editBox5.ReadOnly = true;
     this.editBox5.Size = new System.Drawing.Size(96, 20);
     this.editBox5.TabIndex = 11;
     this.editBox5.Text = "";
     //
     // editBox3
     //
     this.editBox3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(218)), ((System.Byte)(250)));
     this.editBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.editBox3.Location = new System.Drawing.Point(136, 64);
     this.editBox3.Name = "editBox3";
     this.editBox3.ReadOnly = true;
     this.editBox3.Size = new System.Drawing.Size(96, 20);
     this.editBox3.TabIndex = 10;
     this.editBox3.Text = "";
     //
     // editBox2
     //
     this.editBox2.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(218)), ((System.Byte)(250)));
     this.editBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.editBox2.Location = new System.Drawing.Point(136, 40);
     this.editBox2.Name = "editBox2";
     this.editBox2.ReadOnly = true;
     this.editBox2.Size = new System.Drawing.Size(96, 20);
     this.editBox2.TabIndex = 9;
     this.editBox2.Text = "";
     //
     // editBox1
     //
     this.editBox1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(218)), ((System.Byte)(250)));
     this.editBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.editBox1.Location = new System.Drawing.Point(136, 16);
     this.editBox1.Name = "editBox1";
     this.editBox1.ReadOnly = true;
     this.editBox1.Size = new System.Drawing.Size(96, 20);
     this.editBox1.TabIndex = 8;
     this.editBox1.Text = "";
     //
     // label8
     //
     this.label8.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label8.Location = new System.Drawing.Point(16, 88);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(100, 16);
     this.label8.TabIndex = 6;
     this.label8.Text = "Lado del cubo";
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label3.Location = new System.Drawing.Point(16, 64);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(112, 23);
     this.label3.TabIndex = 4;
     this.label3.Text = "Tipo de Particula";
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(16, 40);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(136, 16);
     this.label2.TabIndex = 1;
     this.label2.Text = "Cantidad de Particulas";
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(16, 17);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(128, 15);
     this.label1.TabIndex = 0;
     this.label1.Text = "Fraccion Volumetrica";
     //
     // progressBar1
     //
     this.progressBar1.Location = new System.Drawing.Point(8, 336);
     this.progressBar1.Name = "progressBar1";
     this.progressBar1.Size = new System.Drawing.Size(352, 16);
     this.progressBar1.TabIndex = 7;
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(196)), ((System.Byte)(218)), ((System.Byte)(250)));
     this.tabPage2.Controls.Add(this.numericEditBox2);
     this.tabPage2.Controls.Add(this.numericEditBox1);
     this.tabPage2.Controls.Add(this.groupBox8);
     this.tabPage2.Controls.Add(this.button5);
     this.tabPage2.Controls.Add(this.groupBox7);
     this.tabPage2.Controls.Add(this.groupBox6);
     this.tabPage2.Controls.Add(this.groupBox5);
     this.tabPage2.Controls.Add(this.label5);
     this.tabPage2.Controls.Add(this.label4);
     this.tabPage2.ImageIndex = 0;
     this.tabPage2.Location = new System.Drawing.Point(4, 25);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Size = new System.Drawing.Size(360, 355);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Parametros";
     //
     // numericEditBox2
     //
     this.numericEditBox2.Location = new System.Drawing.Point(168, 40);
     this.numericEditBox2.Name = "numericEditBox2";
     this.numericEditBox2.Size = new System.Drawing.Size(136, 20);
     this.numericEditBox2.TabIndex = 20;
     this.numericEditBox2.Text = "";
     //
     // numericEditBox1
     //
     this.numericEditBox1.Location = new System.Drawing.Point(168, 8);
     this.numericEditBox1.Name = "numericEditBox1";
     this.numericEditBox1.Size = new System.Drawing.Size(136, 20);
     this.numericEditBox1.TabIndex = 19;
     this.numericEditBox1.Text = "";
     //
     // groupBox8
     //
     this.groupBox8.Controls.Add(this.radioButton6);
     this.groupBox8.Controls.Add(this.radioButton5);
     this.groupBox8.Location = new System.Drawing.Point(8, 261);
     this.groupBox8.Name = "groupBox8";
     this.groupBox8.Size = new System.Drawing.Size(344, 51);
     this.groupBox8.TabIndex = 18;
     this.groupBox8.TabStop = false;
     this.groupBox8.Text = "Variante del Algoritmo a Usar para Generar";
     //
     // radioButton6
     //
     this.radioButton6.Checked = true;
     this.radioButton6.Location = new System.Drawing.Point(200, 24);
     this.radioButton6.Name = "radioButton6";
     this.radioButton6.TabIndex = 1;
     this.radioButton6.TabStop = true;
     this.radioButton6.Text = "RSA Avanzado";
     //
     // radioButton5
     //
     this.radioButton5.Location = new System.Drawing.Point(16, 24);
     this.radioButton5.Name = "radioButton5";
     this.radioButton5.TabIndex = 0;
     this.radioButton5.Text = "RSA Clasico";
     //
     // button5
     //
     this.button5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(80)), ((System.Byte)(80)), ((System.Byte)(80)));
     this.button5.ForeColor = System.Drawing.Color.White;
     this.button5.Location = new System.Drawing.Point(48, 320);
     this.button5.Name = "button5";
     this.button5.Size = new System.Drawing.Size(256, 24);
     this.button5.TabIndex = 17;
     this.button5.Text = "Aplicar Cambios";
     this.button5.Click += new System.EventHandler(this.button5_Click);
     //
     // groupBox7
     //
     this.groupBox7.Controls.Add(this.button6);
     this.groupBox7.Enabled = false;
     this.groupBox7.Location = new System.Drawing.Point(184, 165);
     this.groupBox7.Name = "groupBox7";
     this.groupBox7.Size = new System.Drawing.Size(168, 72);
     this.groupBox7.TabIndex = 16;
     this.groupBox7.TabStop = false;
     this.groupBox7.Text = "Otros Parametros fijo";
     //
     // button6
     //
     this.button6.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(80)), ((System.Byte)(80)), ((System.Byte)(80)));
     this.button6.ForeColor = System.Drawing.Color.White;
     this.button6.Location = new System.Drawing.Point(8, 24);
     this.button6.Name = "button6";
     this.button6.Size = new System.Drawing.Size(152, 40);
     this.button6.TabIndex = 1;
     this.button6.Text = "Cambiar valor a los parametros ";
     this.button6.Click += new System.EventHandler(this.button6_Click);
     //
     // groupBox6
     //
     this.groupBox6.Controls.Add(this.numericEditBox3);
     this.groupBox6.Controls.Add(this.label6);
     this.groupBox6.Location = new System.Drawing.Point(8, 165);
     this.groupBox6.Name = "groupBox6";
     this.groupBox6.Size = new System.Drawing.Size(168, 72);
     this.groupBox6.TabIndex = 15;
     this.groupBox6.TabStop = false;
     this.groupBox6.Text = "Numero de Particulas Fijo";
     //
     // numericEditBox3
     //
     this.numericEditBox3.Location = new System.Drawing.Point(8, 48);
     this.numericEditBox3.Name = "numericEditBox3";
     this.numericEditBox3.Size = new System.Drawing.Size(112, 20);
     this.numericEditBox3.TabIndex = 1;
     this.numericEditBox3.Text = "";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(8, 24);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(120, 16);
     this.label6.TabIndex = 0;
     this.label6.Text = "Numero de particulas";
     //
     // groupBox5
     //
     this.groupBox5.Controls.Add(this.radioButton4);
     this.groupBox5.Controls.Add(this.radioButton3);
     this.groupBox5.Location = new System.Drawing.Point(8, 77);
     this.groupBox5.Name = "groupBox5";
     this.groupBox5.Size = new System.Drawing.Size(344, 80);
     this.groupBox5.TabIndex = 14;
     this.groupBox5.TabStop = false;
     this.groupBox5.Text = "Parametros Variables";
     //
     // radioButton4
     //
     this.radioButton4.Location = new System.Drawing.Point(8, 48);
     this.radioButton4.Name = "radioButton4";
     this.radioButton4.Size = new System.Drawing.Size(320, 24);
     this.radioButton4.TabIndex = 8;
     this.radioButton4.Text = "Tener fijo  parametros y variar el numero de particulas";
     //
     // radioButton3
     //
     this.radioButton3.Checked = true;
     this.radioButton3.Location = new System.Drawing.Point(8, 24);
     this.radioButton3.Name = "radioButton3";
     this.radioButton3.Size = new System.Drawing.Size(320, 24);
     this.radioButton3.TabIndex = 7;
     this.radioButton3.TabStop = true;
     this.radioButton3.Text = "Tener Fijo el numero de particulas y variar parametros";
     this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(8, 37);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(144, 23);
     this.label5.TabIndex = 12;
     this.label5.Text = "Fraccion Volumetrica";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 13);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(152, 23);
     this.label4.TabIndex = 11;
     this.label4.Text = "Longitud del Lado del Cubo";
     //
     // tabPage3
     //
     this.tabPage3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(196)), ((System.Byte)(218)), ((System.Byte)(250)));
     this.tabPage3.Controls.Add(this.groupBox4);
     this.tabPage3.Controls.Add(this.groupBox3);
     this.tabPage3.ImageIndex = 1;
     this.tabPage3.Location = new System.Drawing.Point(4, 23);
     this.tabPage3.Name = "tabPage3";
     this.tabPage3.Size = new System.Drawing.Size(360, 357);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text = "Graficos";
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.button4);
     this.groupBox4.Location = new System.Drawing.Point(28, 277);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(304, 64);
     this.groupBox4.TabIndex = 3;
     this.groupBox4.TabStop = false;
     this.groupBox4.Text = "Opciones Visuales del Cubo";
     //
     // button4
     //
     this.button4.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(80)), ((System.Byte)(80)), ((System.Byte)(80)));
     this.button4.ForeColor = System.Drawing.Color.White;
     this.button4.Location = new System.Drawing.Point(16, 24);
     this.button4.Name = "button4";
     this.button4.Size = new System.Drawing.Size(264, 24);
     this.button4.TabIndex = 0;
     this.button4.Text = "Abrir Dialogo de Personalizar Color de Cubo";
     this.button4.Click += new System.EventHandler(this.button4_Click);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.checkBox2);
     this.groupBox3.Controls.Add(this.button3);
     this.groupBox3.Controls.Add(this.radioButton2);
     this.groupBox3.Controls.Add(this.radioButton1);
     this.groupBox3.Location = new System.Drawing.Point(28, 29);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(304, 224);
     this.groupBox3.TabIndex = 2;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "Opciones Visuales de Particulas";
     //
     // checkBox2
     //
     this.checkBox2.Checked = true;
     this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox2.Location = new System.Drawing.Point(8, 144);
     this.checkBox2.Name = "checkBox2";
     this.checkBox2.Size = new System.Drawing.Size(272, 16);
     this.checkBox2.TabIndex = 3;
     this.checkBox2.Text = "Numerar las Particulas";
     this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // button3
     //
     this.button3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(80)), ((System.Byte)(80)), ((System.Byte)(80)));
     this.button3.ForeColor = System.Drawing.Color.White;
     this.button3.Location = new System.Drawing.Point(16, 192);
     this.button3.Name = "button3";
     this.button3.Size = new System.Drawing.Size(264, 24);
     this.button3.TabIndex = 2;
     this.button3.Text = "Abrir Dialogo de Pesonalizar Color de Particula";
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // radioButton2
     //
     this.radioButton2.Checked = true;
     this.radioButton2.Location = new System.Drawing.Point(8, 72);
     this.radioButton2.Name = "radioButton2";
     this.radioButton2.Size = new System.Drawing.Size(272, 24);
     this.radioButton2.TabIndex = 1;
     this.radioButton2.TabStop = true;
     this.radioButton2.Text = "Personalizar Color de Particula";
     this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
     //
     // radioButton1
     //
     this.radioButton1.Location = new System.Drawing.Point(8, 32);
     this.radioButton1.Name = "radioButton1";
     this.radioButton1.Size = new System.Drawing.Size(272, 24);
     this.radioButton1.TabIndex = 0;
     this.radioButton1.Text = "Poner un Color Aleatorio a cada particula";
     this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
     //
     // tabPage4
     //
     this.tabPage4.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(196)), ((System.Byte)(218)), ((System.Byte)(250)));
     this.tabPage4.Controls.Add(this.button8);
     this.tabPage4.Controls.Add(this.groupBox9);
     this.tabPage4.Controls.Add(this.button7);
     this.tabPage4.Controls.Add(this.textBox1);
     this.tabPage4.Controls.Add(this.label7);
     this.tabPage4.ImageIndex = 5;
     this.tabPage4.Location = new System.Drawing.Point(4, 23);
     this.tabPage4.Name = "tabPage4";
     this.tabPage4.Size = new System.Drawing.Size(360, 357);
     this.tabPage4.TabIndex = 3;
     this.tabPage4.Text = "ANSYS";
     //
     // button8
     //
     this.button8.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(80)), ((System.Byte)(80)), ((System.Byte)(80)));
     this.button8.ForeColor = System.Drawing.Color.White;
     this.button8.Location = new System.Drawing.Point(104, 312);
     this.button8.Name = "button8";
     this.button8.Size = new System.Drawing.Size(128, 32);
     this.button8.TabIndex = 4;
     this.button8.Text = "Aceptar";
     this.button8.Click += new System.EventHandler(this.button8_Click);
     //
     // groupBox9
     //
     this.groupBox9.Controls.Add(this.checkBox3);
     this.groupBox9.Controls.Add(this.label9);
     this.groupBox9.Controls.Add(this.textBox2);
     this.groupBox9.Controls.Add(this.radioButton8);
     this.groupBox9.Controls.Add(this.radioButton7);
     this.groupBox9.Location = new System.Drawing.Point(16, 112);
     this.groupBox9.Name = "groupBox9";
     this.groupBox9.Size = new System.Drawing.Size(304, 192);
     this.groupBox9.TabIndex = 3;
     this.groupBox9.TabStop = false;
     this.groupBox9.Text = "Opciones del Archivo a Guardar";
     //
     // checkBox3
     //
     this.checkBox3.Checked = true;
     this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox3.Location = new System.Drawing.Point(16, 88);
     this.checkBox3.Name = "checkBox3";
     this.checkBox3.Size = new System.Drawing.Size(264, 32);
     this.checkBox3.TabIndex = 4;
     this.checkBox3.Text = "Agregar al nombre datos de los Parametros de la Generacion";
     this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(16, 136);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(136, 16);
     this.label9.TabIndex = 3;
     this.label9.Text = "Nombre del archivo";
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(16, 160);
     this.textBox2.Name = "textBox2";
     this.textBox2.Size = new System.Drawing.Size(272, 20);
     this.textBox2.TabIndex = 2;
     this.textBox2.Text = "batch.txt";
     //
     // radioButton8
     //
     this.radioButton8.Location = new System.Drawing.Point(16, 48);
     this.radioButton8.Name = "radioButton8";
     this.radioButton8.Size = new System.Drawing.Size(256, 16);
     this.radioButton8.TabIndex = 1;
     this.radioButton8.Text = "Generar nuevos Archivos en cada corrida";
     //
     // radioButton7
     //
     this.radioButton7.Checked = true;
     this.radioButton7.Location = new System.Drawing.Point(16, 24);
     this.radioButton7.Name = "radioButton7";
     this.radioButton7.Size = new System.Drawing.Size(256, 16);
     this.radioButton7.TabIndex = 0;
     this.radioButton7.TabStop = true;
     this.radioButton7.Text = "Sobre-escribir el Archivo Generado";
     //
     // button7
     //
     this.button7.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(80)), ((System.Byte)(80)), ((System.Byte)(80)));
     this.button7.ForeColor = System.Drawing.Color.White;
     this.button7.Location = new System.Drawing.Point(320, 56);
     this.button7.Name = "button7";
     this.button7.Size = new System.Drawing.Size(32, 24);
     this.button7.TabIndex = 2;
     this.button7.Text = ". . .";
     this.button7.Click += new System.EventHandler(this.button7_Click);
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(16, 56);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(304, 20);
     this.textBox1.TabIndex = 1;
     this.textBox1.Text = "";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(16, 16);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(280, 24);
     this.label7.TabIndex = 0;
     this.label7.Text = "Ruta de los archivos Batch de Ansys Generados";
     //
     // simpleOpenGlControl1
     //
     this.simpleOpenGlControl1.AccumBits = ((System.Byte)(0));
     this.simpleOpenGlControl1.AutoCheckErrors = false;
     this.simpleOpenGlControl1.AutoFinish = false;
     this.simpleOpenGlControl1.AutoMakeCurrent = true;
     this.simpleOpenGlControl1.AutoSwapBuffers = true;
     this.simpleOpenGlControl1.BackColor = System.Drawing.Color.Black;
     this.simpleOpenGlControl1.ColorBits = ((System.Byte)(32));
     this.simpleOpenGlControl1.DepthBits = ((System.Byte)(16));
     this.simpleOpenGlControl1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.simpleOpenGlControl1.Location = new System.Drawing.Point(384, 112);
     this.simpleOpenGlControl1.Name = "simpleOpenGlControl1";
     this.simpleOpenGlControl1.Size = new System.Drawing.Size(396, 340);
     this.simpleOpenGlControl1.StencilBits = ((System.Byte)(0));
     this.simpleOpenGlControl1.TabIndex = 5;
     this.simpleOpenGlControl1.Resize += new System.EventHandler(this.simpleOpenGlControl1_Resize);
     this.simpleOpenGlControl1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.simpleOpenGlControl1_MouseUp);
     this.simpleOpenGlControl1.Paint += new System.Windows.Forms.PaintEventHandler(this.simpleOpenGlControl1_Paint);
     this.simpleOpenGlControl1.MouseEnter += new System.EventHandler(this.simpleOpenGlControl1_MouseEnter);
     this.simpleOpenGlControl1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.simpleOpenGlControl1_MouseMove);
     this.simpleOpenGlControl1.MouseLeave += new System.EventHandler(this.simpleOpenGlControl1_MouseLeave);
     this.simpleOpenGlControl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.simpleOpenGlControl1_MouseDown);
     //
     // uiStatusBar1
     //
     this.uiStatusBar1.Location = new System.Drawing.Point(0, 514);
     this.uiStatusBar1.Name = "uiStatusBar1";
     this.uiStatusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
                                                                                     this.statusBarPanel1,
                                                                                     this.statusBarPanel2});
     this.uiStatusBar1.ShowPanels = true;
     this.uiStatusBar1.Size = new System.Drawing.Size(792, 22);
     this.uiStatusBar1.TabIndex = 6;
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.statusBarPanel1.Text = "Listo";
     this.statusBarPanel1.Width = 388;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.statusBarPanel2.Width = 388;
     //
     // checkBox1
     //
     this.checkBox1.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBox1.Location = new System.Drawing.Point(552, 456);
     this.checkBox1.Name = "checkBox1";
     this.checkBox1.Size = new System.Drawing.Size(224, 24);
     this.checkBox1.TabIndex = 8;
     this.checkBox1.Text = "Ver Tipo \"Spheres in Box\"";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // WinForms
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 13);
     this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(198)), ((System.Byte)(216)), ((System.Byte)(250)));
     this.ClientSize = new System.Drawing.Size(792, 536);
     this.Controls.Add(this.checkBox1);
     this.Controls.Add(this.uiStatusBar1);
     this.Controls.Add(this.simpleOpenGlControl1);
     this.Controls.Add(this.uiTab1);
     this.Controls.Add(this.pictureBox2);
     this.Controls.Add(this.pictureBox1);
     this.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Menu = this.mainMenu1;
     this.Name = "WinForms";
     this.Text = "RSA Generator";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.WinForms_Closing);
     this.uiTab1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.groupBox8.ResumeLayout(false);
     this.groupBox7.ResumeLayout(false);
     this.groupBox6.ResumeLayout(false);
     this.groupBox5.ResumeLayout(false);
     this.tabPage3.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.tabPage4.ResumeLayout(false);
     this.groupBox9.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     this.ResumeLayout(false);
 }