diff --git a/WindowsFormsApplication1/WindowsFormsApplication1/Form1.cs b/WindowsFormsApplication1/WindowsFormsApplication1/Form1.cs index bb010f3..da0d398 100644 --- a/WindowsFormsApplication1/WindowsFormsApplication1/Form1.cs +++ b/WindowsFormsApplication1/WindowsFormsApplication1/Form1.cs @@ -98,7 +98,17 @@ namespace WindowsFormsApplication1 System.IO.File.AppendAllText(filename, Environment.NewLine); System.IO.File.AppendAllText(filename, "int main()" + Environment.NewLine); System.IO.File.AppendAllText(filename, "{" + Environment.NewLine); + txCreateWindow(800, 600); + + + System.IO.File.AppendAllText(filename, Environment.NewLine); + System.IO.File.AppendAllText(filename, "txSetColor(TX_WHITE);" + Environment.NewLine); + System.IO.File.AppendAllText(filename, "txSetFillColor(TX_WHITE);" + Environment.NewLine); + System.IO.File.AppendAllText(filename, "txRectangle(0, 0, 800, 600);" + Environment.NewLine); + System.IO.File.AppendAllText(filename, "HDC texture = txLoadImage(\"Pictures\\Personaj.bmp\");" + Environment.NewLine); + + //тут будет мультфильм System.IO.File.AppendAllText(filename, "return 0;" + Environment.NewLine); diff --git a/WindowsFormsApplication1/WindowsFormsApplication1/Pictures/KOT.jpg b/WindowsFormsApplication1/WindowsFormsApplication1/Pictures/KOT.jpg new file mode 100644 index 0000000..ae67eb7 Binary files /dev/null and b/WindowsFormsApplication1/WindowsFormsApplication1/Pictures/KOT.jpg differ diff --git a/WindowsFormsApplication1/WindowsFormsApplication1/Pictures/Personaj.bmp b/WindowsFormsApplication1/WindowsFormsApplication1/Pictures/Personaj.bmp new file mode 100644 index 0000000..be925f0 Binary files /dev/null and b/WindowsFormsApplication1/WindowsFormsApplication1/Pictures/Personaj.bmp differ