Exemple #1
0
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FormII));
     this.timerTick = new Timer(this.components);
     this.splitContainer1 = new SplitContainer();
     this.splitContainer2 = new SplitContainer();
     this.listView1 = new ListView();
     this.columnHeaderRxxx = new ColumnHeader();
     this.label2 = new Label();
     this.checkBoxPerspective = new CheckBox();
     this.checkBoxKeepCur = new CheckBox();
     this.checkBoxAsPNG = new CheckBox();
     this.radioButton60fps = new RadioButton();
     this.radioButton30fps = new RadioButton();
     this.radioButton10fps = new RadioButton();
     this.checkBoxLooks = new CheckBox();
     this.buttonBC = new Button();
     this.button1 = new Button();
     this.checkBoxKeys = new CheckBox();
     this.label4 = new Label();
     this.label5 = new Label();
     this.checkBoxAutoFill = new CheckBox();
     this.checkBoxAutoRec = new CheckBox();
     this.numericUpDownFrame = new NumericUpDown();
     this.numericUpDownStep = new NumericUpDown();
     this.numericUpDownAutoNext = new NumericUpDown();
     this.checkBoxAutoNext = new CheckBox();
     this.checkBoxAnim = new CheckBox();
     this.numericUpDownTick = new NumericUpDown();
     this.label3 = new Label();
     this.flowLayoutPanel1 = new FlowLayoutPanel();
     this.label6 = new Label();
     this.numnear = new NumericUpDown();
     this.label7 = new Label();
     this.numfar = new NumericUpDown();
     this.label11 = new Label();
     this.numfov = new NumericUpDown();
     this.label8 = new Label();
     this.numx = new NumericUpDown();
     this.label9 = new Label();
     this.numy = new NumericUpDown();
     this.label10 = new Label();
     this.numz = new NumericUpDown();
     this.labelHelpKeys = new Label();
     this.panel1 = new UC();
     this.label1 = new Label();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     ((ISupportInitialize)this.numericUpDownFrame).BeginInit();
     ((ISupportInitialize)this.numericUpDownStep).BeginInit();
     ((ISupportInitialize)this.numericUpDownAutoNext).BeginInit();
     ((ISupportInitialize)this.numericUpDownTick).BeginInit();
     this.flowLayoutPanel1.SuspendLayout();
     ((ISupportInitialize)this.numnear).BeginInit();
     ((ISupportInitialize)this.numfar).BeginInit();
     ((ISupportInitialize)this.numfov).BeginInit();
     ((ISupportInitialize)this.numx).BeginInit();
     ((ISupportInitialize)this.numy).BeginInit();
     ((ISupportInitialize)this.numz).BeginInit();
     base.SuspendLayout();
     this.timerTick.Interval = 16;
     this.timerTick.Tick += new EventHandler(this.timerTick_Tick);
     this.splitContainer1.Dock = DockStyle.Fill;
     this.splitContainer1.FixedPanel = FixedPanel.Panel1;
     this.splitContainer1.Location = new Point(0, 0);
     this.splitContainer1.Name = "splitContainer1";
     this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
     this.splitContainer1.Panel1.Padding = new Padding(3);
     this.splitContainer1.Panel2.Controls.Add(this.flowLayoutPanel1);
     this.splitContainer1.Panel2.Controls.Add(this.labelHelpKeys);
     this.splitContainer1.Panel2.Controls.Add(this.panel1);
     this.splitContainer1.Panel2.Controls.Add(this.label1);
     this.splitContainer1.Panel2.Padding = new Padding(3);
     this.splitContainer1.Size = new Size(715, 540);
     this.splitContainer1.SplitterDistance = 242;
     this.splitContainer1.TabIndex = 1;
     this.splitContainer2.Dock = DockStyle.Fill;
     this.splitContainer2.FixedPanel = FixedPanel.Panel2;
     this.splitContainer2.Location = new Point(3, 3);
     this.splitContainer2.Name = "splitContainer2";
     this.splitContainer2.Orientation = Orientation.Horizontal;
     this.splitContainer2.Panel1.Controls.Add(this.listView1);
     this.splitContainer2.Panel1.Controls.Add(this.label2);
     this.splitContainer2.Panel2.Controls.Add(this.checkBoxPerspective);
     this.splitContainer2.Panel2.Controls.Add(this.checkBoxKeepCur);
     this.splitContainer2.Panel2.Controls.Add(this.checkBoxAsPNG);
     this.splitContainer2.Panel2.Controls.Add(this.radioButton60fps);
     this.splitContainer2.Panel2.Controls.Add(this.radioButton30fps);
     this.splitContainer2.Panel2.Controls.Add(this.radioButton10fps);
     this.splitContainer2.Panel2.Controls.Add(this.checkBoxLooks);
     this.splitContainer2.Panel2.Controls.Add(this.buttonBC);
     this.splitContainer2.Panel2.Controls.Add(this.button1);
     this.splitContainer2.Panel2.Controls.Add(this.checkBoxKeys);
     this.splitContainer2.Panel2.Controls.Add(this.label4);
     this.splitContainer2.Panel2.Controls.Add(this.label5);
     this.splitContainer2.Panel2.Controls.Add(this.checkBoxAutoFill);
     this.splitContainer2.Panel2.Controls.Add(this.checkBoxAutoRec);
     this.splitContainer2.Panel2.Controls.Add(this.numericUpDownFrame);
     this.splitContainer2.Panel2.Controls.Add(this.numericUpDownStep);
     this.splitContainer2.Panel2.Controls.Add(this.numericUpDownAutoNext);
     this.splitContainer2.Panel2.Controls.Add(this.checkBoxAutoNext);
     this.splitContainer2.Panel2.Controls.Add(this.checkBoxAnim);
     this.splitContainer2.Panel2.Controls.Add(this.numericUpDownTick);
     this.splitContainer2.Panel2.Controls.Add(this.label3);
     this.splitContainer2.Size = new Size(236, 534);
     this.splitContainer2.SplitterDistance = 170;
     this.splitContainer2.TabIndex = 0;
     this.listView1.Columns.AddRange(new ColumnHeader[]
     {
         this.columnHeaderRxxx
     });
     this.listView1.Dock = DockStyle.Fill;
     this.listView1.Font = new System.Drawing.Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.listView1.FullRowSelect = true;
     this.listView1.GridLines = true;
     this.listView1.HideSelection = false;
     this.listView1.Location = new Point(0, 14);
     this.listView1.MultiSelect = false;
     this.listView1.Name = "listView1";
     this.listView1.Size = new Size(236, 156);
     this.listView1.TabIndex = 2;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = View.Details;
     this.listView1.SelectedIndexChanged += new EventHandler(this.listView1_SelectedIndexChanged);
     this.columnHeaderRxxx.Text = "Motion";
     this.columnHeaderRxxx.Width = 188;
     this.label2.AutoSize = true;
     this.label2.BorderStyle = BorderStyle.Fixed3D;
     this.label2.Dock = DockStyle.Top;
     this.label2.Location = new Point(0, 0);
     this.label2.Name = "label2";
     this.label2.Size = new Size(33, 14);
     this.label2.TabIndex = 1;
     this.label2.Text = "Anim";
     this.checkBoxPerspective.AutoSize = true;
     this.checkBoxPerspective.FlatStyle = FlatStyle.Flat;
     this.checkBoxPerspective.Location = new Point(5, 294);
     this.checkBoxPerspective.Name = "checkBoxPerspective";
     this.checkBoxPerspective.Size = new Size(210, 16);
     this.checkBoxPerspective.TabIndex = 19;
     this.checkBoxPerspective.Text = "Perspective &view (3D Ripper likes it)";
     this.checkBoxPerspective.UseVisualStyleBackColor = true;
     this.checkBoxPerspective.CheckedChanged += new EventHandler(this.checkBoxPerspective_CheckedChanged);
     this.checkBoxKeepCur.AutoSize = true;
     this.checkBoxKeepCur.FlatStyle = FlatStyle.Flat;
     this.checkBoxKeepCur.Location = new Point(5, 123);
     this.checkBoxKeepCur.Name = "checkBoxKeepCur";
     this.checkBoxKeepCur.Size = new Size(123, 16);
     this.checkBoxKeepCur.TabIndex = 9;
     this.checkBoxKeepCur.Text = "&Loop current motion";
     this.checkBoxKeepCur.UseVisualStyleBackColor = true;
     this.checkBoxAsPNG.AutoSize = true;
     this.checkBoxAsPNG.FlatStyle = FlatStyle.Flat;
     this.checkBoxAsPNG.Location = new Point(5, 218);
     this.checkBoxAsPNG.Name = "checkBoxAsPNG";
     this.checkBoxAsPNG.Size = new Size(100, 16);
     this.checkBoxAsPNG.TabIndex = 14;
     this.checkBoxAsPNG.Text = "Use &png format";
     this.checkBoxAsPNG.UseVisualStyleBackColor = true;
     this.radioButton60fps.Appearance = Appearance.Button;
     this.radioButton60fps.AutoSize = true;
     this.radioButton60fps.Checked = true;
     this.radioButton60fps.FlatStyle = FlatStyle.Flat;
     this.radioButton60fps.Location = new Point(172, 264);
     this.radioButton60fps.Name = "radioButton60fps";
     this.radioButton60fps.Size = new Size(45, 24);
     this.radioButton60fps.TabIndex = 18;
     this.radioButton60fps.TabStop = true;
     this.radioButton60fps.Text = "&60fps";
     this.radioButton60fps.UseVisualStyleBackColor = true;
     this.radioButton60fps.CheckedChanged += new EventHandler(this.radioButtonAny_CheckedChanged);
     this.radioButton30fps.Appearance = Appearance.Button;
     this.radioButton30fps.AutoSize = true;
     this.radioButton30fps.FlatStyle = FlatStyle.Flat;
     this.radioButton30fps.Location = new Point(121, 264);
     this.radioButton30fps.Name = "radioButton30fps";
     this.radioButton30fps.Size = new Size(45, 24);
     this.radioButton30fps.TabIndex = 17;
     this.radioButton30fps.Text = "&30fps";
     this.radioButton30fps.UseVisualStyleBackColor = true;
     this.radioButton30fps.CheckedChanged += new EventHandler(this.radioButtonAny_CheckedChanged);
     this.radioButton10fps.Appearance = Appearance.Button;
     this.radioButton10fps.AutoSize = true;
     this.radioButton10fps.FlatStyle = FlatStyle.Flat;
     this.radioButton10fps.Location = new Point(70, 264);
     this.radioButton10fps.Name = "radioButton10fps";
     this.radioButton10fps.Size = new Size(45, 24);
     this.radioButton10fps.TabIndex = 16;
     this.radioButton10fps.Text = "&10fps";
     this.radioButton10fps.UseVisualStyleBackColor = true;
     this.radioButton10fps.CheckedChanged += new EventHandler(this.radioButtonAny_CheckedChanged);
     this.checkBoxLooks.AutoSize = true;
     this.checkBoxLooks.FlatStyle = FlatStyle.Flat;
     this.checkBoxLooks.Location = new Point(5, 240);
     this.checkBoxLooks.Name = "checkBoxLooks";
     this.checkBoxLooks.Size = new Size(152, 16);
     this.checkBoxLooks.TabIndex = 15;
     this.checkBoxLooks.Text = "&Enable face looks change";
     this.checkBoxLooks.UseVisualStyleBackColor = true;
     this.checkBoxLooks.CheckedChanged += new EventHandler(this.checkBoxLooks_CheckedChanged);
     this.buttonBC.FlatStyle = FlatStyle.Flat;
     this.buttonBC.Location = new Point(5, 316);
     this.buttonBC.Name = "buttonBC";
     this.buttonBC.Size = new Size(212, 34);
     this.buttonBC.TabIndex = 20;
     this.buttonBC.Text = "&Bind Controller";
     this.buttonBC.UseVisualStyleBackColor = true;
     this.buttonBC.Click += new EventHandler(this.buttonBC_Click);
     this.button1.FlatStyle = FlatStyle.Flat;
     this.button1.Location = new Point(151, 3);
     this.button1.Name = "button1";
     this.button1.Size = new Size(70, 23);
     this.button1.TabIndex = 1;
     this.button1.Text = "&DEB";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Visible = false;
     this.button1.Click += new EventHandler(this.button1_Click);
     this.checkBoxKeys.AutoSize = true;
     this.checkBoxKeys.FlatStyle = FlatStyle.Flat;
     this.checkBoxKeys.Location = new Point(5, 147);
     this.checkBoxKeys.Name = "checkBoxKeys";
     this.checkBoxKeys.Size = new Size(126, 16);
     this.checkBoxKeys.TabIndex = 10;
     this.checkBoxKeys.Text = "Show short cut &keys";
     this.checkBoxKeys.UseVisualStyleBackColor = true;
     this.checkBoxKeys.CheckedChanged += new EventHandler(this.checkBoxKeys_CheckedChanged);
     this.label4.AutoSize = true;
     this.label4.Location = new Point(49, 195);
     this.label4.Name = "label4";
     this.label4.Size = new Size(75, 12);
     this.label4.TabIndex = 12;
     this.label4.Text = "Next &file no ...";
     this.label5.AutoSize = true;
     this.label5.Location = new Point(3, 29);
     this.label5.Name = "label5";
     this.label5.Size = new Size(46, 12);
     this.label5.TabIndex = 2;
     this.label5.Text = "&Cur tick";
     this.checkBoxAutoFill.AutoSize = true;
     this.checkBoxAutoFill.FlatStyle = FlatStyle.Flat;
     this.checkBoxAutoFill.Location = new Point(5, 101);
     this.checkBoxAutoFill.Name = "checkBoxAutoFill";
     this.checkBoxAutoFill.Size = new Size(110, 16);
     this.checkBoxAutoFill.TabIndex = 8;
     this.checkBoxAutoFill.Text = "Auto fill max &tick";
     this.checkBoxAutoFill.UseVisualStyleBackColor = true;
     this.checkBoxAutoFill.CheckedChanged += new EventHandler(this.checkBoxAutoFill_CheckedChanged);
     this.checkBoxAutoRec.AutoSize = true;
     this.checkBoxAutoRec.FlatStyle = FlatStyle.Flat;
     this.checkBoxAutoRec.Location = new Point(5, 169);
     this.checkBoxAutoRec.Name = "checkBoxAutoRec";
     this.checkBoxAutoRec.Size = new Size(178, 16);
     this.checkBoxAutoRec.TabIndex = 11;
     this.checkBoxAutoRec.Text = "Capture &screen shot per frame";
     this.checkBoxAutoRec.UseVisualStyleBackColor = true;
     this.numericUpDownFrame.Font = new System.Drawing.Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.numericUpDownFrame.Location = new Point(147, 191);
     NumericUpDown arg_1069_0 = this.numericUpDownFrame;
     int[] array = new int[4];
     array[0] = 99999;
     arg_1069_0.Maximum = new decimal(array);
     this.numericUpDownFrame.Name = "numericUpDownFrame";
     this.numericUpDownFrame.Size = new Size(70, 21);
     this.numericUpDownFrame.TabIndex = 13;
     this.numericUpDownFrame.TextAlign = HorizontalAlignment.Right;
     NumericUpDown arg_10C2_0 = this.numericUpDownFrame;
     int[] array2 = new int[4];
     array2[0] = 1;
     arg_10C2_0.Value = new decimal(array2);
     this.numericUpDownStep.DecimalPlaces = 2;
     this.numericUpDownStep.Font = new System.Drawing.Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.numericUpDownStep.Location = new Point(151, 49);
     NumericUpDown arg_1125_0 = this.numericUpDownStep;
     int[] array3 = new int[4];
     array3[0] = 1000;
     arg_1125_0.Maximum = new decimal(array3);
     this.numericUpDownStep.Name = "numericUpDownStep";
     this.numericUpDownStep.Size = new Size(70, 21);
     this.numericUpDownStep.TabIndex = 5;
     this.numericUpDownStep.TextAlign = HorizontalAlignment.Right;
     NumericUpDown arg_1180_0 = this.numericUpDownStep;
     int[] array4 = new int[4];
     array4[0] = 1;
     arg_1180_0.Value = new decimal(array4);
     this.numericUpDownAutoNext.DecimalPlaces = 2;
     this.numericUpDownAutoNext.Font = new System.Drawing.Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.numericUpDownAutoNext.Location = new Point(151, 76);
     NumericUpDown arg_11E3_0 = this.numericUpDownAutoNext;
     int[] array5 = new int[4];
     array5[0] = 9999;
     arg_11E3_0.Maximum = new decimal(array5);
     this.numericUpDownAutoNext.Name = "numericUpDownAutoNext";
     this.numericUpDownAutoNext.Size = new Size(70, 21);
     this.numericUpDownAutoNext.TabIndex = 7;
     this.numericUpDownAutoNext.TextAlign = HorizontalAlignment.Right;
     NumericUpDown arg_123F_0 = this.numericUpDownAutoNext;
     int[] array6 = new int[4];
     array6[0] = 100;
     arg_123F_0.Value = new decimal(array6);
     this.checkBoxAutoNext.AutoSize = true;
     this.checkBoxAutoNext.FlatStyle = FlatStyle.Flat;
     this.checkBoxAutoNext.Location = new Point(5, 79);
     this.checkBoxAutoNext.Name = "checkBoxAutoNext";
     this.checkBoxAutoNext.Size = new Size(132, 16);
     this.checkBoxAutoNext.TabIndex = 6;
     this.checkBoxAutoNext.Text = "&Next motion on tick ...";
     this.checkBoxAutoNext.UseVisualStyleBackColor = true;
     this.checkBoxAnim.AutoSize = true;
     this.checkBoxAnim.FlatStyle = FlatStyle.Flat;
     this.checkBoxAnim.Location = new Point(55, 52);
     this.checkBoxAnim.Name = "checkBoxAnim";
     this.checkBoxAnim.Size = new Size(87, 16);
     this.checkBoxAnim.TabIndex = 4;
     this.checkBoxAnim.Text = "&Auto step by";
     this.checkBoxAnim.UseVisualStyleBackColor = true;
     this.checkBoxAnim.CheckedChanged += new EventHandler(this.checkBoxAnim_CheckedChanged);
     this.numericUpDownTick.DecimalPlaces = 2;
     this.numericUpDownTick.Font = new System.Drawing.Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.numericUpDownTick.Location = new Point(55, 25);
     NumericUpDown arg_13A8_0 = this.numericUpDownTick;
     int[] array7 = new int[4];
     array7[0] = 10000;
     arg_13A8_0.Maximum = new decimal(array7);
     this.numericUpDownTick.Name = "numericUpDownTick";
     this.numericUpDownTick.Size = new Size(76, 21);
     this.numericUpDownTick.TabIndex = 3;
     this.numericUpDownTick.TextAlign = HorizontalAlignment.Right;
     this.numericUpDownTick.ValueChanged += new EventHandler(this.numericUpDownTick_ValueChanged);
     this.label3.AutoSize = true;
     this.label3.BorderStyle = BorderStyle.Fixed3D;
     this.label3.Location = new Point(0, 0);
     this.label3.Name = "label3";
     this.label3.Size = new Size(44, 14);
     this.label3.TabIndex = 0;
     this.label3.Text = "Control";
     this.label3.DoubleClick += new EventHandler(this.label3_DoubleClick);
     this.flowLayoutPanel1.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right);
     this.flowLayoutPanel1.BorderStyle = BorderStyle.FixedSingle;
     this.flowLayoutPanel1.Controls.Add(this.label6);
     this.flowLayoutPanel1.Controls.Add(this.numnear);
     this.flowLayoutPanel1.Controls.Add(this.label7);
     this.flowLayoutPanel1.Controls.Add(this.numfar);
     this.flowLayoutPanel1.Controls.Add(this.label11);
     this.flowLayoutPanel1.Controls.Add(this.numfov);
     this.flowLayoutPanel1.Controls.Add(this.label8);
     this.flowLayoutPanel1.Controls.Add(this.numx);
     this.flowLayoutPanel1.Controls.Add(this.label9);
     this.flowLayoutPanel1.Controls.Add(this.numy);
     this.flowLayoutPanel1.Controls.Add(this.label10);
     this.flowLayoutPanel1.Controls.Add(this.numz);
     this.flowLayoutPanel1.Location = new Point(259, 345);
     this.flowLayoutPanel1.Name = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size = new Size(198, 175);
     this.flowLayoutPanel1.TabIndex = 4;
     this.flowLayoutPanel1.Visible = false;
     this.label6.Anchor = AnchorStyles.Left;
     this.label6.AutoSize = true;
     this.label6.Location = new Point(3, 6);
     this.label6.Name = "label6";
     this.label6.Size = new Size(27, 12);
     this.label6.TabIndex = 0;
     this.label6.Text = "near";
     this.flowLayoutPanel1.SetFlowBreak(this.numnear, true);
     this.numnear.Location = new Point(36, 3);
     NumericUpDown arg_16AB_0 = this.numnear;
     int[] array8 = new int[4];
     array8[0] = 10000;
     arg_16AB_0.Maximum = new decimal(array8);
     this.numnear.Minimum = new decimal(new int[]
     {
         10000,
         0,
         0,
         -2147483648
     });
     this.numnear.Name = "numnear";
     this.numnear.Size = new Size(60, 19);
     this.numnear.TabIndex = 1;
     this.numnear.TextAlign = HorizontalAlignment.Right;
     NumericUpDown arg_1733_0 = this.numnear;
     int[] array9 = new int[4];
     array9[0] = 20;
     arg_1733_0.Value = new decimal(array9);
     this.numnear.ValueChanged += new EventHandler(this.numnear_ValueChanged);
     this.label7.Anchor = AnchorStyles.Left;
     this.label7.AutoSize = true;
     this.label7.Location = new Point(3, 31);
     this.label7.Name = "label7";
     this.label7.Size = new Size(19, 12);
     this.label7.TabIndex = 2;
     this.label7.Text = "far";
     this.flowLayoutPanel1.SetFlowBreak(this.numfar, true);
     this.numfar.Location = new Point(28, 28);
     NumericUpDown arg_17FE_0 = this.numfar;
     int[] array10 = new int[4];
     array10[0] = 10000;
     arg_17FE_0.Maximum = new decimal(array10);
     this.numfar.Minimum = new decimal(new int[]
     {
         10000,
         0,
         0,
         -2147483648
     });
     this.numfar.Name = "numfar";
     this.numfar.Size = new Size(60, 19);
     this.numfar.TabIndex = 3;
     this.numfar.TextAlign = HorizontalAlignment.Right;
     NumericUpDown arg_1889_0 = this.numfar;
     int[] array11 = new int[4];
     array11[0] = 500;
     arg_1889_0.Value = new decimal(array11);
     this.numfar.ValueChanged += new EventHandler(this.numnear_ValueChanged);
     this.label11.Anchor = AnchorStyles.Left;
     this.label11.AutoSize = true;
     this.label11.Location = new Point(3, 56);
     this.label11.Name = "label11";
     this.label11.Size = new Size(21, 12);
     this.label11.TabIndex = 10;
     this.label11.Text = "fov";
     this.flowLayoutPanel1.SetFlowBreak(this.numfov, true);
     this.numfov.Location = new Point(30, 53);
     NumericUpDown arg_1955_0 = this.numfov;
     int[] array12 = new int[4];
     array12[0] = 360;
     arg_1955_0.Maximum = new decimal(array12);
     NumericUpDown arg_1974_0 = this.numfov;
     int[] array13 = new int[4];
     array13[0] = 1;
     arg_1974_0.Minimum = new decimal(array13);
     this.numfov.Name = "numfov";
     this.numfov.Size = new Size(60, 19);
     this.numfov.TabIndex = 11;
     this.numfov.TextAlign = HorizontalAlignment.Right;
     NumericUpDown arg_19D1_0 = this.numfov;
     int[] array14 = new int[4];
     array14[0] = 60;
     arg_19D1_0.Value = new decimal(array14);
     this.numfov.ValueChanged += new EventHandler(this.numnear_ValueChanged);
     this.label8.Anchor = AnchorStyles.Left;
     this.label8.AutoSize = true;
     this.label8.Location = new Point(3, 81);
     this.label8.Name = "label8";
     this.label8.Size = new Size(11, 12);
     this.label8.TabIndex = 4;
     this.label8.Text = "x";
     this.flowLayoutPanel1.SetFlowBreak(this.numx, true);
     this.numx.Location = new Point(20, 78);
     NumericUpDown arg_1A9C_0 = this.numx;
     int[] array15 = new int[4];
     array15[0] = 10000;
     arg_1A9C_0.Maximum = new decimal(array15);
     this.numx.Minimum = new decimal(new int[]
     {
         10000,
         0,
         0,
         -2147483648
     });
     this.numx.Name = "numx";
     this.numx.Size = new Size(60, 19);
     this.numx.TabIndex = 5;
     this.numx.TextAlign = HorizontalAlignment.Right;
     this.numx.ValueChanged += new EventHandler(this.numnear_ValueChanged);
     this.label9.Anchor = AnchorStyles.Left;
     this.label9.AutoSize = true;
     this.label9.Location = new Point(3, 106);
     this.label9.Name = "label9";
     this.label9.Size = new Size(11, 12);
     this.label9.TabIndex = 6;
     this.label9.Text = "y";
     this.flowLayoutPanel1.SetFlowBreak(this.numy, true);
     this.numy.Location = new Point(20, 103);
     NumericUpDown arg_1BCF_0 = this.numy;
     int[] array16 = new int[4];
     array16[0] = 10000;
     arg_1BCF_0.Maximum = new decimal(array16);
     this.numy.Minimum = new decimal(new int[]
     {
         10000,
         0,
         0,
         -2147483648
     });
     this.numy.Name = "numy";
     this.numy.Size = new Size(60, 19);
     this.numy.TabIndex = 7;
     this.numy.TextAlign = HorizontalAlignment.Right;
     this.numy.ValueChanged += new EventHandler(this.numnear_ValueChanged);
     this.label10.Anchor = AnchorStyles.Left;
     this.label10.AutoSize = true;
     this.label10.Location = new Point(3, 131);
     this.label10.Name = "label10";
     this.label10.Size = new Size(10, 12);
     this.label10.TabIndex = 8;
     this.label10.Text = "z";
     this.flowLayoutPanel1.SetFlowBreak(this.numz, true);
     this.numz.Location = new Point(19, 128);
     NumericUpDown arg_1D08_0 = this.numz;
     int[] array17 = new int[4];
     array17[0] = 10000;
     arg_1D08_0.Maximum = new decimal(array17);
     this.numz.Minimum = new decimal(new int[]
     {
         10000,
         0,
         0,
         -2147483648
     });
     this.numz.Name = "numz";
     this.numz.Size = new Size(60, 19);
     this.numz.TabIndex = 9;
     this.numz.TextAlign = HorizontalAlignment.Right;
     this.numz.Value = new decimal(new int[]
     {
         200,
         0,
         0,
         -2147483648
     });
     this.numz.ValueChanged += new EventHandler(this.numnear_ValueChanged);
     this.labelHelpKeys.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
     this.labelHelpKeys.AutoSize = true;
     this.labelHelpKeys.BorderStyle = BorderStyle.FixedSingle;
     this.labelHelpKeys.Font = new System.Drawing.Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.labelHelpKeys.Location = new Point(6, 383);
     this.labelHelpKeys.Name = "labelHelpKeys";
     this.labelHelpKeys.Size = new Size(247, 137);
     this.labelHelpKeys.TabIndex = 3;
     this.labelHelpKeys.Text = componentResourceManager.GetString("labelHelpKeys.Text");
     this.labelHelpKeys.Visible = false;
     this.panel1.BorderStyle = BorderStyle.FixedSingle;
     this.panel1.Dock = DockStyle.Fill;
     this.panel1.Location = new Point(3, 17);
     this.panel1.Name = "panel1";
     this.panel1.Size = new Size(463, 520);
     this.panel1.TabIndex = 2;
     this.panel1.UseTransparent = true;
     this.panel1.Load += new EventHandler(this.panel1_Load);
     this.panel1.Paint += new PaintEventHandler(this.panel1_Paint);
     this.panel1.MouseMove += new MouseEventHandler(this.panel1_MouseMove);
     this.panel1.MouseDown += new MouseEventHandler(this.panel1_MouseDown);
     this.panel1.Resize += new EventHandler(this.panel1_Resize);
     this.panel1.MouseUp += new MouseEventHandler(this.panel1_MouseUp);
     this.panel1.KeyDown += new KeyEventHandler(this.panel1_KeyDown);
     this.label1.AutoSize = true;
     this.label1.BorderStyle = BorderStyle.Fixed3D;
     this.label1.Dock = DockStyle.Top;
     this.label1.Location = new Point(3, 3);
     this.label1.Name = "label1";
     this.label1.Size = new Size(68, 14);
     this.label1.TabIndex = 1;
     this.label1.Text = "3D viewport";
     this.AllowDrop = true;
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(715, 540);
     base.Controls.Add(this.splitContainer1);
     base.Name = "FormII";
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = "khkh_xldM ][";
     base.Load += new EventHandler(this.Form1_Load);
     base.DragDrop += new DragEventHandler(this.FormII_DragDrop);
     base.DragEnter += new DragEventHandler(this.FormII_DragEnter);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.Panel2.PerformLayout();
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel1.PerformLayout();
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.Panel2.PerformLayout();
     this.splitContainer2.ResumeLayout(false);
     ((ISupportInitialize)this.numericUpDownFrame).EndInit();
     ((ISupportInitialize)this.numericUpDownStep).EndInit();
     ((ISupportInitialize)this.numericUpDownAutoNext).EndInit();
     ((ISupportInitialize)this.numericUpDownTick).EndInit();
     this.flowLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel1.PerformLayout();
     ((ISupportInitialize)this.numnear).EndInit();
     ((ISupportInitialize)this.numfar).EndInit();
     ((ISupportInitialize)this.numfov).EndInit();
     ((ISupportInitialize)this.numx).EndInit();
     ((ISupportInitialize)this.numy).EndInit();
     ((ISupportInitialize)this.numz).EndInit();
     base.ResumeLayout(false);
 }
