—мусор и вынос функций

This commit is contained in:
AnfimovS 2018-03-20 17:09:39 +04:00 committed by GitHub
parent 65fe8cbf46
commit fd04e8ad56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 163 additions and 369 deletions

View file

@ -78,7 +78,6 @@
this.ButtonAddChar = new System.Windows.Forms.Button();
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.textBox1 = new System.Windows.Forms.TextBox();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBoxBackground)).BeginInit();
this.panel2.SuspendLayout();
@ -94,7 +93,7 @@
this.LabelData.Size = new System.Drawing.Size(224, 23);
this.LabelData.TabIndex = 0;
this.LabelData.Text = "Данные о мултфильме:";
this.LabelData.Click += new System.EventHandler(this.label1_Click);
//this.LabelData.Click += new System.EventHandler(this.label1_Click);
//
// LabelLengh
//
@ -113,7 +112,7 @@
this.LabelName.Size = new System.Drawing.Size(60, 13);
this.LabelName.TabIndex = 2;
this.LabelName.Text = "Название:";
this.LabelName.Click += new System.EventHandler(this.label3_Click);
//this.LabelName.Click += new System.EventHandler(this.label3_Click);
//
// nazvanieTextBox
//
@ -121,6 +120,7 @@
this.nazvanieTextBox.Name = "nazvanieTextBox";
this.nazvanieTextBox.Size = new System.Drawing.Size(138, 20);
this.nazvanieTextBox.TabIndex = 3;
//this.nazvanieTextBox.TextChanged += new System.EventHandler(this.nazvanieTextBox_TextChanged);
//
// panel1
//
@ -153,7 +153,7 @@
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(282, 527);
this.panel1.Size = new System.Drawing.Size(282, 380);
this.panel1.TabIndex = 4;
//
// label13
@ -200,7 +200,7 @@
this.label9.Size = new System.Drawing.Size(13, 13);
this.label9.TabIndex = 21;
this.label9.Text = "1";
this.label9.Click += new System.EventHandler(this.label7_Click);
//this.label9.Click += new System.EventHandler(this.label7_Click);
//
// label8
//
@ -210,7 +210,7 @@
this.label8.Size = new System.Drawing.Size(13, 13);
this.label8.TabIndex = 21;
this.label8.Text = "2";
this.label8.Click += new System.EventHandler(this.label7_Click);
//this.label8.Click += new System.EventHandler(this.label7_Click);
//
// label7
//
@ -220,7 +220,7 @@
this.label7.Size = new System.Drawing.Size(13, 13);
this.label7.TabIndex = 21;
this.label7.Text = "3";
this.label7.Click += new System.EventHandler(this.label7_Click);
//this.label7.Click += new System.EventHandler(this.label7_Click);
//
// label6
//
@ -248,7 +248,7 @@
this.label5.Size = new System.Drawing.Size(49, 13);
this.label5.TabIndex = 18;
this.label5.Text = "Котенок";
this.label5.Click += new System.EventHandler(this.label1_Click_1);
//this.label5.Click += new System.EventHandler(this.label1_Click_1);
//
// label3
//
@ -267,7 +267,7 @@
this.label2.Size = new System.Drawing.Size(49, 13);
this.label2.TabIndex = 18;
this.label2.Text = "Котенок";
this.label2.Click += new System.EventHandler(this.label1_Click_1);
//this.label2.Click += new System.EventHandler(this.label1_Click_1);
//
// button4
//
@ -289,13 +289,12 @@
//
// button2
//
this.button2.Location = new System.Drawing.Point(188, 320);
this.button2.Location = new System.Drawing.Point(188, 319);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(26, 17);
this.button2.Size = new System.Drawing.Size(26, 18);
this.button2.TabIndex = 19;
this.button2.Text = "X";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// label1
//
@ -305,7 +304,7 @@
this.label1.Size = new System.Drawing.Size(49, 13);
this.label1.TabIndex = 18;
this.label1.Text = "Котенок";
this.label1.Click += new System.EventHandler(this.label1_Click_1);
//this.label1.Click += new System.EventHandler(this.label1_Click_1);
//
// button6
//
@ -365,7 +364,7 @@
//
this.splitter1.Location = new System.Drawing.Point(282, 0);
this.splitter1.Name = "splitter1";
this.splitter1.Size = new System.Drawing.Size(3, 527);
this.splitter1.Size = new System.Drawing.Size(3, 380);
this.splitter1.TabIndex = 5;
this.splitter1.TabStop = false;
//
@ -378,13 +377,13 @@
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(285, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(392, 527);
this.panel2.Size = new System.Drawing.Size(392, 380);
this.panel2.TabIndex = 6;
//
// SaveCharButton
//
this.SaveCharButton.Dock = System.Windows.Forms.DockStyle.Bottom;
this.SaveCharButton.Location = new System.Drawing.Point(0, 467);
this.SaveCharButton.Location = new System.Drawing.Point(0, 320);
this.SaveCharButton.Name = "SaveCharButton";
this.SaveCharButton.Size = new System.Drawing.Size(392, 30);
this.SaveCharButton.TabIndex = 3;
@ -394,7 +393,6 @@
//
// panel3
//
this.panel3.Controls.Add(this.textBox1);
this.panel3.Controls.Add(this.SpriteNumberLabel);
this.panel3.Controls.Add(this.SpriteNumberTextBox);
this.panel3.Controls.Add(this.OpenButton);
@ -413,7 +411,7 @@
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 26);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(392, 471);
this.panel3.Size = new System.Drawing.Size(392, 324);
this.panel3.TabIndex = 2;
this.panel3.Visible = false;
//
@ -425,7 +423,7 @@
this.SpriteNumberLabel.Size = new System.Drawing.Size(119, 13);
this.SpriteNumberLabel.TabIndex = 16;
this.SpriteNumberLabel.Text = "Количество спрайтов:";
this.SpriteNumberLabel.Click += new System.EventHandler(this.label13_Click_1);
//this.SpriteNumberLabel.Click += new System.EventHandler(this.label13_Click_1);
//
// SpriteNumberTextBox
//
@ -452,7 +450,7 @@
this.AddPictureButton.TabIndex = 13;
this.AddPictureButton.Text = "Добавить";
this.AddPictureButton.UseVisualStyleBackColor = true;
this.AddPictureButton.Click += new System.EventHandler(this.button4_Click);
//this.AddPictureButton.Click += new System.EventHandler(this.button4_Click);
//
// LabelPic
//
@ -480,7 +478,7 @@
this.LabelDef2.Size = new System.Drawing.Size(13, 13);
this.LabelDef2.TabIndex = 10;
this.LabelDef2.Text = "--";
this.LabelDef2.Click += new System.EventHandler(this.label10_Click);
//this.LabelDef2.Click += new System.EventHandler(this.label10_Click);
//
// LabelDef1
//
@ -490,7 +488,7 @@
this.LabelDef1.Size = new System.Drawing.Size(13, 13);
this.LabelDef1.TabIndex = 9;
this.LabelDef1.Text = "--";
this.LabelDef1.Click += new System.EventHandler(this.label9_Click);
//this.LabelDef1.Click += new System.EventHandler(this.label9_Click);
//
// LabelWalls
//
@ -500,7 +498,7 @@
this.LabelWalls.Size = new System.Drawing.Size(107, 13);
this.LabelWalls.TabIndex = 8;
this.LabelWalls.Text = "Границы движения:";
this.LabelWalls.Click += new System.EventHandler(this.label8_Click);
//this.LabelWalls.Click += new System.EventHandler(this.label8_Click);
//
// TextBoxTime1
//
@ -515,7 +513,7 @@
this.TextBoxTime2.Name = "TextBoxTime2";
this.TextBoxTime2.Size = new System.Drawing.Size(100, 20);
this.TextBoxTime2.TabIndex = 4;
this.TextBoxTime2.TextChanged += new System.EventHandler(this.textBox6_TextChanged);
//this.TextBoxTime2.TextChanged += new System.EventHandler(this.textBox6_TextChanged);
//
// TextBoxWall2
//
@ -523,7 +521,7 @@
this.TextBoxWall2.Name = "TextBoxWall2";
this.TextBoxWall2.Size = new System.Drawing.Size(100, 20);
this.TextBoxWall2.TabIndex = 3;
this.TextBoxWall2.TextChanged += new System.EventHandler(this.TextBoxWall2_TextChanged);
//this.TextBoxWall2.TextChanged += new System.EventHandler(this.TextBoxWall2_TextChanged);
//
// TextBoxWall1
//
@ -531,7 +529,6 @@
this.TextBoxWall1.Name = "TextBoxWall1";
this.TextBoxWall1.Size = new System.Drawing.Size(100, 20);
this.TextBoxWall1.TabIndex = 2;
this.TextBoxWall1.TextChanged += new System.EventHandler(this.TextBoxWall1_TextChanged);
//
// ComboBoxMove
//
@ -559,7 +556,7 @@
// SaveMultButton
//
this.SaveMultButton.Dock = System.Windows.Forms.DockStyle.Bottom;
this.SaveMultButton.Location = new System.Drawing.Point(0, 497);
this.SaveMultButton.Location = new System.Drawing.Point(0, 350);
this.SaveMultButton.Name = "SaveMultButton";
this.SaveMultButton.Size = new System.Drawing.Size(392, 30);
this.SaveMultButton.TabIndex = 1;
@ -581,26 +578,18 @@
//
this.openFileDialog1.FileName = "openFileDialog1";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(132, 114);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(235, 20);
this.textBox1.TabIndex = 17;
this.textBox1.Text = "Здесь должна быть кнопка амплитуды X Y !!!";
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(677, 527);
this.ClientSize = new System.Drawing.Size(677, 380);
this.Controls.Add(this.panel2);
this.Controls.Add(this.splitter1);
this.Controls.Add(this.panel1);
this.Name = "MainForm";
this.RightToLeftLayout = true;
this.Text = "Свойства персонажа";
this.Load += new System.EventHandler(this.Form1_Load);
//this.Load += new System.EventHandler(this.Form1_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBoxBackground)).EndInit();
@ -663,7 +652,6 @@
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.TextBox textBox1;
}
}