Add files via upload

This commit is contained in:
Voltronormu 2018-04-03 17:03:08 +04:00 committed by GitHub
parent 911d11a37c
commit 1c1b53bf76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 20 additions and 77 deletions

View file

@ -62,7 +62,6 @@
this.SpriteNumberLabel = new System.Windows.Forms.Label(); this.SpriteNumberLabel = new System.Windows.Forms.Label();
this.SpriteNumberTextBox = new System.Windows.Forms.TextBox(); this.SpriteNumberTextBox = new System.Windows.Forms.TextBox();
this.OpenButton = new System.Windows.Forms.Button(); this.OpenButton = new System.Windows.Forms.Button();
this.AddPictureButton = new System.Windows.Forms.Button();
this.LabelPic = new System.Windows.Forms.Label(); this.LabelPic = new System.Windows.Forms.Label();
this.LabelTime = new System.Windows.Forms.Label(); this.LabelTime = new System.Windows.Forms.Label();
this.LabelDef2 = new System.Windows.Forms.Label(); this.LabelDef2 = new System.Windows.Forms.Label();
@ -93,7 +92,6 @@
this.LabelData.Size = new System.Drawing.Size(224, 23); this.LabelData.Size = new System.Drawing.Size(224, 23);
this.LabelData.TabIndex = 0; this.LabelData.TabIndex = 0;
this.LabelData.Text = "Данные о мултфильме:"; this.LabelData.Text = "Данные о мултфильме:";
//this.LabelData.Click += new System.EventHandler(this.label1_Click);
// //
// LabelLengh // LabelLengh
// //
@ -112,7 +110,6 @@
this.LabelName.Size = new System.Drawing.Size(60, 13); this.LabelName.Size = new System.Drawing.Size(60, 13);
this.LabelName.TabIndex = 2; this.LabelName.TabIndex = 2;
this.LabelName.Text = "Название:"; this.LabelName.Text = "Название:";
//this.LabelName.Click += new System.EventHandler(this.label3_Click);
// //
// nazvanieTextBox // nazvanieTextBox
// //
@ -120,7 +117,6 @@
this.nazvanieTextBox.Name = "nazvanieTextBox"; this.nazvanieTextBox.Name = "nazvanieTextBox";
this.nazvanieTextBox.Size = new System.Drawing.Size(138, 20); this.nazvanieTextBox.Size = new System.Drawing.Size(138, 20);
this.nazvanieTextBox.TabIndex = 3; this.nazvanieTextBox.TabIndex = 3;
//this.nazvanieTextBox.TextChanged += new System.EventHandler(this.nazvanieTextBox_TextChanged);
// //
// panel1 // panel1
// //
@ -200,7 +196,6 @@
this.label9.Size = new System.Drawing.Size(13, 13); this.label9.Size = new System.Drawing.Size(13, 13);
this.label9.TabIndex = 21; this.label9.TabIndex = 21;
this.label9.Text = "1"; this.label9.Text = "1";
//this.label9.Click += new System.EventHandler(this.label7_Click);
// //
// label8 // label8
// //
@ -210,7 +205,6 @@
this.label8.Size = new System.Drawing.Size(13, 13); this.label8.Size = new System.Drawing.Size(13, 13);
this.label8.TabIndex = 21; this.label8.TabIndex = 21;
this.label8.Text = "2"; this.label8.Text = "2";
//this.label8.Click += new System.EventHandler(this.label7_Click);
// //
// label7 // label7
// //
@ -220,7 +214,6 @@
this.label7.Size = new System.Drawing.Size(13, 13); this.label7.Size = new System.Drawing.Size(13, 13);
this.label7.TabIndex = 21; this.label7.TabIndex = 21;
this.label7.Text = "3"; this.label7.Text = "3";
//this.label7.Click += new System.EventHandler(this.label7_Click);
// //
// label6 // label6
// //
@ -248,7 +241,6 @@
this.label5.Size = new System.Drawing.Size(49, 13); this.label5.Size = new System.Drawing.Size(49, 13);
this.label5.TabIndex = 18; this.label5.TabIndex = 18;
this.label5.Text = "Котенок"; this.label5.Text = "Котенок";
//this.label5.Click += new System.EventHandler(this.label1_Click_1);
// //
// label3 // label3
// //
@ -267,7 +259,6 @@
this.label2.Size = new System.Drawing.Size(49, 13); this.label2.Size = new System.Drawing.Size(49, 13);
this.label2.TabIndex = 18; this.label2.TabIndex = 18;
this.label2.Text = "Котенок"; this.label2.Text = "Котенок";
//this.label2.Click += new System.EventHandler(this.label1_Click_1);
// //
// button4 // button4
// //
@ -304,7 +295,6 @@
this.label1.Size = new System.Drawing.Size(49, 13); this.label1.Size = new System.Drawing.Size(49, 13);
this.label1.TabIndex = 18; this.label1.TabIndex = 18;
this.label1.Text = "Котенок"; this.label1.Text = "Котенок";
//this.label1.Click += new System.EventHandler(this.label1_Click_1);
// //
// button6 // button6
// //
@ -358,7 +348,7 @@
this.dobavitFonButton.TabIndex = 10; this.dobavitFonButton.TabIndex = 10;
this.dobavitFonButton.Text = "Добавить"; this.dobavitFonButton.Text = "Добавить";
this.dobavitFonButton.UseVisualStyleBackColor = true; this.dobavitFonButton.UseVisualStyleBackColor = true;
this.dobavitFonButton.Click += new System.EventHandler(this.button6_Click); this.dobavitFonButton.Click += new System.EventHandler(this.AddBackArtClick);
// //
// splitter1 // splitter1
// //
@ -383,7 +373,7 @@
// SaveCharButton // SaveCharButton
// //
this.SaveCharButton.Dock = System.Windows.Forms.DockStyle.Bottom; this.SaveCharButton.Dock = System.Windows.Forms.DockStyle.Bottom;
this.SaveCharButton.Location = new System.Drawing.Point(0, 320); this.SaveCharButton.Location = new System.Drawing.Point(0, 315);
this.SaveCharButton.Name = "SaveCharButton"; this.SaveCharButton.Name = "SaveCharButton";
this.SaveCharButton.Size = new System.Drawing.Size(392, 30); this.SaveCharButton.Size = new System.Drawing.Size(392, 30);
this.SaveCharButton.TabIndex = 3; this.SaveCharButton.TabIndex = 3;
@ -396,7 +386,6 @@
this.panel3.Controls.Add(this.SpriteNumberLabel); this.panel3.Controls.Add(this.SpriteNumberLabel);
this.panel3.Controls.Add(this.SpriteNumberTextBox); this.panel3.Controls.Add(this.SpriteNumberTextBox);
this.panel3.Controls.Add(this.OpenButton); this.panel3.Controls.Add(this.OpenButton);
this.panel3.Controls.Add(this.AddPictureButton);
this.panel3.Controls.Add(this.LabelPic); this.panel3.Controls.Add(this.LabelPic);
this.panel3.Controls.Add(this.LabelTime); this.panel3.Controls.Add(this.LabelTime);
this.panel3.Controls.Add(this.LabelDef2); this.panel3.Controls.Add(this.LabelDef2);
@ -411,7 +400,7 @@
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 26); this.panel3.Location = new System.Drawing.Point(0, 26);
this.panel3.Name = "panel3"; this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(392, 324); this.panel3.Size = new System.Drawing.Size(392, 319);
this.panel3.TabIndex = 2; this.panel3.TabIndex = 2;
this.panel3.Visible = false; this.panel3.Visible = false;
// //
@ -423,7 +412,6 @@
this.SpriteNumberLabel.Size = new System.Drawing.Size(119, 13); this.SpriteNumberLabel.Size = new System.Drawing.Size(119, 13);
this.SpriteNumberLabel.TabIndex = 16; this.SpriteNumberLabel.TabIndex = 16;
this.SpriteNumberLabel.Text = "Количество спрайтов:"; this.SpriteNumberLabel.Text = "Количество спрайтов:";
//this.SpriteNumberLabel.Click += new System.EventHandler(this.label13_Click_1);
// //
// SpriteNumberTextBox // SpriteNumberTextBox
// //
@ -434,23 +422,13 @@
// //
// OpenButton // OpenButton
// //
this.OpenButton.Location = new System.Drawing.Point(225, 153); this.OpenButton.Location = new System.Drawing.Point(188, 153);
this.OpenButton.Name = "OpenButton"; this.OpenButton.Name = "OpenButton";
this.OpenButton.Size = new System.Drawing.Size(171, 30); this.OpenButton.Size = new System.Drawing.Size(192, 30);
this.OpenButton.TabIndex = 14; this.OpenButton.TabIndex = 14;
this.OpenButton.Text = "Открыть персонажа"; this.OpenButton.Text = "Открыть персонажа";
this.OpenButton.UseVisualStyleBackColor = true; this.OpenButton.UseVisualStyleBackColor = true;
this.OpenButton.Click += new System.EventHandler(this.button5_Click); this.OpenButton.Click += new System.EventHandler(this.OpenAddCharClick);
//
// AddPictureButton
//
this.AddPictureButton.Location = new System.Drawing.Point(132, 169);
this.AddPictureButton.Name = "AddPictureButton";
this.AddPictureButton.Size = new System.Drawing.Size(65, 20);
this.AddPictureButton.TabIndex = 13;
this.AddPictureButton.Text = "Добавить";
this.AddPictureButton.UseVisualStyleBackColor = true;
//this.AddPictureButton.Click += new System.EventHandler(this.button4_Click);
// //
// LabelPic // LabelPic
// //
@ -478,7 +456,6 @@
this.LabelDef2.Size = new System.Drawing.Size(13, 13); this.LabelDef2.Size = new System.Drawing.Size(13, 13);
this.LabelDef2.TabIndex = 10; this.LabelDef2.TabIndex = 10;
this.LabelDef2.Text = "--"; this.LabelDef2.Text = "--";
//this.LabelDef2.Click += new System.EventHandler(this.label10_Click);
// //
// LabelDef1 // LabelDef1
// //
@ -488,7 +465,6 @@
this.LabelDef1.Size = new System.Drawing.Size(13, 13); this.LabelDef1.Size = new System.Drawing.Size(13, 13);
this.LabelDef1.TabIndex = 9; this.LabelDef1.TabIndex = 9;
this.LabelDef1.Text = "--"; this.LabelDef1.Text = "--";
//this.LabelDef1.Click += new System.EventHandler(this.label9_Click);
// //
// LabelWalls // LabelWalls
// //
@ -498,7 +474,6 @@
this.LabelWalls.Size = new System.Drawing.Size(107, 13); this.LabelWalls.Size = new System.Drawing.Size(107, 13);
this.LabelWalls.TabIndex = 8; this.LabelWalls.TabIndex = 8;
this.LabelWalls.Text = "Границы движения:"; this.LabelWalls.Text = "Границы движения:";
//this.LabelWalls.Click += new System.EventHandler(this.label8_Click);
// //
// TextBoxTime1 // TextBoxTime1
// //
@ -513,7 +488,6 @@
this.TextBoxTime2.Name = "TextBoxTime2"; this.TextBoxTime2.Name = "TextBoxTime2";
this.TextBoxTime2.Size = new System.Drawing.Size(100, 20); this.TextBoxTime2.Size = new System.Drawing.Size(100, 20);
this.TextBoxTime2.TabIndex = 4; this.TextBoxTime2.TabIndex = 4;
//this.TextBoxTime2.TextChanged += new System.EventHandler(this.textBox6_TextChanged);
// //
// TextBoxWall2 // TextBoxWall2
// //
@ -521,7 +495,6 @@
this.TextBoxWall2.Name = "TextBoxWall2"; this.TextBoxWall2.Name = "TextBoxWall2";
this.TextBoxWall2.Size = new System.Drawing.Size(100, 20); this.TextBoxWall2.Size = new System.Drawing.Size(100, 20);
this.TextBoxWall2.TabIndex = 3; this.TextBoxWall2.TabIndex = 3;
//this.TextBoxWall2.TextChanged += new System.EventHandler(this.TextBoxWall2_TextChanged);
// //
// TextBoxWall1 // TextBoxWall1
// //
@ -556,12 +529,13 @@
// SaveMultButton // SaveMultButton
// //
this.SaveMultButton.Dock = System.Windows.Forms.DockStyle.Bottom; this.SaveMultButton.Dock = System.Windows.Forms.DockStyle.Bottom;
this.SaveMultButton.Location = new System.Drawing.Point(0, 350); this.SaveMultButton.Location = new System.Drawing.Point(0, 345);
this.SaveMultButton.Name = "SaveMultButton"; this.SaveMultButton.Name = "SaveMultButton";
this.SaveMultButton.Size = new System.Drawing.Size(392, 30); this.SaveMultButton.Size = new System.Drawing.Size(392, 35);
this.SaveMultButton.TabIndex = 1; this.SaveMultButton.TabIndex = 1;
this.SaveMultButton.Text = "Сохранить мульт"; this.SaveMultButton.Text = "Сохранить мульт";
this.SaveMultButton.UseVisualStyleBackColor = true; this.SaveMultButton.UseVisualStyleBackColor = true;
this.SaveMultButton.Click += new System.EventHandler(this.SaveMultButton_Click);
// //
// ButtonAddChar // ButtonAddChar
// //
@ -572,7 +546,7 @@
this.ButtonAddChar.TabIndex = 0; this.ButtonAddChar.TabIndex = 0;
this.ButtonAddChar.Text = "Добавить персонажа"; this.ButtonAddChar.Text = "Добавить персонажа";
this.ButtonAddChar.UseVisualStyleBackColor = true; this.ButtonAddChar.UseVisualStyleBackColor = true;
this.ButtonAddChar.Click += new System.EventHandler(this.button1_Click); this.ButtonAddChar.Click += new System.EventHandler(this.buttonAddCharClick);
// //
// openFileDialog1 // openFileDialog1
// //
@ -589,7 +563,6 @@
this.Name = "MainForm"; this.Name = "MainForm";
this.RightToLeftLayout = true; this.RightToLeftLayout = true;
this.Text = "Свойства персонажа"; this.Text = "Свойства персонажа";
//this.Load += new System.EventHandler(this.Form1_Load);
this.panel1.ResumeLayout(false); this.panel1.ResumeLayout(false);
this.panel1.PerformLayout(); this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBoxBackground)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.PictureBoxBackground)).EndInit();
@ -623,7 +596,6 @@
private System.Windows.Forms.Label LabelTime; private System.Windows.Forms.Label LabelTime;
private System.Windows.Forms.Label LabelDef2; private System.Windows.Forms.Label LabelDef2;
private System.Windows.Forms.Button SaveCharButton; private System.Windows.Forms.Button SaveCharButton;
private System.Windows.Forms.Button AddPictureButton;
private System.Windows.Forms.Label LabelPic; private System.Windows.Forms.Label LabelPic;
private System.Windows.Forms.SaveFileDialog saveFileDialog1; private System.Windows.Forms.SaveFileDialog saveFileDialog1;
private System.Windows.Forms.Button OpenButton; private System.Windows.Forms.Button OpenButton;