Exemple #2
0
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Visf));
     this.label1 = new Label();
     this.toolStrip1 = new ToolStrip();
     this.tsbExpBlenderpy = new ToolStripButton();
     this.toolStripSeparator1 = new ToolStripSeparator();
     this.lCntVert = new ToolStripLabel();
     this.toolStripLabel1 = new ToolStripLabel();
     this.lCntTris = new ToolStripLabel();
     this.toolStripLabel2 = new ToolStripLabel();
     this.toolStripSeparator2 = new ToolStripSeparator();
     this.tslMdls = new ToolStripLabel();
     this.tsbShowColl = new ToolStripButton();
     this.tsbBallGame = new ToolStripButton();
     this.flppos = new FlowLayoutPanel();
     this.label2 = new Label();
     this.eyeX = new NumericUpDown();
     this.eyeY = new NumericUpDown();
     this.eyeZ = new NumericUpDown();
     this.label3 = new Label();
     this.fov = new NumericUpDown();
     this.label4 = new Label();
     this.yaw = new NumericUpDown();
     this.pitch = new NumericUpDown();
     this.roll = new NumericUpDown();
     this.cbFog = new CheckBox();
     this.cbVertexColor = new CheckBox();
     this.timerRun = new Timer(this.components);
     this.label5 = new Label();
     this.label6 = new Label();
     this.p1 = new UC();
     this.timerBall = new Timer(this.components);
     this.toolStrip1.SuspendLayout();
     this.flppos.SuspendLayout();
     ((ISupportInitialize)this.eyeX).BeginInit();
     ((ISupportInitialize)this.eyeY).BeginInit();
     ((ISupportInitialize)this.eyeZ).BeginInit();
     ((ISupportInitialize)this.fov).BeginInit();
     ((ISupportInitialize)this.yaw).BeginInit();
     ((ISupportInitialize)this.pitch).BeginInit();
     ((ISupportInitialize)this.roll).BeginInit();
     base.SuspendLayout();
     this.label1.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
     this.label1.AutoSize = true;
     this.label1.Location = new Point(12, 674);
     this.label1.Name = "label1";
     this.label1.Size = new Size(193, 48);
     this.label1.TabIndex = 1;
     this.label1.Text = "* Mouse wheel: Zoom\r\n* Left btn drag: Rotate\r\n* Right btn drag: Move forward/back\r\n* Middle btn: toss ball";
     this.toolStrip1.Items.AddRange(new ToolStripItem[]
     {
         this.tsbExpBlenderpy,
         this.toolStripSeparator1,
         this.lCntVert,
         this.toolStripLabel1,
         this.lCntTris,
         this.toolStripLabel2,
         this.toolStripSeparator2,
         this.tslMdls,
         this.tsbShowColl,
         this.tsbBallGame
     });
     this.toolStrip1.Location = new Point(0, 0);
     this.toolStrip1.Name = "toolStrip1";
     this.toolStrip1.Size = new Size(885, 25);
     this.toolStrip1.TabIndex = 2;
     this.toolStrip1.Text = "toolStrip1";
     this.tsbExpBlenderpy.Image = (Image)componentResourceManager.GetObject("tsbExpBlenderpy.Image");
     this.tsbExpBlenderpy.ImageTransparentColor = Color.Magenta;
     this.tsbExpBlenderpy.Name = "tsbExpBlenderpy";
     this.tsbExpBlenderpy.Size = new Size(169, 22);
     this.tsbExpBlenderpy.Text = "Export to blender script ";
     this.tsbExpBlenderpy.Click += new EventHandler(this.tsbExpBlenderpy_Click);
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new Size(6, 25);
     this.lCntVert.Name = "lCntVert";
     this.lCntVert.Size = new Size(15, 22);
     this.lCntVert.Text = "0";
     this.toolStripLabel1.Name = "toolStripLabel1";
     this.toolStripLabel1.Size = new Size(62, 22);
     this.toolStripLabel1.Text = "vertices, ";
     this.lCntTris.Name = "lCntTris";
     this.lCntTris.Size = new Size(15, 22);
     this.lCntTris.Text = "0";
     this.toolStripLabel2.Name = "toolStripLabel2";
     this.toolStripLabel2.Size = new Size(31, 22);
     this.toolStripLabel2.Text = "tris.";
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new Size(6, 25);
     this.tslMdls.Name = "tslMdls";
     this.tslMdls.Size = new Size(53, 22);
     this.tslMdls.Text = "Models:";
     this.tsbShowColl.CheckOnClick = true;
     this.tsbShowColl.Image = (Image)componentResourceManager.GetObject("tsbShowColl.Image");
     this.tsbShowColl.ImageTransparentColor = Color.Magenta;
     this.tsbShowColl.Name = "tsbShowColl";
     this.tsbShowColl.Size = new Size(75, 22);
     this.tsbShowColl.Text = "Collision";
     this.tsbShowColl.Click += new EventHandler(this.tsbShowColl_Click);
     this.tsbBallGame.CheckOnClick = true;
     this.tsbBallGame.Image = (Image)componentResourceManager.GetObject("tsbBallGame.Image");
     this.tsbBallGame.ImageTransparentColor = Color.Magenta;
     this.tsbBallGame.Name = "tsbBallGame";
     this.tsbBallGame.Size = new Size(86, 22);
     this.tsbBallGame.Text = "Ball game";
     this.tsbBallGame.Click += new EventHandler(this.tsbBallGame_Click);
     this.flppos.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
     this.flppos.Controls.Add(this.label2);
     this.flppos.Controls.Add(this.eyeX);
     this.flppos.Controls.Add(this.eyeY);
     this.flppos.Controls.Add(this.eyeZ);
     this.flppos.Controls.Add(this.label3);
     this.flppos.Controls.Add(this.fov);
     this.flppos.Controls.Add(this.label4);
     this.flppos.Controls.Add(this.yaw);
     this.flppos.Controls.Add(this.pitch);
     this.flppos.Controls.Add(this.roll);
     this.flppos.Controls.Add(this.cbFog);
     this.flppos.Controls.Add(this.cbVertexColor);
     this.flppos.Location = new Point(12, 641);
     this.flppos.Name = "flppos";
     this.flppos.Size = new Size(873, 30);
     this.flppos.TabIndex = 3;
     this.label2.AutoSize = true;
     this.label2.Location = new Point(3, 0);
     this.label2.Name = "label2";
     this.label2.Size = new Size(60, 12);
     this.label2.TabIndex = 0;
     this.label2.Text = "eye (x y z)";
     this.eyeX.Location = new Point(69, 3);
     NumericUpDown arg_7C6_0 = this.eyeX;
     int[] array = new int[4];
     array[0] = 64000;
     arg_7C6_0.Maximum = new decimal(array);
     this.eyeX.Minimum = new decimal(new int[]
     {
         64000,
         0,
         0,
         -2147483648
     });
     this.eyeX.Name = "eyeX";
     this.eyeX.Size = new Size(59, 19);
     this.eyeX.TabIndex = 1;
     this.eyeX.TextAlign = HorizontalAlignment.Right;
     this.eyeX.ValueChanged += new EventHandler(this.eyeX_ValueChanged);
     this.eyeY.Location = new Point(134, 3);
     NumericUpDown arg_87A_0 = this.eyeY;
     int[] array2 = new int[4];
     array2[0] = 64000;
     arg_87A_0.Maximum = new decimal(array2);
     this.eyeY.Minimum = new decimal(new int[]
     {
         64000,
         0,
         0,
         -2147483648
     });
     this.eyeY.Name = "eyeY";
     this.eyeY.Size = new Size(59, 19);
     this.eyeY.TabIndex = 2;
     this.eyeY.TextAlign = HorizontalAlignment.Right;
     NumericUpDown arg_905_0 = this.eyeY;
     int[] array3 = new int[4];
     array3[0] = 500;
     arg_905_0.Value = new decimal(array3);
     this.eyeY.ValueChanged += new EventHandler(this.eyeX_ValueChanged);
     this.eyeZ.Location = new Point(199, 3);
     NumericUpDown arg_955_0 = this.eyeZ;
     int[] array4 = new int[4];
     array4[0] = 64000;
     arg_955_0.Maximum = new decimal(array4);
     this.eyeZ.Minimum = new decimal(new int[]
     {
         64000,
         0,
         0,
         -2147483648
     });
     this.eyeZ.Name = "eyeZ";
     this.eyeZ.Size = new Size(59, 19);
     this.eyeZ.TabIndex = 3;
     this.eyeZ.TextAlign = HorizontalAlignment.Right;
     this.eyeZ.ValueChanged += new EventHandler(this.eyeX_ValueChanged);
     this.label3.AutoSize = true;
     this.label3.Location = new Point(264, 0);
     this.label3.Name = "label3";
     this.label3.Size = new Size(21, 12);
     this.label3.TabIndex = 4;
     this.label3.Text = "fov";
     this.fov.Location = new Point(291, 3);
     NumericUpDown arg_A6F_0 = this.fov;
     int[] array5 = new int[4];
     array5[0] = 180;
     arg_A6F_0.Maximum = new decimal(array5);
     this.fov.Name = "fov";
     this.fov.Size = new Size(59, 19);
     this.fov.TabIndex = 5;
     this.fov.TextAlign = HorizontalAlignment.Right;
     NumericUpDown arg_ACB_0 = this.fov;
     int[] array6 = new int[4];
     array6[0] = 70;
     arg_ACB_0.Value = new decimal(array6);
     this.fov.ValueChanged += new EventHandler(this.eyeX_ValueChanged);
     this.label4.AutoSize = true;
     this.label4.Location = new Point(356, 0);
     this.label4.Name = "label4";
     this.label4.Size = new Size(125, 12);
     this.label4.TabIndex = 6;
     this.label4.Text = "rotation (yaw pitch roll)";
     this.yaw.Location = new Point(487, 3);
     NumericUpDown arg_B7D_0 = this.yaw;
     int[] array7 = new int[4];
     array7[0] = 36000;
     arg_B7D_0.Maximum = new decimal(array7);
     this.yaw.Minimum = new decimal(new int[]
     {
         36000,
         0,
         0,
         -2147483648
     });
     this.yaw.Name = "yaw";
     this.yaw.Size = new Size(59, 19);
     this.yaw.TabIndex = 7;
     this.yaw.TextAlign = HorizontalAlignment.Right;
     this.yaw.ValueChanged += new EventHandler(this.eyeX_ValueChanged);
     this.pitch.Location = new Point(552, 3);
     NumericUpDown arg_C35_0 = this.pitch;
     int[] array8 = new int[4];
     array8[0] = 36000;
     arg_C35_0.Maximum = new decimal(array8);
     this.pitch.Minimum = new decimal(new int[]
     {
         36000,
         0,
         0,
         -2147483648
     });
     this.pitch.Name = "pitch";
     this.pitch.Size = new Size(59, 19);
     this.pitch.TabIndex = 8;
     this.pitch.TextAlign = HorizontalAlignment.Right;
     this.pitch.ValueChanged += new EventHandler(this.eyeX_ValueChanged);
     this.roll.Location = new Point(617, 3);
     NumericUpDown arg_CED_0 = this.roll;
     int[] array9 = new int[4];
     array9[0] = 36000;
     arg_CED_0.Maximum = new decimal(array9);
     this.roll.Minimum = new decimal(new int[]
     {
         36000,
         0,
         0,
         -2147483648
     });
     this.roll.Name = "roll";
     this.roll.Size = new Size(59, 19);
     this.roll.TabIndex = 9;
     this.roll.TextAlign = HorizontalAlignment.Right;
     this.roll.ValueChanged += new EventHandler(this.eyeX_ValueChanged);
     this.cbFog.AutoSize = true;
     this.cbFog.Checked = true;
     this.cbFog.CheckState = CheckState.Checked;
     this.cbFog.Location = new Point(682, 3);
     this.cbFog.Name = "cbFog";
     this.cbFog.Size = new Size(64, 16);
     this.cbFog.TabIndex = 10;
     this.cbFog.Text = "Use &fog";
     this.cbFog.UseVisualStyleBackColor = true;
     this.cbFog.CheckedChanged += new EventHandler(this.cbFog_CheckedChanged);
     this.cbVertexColor.AutoSize = true;
     this.cbVertexColor.Checked = true;
     this.cbVertexColor.CheckState = CheckState.Checked;
     this.cbVertexColor.Location = new Point(752, 3);
     this.cbVertexColor.Name = "cbVertexColor";
     this.cbVertexColor.Size = new Size(97, 16);
     this.cbVertexColor.TabIndex = 11;
     this.cbVertexColor.Text = "Use vertex &clr";
     this.cbVertexColor.UseVisualStyleBackColor = true;
     this.cbVertexColor.CheckedChanged += new EventHandler(this.cbFog_CheckedChanged);
     this.timerRun.Interval = 25;
     this.timerRun.Tick += new EventHandler(this.timerRun_Tick);
     this.label5.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
     this.label5.AutoSize = true;
     this.label5.Location = new Point(229, 675);
     this.label5.Name = "label5";
     this.label5.Size = new Size(99, 48);
     this.label5.TabIndex = 1;
     this.label5.Text = "* W: move forward\r\n* S: move back\r\n* A: move left\r\n* D: move right";
     this.label6.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
     this.label6.AutoSize = true;
     this.label6.Location = new Point(353, 675);
     this.label6.Name = "label6";
     this.label6.Size = new Size(106, 36);
     this.label6.TabIndex = 1;
     this.label6.Text = "* Shift: Move fast\r\n* Up: move up\r\n* Down: move down";
     this.p1.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this.p1.BackColor = SystemColors.ControlDarkDark;
     this.p1.BorderStyle = BorderStyle.FixedSingle;
     this.p1.Location = new Point(12, 28);
     this.p1.Name = "p1";
     this.p1.Size = new Size(861, 607);
     this.p1.TabIndex = 0;
     this.p1.UseTransparent = true;
     this.p1.Load += new EventHandler(this.p1_Load);
     this.p1.Paint += new PaintEventHandler(this.p1_Paint);
     this.p1.PreviewKeyDown += new PreviewKeyDownEventHandler(this.p1_PreviewKeyDown);
     this.p1.MouseMove += new MouseEventHandler(this.p1_MouseMove);
     this.p1.KeyUp += new KeyEventHandler(this.p1_KeyUp);
     this.p1.MouseDown += new MouseEventHandler(this.p1_MouseDown);
     this.p1.MouseUp += new MouseEventHandler(this.p1_MouseUp);
     this.p1.SizeChanged += new EventHandler(this.p1_SizeChanged);
     this.p1.KeyDown += new KeyEventHandler(this.p1_KeyDown);
     this.timerBall.Interval = 50;
     this.timerBall.Tick += new EventHandler(this.timerBall_Tick);
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(885, 732);
     base.Controls.Add(this.flppos);
     base.Controls.Add(this.toolStrip1);
     base.Controls.Add(this.label6);
     base.Controls.Add(this.label5);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.p1);
     base.Name = "Visf";
     this.Text = "map viewer test";
     base.Load += new EventHandler(this.Visf_Load);
     base.FormClosing += new FormClosingEventHandler(this.Visf_FormClosing);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.flppos.ResumeLayout(false);
     this.flppos.PerformLayout();
     ((ISupportInitialize)this.eyeX).EndInit();
     ((ISupportInitialize)this.eyeY).EndInit();
     ((ISupportInitialize)this.eyeZ).EndInit();
     ((ISupportInitialize)this.fov).EndInit();
     ((ISupportInitialize)this.yaw).EndInit();
     ((ISupportInitialize)this.pitch).EndInit();
     ((ISupportInitialize)this.roll).EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }