Я немогу
This commit is contained in:
parent
65fe8cbf46
commit
2cd69f14ab
10 changed files with 25 additions and 17 deletions
|
@ -187,7 +187,7 @@ namespace WindowsFormsApplication1
|
||||||
open_while(filename);
|
open_while(filename);
|
||||||
go_pryamo(filename);
|
go_pryamo(filename);
|
||||||
close_while(filename);
|
close_while(filename);
|
||||||
delete_pics(filename);
|
// delete_pics(filename);
|
||||||
}
|
}
|
||||||
else if (ComboBoxMove.Text == "Волнами")
|
else if (ComboBoxMove.Text == "Волнами")
|
||||||
{
|
{
|
||||||
|
@ -215,7 +215,7 @@ namespace WindowsFormsApplication1
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(adres_papki);
|
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");
|
MessageBox.Show("Complete");
|
||||||
}
|
}
|
||||||
|
@ -261,23 +261,21 @@ namespace WindowsFormsApplication1
|
||||||
|
|
||||||
private void old_place(string filename)
|
private void old_place(string filename)
|
||||||
{
|
{
|
||||||
File.AppendAllText(filename, " per.x = 10; " + Environment.NewLine);
|
File.AppendAllText(filename, " per.x = 10; " + Environment.NewLine);
|
||||||
File.AppendAllText(filename, " per.y = 10; " + Environment.NewLine);
|
File.AppendAllText(filename, " per.y = 10; " + Environment.NewLine);
|
||||||
File.AppendAllText(filename, " per.nomer_kadra = 0; " + Environment.NewLine);
|
File.AppendAllText(filename, " per.nomer_kadra = 0; " + Environment.NewLine);
|
||||||
File.AppendAllText(filename, " per.gr_dvigx = 1000; " + Environment.NewLine);
|
File.AppendAllText(filename, " per.gr_dvigx = 1000; " + Environment.NewLine);
|
||||||
}
|
}
|
||||||
private void go_pryamo(string filename)
|
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.x++; " + Environment.NewLine);
|
||||||
File.AppendAllText(filename, " per.nomer_kadra++;" + Environment.NewLine);
|
File.AppendAllText(filename, " per.nomer_kadra++;" + Environment.NewLine);
|
||||||
File.AppendAllText(filename, " if (per.nomer_kadra > 2) " + Environment.NewLine);
|
File.AppendAllText(filename, " if (per.nomer_kadra > 2) " + Environment.NewLine);
|
||||||
File.AppendAllText(filename, " { " + Environment.NewLine);
|
File.AppendAllText(filename, " { " + Environment.NewLine);
|
||||||
File.AppendAllText(filename, " per.nomer_kadra = 0;" + 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);
|
|
||||||
File.AppendAllText(filename, " }" + Environment.NewLine);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -340,7 +338,7 @@ namespace WindowsFormsApplication1
|
||||||
string fileText = File.ReadAllText(filename);
|
string fileText = File.ReadAllText(filename);
|
||||||
nazvanieTextBox.Text = fileText;
|
nazvanieTextBox.Text = fileText;
|
||||||
|
|
||||||
PictureBoxBackground.Image = Image.FromFile("kartinka.jpg");
|
PictureBoxBackground.Image = Image.FromFile("kartinka.bmp");
|
||||||
MessageBox.Show(PictureBoxBackground.Image.Width.ToString());
|
MessageBox.Show(PictureBoxBackground.Image.Width.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 147 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 147 KiB |
|
@ -1 +1 @@
|
||||||
453b3f349428fd9f863aef27fc8aab84212f685d
|
f27943f0e34f482c9aac41b3c68fb08d02204b37
|
||||||
|
|
|
@ -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.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.exe
|
||||||
C:\Users\user\Desktop\MultRedactor-master\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.pdb
|
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
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue