From b9852337feb8a3cdbd1ddd2251d42758869ada9f Mon Sep 17 00:00:00 2001 From: LivelyPuer Date: Tue, 13 Feb 2024 08:29:23 +0400 Subject: [PATCH] create solution --- .idea/.idea.Solution/.idea/.gitignore | 13 ++++++++ .idea/.idea.Solution/.idea/.name | 1 + .idea/.idea.Solution/.idea/encodings.xml | 4 +++ .idea/.idea.Solution/.idea/indexLayout.xml | 8 +++++ .idea/.idea.Solution/.idea/vcs.xml | 6 ++++ Lab1/App.xaml | 9 +++++ Lab1/App.xaml.cs | 17 ++++++++++ Lab1/AssemblyInfo.cs | 10 ++++++ Lab1/Lab1.csproj | 10 ++++++ Lab1/MainWindow.xaml | 12 +++++++ Lab1/MainWindow.xaml.cs | 28 ++++++++++++++++ Solution.sln | 17 ++++++++++ WinFormsApp1.sln | 13 -------- WinFormsApp1/Form1.Designer.cs | 38 ---------------------- WinFormsApp1/Form1.cs | 9 ----- WinFormsApp1/Program.cs | 16 --------- WinFormsApp1/WinFormsApp1.csproj | 11 ------- 17 files changed, 135 insertions(+), 87 deletions(-) create mode 100644 .idea/.idea.Solution/.idea/.gitignore create mode 100644 .idea/.idea.Solution/.idea/.name create mode 100644 .idea/.idea.Solution/.idea/encodings.xml create mode 100644 .idea/.idea.Solution/.idea/indexLayout.xml create mode 100644 .idea/.idea.Solution/.idea/vcs.xml create mode 100644 Lab1/App.xaml create mode 100644 Lab1/App.xaml.cs create mode 100644 Lab1/AssemblyInfo.cs create mode 100644 Lab1/Lab1.csproj create mode 100644 Lab1/MainWindow.xaml create mode 100644 Lab1/MainWindow.xaml.cs create mode 100644 Solution.sln delete mode 100644 WinFormsApp1.sln delete mode 100644 WinFormsApp1/Form1.Designer.cs delete mode 100644 WinFormsApp1/Form1.cs delete mode 100644 WinFormsApp1/Program.cs delete mode 100644 WinFormsApp1/WinFormsApp1.csproj diff --git a/.idea/.idea.Solution/.idea/.gitignore b/.idea/.idea.Solution/.idea/.gitignore new file mode 100644 index 0000000..6188779 --- /dev/null +++ b/.idea/.idea.Solution/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/projectSettingsUpdater.xml +/contentModel.xml +/.idea.Solution.iml +/modules.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.Solution/.idea/.name b/.idea/.idea.Solution/.idea/.name new file mode 100644 index 0000000..ba86dff --- /dev/null +++ b/.idea/.idea.Solution/.idea/.name @@ -0,0 +1 @@ +Solution \ No newline at end of file diff --git a/.idea/.idea.Solution/.idea/encodings.xml b/.idea/.idea.Solution/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/.idea/.idea.Solution/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/.idea.Solution/.idea/indexLayout.xml b/.idea/.idea.Solution/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.Solution/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.Solution/.idea/vcs.xml b/.idea/.idea.Solution/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/.idea.Solution/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Lab1/App.xaml b/Lab1/App.xaml new file mode 100644 index 0000000..7f864ae --- /dev/null +++ b/Lab1/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/Lab1/App.xaml.cs b/Lab1/App.xaml.cs new file mode 100644 index 0000000..0bd274e --- /dev/null +++ b/Lab1/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace Lab1 +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} \ No newline at end of file diff --git a/Lab1/AssemblyInfo.cs b/Lab1/AssemblyInfo.cs new file mode 100644 index 0000000..4a05c7d --- /dev/null +++ b/Lab1/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] \ No newline at end of file diff --git a/Lab1/Lab1.csproj b/Lab1/Lab1.csproj new file mode 100644 index 0000000..9d8b401 --- /dev/null +++ b/Lab1/Lab1.csproj @@ -0,0 +1,10 @@ + + + + WinExe + net6.0-windows + enable + true + + + diff --git a/Lab1/MainWindow.xaml b/Lab1/MainWindow.xaml new file mode 100644 index 0000000..d6b48b6 --- /dev/null +++ b/Lab1/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/Lab1/MainWindow.xaml.cs b/Lab1/MainWindow.xaml.cs new file mode 100644 index 0000000..fd3cb43 --- /dev/null +++ b/Lab1/MainWindow.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Lab1 +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/Solution.sln b/Solution.sln new file mode 100644 index 0000000..742d5dd --- /dev/null +++ b/Solution.sln @@ -0,0 +1,17 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.34407.143 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lab1", "Lab1\Lab1.csproj", "{2EEEDD3A-1976-4E8A-97BF-62F887C7329E}" +EndProject +Global + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A7B73A00-42CB-4FD7-B0E0-4805A3FC5A36} + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + EndGlobalSection +EndGlobal diff --git a/WinFormsApp1.sln b/WinFormsApp1.sln deleted file mode 100644 index 502a4b3..0000000 --- a/WinFormsApp1.sln +++ /dev/null @@ -1,13 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.4.33213.308 -MinimumVisualStudioVersion = 10.0.40219.1 -Global - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {5CC01AE9-A0B9-4B3D-A62F-592DA20AC3C6} - EndGlobalSection -EndGlobal diff --git a/WinFormsApp1/Form1.Designer.cs b/WinFormsApp1/Form1.Designer.cs deleted file mode 100644 index 1e2bed6..0000000 --- a/WinFormsApp1/Form1.Designer.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace WinFormsApp1; - -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/WinFormsApp1/Form1.cs b/WinFormsApp1/Form1.cs deleted file mode 100644 index aa2af87..0000000 --- a/WinFormsApp1/Form1.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace WinFormsApp1; - -public partial class Form1 : Form -{ - public Form1() - { - InitializeComponent(); - } -} diff --git a/WinFormsApp1/Program.cs b/WinFormsApp1/Program.cs deleted file mode 100644 index b31f187..0000000 --- a/WinFormsApp1/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace WinFormsApp1; - -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/WinFormsApp1/WinFormsApp1.csproj b/WinFormsApp1/WinFormsApp1.csproj deleted file mode 100644 index b57c89e..0000000 --- a/WinFormsApp1/WinFormsApp1.csproj +++ /dev/null @@ -1,11 +0,0 @@ - - - - WinExe - net6.0-windows - enable - true - enable - - - \ No newline at end of file