Compare commits

...

1 commit

Author SHA1 Message Date
Nikita_Silantyev
2cd69f14ab
Я немогу 2018-03-20 16:03:32 +03:00
10 changed files with 25 additions and 17 deletions

View file

@ -187,7 +187,7 @@ namespace WindowsFormsApplication1
open_while(filename);
go_pryamo(filename);
close_while(filename);
delete_pics(filename);
// delete_pics(filename);
}
else if (ComboBoxMove.Text == "Волнами")
{
@ -215,7 +215,7 @@ namespace WindowsFormsApplication1
{
Directory.CreateDirectory(adres_papki);
}
File.Copy("kartinka.jpg", adres_papki + "\\Personaj.bmp", true);
File.Copy("kartinka.bmp", adres_papki + "\\Personaj.bmp", true);
MessageBox.Show("Complete");
}
@ -269,15 +269,13 @@ namespace WindowsFormsApplication1
private void go_pryamo(string filename)
{
File.AppendAllText(filename, "txTransparentBlt(txDC(), per.x, per.y, 55, 86, per.texture, 55 * per.nomer_kadra, 0, RGB(0, 255, 255)); " + Environment.NewLine);
File.AppendAllText(filename, " txTransparentBlt(txDC(), per.x, per.y, 55, 86, per.texture, 55 * per.nomer_kadra, 0, RGB(0, 255, 255)); " + Environment.NewLine);
File.AppendAllText(filename, " per.x++; " + Environment.NewLine);
File.AppendAllText(filename, " per.nomer_kadra++;" + Environment.NewLine);
File.AppendAllText(filename, " if (per.nomer_kadra > 2) " + Environment.NewLine);
File.AppendAllText(filename, " { " + Environment.NewLine);
File.AppendAllText(filename, " per.nomer_kadra = 0;" + Environment.NewLine);
File.AppendAllText(filename, " }" + Environment.NewLine);
File.AppendAllText(filename, " " + Environment.NewLine);
File.AppendAllText(filename, " }" + Environment.NewLine);
}
@ -340,7 +338,7 @@ namespace WindowsFormsApplication1
string fileText = File.ReadAllText(filename);
nazvanieTextBox.Text = fileText;
PictureBoxBackground.Image = Image.FromFile("kartinka.jpg");
PictureBoxBackground.Image = Image.FromFile("kartinka.bmp");
MessageBox.Show(PictureBoxBackground.Image.Width.ToString());
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

View file

@ -1 +1 @@
453b3f349428fd9f863aef27fc8aab84212f685d
f27943f0e34f482c9aac41b3c68fb08d02204b37

View file

@ -8,3 +8,13 @@ C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsA
C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csproj.CoreCompileInputs.cache
C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.exe
C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.pdb
C:\Users\Админ\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config
C:\Users\Админ\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
C:\Users\Админ\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
C:\Users\Админ\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csprojResolveAssemblyReference.cache
C:\Users\Админ\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.MainForm.resources
C:\Users\Админ\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.Properties.Resources.resources
C:\Users\Админ\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csproj.GenerateResource.Cache
C:\Users\Админ\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csproj.CoreCompileInputs.cache
C:\Users\Админ\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.exe
C:\Users\Админ\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.pdb