From 9dee8b2be8960c0e631cee3a0550474370a89d2d Mon Sep 17 00:00:00 2001 From: Grishina Date: Mon, 18 Nov 2024 09:25:44 +0400 Subject: [PATCH] ffghy --- Lab_1/Form1.Designer.cs | 39 ++++++ Lab_1/Form1.cs | 10 ++ Lab_1/Form1.resx | 120 +++++++++++++++++ Lab_1/Lab_1.csproj | 11 ++ Lab_1/Lab_1.sln | 25 ++++ Lab_1/Program.cs | 17 +++ Lab_1_1/Lab_1_1.cpp | 9 ++ Lab_1_1/Lab_1_1.sln | 31 +++++ Lab_1_1/Lab_1_1.vcxproj | 135 +++++++++++++++++++ Lab_1_1/Lab_1_1.vcxproj.filters | 22 ++++ Project1/Project1.sln | 31 +++++ Project1/Project1.vcxproj | 135 +++++++++++++++++++ Project1/Project1.vcxproj.filters | 22 ++++ Project1/Source.cpp | 0 Project2/Project2.sln | 31 +++++ Project2/Project2.vcxproj | 138 ++++++++++++++++++++ Project2/Project2.vcxproj.filters | 17 +++ Project3/Project3.sln | 31 +++++ Project3/Project3.vcxproj | 138 ++++++++++++++++++++ Project3/Project3.vcxproj.filters | 17 +++ ProjectAirline/FormAirline.Designer.cs | 60 +++++---- ProjectAirline/Forms/FormFlight.Designer.cs | 20 +++ ProjectAirline/Program.cs | 1 + 23 files changed, 1035 insertions(+), 25 deletions(-) create mode 100644 Lab_1/Form1.Designer.cs create mode 100644 Lab_1/Form1.cs create mode 100644 Lab_1/Form1.resx create mode 100644 Lab_1/Lab_1.csproj create mode 100644 Lab_1/Lab_1.sln create mode 100644 Lab_1/Program.cs create mode 100644 Lab_1_1/Lab_1_1.cpp create mode 100644 Lab_1_1/Lab_1_1.sln create mode 100644 Lab_1_1/Lab_1_1.vcxproj create mode 100644 Lab_1_1/Lab_1_1.vcxproj.filters create mode 100644 Project1/Project1.sln create mode 100644 Project1/Project1.vcxproj create mode 100644 Project1/Project1.vcxproj.filters create mode 100644 Project1/Source.cpp create mode 100644 Project2/Project2.sln create mode 100644 Project2/Project2.vcxproj create mode 100644 Project2/Project2.vcxproj.filters create mode 100644 Project3/Project3.sln create mode 100644 Project3/Project3.vcxproj create mode 100644 Project3/Project3.vcxproj.filters diff --git a/Lab_1/Form1.Designer.cs b/Lab_1/Form1.Designer.cs new file mode 100644 index 0000000..0513c92 --- /dev/null +++ b/Lab_1/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace Lab_1 +{ + partial class Form1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "Form1"; + } + + #endregion + } +} diff --git a/Lab_1/Form1.cs b/Lab_1/Form1.cs new file mode 100644 index 0000000..aff13cf --- /dev/null +++ b/Lab_1/Form1.cs @@ -0,0 +1,10 @@ +namespace Lab_1 +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/Lab_1/Form1.resx b/Lab_1/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Lab_1/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Lab_1/Lab_1.csproj b/Lab_1/Lab_1.csproj new file mode 100644 index 0000000..663fdb8 --- /dev/null +++ b/Lab_1/Lab_1.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/Lab_1/Lab_1.sln b/Lab_1/Lab_1.sln new file mode 100644 index 0000000..aa3588d --- /dev/null +++ b/Lab_1/Lab_1.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34616.47 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lab_1", "Lab_1.csproj", "{98E4AC1F-F384-413E-8F56-8F4C089891C5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {98E4AC1F-F384-413E-8F56-8F4C089891C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {98E4AC1F-F384-413E-8F56-8F4C089891C5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {98E4AC1F-F384-413E-8F56-8F4C089891C5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {98E4AC1F-F384-413E-8F56-8F4C089891C5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {61B7E333-57A6-435A-8EEF-4B535E7BC401} + EndGlobalSection +EndGlobal diff --git a/Lab_1/Program.cs b/Lab_1/Program.cs new file mode 100644 index 0000000..6c21213 --- /dev/null +++ b/Lab_1/Program.cs @@ -0,0 +1,17 @@ +namespace Lab_1 +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); + Application.Run(new Form1()); + } + } +} \ No newline at end of file diff --git a/Lab_1_1/Lab_1_1.cpp b/Lab_1_1/Lab_1_1.cpp new file mode 100644 index 0000000..b4d21db --- /dev/null +++ b/Lab_1_1/Lab_1_1.cpp @@ -0,0 +1,9 @@ + + +#include + +int main() +{ + std::cout << "Hello World!\n"; +} + diff --git a/Lab_1_1/Lab_1_1.sln b/Lab_1_1/Lab_1_1.sln new file mode 100644 index 0000000..e267442 --- /dev/null +++ b/Lab_1_1/Lab_1_1.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34616.47 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Lab_1_1", "Lab_1_1.vcxproj", "{6094D249-0C7B-4570-B5ED-D2231EE57C6D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6094D249-0C7B-4570-B5ED-D2231EE57C6D}.Debug|x64.ActiveCfg = Debug|x64 + {6094D249-0C7B-4570-B5ED-D2231EE57C6D}.Debug|x64.Build.0 = Debug|x64 + {6094D249-0C7B-4570-B5ED-D2231EE57C6D}.Debug|x86.ActiveCfg = Debug|Win32 + {6094D249-0C7B-4570-B5ED-D2231EE57C6D}.Debug|x86.Build.0 = Debug|Win32 + {6094D249-0C7B-4570-B5ED-D2231EE57C6D}.Release|x64.ActiveCfg = Release|x64 + {6094D249-0C7B-4570-B5ED-D2231EE57C6D}.Release|x64.Build.0 = Release|x64 + {6094D249-0C7B-4570-B5ED-D2231EE57C6D}.Release|x86.ActiveCfg = Release|Win32 + {6094D249-0C7B-4570-B5ED-D2231EE57C6D}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {BF42FC08-B132-4AA5-A9E5-B817D9BA4539} + EndGlobalSection +EndGlobal diff --git a/Lab_1_1/Lab_1_1.vcxproj b/Lab_1_1/Lab_1_1.vcxproj new file mode 100644 index 0000000..1c7afc3 --- /dev/null +++ b/Lab_1_1/Lab_1_1.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {6094d249-0c7b-4570-b5ed-d2231ee57c6d} + Lab11 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/Lab_1_1/Lab_1_1.vcxproj.filters b/Lab_1_1/Lab_1_1.vcxproj.filters new file mode 100644 index 0000000..1b71ce2 --- /dev/null +++ b/Lab_1_1/Lab_1_1.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Исходные файлы + + + \ No newline at end of file diff --git a/Project1/Project1.sln b/Project1/Project1.sln new file mode 100644 index 0000000..af33897 --- /dev/null +++ b/Project1/Project1.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34616.47 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project1", "Project1.vcxproj", "{F0C39474-71B8-4914-91F2-DD65FB204798}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F0C39474-71B8-4914-91F2-DD65FB204798}.Debug|x64.ActiveCfg = Debug|x64 + {F0C39474-71B8-4914-91F2-DD65FB204798}.Debug|x64.Build.0 = Debug|x64 + {F0C39474-71B8-4914-91F2-DD65FB204798}.Debug|x86.ActiveCfg = Debug|Win32 + {F0C39474-71B8-4914-91F2-DD65FB204798}.Debug|x86.Build.0 = Debug|Win32 + {F0C39474-71B8-4914-91F2-DD65FB204798}.Release|x64.ActiveCfg = Release|x64 + {F0C39474-71B8-4914-91F2-DD65FB204798}.Release|x64.Build.0 = Release|x64 + {F0C39474-71B8-4914-91F2-DD65FB204798}.Release|x86.ActiveCfg = Release|Win32 + {F0C39474-71B8-4914-91F2-DD65FB204798}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {04539764-9AE3-47AF-85C4-C99CCBE78C81} + EndGlobalSection +EndGlobal diff --git a/Project1/Project1.vcxproj b/Project1/Project1.vcxproj new file mode 100644 index 0000000..52f7514 --- /dev/null +++ b/Project1/Project1.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {f0c39474-71b8-4914-91f2-dd65fb204798} + Project1 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/Project1/Project1.vcxproj.filters b/Project1/Project1.vcxproj.filters new file mode 100644 index 0000000..ef66db6 --- /dev/null +++ b/Project1/Project1.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Исходные файлы + + + \ No newline at end of file diff --git a/Project1/Source.cpp b/Project1/Source.cpp new file mode 100644 index 0000000..e69de29 diff --git a/Project2/Project2.sln b/Project2/Project2.sln new file mode 100644 index 0000000..90fdf89 --- /dev/null +++ b/Project2/Project2.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34616.47 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project2", "Project2.vcxproj", "{5BAF0939-8133-4D9E-8B39-958EC43491D3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5BAF0939-8133-4D9E-8B39-958EC43491D3}.Debug|x64.ActiveCfg = Debug|x64 + {5BAF0939-8133-4D9E-8B39-958EC43491D3}.Debug|x64.Build.0 = Debug|x64 + {5BAF0939-8133-4D9E-8B39-958EC43491D3}.Debug|x86.ActiveCfg = Debug|Win32 + {5BAF0939-8133-4D9E-8B39-958EC43491D3}.Debug|x86.Build.0 = Debug|Win32 + {5BAF0939-8133-4D9E-8B39-958EC43491D3}.Release|x64.ActiveCfg = Release|x64 + {5BAF0939-8133-4D9E-8B39-958EC43491D3}.Release|x64.Build.0 = Release|x64 + {5BAF0939-8133-4D9E-8B39-958EC43491D3}.Release|x86.ActiveCfg = Release|Win32 + {5BAF0939-8133-4D9E-8B39-958EC43491D3}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C4CB4F65-E6A5-43C2-A385-186B3C989ECE} + EndGlobalSection +EndGlobal diff --git a/Project2/Project2.vcxproj b/Project2/Project2.vcxproj new file mode 100644 index 0000000..02e3772 --- /dev/null +++ b/Project2/Project2.vcxproj @@ -0,0 +1,138 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + + 17.0 + Win32Proj + {5baf0939-8133-4d9e-8b39-958ec43491d3} + Project2 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + diff --git a/Project2/Project2.vcxproj.filters b/Project2/Project2.vcxproj.filters new file mode 100644 index 0000000..153170c --- /dev/null +++ b/Project2/Project2.vcxproj.filters @@ -0,0 +1,17 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + \ No newline at end of file diff --git a/Project3/Project3.sln b/Project3/Project3.sln new file mode 100644 index 0000000..4cbed2f --- /dev/null +++ b/Project3/Project3.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34616.47 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Project3", "Project3.vcxproj", "{01EBD5A5-B02B-4587-87E2-2B309D8EB922}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {01EBD5A5-B02B-4587-87E2-2B309D8EB922}.Debug|x64.ActiveCfg = Debug|x64 + {01EBD5A5-B02B-4587-87E2-2B309D8EB922}.Debug|x64.Build.0 = Debug|x64 + {01EBD5A5-B02B-4587-87E2-2B309D8EB922}.Debug|x86.ActiveCfg = Debug|Win32 + {01EBD5A5-B02B-4587-87E2-2B309D8EB922}.Debug|x86.Build.0 = Debug|Win32 + {01EBD5A5-B02B-4587-87E2-2B309D8EB922}.Release|x64.ActiveCfg = Release|x64 + {01EBD5A5-B02B-4587-87E2-2B309D8EB922}.Release|x64.Build.0 = Release|x64 + {01EBD5A5-B02B-4587-87E2-2B309D8EB922}.Release|x86.ActiveCfg = Release|Win32 + {01EBD5A5-B02B-4587-87E2-2B309D8EB922}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A9C1C661-E9A0-4863-B35E-E9E35D7C06CC} + EndGlobalSection +EndGlobal diff --git a/Project3/Project3.vcxproj b/Project3/Project3.vcxproj new file mode 100644 index 0000000..ecd96a9 --- /dev/null +++ b/Project3/Project3.vcxproj @@ -0,0 +1,138 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + + 17.0 + Win32Proj + {01ebd5a5-b02b-4587-87e2-2b309d8eb922} + Project3 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + diff --git a/Project3/Project3.vcxproj.filters b/Project3/Project3.vcxproj.filters new file mode 100644 index 0000000..153170c --- /dev/null +++ b/Project3/Project3.vcxproj.filters @@ -0,0 +1,17 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + \ No newline at end of file diff --git a/ProjectAirline/FormAirline.Designer.cs b/ProjectAirline/FormAirline.Designer.cs index 2f26f61..6181796 100644 --- a/ProjectAirline/FormAirline.Designer.cs +++ b/ProjectAirline/FormAirline.Designer.cs @@ -31,12 +31,13 @@ menuStrip = new MenuStrip(); справочникиToolStripMenuItem = new ToolStripMenuItem(); полетToolStripMenuItem = new ToolStripMenuItem(); - операцииToolStripMenuItem = new ToolStripMenuItem(); - отчетыToolStripMenuItem = new ToolStripMenuItem(); пассажирыToolStripMenuItem = new ToolStripMenuItem(); самолетыToolStripMenuItem = new ToolStripMenuItem(); билетыToolStripMenuItem = new ToolStripMenuItem(); + операцииToolStripMenuItem = new ToolStripMenuItem(); подготовительныеРаботыToolStripMenuItem = new ToolStripMenuItem(); + отчетыToolStripMenuItem = new ToolStripMenuItem(); + dateTimePicker1 = new DateTimePicker(); menuStrip.SuspendLayout(); SuspendLayout(); // @@ -59,9 +60,27 @@ // полетToolStripMenuItem // полетToolStripMenuItem.Name = "полетToolStripMenuItem"; - полетToolStripMenuItem.Size = new Size(180, 22); + полетToolStripMenuItem.Size = new Size(139, 22); полетToolStripMenuItem.Text = "Полеты"; // + // пассажирыToolStripMenuItem + // + пассажирыToolStripMenuItem.Name = "пассажирыToolStripMenuItem"; + пассажирыToolStripMenuItem.Size = new Size(139, 22); + пассажирыToolStripMenuItem.Text = "Пассажиры"; + // + // самолетыToolStripMenuItem + // + самолетыToolStripMenuItem.Name = "самолетыToolStripMenuItem"; + самолетыToolStripMenuItem.Size = new Size(139, 22); + самолетыToolStripMenuItem.Text = "Самолеты"; + // + // билетыToolStripMenuItem + // + билетыToolStripMenuItem.Name = "билетыToolStripMenuItem"; + билетыToolStripMenuItem.Size = new Size(139, 22); + билетыToolStripMenuItem.Text = "Билеты"; + // // операцииToolStripMenuItem // операцииToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { подготовительныеРаботыToolStripMenuItem }); @@ -69,35 +88,24 @@ операцииToolStripMenuItem.Size = new Size(75, 20); операцииToolStripMenuItem.Text = "Операции"; // + // подготовительныеРаботыToolStripMenuItem + // + подготовительныеРаботыToolStripMenuItem.Name = "подготовительныеРаботыToolStripMenuItem"; + подготовительныеРаботыToolStripMenuItem.Size = new Size(223, 22); + подготовительныеРаботыToolStripMenuItem.Text = "Подготовительные работы"; + // // отчетыToolStripMenuItem // отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem"; отчетыToolStripMenuItem.Size = new Size(60, 20); отчетыToolStripMenuItem.Text = "Отчеты"; // - // пассажирыToolStripMenuItem + // dateTimePicker1 // - пассажирыToolStripMenuItem.Name = "пассажирыToolStripMenuItem"; - пассажирыToolStripMenuItem.Size = new Size(180, 22); - пассажирыToolStripMenuItem.Text = "Пассажиры"; - // - // самолетыToolStripMenuItem - // - самолетыToolStripMenuItem.Name = "самолетыToolStripMenuItem"; - самолетыToolStripMenuItem.Size = new Size(180, 22); - самолетыToolStripMenuItem.Text = "Самолеты"; - // - // билетыToolStripMenuItem - // - билетыToolStripMenuItem.Name = "билетыToolStripMenuItem"; - билетыToolStripMenuItem.Size = new Size(180, 22); - билетыToolStripMenuItem.Text = "Билеты"; - // - // подготовительныеРаботыToolStripMenuItem - // - подготовительныеРаботыToolStripMenuItem.Name = "подготовительныеРаботыToolStripMenuItem"; - подготовительныеРаботыToolStripMenuItem.Size = new Size(223, 22); - подготовительныеРаботыToolStripMenuItem.Text = "Подготовительные работы"; + dateTimePicker1.Location = new Point(227, 159); + dateTimePicker1.Name = "dateTimePicker1"; + dateTimePicker1.Size = new Size(200, 23); + dateTimePicker1.TabIndex = 1; // // FormAirline // @@ -106,6 +114,7 @@ BackgroundImage = Properties.Resources.scale_1200; BackgroundImageLayout = ImageLayout.Stretch; ClientSize = new Size(784, 411); + Controls.Add(dateTimePicker1); Controls.Add(menuStrip); MainMenuStrip = menuStrip; Name = "FormAirline"; @@ -128,5 +137,6 @@ private ToolStripMenuItem самолетыToolStripMenuItem; private ToolStripMenuItem билетыToolStripMenuItem; private ToolStripMenuItem подготовительныеРаботыToolStripMenuItem; + private DateTimePicker dateTimePicker1; } } diff --git a/ProjectAirline/Forms/FormFlight.Designer.cs b/ProjectAirline/Forms/FormFlight.Designer.cs index bfefc71..8eefcd2 100644 --- a/ProjectAirline/Forms/FormFlight.Designer.cs +++ b/ProjectAirline/Forms/FormFlight.Designer.cs @@ -36,6 +36,8 @@ numericUpDown1 = new NumericUpDown(); buttonFlightSave = new Button(); buttonFlightCancel = new Button(); + dateTimePicker1 = new DateTimePicker(); + dateTimePicker2 = new DateTimePicker(); ((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit(); SuspendLayout(); // @@ -107,11 +109,27 @@ buttonFlightCancel.Text = "Отмена"; buttonFlightCancel.UseVisualStyleBackColor = true; // + // dateTimePicker1 + // + dateTimePicker1.Location = new Point(145, 63); + dateTimePicker1.Name = "dateTimePicker1"; + dateTimePicker1.Size = new Size(100, 23); + dateTimePicker1.TabIndex = 8; + // + // dateTimePicker2 + // + dateTimePicker2.Location = new Point(145, 29); + dateTimePicker2.Name = "dateTimePicker2"; + dateTimePicker2.Size = new Size(100, 23); + dateTimePicker2.TabIndex = 9; + // // FormFlight // AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(273, 282); + Controls.Add(dateTimePicker2); + Controls.Add(dateTimePicker1); Controls.Add(buttonFlightCancel); Controls.Add(buttonFlightSave); Controls.Add(numericUpDown1); @@ -138,5 +156,7 @@ private NumericUpDown numericUpDown1; private Button buttonFlightSave; private Button buttonFlightCancel; + private DateTimePicker dateTimePicker1; + private DateTimePicker dateTimePicker2; } } \ No newline at end of file diff --git a/ProjectAirline/Program.cs b/ProjectAirline/Program.cs index a01a0fd..b5b91b9 100644 --- a/ProjectAirline/Program.cs +++ b/ProjectAirline/Program.cs @@ -15,6 +15,7 @@ namespace ProjectAirline // To customize application configuration such as set high DPI settings or default font, // see https://aka.ms/applicationconfiguration. ApplicationConfiguration.Initialize(); + Application.Run(CreateContainer().Resolve()); }