diff --git a/DroneClient/.gitignore b/DroneClient/.gitignore deleted file mode 100644 index 98d63b2..0000000 --- a/DroneClient/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.vs/ -obj/ -bin/ \ No newline at end of file diff --git a/DroneClientCpp/DroneClientCpp.sln b/DroneClientCpp/DroneClientCpp.sln new file mode 100644 index 0000000..d6ab8bc --- /dev/null +++ b/DroneClientCpp/DroneClientCpp.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35527.113 d17.12 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DroneClientCpp", "DroneClientCpp.vcxproj", "{690C304C-A70B-4B0F-BF61-8C51290BF444}" +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 + {690C304C-A70B-4B0F-BF61-8C51290BF444}.Debug|x64.ActiveCfg = Debug|x64 + {690C304C-A70B-4B0F-BF61-8C51290BF444}.Debug|x64.Build.0 = Debug|x64 + {690C304C-A70B-4B0F-BF61-8C51290BF444}.Debug|x86.ActiveCfg = Debug|Win32 + {690C304C-A70B-4B0F-BF61-8C51290BF444}.Debug|x86.Build.0 = Debug|Win32 + {690C304C-A70B-4B0F-BF61-8C51290BF444}.Release|x64.ActiveCfg = Release|x64 + {690C304C-A70B-4B0F-BF61-8C51290BF444}.Release|x64.Build.0 = Release|x64 + {690C304C-A70B-4B0F-BF61-8C51290BF444}.Release|x86.ActiveCfg = Release|Win32 + {690C304C-A70B-4B0F-BF61-8C51290BF444}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/DroneClientCpp/DroneClientCpp.vcxproj b/DroneClientCpp/DroneClientCpp.vcxproj new file mode 100644 index 0000000..46349e2 --- /dev/null +++ b/DroneClientCpp/DroneClientCpp.vcxproj @@ -0,0 +1,136 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + {690C304C-A70B-4B0F-BF61-8C51290BF444} + v4.7.2 + ManagedCProj + DroneClientCpp + 10.0 + + + + Application + true + v143 + true + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + true + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + + Level3 + _DEBUG;%(PreprocessorDefinitions) + + + + + + + + Level3 + WIN32;_DEBUG;%(PreprocessorDefinitions) + + + + + + + + Level3 + WIN32;NDEBUG;%(PreprocessorDefinitions) + + + + + + + + Level3 + NDEBUG;%(PreprocessorDefinitions) + + + + + + + + + + + + + + + + + + CppForm + + + + + FormMain.h + + + + + + \ No newline at end of file diff --git a/DroneClientCpp/DroneClientCpp.vcxproj.filters b/DroneClientCpp/DroneClientCpp.vcxproj.filters new file mode 100644 index 0000000..5ad5172 --- /dev/null +++ b/DroneClientCpp/DroneClientCpp.vcxproj.filters @@ -0,0 +1,27 @@ + + + + + {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/DroneClientCpp/FormMain.cpp b/DroneClientCpp/FormMain.cpp new file mode 100644 index 0000000..dfbdfbc --- /dev/null +++ b/DroneClientCpp/FormMain.cpp @@ -0,0 +1,12 @@ +#include "FormMain.h" + +#include + +using namespace DroneClientCpp; + +int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { + Application::EnableVisualStyles(); + Application::SetCompatibleTextRenderingDefault(false); + Application::Run(gcnew FormMain); + return 0; +} \ No newline at end of file diff --git a/DroneClientCpp/FormMain.h b/DroneClientCpp/FormMain.h new file mode 100644 index 0000000..0729ff1 Binary files /dev/null and b/DroneClientCpp/FormMain.h differ diff --git a/DroneClientCpp/FormMain.resx b/DroneClientCpp/FormMain.resx new file mode 100644 index 0000000..59099f2 --- /dev/null +++ b/DroneClientCpp/FormMain.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 17, 17 + + \ No newline at end of file diff --git a/DroneClientCpp/MyForm.cpp b/DroneClientCpp/MyForm.cpp new file mode 100644 index 0000000..7c411c2 --- /dev/null +++ b/DroneClientCpp/MyForm.cpp @@ -0,0 +1,12 @@ +#include "MyForm.h" + +#include + +using namespace DroneClientCpp; + +int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { + Application::EnableVisualStyles(); + Application::SetCompatibleTextRenderingDefault(false); + Application::Run(gcnew MyForm); + return 0; +} \ No newline at end of file diff --git a/DroneClientCpp/MyForm.h b/DroneClientCpp/MyForm.h new file mode 100644 index 0000000..bdc5a39 Binary files /dev/null and b/DroneClientCpp/MyForm.h differ diff --git a/DroneClientCpp/MyForm.resx b/DroneClientCpp/MyForm.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DroneClientCpp/MyForm.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/DroneClientCpp/Source.cpp b/DroneClientCpp/Source.cpp new file mode 100644 index 0000000..6c8d9fb --- /dev/null +++ b/DroneClientCpp/Source.cpp @@ -0,0 +1,11 @@ +#include "MyForm.h" + +using namespace MyWinFormsApp; // ???????????? ???? ?????? ??????? + +[STAThread] +int main(array^ args) { + Application::EnableVisualStyles(); // ???????? ??????????? ????? ????????? ?????????? + Application::SetCompatibleTextRenderingDefault(false); // ????????? ?????????? ?????? + Application::Run(gcnew MyForm()); // ?????? ????? + return 0; +} \ No newline at end of file