Third push

This commit is contained in:
usersql
2026-04-20 17:00:57 +05:00
parent 95836f3b11
commit 56025d3b38
13 changed files with 120 additions and 54 deletions

Binary file not shown.

View File

@@ -1,13 +1,13 @@
{ {
"Version": 1, "Version": 1,
"WorkspaceRootPath": "C:\\Users\\usersql\\source\\repos\\MDK0101\\PR14\\", "WorkspaceRootPath": "C:\\Users\\usersql\\Source\\Repos\\MDK0101\\PR14\\",
"Documents": [ "Documents": [
{ {
"AbsoluteMoniker": "D:0:0:{68BE38C1-9A3E-4D01-81ED-9DC821B2AE98}|PR14\\PR14.csproj|c:\\users\\usersql\\source\\repos\\mdk0101\\pr14\\pr14\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}", "AbsoluteMoniker": "D:0:0:{68BE38C1-9A3E-4D01-81ED-9DC821B2AE98}|PR14\\PR14.csproj|c:\\users\\usersql\\source\\repos\\mdk0101\\pr14\\pr14\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{68BE38C1-9A3E-4D01-81ED-9DC821B2AE98}|PR14\\PR14.csproj|solutionrelative:pr14\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}" "RelativeMoniker": "D:0:0:{68BE38C1-9A3E-4D01-81ED-9DC821B2AE98}|PR14\\PR14.csproj|solutionrelative:pr14\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
}, },
{ {
"AbsoluteMoniker": "D:0:0:{68BE38C1-9A3E-4D01-81ED-9DC821B2AE98}|PR14\\PR14.csproj|c:\\users\\usersql\\source\\repos\\mdk0101\\pr14\\pr14\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "AbsoluteMoniker": "D:0:0:{68BE38C1-9A3E-4D01-81ED-9DC821B2AE98}|PR14\\PR14.csproj|C:\\Users\\usersql\\Source\\Repos\\MDK0101\\PR14\\pr14\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{68BE38C1-9A3E-4D01-81ED-9DC821B2AE98}|PR14\\PR14.csproj|solutionrelative:pr14\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" "RelativeMoniker": "D:0:0:{68BE38C1-9A3E-4D01-81ED-9DC821B2AE98}|PR14\\PR14.csproj|solutionrelative:pr14\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
} }
], ],
@@ -80,10 +80,10 @@
"$type": "Document", "$type": "Document",
"DocumentIndex": 0, "DocumentIndex": 0,
"Title": "MainWindow.xaml", "Title": "MainWindow.xaml",
"DocumentMoniker": "C:\\Users\\usersql\\source\\repos\\MDK0101\\PR14\\PR14\\MainWindow.xaml", "DocumentMoniker": "C:\\Users\\usersql\\Source\\Repos\\MDK0101\\PR14\\PR14\\MainWindow.xaml",
"RelativeDocumentMoniker": "PR14\\MainWindow.xaml", "RelativeDocumentMoniker": "PR14\\MainWindow.xaml",
"ToolTip": "C:\\Users\\usersql\\source\\repos\\MDK0101\\PR14\\PR14\\MainWindow.xaml", "ToolTip": "C:\\Users\\usersql\\Source\\Repos\\MDK0101\\PR14\\PR14\\MainWindow.xaml*",
"RelativeToolTip": "PR14\\MainWindow.xaml", "RelativeToolTip": "PR14\\MainWindow.xaml*",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2026-04-20T10:44:32.389Z", "WhenOpened": "2026-04-20T10:44:32.389Z",
"EditorCaption": "" "EditorCaption": ""
@@ -92,11 +92,10 @@
"$type": "Document", "$type": "Document",
"DocumentIndex": 1, "DocumentIndex": 1,
"Title": "MainWindow.xaml.cs", "Title": "MainWindow.xaml.cs",
"DocumentMoniker": "C:\\Users\\usersql\\source\\repos\\MDK0101\\PR14\\PR14\\MainWindow.xaml.cs", "DocumentMoniker": "C:\\Users\\usersql\\Source\\Repos\\MDK0101\\PR14\\PR14\\MainWindow.xaml.cs",
"RelativeDocumentMoniker": "PR14\\MainWindow.xaml.cs", "RelativeDocumentMoniker": "PR14\\MainWindow.xaml.cs",
"ToolTip": "C:\\Users\\usersql\\source\\repos\\MDK0101\\PR14\\PR14\\MainWindow.xaml.cs", "ToolTip": "C:\\Users\\usersql\\Source\\Repos\\MDK0101\\PR14\\PR14\\MainWindow.xaml.cs",
"RelativeToolTip": "PR14\\MainWindow.xaml.cs", "RelativeToolTip": "PR14\\MainWindow.xaml.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2026-04-20T10:44:31.757Z", "WhenOpened": "2026-04-20T10:44:31.757Z",
"EditorCaption": "" "EditorCaption": ""

View File

@@ -5,8 +5,65 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:PR14" xmlns:local="clr-namespace:PR14"
mc:Ignorable="d" mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800"> xmlns:xctk="http://xceed.com"
Title="MainWindow" Height="500" Width="800">
<Grid> <Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<StackPanel Grid.Column = "0">
<TextBlock
Text="Список пациентов:"
Margin="10,10,10,0"
/>
<ListView
Margin="10"
Height="320"
>
</ListView>
<Button Content="Просмотреть записи" Margin="10" Height="30"/>
<Button Content="Записать" Margin="10" Height="30"/>
</StackPanel>
<StackPanel Grid.Column = "1">
<TextBlock Text="Фамилия:" Name="tbSurname" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
<TextBlock Text="Имя:" Name="tbName" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
<TextBlock Text="Отчество:" Name="tbPatronymic" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
<TextBlock Text="Пол:" Margin="10,0,0,0"/>
<StackPanel Orientation="Horizontal" Margin="10">
<RadioButton GroupName="rbgRadios" Content="М" Margin="0,0,20,0"/>
<RadioButton GroupName="Radios" Content="Ж"/>
</StackPanel>
<TextBlock Text="Дата рождения:" Margin="10,0,0,0"/>
<DatePicker Name="dpBirthday" Margin="10"/>
<TextBlock Name="tbAdress" Text="Фактический адрес:" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
<TextBlock Name="tbPolis" Text="Полис:" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
<TextBlock Name="tbPhone" Text="Телефон:" Margin="10"/>
<TextBox Margin="10,0,10,0"/>
</StackPanel>
<StackPanel Grid.Column = "2">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Height="370"/>
<StackPanel Grid.Row="1">
<Button Content="Добавить" VerticalAlignment="Bottom" Margin="10"/>
</StackPanel>
</Grid>
</StackPanel>
</Grid> </Grid>
</Window> </Window>

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
@@ -49,6 +49,21 @@
<Reference Include="WindowsBase" /> <Reference Include="WindowsBase" />
<Reference Include="PresentationCore" /> <Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" /> <Reference Include="PresentationFramework" />
<Reference Include="Xceed.Wpf.AvalonDock, Version=5.0.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.5.0.0\lib\net40\Xceed.Wpf.AvalonDock.dll</HintPath>
</Reference>
<Reference Include="Xceed.Wpf.AvalonDock.Themes.Aero, Version=5.0.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.5.0.0\lib\net40\Xceed.Wpf.AvalonDock.Themes.Aero.dll</HintPath>
</Reference>
<Reference Include="Xceed.Wpf.AvalonDock.Themes.Metro, Version=5.0.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.5.0.0\lib\net40\Xceed.Wpf.AvalonDock.Themes.Metro.dll</HintPath>
</Reference>
<Reference Include="Xceed.Wpf.AvalonDock.Themes.VS2010, Version=5.0.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.5.0.0\lib\net40\Xceed.Wpf.AvalonDock.Themes.VS2010.dll</HintPath>
</Reference>
<Reference Include="Xceed.Wpf.Toolkit, Version=5.0.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.5.0.0\lib\net40\Xceed.Wpf.Toolkit.dll</HintPath>
</Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ApplicationDefinition Include="App.xaml"> <ApplicationDefinition Include="App.xaml">
@@ -86,6 +101,7 @@
<Generator>ResXFileCodeGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource> </EmbeddedResource>
<None Include="packages.config" />
<None Include="Properties\Settings.settings"> <None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator> <Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput> <LastGenOutput>Settings.Designer.cs</LastGenOutput>

View File

@@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "227B055B3F7DCF529146AD8132E2AEBAA3B1249BC5FDE84A8B8B62561AAC6B8A" #pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F9FCE631641E7289F19E694FBE5CD8539BF472CDAFF29FED1E7329E99B4BF64A"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Этот код создан программой. // Этот код создан программой.

View File

@@ -1,4 +1,5 @@
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "227B055B3F7DCF529146AD8132E2AEBAA3B1249BC5FDE84A8B8B62561AAC6B8A" // Updated by XamlIntelliSenseFileGenerator 20.04.2026 16:57:45
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F9FCE631641E7289F19E694FBE5CD8539BF472CDAFF29FED1E7329E99B4BF64A"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Этот код создан программой. // Этот код создан программой.
@@ -32,13 +33,15 @@ using System.Windows.Shapes;
using System.Windows.Shell; using System.Windows.Shell;
namespace PR14 { namespace PR14
{
/// <summary> /// <summary>
/// MainWindow /// MainWindow
/// </summary> /// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector
{
private bool _contentLoaded; private bool _contentLoaded;
@@ -47,18 +50,20 @@ namespace PR14 {
/// </summary> /// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() { public void InitializeComponent()
if (_contentLoaded) { {
if (_contentLoaded)
{
return; return;
} }
_contentLoaded = true; _contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/PR14;component/mainwindow.xaml", System.UriKind.Relative); System.Uri resourceLocater = new System.Uri("/PR14;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\MainWindow.xaml" #line 1 "..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater); System.Windows.Application.LoadComponent(this, resourceLocater);
#line default #line default
#line hidden #line hidden
} }
[System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -67,9 +72,18 @@ namespace PR14 {
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
{
this._contentLoaded = true; this._contentLoaded = true;
} }
internal System.Windows.Controls.DatePicker dpBirthday;
internal System.Windows.Controls.TextBlock tbSurname;
internal System.Windows.Controls.TextBlock tbName;
internal System.Windows.Controls.TextBlock tbPatronymic;
internal System.Windows.Controls.TextBlock tbAdress;
internal System.Windows.Controls.TextBlock tbPolis;
internal System.Windows.Controls.TextBlock tbPhone;
} }
} }

View File

@@ -13,8 +13,8 @@ C:\Users\usersql\Source\Repos\MDK0101\PR14\PR14\App.xaml
1219584333 1219584333
51579654133 51579654133
13-1310406943 18790512828
MainWindow.xaml; MainWindow.xaml;
True False

View File

@@ -1,20 +0,0 @@
PR14
winexe
C#
.cs
C:\Users\usersql\source\repos\MDK0101\PR14\PR14\obj\Debug\
PR14
none
false
DEBUG;TRACE
C:\Users\usersql\source\repos\MDK0101\PR14\PR14\App.xaml
1219584333
6-502434485
13-1310406943
MainWindow.xaml;
True

View File

@@ -1,4 +0,0 @@
FC:\Users\usersql\source\repos\MDK0101\PR14\PR14\MainWindow.xaml;;

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Extended.Wpf.Toolkit" version="5.0.0" targetFramework="net472" />
</packages>