View file

@ -35,7 +35,7 @@ namespace WindowsFormsApplication1
saveFileDialog1.Filter = "cpp files|*.cpp"; saveFileDialog1.Filter = "cpp files|*.cpp";
} }
private void button1_Click(object sender, EventArgs e) private void buttonAddCharClick(object sender, EventArgs e)
{ {
panel3.Visible = true; panel3.Visible = true;
} }
@ -64,15 +64,7 @@ namespace WindowsFormsApplication1
File.AppendAllText(filename, " txDeleteDC(" + PersonName(n1) + ".texture);" + Environment.NewLine); File.AppendAllText(filename, " txDeleteDC(" + PersonName(n1) + ".texture);" + Environment.NewLine);
} }
} }
private void button4_Click(object sender, EventArgs e)
{
}
private void pictureBox1_Click(object sender, EventArgs e)
{
}
private void open_main(string filename) private void open_main(string filename)
{ {
File.AppendAllText(filename, "int main()" + Environment.NewLine); File.AppendAllText(filename, "int main()" + Environment.NewLine);
@ -210,17 +202,16 @@ namespace WindowsFormsApplication1
File.AppendAllText(filename, "}"+ Environment.NewLine); File.AppendAllText(filename, "}"+ Environment.NewLine);
} }
private void button5_Click(object sender, EventArgs e) private void OpenAddCharClick(object sender, EventArgs e)
{ {
if (openFileDialog1.ShowDialog() == DialogResult.Cancel) if (openFileDialog1.ShowDialog() == DialogResult.Cancel)
return; return;
string filename = openFileDialog1.FileName; string filename = openFileDialog1.FileName;
string fileText =File.ReadAllText(filename); string fileText =File.ReadAllText(filename);
nazvanieTextBox.Text = fileText; nazvanieTextBox.Text = fileText;
MessageBox.Show("Ôàéë îòêðûò");
} }
private void button6_Click(object sender, EventArgs e) private void AddBackArtClick(object sender, EventArgs e)
{ {
if (openFileDialog1.ShowDialog() == DialogResult.Cancel) if (openFileDialog1.ShowDialog() == DialogResult.Cancel)
return; return;
@ -230,30 +221,6 @@ namespace WindowsFormsApplication1
PictureBoxBackground.Image = Image.FromFile(Path.Combine(Application.StartupPath, "kartinka.jpg")); PictureBoxBackground.Image = Image.FromFile(Path.Combine(Application.StartupPath, "kartinka.jpg"));
} }
private void button1_Click_1(object sender, EventArgs e)
{
Close();
}
private void TextBoxWall2_TextChanged(object sender, EventArgs e)
{
}
private void label2_Click(object sender, EventArgs e)
{
}
private void label1_Click_1(object sender, EventArgs e)
{
}
private void label7_Click(object sender, EventArgs e)
{
}
private void button2_Click(object sender, EventArgs e) private void button2_Click(object sender, EventArgs e)
{ {
@ -314,5 +281,10 @@ namespace WindowsFormsApplication1
{ {
} }
private void SaveMultButton_Click(object sender, EventArgs e)
{
//надо
}
} }
} }

View file

@ -1 +1 @@
453b3f349428fd9f863aef27fc8aab84212f685d 38bfce534dc3c0d959750689d6e2ad74c4628282

View file

@ -1,4 +1,3 @@
C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config
C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csprojResolveAssemblyReference.cache C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csprojResolveAssemblyReference.cache