Katya 4 months ago
parent
commit
c401da7e8b

+ 1 - 0
ViewModels/MainWindowViewModel.cs

@@ -72,6 +72,7 @@ namespace Acosta.ViewModels
         public List<Project> ListProjects => myConnection.Projects.ToList();
         public List<Employee> ListEmployees => myConnection.Employees.ToList().Where(x => x.Employeesid != curUsId).ToList();
         public List<Outlet> ListOutlets => myConnection.Outlets.ToList();
+        //List<a> newList = new List<a>(new a((from p in myConnection.Outlets.ToList() select p.Outletid).ToImmutableList().ToList().FirstOrDefault(), (from p in myConnection.Outlets.ToList() select p.Address).ToImmutableList().ToList().FirstOrDefault(), (from p in myConnection.Outlets.ToList() select p.Location).ToImmutableList().ToList().FirstOrDefault(), (from p in myConnection.TradeNetworks.ToList() select p.Title).ToImmutableList().ToList().FirstOrDefault()));
         //public List<string> fkTrade => myConnection.TradeNetworks.ToList().Select(x => x.Title).Where()
         //List<a> newList = new List<a>(new a((from p in myConnection.Outlets.ToList() select p.Outletid).ToImmutableList().ToList().FirstOrDefault(), (from p in myConnection.Outlets.ToList() select p.Address).ToImmutableList().ToList().FirstOrDefault(), (from p in myConnection.Outlets.ToList() select p.Location).ToImmutableList().ToList().FirstOrDefault(), (from p in myConnection.TradeNetworks.ToList() select p.Title).ToImmutableList().ToList().FirstOrDefault()));
         

+ 293 - 2
Views/AddProjectsView.axaml

@@ -2,7 +2,298 @@
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
-             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+			 xmlns:vm="using:Acosta.ViewModels"
+			 x:DataType="vm:MainWindowViewModel"
+             mc:Ignorable="d" d:DesignWidth="1550" d:DesignHeight="800.5"
              x:Class="Acosta.Views.AddProjectsView">
-  Welcome to Avalonia!
+	<Grid>
+		<StackPanel>
+			<StackPanel Height="50" Background="#E40714" VerticalAlignment="Top">
+				<StackPanel.Styles>
+					<Style Selector="TextBlock.headerLogo">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Regular"></Setter>
+						<Setter Property="FontSize" Value="35"></Setter>
+						<Setter Property="Margin" Value="30 0 0 0"></Setter>
+					</Style>
+					<Style Selector="TextBlock.greeting">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt">
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="Foreground" Value="#D5AFAF"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+				</StackPanel.Styles>
+				<StackPanel Orientation="Horizontal">
+					<TextBlock Classes="headerLogo">Acosta</TextBlock>
+					<TextBlock Classes="greeting" Margin="770 12 0 0">Добро пожаловать, оператор</TextBlock>
+					<TextBlock Classes="greeting" Margin="7 12 0 0" FontWeight="Bold" Name="FIO">Фамилия И.О.</TextBlock>
+					<TextBlock Classes="greeting" Margin="10 10 0 0">/</TextBlock>
+					<Button Classes="headerBt" Command="{Binding ChangePasswordView}">Изменить пароль</Button>
+					<TextBlock Classes="greeting" Margin="0 10 0 0">/</TextBlock>
+					<Button Classes="headerBt" Command="{Binding ExitFromProfile}">Выйти</Button>
+				</StackPanel>
+			</StackPanel>
+			<StackPanel Classes="PanelMenu" Orientation="Horizontal">
+				<StackPanel.Styles>
+					<Style Selector="StackPanel.PanelMenu">
+						<Setter Property="Margin" Value="30"></Setter>
+					</Style>
+					<Style Selector="TextBlock.TextBtBack">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="20"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBlock.Chapter">
+						<Setter Property="Foreground" Value="Black"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="20"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Margin" Value="30 0"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack">
+						<Setter Property="Width" Value="140"></Setter>
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="Background" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="13"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="#A10009"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+
+					<Style Selector="Button.BtAdd">
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="Margin" Value="670 0 0 0"></Setter>
+						<Setter Property="Background" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="13"></Setter>
+					</Style>
+					<Style Selector="Button.BtAdd:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="#A10009"></Setter>
+					</Style>
+					<Style Selector="TextBlock.TextBtAdd">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="18"></Setter>
+						<Setter Property="Margin" Value="20 0 0 0"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="Button.BtAdd:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+				</StackPanel.Styles>
+				<Button Classes="BtBack" Command="{Binding BackProjectsView}">
+					<TextBlock Classes="TextBtBack">Назад</TextBlock>
+				</Button>
+				<TextBlock Classes="Chapter">Добавление проекта</TextBlock>
+			</StackPanel>
+
+			<StackPanel>
+				<StackPanel.Styles>
+					<Style Selector="TextBlock.TextToTextBox">
+						<Setter Property="Foreground" Value="Black"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Regular"></Setter>
+						<Setter Property="FontSize" Value="18"></Setter>
+						<Setter Property="Margin" Value="200 30 0 0"></Setter>
+						<Setter Property="Width" Value="330"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBox">
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="9"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="FontSize" Value="14"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBox:pointerover /template/ TextBlock#PART_Watermark">
+						<Setter Property="TextBox.BorderBrush" Value="#A10009" />
+					</Style>
+					<Style Selector="TextBox:focus /template/ TextBlock#PART_Watermark">
+						<Setter Property="TextBox.BorderBrush" Value="#A10009" />
+					</Style>
+					<Style Selector="Border.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Height" Value="35"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="DatePicker.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="TimePicker.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="CheckBox.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+					</Style>
+					<Style Selector="ComboBox.TextColumn">
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Height" Value="30"></Setter>
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="BorderBrush" Value="Transparent"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="ComboBox.TextColumn:pointerover /template/ Border#Background">
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Background" Value=""></Setter>
+						<Setter Property="BorderBrush" Value="Transparent"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+				</StackPanel.Styles>
+				<ScrollViewer Height="600">
+					<StackPanel Orientation="Vertical">
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">ID:</TextBlock>
+							<TextBox Classes="TextColumn"></TextBox>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Название:</TextBlock>
+							<TextBox Classes="TextColumn" Width="200"></TextBox>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Количество посещений за неделю:</TextBlock>
+							<TextBox Classes="TextColumn"></TextBox>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Количество продуктов:</TextBlock>
+							<TextBox Classes="TextColumn"></TextBox>
+						</StackPanel>						
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Margin="0 30">
+							<StackPanel.Styles>
+								<Style Selector="TextBlock.TextColumns">
+									<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+									<Setter Property="FontFamily" Value="Roboto"></Setter>
+									<Setter Property="FontWeight" Value="Medium"></Setter>
+									<Setter Property="FontSize" Value="18"></Setter>
+									<Setter Property="Margin" Value="40 0"></Setter>
+									<Setter Property="VerticalAlignment" Value="Center"></Setter>
+									<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+								</Style>
+								<Style Selector="Border.TextColumns">
+									<Setter Property="Margin" Value="200 0"></Setter>
+								</Style>
+							</StackPanel.Styles>
+							<Border Classes="TextColumns" Background="#80E40714" CornerRadius="13" Height="40">
+								<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
+									<TextBlock Classes="TextColumns">ПРОДУКТЫ</TextBlock>
+								</StackPanel>
+							</Border>
+							<StackPanel Orientation="Vertical" Margin="250 20">
+								<StackPanel.Styles>
+									<Style Selector="TextBox.TextColumn">
+										<Setter Property="Foreground" Value="Black"></Setter>
+										<Setter Property="FontFamily" Value="Roboto"></Setter>
+										<Setter Property="FontWeight" Value="Medium"></Setter>
+										<Setter Property="FontSize" Value="18"></Setter>
+										<Setter Property="VerticalAlignment" Value="Center"></Setter>
+										<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+										<Setter Property="Margin" Value="0"></Setter>
+									</Style>
+									<Style Selector="TextBlock.TextColumn">
+										<Setter Property="Foreground" Value="Black"></Setter>
+										<Setter Property="FontFamily" Value="Roboto"></Setter>
+										<Setter Property="FontWeight" Value="Medium"></Setter>
+										<Setter Property="FontSize" Value="18"></Setter>
+										<Setter Property="VerticalAlignment" Value="Center"></Setter>
+										<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+										<Setter Property="Margin" Value="0 0 30 0"></Setter>
+									</Style>
+								</StackPanel.Styles>
+								<StackPanel Orientation="Horizontal">
+									<TextBlock Classes="TextColumn">Наименование:</TextBlock>
+									<TextBox Classes="TextColumn" Width="230"></TextBox>
+								</StackPanel>
+							</StackPanel>
+						</StackPanel>
+					</StackPanel>
+				</ScrollViewer>
+			</StackPanel>
+		</StackPanel>
+		<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
+			<StackPanel.Styles>
+				<Style Selector="TextBlock.TextBtSave">
+					<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="20"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave">
+					<Setter Property="Width" Value="180"></Setter>
+					<Setter Property="Height" Value="38"></Setter>
+					<Setter Property="Margin" Value="0 740 30 20"></Setter>
+					<Setter Property="Background" Value="#E40714"></Setter>
+					<Setter Property="CornerRadius" Value="13"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pointerover /template/ ContentPresenter">
+					<Setter Property="Background" Value="#A10009"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pressed">
+					<Setter Property="RenderTransform" Value="none"/>
+				</Style>
+			</StackPanel.Styles>
+			<Button Classes="BtSave" Command="">
+				<TextBlock Classes="TextBtSave">Сохранить</TextBlock>
+			</Button>
+		</StackPanel>
+	</Grid>
 </UserControl>

+ 308 - 2
Views/AddVisitView.axaml

@@ -1,8 +1,314 @@
 <UserControl xmlns="https://github.com/avaloniaui"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+			 xmlns:vm="using:Acosta.ViewModels"
+			 x:DataType="vm:MainWindowViewModel"
              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
-             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+             mc:Ignorable="d" d:DesignWidth="1550" d:DesignHeight="1000"
              x:Class="Acosta.Views.AddVisitView">
-  Welcome to Avalonia!
+	<Grid>
+		<StackPanel>
+			<StackPanel Height="50" Background="#E40714" VerticalAlignment="Top">
+				<StackPanel.Styles>
+					<Style Selector="TextBlock.headerLogo">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Regular"></Setter>
+						<Setter Property="FontSize" Value="35"></Setter>
+						<Setter Property="Margin" Value="30 0 0 0"></Setter>
+					</Style>
+					<Style Selector="TextBlock.greeting">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt">
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="Foreground" Value="#D5AFAF"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+				</StackPanel.Styles>
+				<StackPanel Orientation="Horizontal">
+					<TextBlock Classes="headerLogo">Acosta</TextBlock>
+					<TextBlock Classes="greeting" Margin="770 12 0 0">Добро пожаловать, оператор</TextBlock>
+					<TextBlock Classes="greeting" Margin="7 12 0 0" FontWeight="Bold" Name="FIO">Фамилия И.О.</TextBlock>
+					<TextBlock Classes="greeting" Margin="10 10 0 0">/</TextBlock>
+					<Button Classes="headerBt" Command="{Binding ChangePasswordView}">Изменить пароль</Button>
+					<TextBlock Classes="greeting" Margin="0 10 0 0">/</TextBlock>
+					<Button Classes="headerBt" Command="{Binding ExitFromProfile}">Выйти</Button>
+				</StackPanel>
+			</StackPanel>
+			<StackPanel Classes="PanelMenu" Orientation="Horizontal">
+				<StackPanel.Styles>
+					<Style Selector="StackPanel.PanelMenu">
+						<Setter Property="Margin" Value="30"></Setter>
+					</Style>
+					<Style Selector="TextBlock.TextBtBack">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="20"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBlock.Chapter">
+						<Setter Property="Foreground" Value="Black"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="20"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Margin" Value="30 0"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack">
+						<Setter Property="Width" Value="140"></Setter>
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="Background" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="13"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="#A10009"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+
+					<Style Selector="Button.BtAdd">
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="Margin" Value="670 0 0 0"></Setter>
+						<Setter Property="Background" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="13"></Setter>
+					</Style>
+					<Style Selector="Button.BtAdd:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="#A10009"></Setter>
+					</Style>
+					<Style Selector="TextBlock.TextBtAdd">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="18"></Setter>
+						<Setter Property="Margin" Value="20 0 0 0"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="Button.BtAdd:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+				</StackPanel.Styles>
+				<Button Classes="BtBack" Command="{Binding BackVisitView}">
+					<TextBlock Classes="TextBtBack">Назад</TextBlock>
+				</Button>
+				<TextBlock Classes="Chapter">Добавление визита</TextBlock>
+			</StackPanel>
+			
+			<StackPanel>
+				<StackPanel.Styles>
+					<Style Selector="TextBlock.TextToTextBox">
+						<Setter Property="Foreground" Value="Black"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Regular"></Setter>
+						<Setter Property="FontSize" Value="18"></Setter>
+						<Setter Property="Margin" Value="200 30 0 0"></Setter>
+						<Setter Property="Width" Value="270"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBox">
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="9"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="FontSize" Value="14"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBox:pointerover /template/ TextBlock#PART_Watermark">
+						<Setter Property="TextBox.BorderBrush" Value="#A10009" />
+					</Style>
+					<Style Selector="TextBox:focus /template/ TextBlock#PART_Watermark">
+						<Setter Property="TextBox.BorderBrush" Value="#A10009" />
+					</Style>
+					<Style Selector="Border.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Height" Value="35"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="DatePicker.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="TimePicker.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="CheckBox.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>		
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+					</Style>
+					<Style Selector="ComboBox.TextColumn">
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Height" Value="30"></Setter>
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="BorderBrush" Value="Transparent"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="ComboBox.TextColumn:pointerover /template/ Border#Background">
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Background" Value=""></Setter>
+						<Setter Property="BorderBrush" Value="Transparent"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+				</StackPanel.Styles>
+				<ScrollViewer Height="600">
+					<StackPanel Orientation="Vertical">
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Торговая точка:</TextBlock>
+							<Border Classes="TextColumn">
+								<ComboBox Classes="TextColumn">
+									<ComboBoxItem>название</ComboBoxItem>
+								</ComboBox>
+							</Border>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Проект:</TextBlock>
+							<Border Classes="TextColumn">
+								<ComboBox Classes="TextColumn">
+									<ComboBoxItem>название</ComboBoxItem>
+								</ComboBox>
+							</Border>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Дата визита:</TextBlock>
+							<DatePicker Classes="TextColumn"></DatePicker>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Время визита:</TextBlock>
+							<TimePicker Classes="TextColumn"></TimePicker>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Визит принят:</TextBlock>
+							<CheckBox Classes="TextColumn"></CheckBox>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Комментарий мерчандайзера:</TextBlock>
+							<TextBox Classes="TextColumn" Width="500"></TextBox>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Margin="0 30">
+							<StackPanel.Styles>
+								<Style Selector="TextBlock.TextColumns">
+									<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+									<Setter Property="FontFamily" Value="Roboto"></Setter>
+									<Setter Property="FontWeight" Value="Medium"></Setter>
+									<Setter Property="FontSize" Value="18"></Setter>
+									<Setter Property="Margin" Value="40 0"></Setter>
+									<Setter Property="VerticalAlignment" Value="Center"></Setter>
+									<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+								</Style>
+								<Style Selector="Border.TextColumns">
+									<Setter Property="Margin" Value="200 0"></Setter>
+								</Style>
+							</StackPanel.Styles>
+							<Border Classes="TextColumns" Background="#80E40714" CornerRadius="13" Height="40">
+								<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
+									<TextBlock Classes="TextColumns">НАИМЕНОВАНИЕ</TextBlock>
+									<TextBlock Classes="TextColumns">ЦЕНА</TextBlock>
+									<TextBlock Classes="TextColumns">ЦЕНА ПО КАРТЕ</TextBlock>
+									<TextBlock Classes="TextColumns">ФАКТИЧЕСКИЙ БАЛАНС</TextBlock>
+									<TextBlock Classes="TextColumns">ВИРТУАЛЬНЫЙ БАЛАНС</TextBlock>
+								</StackPanel>
+							</Border>
+							<StackPanel Orientation="Vertical" Margin="65 20">
+								<StackPanel.Styles>
+									<Style Selector="TextBox.TextColumn">
+										<Setter Property="Foreground" Value="Black"></Setter>
+										<Setter Property="FontFamily" Value="Roboto"></Setter>
+										<Setter Property="FontWeight" Value="Medium"></Setter>
+										<Setter Property="FontSize" Value="18"></Setter>
+										<Setter Property="VerticalAlignment" Value="Center"></Setter>
+										<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+									</Style>
+								</StackPanel.Styles>
+								<StackPanel Orientation="Horizontal" Margin="140 0" >
+									<TextBox Classes="TextColumn" Width="220" Margin="0 0 40 0"></TextBox>
+									<TextBox Classes="TextColumn" Width="90" Margin="0 0 40 0"></TextBox>
+									<TextBox Classes="TextColumn" Width="180" Margin="0 0 40 0"></TextBox>
+									<TextBox Classes="TextColumn" Width="240" Margin="0 0 40 0"></TextBox>
+									<TextBox Classes="TextColumn" Width="220" Margin="0 0 40 0"></TextBox>
+								</StackPanel>
+							</StackPanel>
+						</StackPanel>
+					</StackPanel>
+				</ScrollViewer>
+			</StackPanel>
+		</StackPanel>
+		<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
+			<StackPanel.Styles>
+				<Style Selector="TextBlock.TextBtSave">
+					<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="20"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave">
+					<Setter Property="Width" Value="180"></Setter>
+					<Setter Property="Height" Value="38"></Setter>
+					<Setter Property="Margin" Value="0 740 30 20"></Setter>
+					<Setter Property="Background" Value="#E40714"></Setter>
+					<Setter Property="CornerRadius" Value="13"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pointerover /template/ ContentPresenter">
+					<Setter Property="Background" Value="#A10009"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pressed">
+					<Setter Property="RenderTransform" Value="none"/>
+				</Style>
+			</StackPanel.Styles>
+			<Button Classes="BtSave" Command="">
+				<TextBlock Classes="TextBtSave">Сохранить</TextBlock>
+			</Button>
+		</StackPanel>
+	</Grid>
 </UserControl>

+ 321 - 2
Views/EditProjectsView.axaml

@@ -2,7 +2,326 @@
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
-             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+			 xmlns:vm="using:Acosta.ViewModels"
+			 x:DataType="vm:MainWindowViewModel"
+             mc:Ignorable="d" d:DesignWidth="1550" d:DesignHeight="800.5"
              x:Class="Acosta.Views.EditProjectsView">
-  Welcome to Avalonia!
+	<Grid>
+		<StackPanel>
+			<StackPanel Height="50" Background="#E40714" VerticalAlignment="Top">
+				<StackPanel.Styles>
+					<Style Selector="TextBlock.headerLogo">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Regular"></Setter>
+						<Setter Property="FontSize" Value="35"></Setter>
+						<Setter Property="Margin" Value="30 0 0 0"></Setter>
+					</Style>
+					<Style Selector="TextBlock.greeting">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt">
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="Foreground" Value="#D5AFAF"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+				</StackPanel.Styles>
+				<StackPanel Orientation="Horizontal">
+					<TextBlock Classes="headerLogo">Acosta</TextBlock>
+					<TextBlock Classes="greeting" Margin="770 12 0 0">Добро пожаловать, оператор</TextBlock>
+					<TextBlock Classes="greeting" Margin="7 12 0 0" FontWeight="Bold" Name="FIO">Фамилия И.О.</TextBlock>
+					<TextBlock Classes="greeting" Margin="10 10 0 0">/</TextBlock>
+					<Button Classes="headerBt" Command="{Binding ChangePasswordView}">Изменить пароль</Button>
+					<TextBlock Classes="greeting" Margin="0 10 0 0">/</TextBlock>
+					<Button Classes="headerBt" Command="{Binding ExitFromProfile}">Выйти</Button>
+				</StackPanel>
+			</StackPanel>
+			<StackPanel Classes="PanelMenu" Orientation="Horizontal">
+				<StackPanel.Styles>
+					<Style Selector="StackPanel.PanelMenu">
+						<Setter Property="Margin" Value="30"></Setter>
+					</Style>
+					<Style Selector="TextBlock.TextBtBack">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="20"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBlock.Chapter">
+						<Setter Property="Foreground" Value="Black"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="20"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Margin" Value="30 0"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack">
+						<Setter Property="Width" Value="140"></Setter>
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="Background" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="13"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="#A10009"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+
+					<Style Selector="Button.BtAdd">
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="Margin" Value="670 0 0 0"></Setter>
+						<Setter Property="Background" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="13"></Setter>
+					</Style>
+					<Style Selector="Button.BtAdd:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="#A10009"></Setter>
+					</Style>
+					<Style Selector="TextBlock.TextBtAdd">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="18"></Setter>
+						<Setter Property="Margin" Value="20 0 0 0"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="Button.BtAdd:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+				</StackPanel.Styles>
+				<Button Classes="BtBack" Command="{Binding BackProjectsView}">
+					<TextBlock Classes="TextBtBack">Назад</TextBlock>
+				</Button>
+				<TextBlock Classes="Chapter">Изменение проекта</TextBlock>
+			</StackPanel>
+
+			<StackPanel>
+				<StackPanel.Styles>
+					<Style Selector="TextBlock.TextToTextBox">
+						<Setter Property="Foreground" Value="Black"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Regular"></Setter>
+						<Setter Property="FontSize" Value="18"></Setter>
+						<Setter Property="Margin" Value="200 30 0 0"></Setter>
+						<Setter Property="Width" Value="330"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBox">
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="9"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="FontSize" Value="14"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBox:pointerover /template/ TextBlock#PART_Watermark">
+						<Setter Property="TextBox.BorderBrush" Value="#A10009" />
+					</Style>
+					<Style Selector="TextBox:focus /template/ TextBlock#PART_Watermark">
+						<Setter Property="TextBox.BorderBrush" Value="#A10009" />
+					</Style>
+					<Style Selector="Border.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Height" Value="35"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="DatePicker.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="TimePicker.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="CheckBox.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+					</Style>
+					<Style Selector="ComboBox.TextColumn">
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Height" Value="30"></Setter>
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="BorderBrush" Value="Transparent"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="ComboBox.TextColumn:pointerover /template/ Border#Background">
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Background" Value=""></Setter>
+						<Setter Property="BorderBrush" Value="Transparent"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+				</StackPanel.Styles>
+				<ScrollViewer Height="600">
+					<StackPanel Orientation="Vertical">
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">ID:</TextBlock>
+							<TextBox Classes="TextColumn"></TextBox>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Название:</TextBlock>
+							<TextBox Classes="TextColumn" Width="200"></TextBox>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Количество посещений за неделю:</TextBlock>
+							<TextBox Classes="TextColumn"></TextBox>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Количество продуктов:</TextBlock>
+							<TextBox Classes="TextColumn"></TextBox>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Margin="0 30">
+							<StackPanel.Styles>
+								<Style Selector="TextBlock.TextColumns">
+									<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+									<Setter Property="FontFamily" Value="Roboto"></Setter>
+									<Setter Property="FontWeight" Value="Medium"></Setter>
+									<Setter Property="FontSize" Value="18"></Setter>
+									<Setter Property="Margin" Value="40 0"></Setter>
+									<Setter Property="VerticalAlignment" Value="Center"></Setter>
+									<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+								</Style>
+								<Style Selector="Border.TextColumns">
+									<Setter Property="Margin" Value="200 0"></Setter>
+								</Style>
+							</StackPanel.Styles>
+							<Border Classes="TextColumns" Background="#80E40714" CornerRadius="13" Height="40">
+								<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
+									<TextBlock Classes="TextColumns">ПРОДУКТЫ</TextBlock>
+								</StackPanel>
+							</Border>
+							<StackPanel Orientation="Vertical" Margin="250 20">
+								<StackPanel.Styles>
+									<Style Selector="TextBox.TextColumn">
+										<Setter Property="Foreground" Value="Black"></Setter>
+										<Setter Property="FontFamily" Value="Roboto"></Setter>
+										<Setter Property="FontWeight" Value="Medium"></Setter>
+										<Setter Property="FontSize" Value="18"></Setter>
+										<Setter Property="VerticalAlignment" Value="Center"></Setter>
+										<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+										<Setter Property="Margin" Value="0"></Setter>
+									</Style>
+									<Style Selector="TextBlock.TextColumn">
+										<Setter Property="Foreground" Value="Black"></Setter>
+										<Setter Property="FontFamily" Value="Roboto"></Setter>
+										<Setter Property="FontWeight" Value="Medium"></Setter>
+										<Setter Property="FontSize" Value="18"></Setter>
+										<Setter Property="VerticalAlignment" Value="Center"></Setter>
+										<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+										<Setter Property="Margin" Value="0 0 30 0"></Setter>
+									</Style>
+								</StackPanel.Styles>
+								<StackPanel Orientation="Horizontal">
+									<TextBlock Classes="TextColumn">Наименование:</TextBlock>
+									<TextBox Classes="TextColumn" Width="230"></TextBox>
+								</StackPanel>
+							</StackPanel>
+						</StackPanel>
+					</StackPanel>
+				</ScrollViewer>
+			</StackPanel>
+		</StackPanel>
+		<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
+			<StackPanel.Styles>
+				<Style Selector="TextBlock.TextBtDelete">
+					<Setter Property="Foreground" Value="#E40714"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="20"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+				</Style>
+				<Style Selector="Button.BtDelete">
+					<Setter Property="BorderThickness" Value="2"></Setter>
+					<Setter Property="Width" Value="180"></Setter>
+					<Setter Property="Height" Value="38"></Setter>
+					<Setter Property="Margin" Value="0 740 70 20"></Setter>
+					<Setter Property="Background" Value="Transparent"></Setter>
+					<Setter Property="CornerRadius" Value="13"></Setter>
+					<Setter Property="BorderBrush" Value="#E40714"></Setter>
+				</Style>
+				<Style Selector="Button.BtDelete:pointerover /template/ ContentPresenter">
+					<Setter Property="BorderBrush" Value="#A10009"></Setter>
+					<Setter Property="Background" Value="Transparent"></Setter>
+				</Style>
+				<Style Selector="Button.BtDelete:pressed">
+					<Setter Property="RenderTransform" Value="none"/>
+				</Style>
+
+				<Style Selector="TextBlock.TextBtSave">
+					<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="20"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave">
+					<Setter Property="Width" Value="180"></Setter>
+					<Setter Property="Height" Value="38"></Setter>
+					<Setter Property="Margin" Value="0 740 30 20"></Setter>
+					<Setter Property="Background" Value="#E40714"></Setter>
+					<Setter Property="CornerRadius" Value="13"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pointerover /template/ ContentPresenter">
+					<Setter Property="Background" Value="#A10009"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pressed">
+					<Setter Property="RenderTransform" Value="none"/>
+				</Style>
+			</StackPanel.Styles>
+			<Button Classes="BtDelete" Command="">
+				<TextBlock Classes="TextBtDelete">Удалить</TextBlock>
+			</Button>
+			<Button Classes="BtSave" Command="">
+				<TextBlock Classes="TextBtSave">Сохранить</TextBlock>
+			</Button>
+		</StackPanel>
+	</Grid>
 </UserControl>

+ 331 - 2
Views/EditVisitView.axaml

@@ -2,7 +2,336 @@
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
-             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+			 xmlns:vm="using:Acosta.ViewModels"
+			 x:DataType="vm:MainWindowViewModel"
+             mc:Ignorable="d" d:DesignWidth="1550" d:DesignHeight="800.5"
              x:Class="Acosta.Views.EditVisitView">
-  Welcome to Avalonia!
+	<Grid>
+		<StackPanel>
+			<StackPanel Height="50" Background="#E40714" VerticalAlignment="Top">
+				<StackPanel.Styles>
+					<Style Selector="TextBlock.headerLogo">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Regular"></Setter>
+						<Setter Property="FontSize" Value="35"></Setter>
+						<Setter Property="Margin" Value="30 0 0 0"></Setter>
+					</Style>
+					<Style Selector="TextBlock.greeting">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt">
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="Foreground" Value="#D5AFAF"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+				</StackPanel.Styles>
+				<StackPanel Orientation="Horizontal">
+					<TextBlock Classes="headerLogo">Acosta</TextBlock>
+					<TextBlock Classes="greeting" Margin="770 12 0 0">Добро пожаловать, оператор</TextBlock>
+					<TextBlock Classes="greeting" Margin="7 12 0 0" FontWeight="Bold" Name="FIO">Фамилия И.О.</TextBlock>
+					<TextBlock Classes="greeting" Margin="10 10 0 0">/</TextBlock>
+					<Button Classes="headerBt" Command="{Binding ChangePasswordView}">Изменить пароль</Button>
+					<TextBlock Classes="greeting" Margin="0 10 0 0">/</TextBlock>
+					<Button Classes="headerBt" Command="{Binding ExitFromProfile}">Выйти</Button>
+				</StackPanel>
+			</StackPanel>
+			<StackPanel Classes="PanelMenu" Orientation="Horizontal">
+				<StackPanel.Styles>
+					<Style Selector="StackPanel.PanelMenu">
+						<Setter Property="Margin" Value="30"></Setter>
+					</Style>
+					<Style Selector="TextBlock.TextBtBack">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="20"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBlock.Chapter">
+						<Setter Property="Foreground" Value="Black"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="20"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Margin" Value="30 0"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack">
+						<Setter Property="Width" Value="140"></Setter>
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="Background" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="13"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="#A10009"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+
+					<Style Selector="Button.BtAdd">
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="Margin" Value="670 0 0 0"></Setter>
+						<Setter Property="Background" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="13"></Setter>
+					</Style>
+					<Style Selector="Button.BtAdd:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="#A10009"></Setter>
+					</Style>
+					<Style Selector="TextBlock.TextBtAdd">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="18"></Setter>
+						<Setter Property="Margin" Value="20 0 0 0"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="Button.BtAdd:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+				</StackPanel.Styles>
+				<Button Classes="BtBack" Command="{Binding BackVisitView}">
+					<TextBlock Classes="TextBtBack">Назад</TextBlock>
+				</Button>
+				<TextBlock Classes="Chapter">Изменение визита</TextBlock>
+			</StackPanel>
+
+			<StackPanel>
+				<StackPanel.Styles>
+					<Style Selector="TextBlock.TextToTextBox">
+						<Setter Property="Foreground" Value="Black"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Regular"></Setter>
+						<Setter Property="FontSize" Value="18"></Setter>
+						<Setter Property="Margin" Value="200 30 0 0"></Setter>
+						<Setter Property="Width" Value="200"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBox">
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="9"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="FontSize" Value="14"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBox:pointerover /template/ TextBlock#PART_Watermark">
+						<Setter Property="TextBox.BorderBrush" Value="#A10009" />
+					</Style>
+					<Style Selector="TextBox:focus /template/ TextBlock#PART_Watermark">
+						<Setter Property="TextBox.BorderBrush" Value="#A10009" />
+					</Style>
+					<Style Selector="Border.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Height" Value="35"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="DatePicker.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="TimePicker.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Background" Value="#FFF8F8"></Setter>
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+						<Setter Property="BorderBrush" Value="#E40714"></Setter>
+						<Setter Property="BorderThickness" Value="2"></Setter>
+						<Setter Property="CornerRadius" Value="10"></Setter>
+					</Style>
+					<Style Selector="CheckBox.TextColumn">
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Margin" Value="10 30 0 0"></Setter>
+					</Style>
+					<Style Selector="ComboBox.TextColumn">
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Height" Value="30"></Setter>
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="BorderBrush" Value="Transparent"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="ComboBox.TextColumn:pointerover /template/ Border#Background">
+						<Setter Property="Width" Value="360"></Setter>
+						<Setter Property="Background" Value=""></Setter>
+						<Setter Property="BorderBrush" Value="Transparent"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+				</StackPanel.Styles>
+				<ScrollViewer Height="600">
+					<StackPanel Orientation="Vertical">
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Торговая точка:</TextBlock>
+							<Border Classes="TextColumn">
+								<ComboBox Classes="TextColumn">
+									<ComboBoxItem>название</ComboBoxItem>
+								</ComboBox>
+							</Border>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Проект:</TextBlock>
+							<Border Classes="TextColumn">
+								<ComboBox Classes="TextColumn">
+									<ComboBoxItem>название</ComboBoxItem>
+								</ComboBox>
+							</Border>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Дата визита:</TextBlock>
+							<DatePicker Classes="TextColumn"></DatePicker>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Время визита:</TextBlock>
+							<TimePicker Classes="TextColumn"></TimePicker>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Orientation="Horizontal">
+							<TextBlock Classes="TextToTextBox">Визит принят:</TextBlock>
+							<CheckBox Classes="TextColumn"></CheckBox>
+						</StackPanel>
+						<Border Background="#969696" CornerRadius="13"  Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
+						<StackPanel Margin="0 20">
+							<StackPanel.Styles>
+								<Style Selector="TextBlock.TextColumns">
+									<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+									<Setter Property="FontFamily" Value="Roboto"></Setter>
+									<Setter Property="FontWeight" Value="Medium"></Setter>
+									<Setter Property="FontSize" Value="18"></Setter>
+									<Setter Property="Margin" Value="40 0"></Setter>
+									<Setter Property="VerticalAlignment" Value="Center"></Setter>
+									<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+								</Style>
+								<Style Selector="Border.TextColumns">
+									<Setter Property="Margin" Value="200 0"></Setter>
+								</Style>
+							</StackPanel.Styles>
+							<Border Classes="TextColumns" Background="#80E40714" CornerRadius="13" Height="40">
+								<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
+									<TextBlock Classes="TextColumns">НАИМЕНОВАНИЕ</TextBlock>
+									<TextBlock Classes="TextColumns">ЦЕНА</TextBlock>
+									<TextBlock Classes="TextColumns">ЦЕНА ПО КАРТЕ</TextBlock>
+									<TextBlock Classes="TextColumns">ФАКТИЧЕСКИЙ БАЛАНС</TextBlock>
+									<TextBlock Classes="TextColumns">ВИРТУАЛЬНЫЙ БАЛАНС</TextBlock>
+								</StackPanel>
+							</Border>
+							<StackPanel Orientation="Vertical" Margin="65 20">
+								<StackPanel.Styles>
+									<Style Selector="TextBox.TextColumn">
+										<Setter Property="Foreground" Value="Black"></Setter>
+										<Setter Property="FontFamily" Value="Roboto"></Setter>
+										<Setter Property="FontWeight" Value="Medium"></Setter>
+										<Setter Property="FontSize" Value="18"></Setter>
+										<Setter Property="VerticalAlignment" Value="Center"></Setter>
+										<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+									</Style>
+								</StackPanel.Styles>
+								<StackPanel Orientation="Horizontal" Margin="140 0" >
+									<TextBox Classes="TextColumn" Width="220" Margin="0 0 40 0"></TextBox>
+									<TextBox Classes="TextColumn" Width="90" Margin="0 0 40 0"></TextBox>
+									<TextBox Classes="TextColumn" Width="180" Margin="0 0 40 0"></TextBox>
+									<TextBox Classes="TextColumn" Width="240" Margin="0 0 40 0"></TextBox>
+									<TextBox Classes="TextColumn" Width="220" Margin="0 0 40 0"></TextBox>
+								</StackPanel>
+							</StackPanel>
+						</StackPanel>
+					</StackPanel>
+				</ScrollViewer>
+			</StackPanel>
+		</StackPanel>
+		<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
+			<StackPanel.Styles>
+				<Style Selector="TextBlock.TextBtDelete">
+					<Setter Property="Foreground" Value="#E40714"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="20"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+				</Style>
+				<Style Selector="Button.BtDelete">
+					<Setter Property="BorderThickness" Value="2"></Setter>
+					<Setter Property="Width" Value="180"></Setter>
+					<Setter Property="Height" Value="38"></Setter>
+					<Setter Property="Margin" Value="0 740 70 20"></Setter>
+					<Setter Property="Background" Value="Transparent"></Setter>
+					<Setter Property="CornerRadius" Value="13"></Setter>
+					<Setter Property="BorderBrush" Value="#E40714"></Setter>
+				</Style>
+				<Style Selector="Button.BtDelete:pointerover /template/ ContentPresenter">
+					<Setter Property="BorderBrush" Value="#A10009"></Setter>
+					<Setter Property="Background" Value="Transparent"></Setter>
+				</Style>
+				<Style Selector="Button.BtDelete:pressed">
+					<Setter Property="RenderTransform" Value="none"/>
+				</Style>
+
+				<Style Selector="TextBlock.TextBtSave">
+					<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="20"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave">
+					<Setter Property="Width" Value="180"></Setter>
+					<Setter Property="Height" Value="38"></Setter>
+					<Setter Property="Margin" Value="0 740 30 20"></Setter>
+					<Setter Property="Background" Value="#E40714"></Setter>
+					<Setter Property="CornerRadius" Value="13"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pointerover /template/ ContentPresenter">
+					<Setter Property="Background" Value="#A10009"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pressed">
+					<Setter Property="RenderTransform" Value="none"/>
+				</Style>
+			</StackPanel.Styles>
+			<Button Classes="BtDelete" Command="">
+				<TextBlock Classes="TextBtDelete">Удалить</TextBlock>
+			</Button>
+			<Button Classes="BtSave" Command="">
+				<TextBlock Classes="TextBtSave">Сохранить</TextBlock>
+			</Button>
+		</StackPanel>
+	</Grid>
 </UserControl>

+ 1 - 0
Views/OutletsView.axaml

@@ -195,6 +195,7 @@
 						<TextBlock Classes="Data">Типа ID</TextBlock>
 					</Border>-->
 								<TextBlock Text="{Binding Outletid}" Classes="EditTextBox" Width="70" Margin="0 0 140 0">Типа id</TextBlock>
+								<TextBlock Classes="EditTextBox" Width="70" Margin="0 0 140 0">Типа название торговой сети</TextBlock>
 								<TextBlock Text="{Binding TradeNetworksNavigation.Title}" Classes="EditTextBox" Width="70" Margin="0 0 140 0">Типа название торговой сети</TextBlock>
 								<!--<Border  Classes="Data" CornerRadius="13"  Width="310" Height="40" Margin="0 0 140 0">
 						<TextBlock Classes="Data">Типа название торговой сети</TextBlock>

+ 220 - 2
Views/ProjectsView.axaml

@@ -2,7 +2,225 @@
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
-             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+			 xmlns:vm="using:Acosta.ViewModels"
+			 x:DataType="vm:MainWindowViewModel"
+             mc:Ignorable="d" d:DesignWidth="1550" d:DesignHeight="800.5"
              x:Class="Acosta.Views.ProjectsView">
-  Welcome to Avalonia!
+	<Grid>
+		<StackPanel>
+			<StackPanel Height="50" Background="#E40714" VerticalAlignment="Top">
+				<StackPanel.Styles>
+					<Style Selector="TextBlock.headerLogo">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Regular"></Setter>
+						<Setter Property="FontSize" Value="35"></Setter>
+						<Setter Property="Margin" Value="30 0 0 0"></Setter>
+					</Style>
+					<Style Selector="TextBlock.greeting">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt">
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="Transparent"></Setter>
+						<Setter Property="Foreground" Value="#D5AFAF"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="16"></Setter>
+					</Style>
+					<Style Selector="Button.headerBt:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+				</StackPanel.Styles>
+				<StackPanel Orientation="Horizontal">
+					<TextBlock Classes="headerLogo">Acosta</TextBlock>
+					<TextBlock Classes="greeting" Margin="770 12 0 0">Добро пожаловать, оператор</TextBlock>
+					<TextBlock Classes="greeting" Margin="7 12 0 0" FontWeight="Bold" Name="FIO">Фамилия И.О.</TextBlock>
+					<TextBlock Classes="greeting" Margin="10 10 0 0">/</TextBlock>
+					<Button Classes="headerBt" Command="{Binding ChangePasswordView}">Изменить пароль</Button>
+					<TextBlock Classes="greeting" Margin="0 10 0 0">/</TextBlock>
+					<Button Classes="headerBt" Command="{Binding ExitFromProfile}">Выйти</Button>
+				</StackPanel>
+			</StackPanel>
+			<StackPanel Classes="PanelMenu" Orientation="Horizontal">
+				<StackPanel.Styles>
+					<Style Selector="StackPanel.PanelMenu">
+						<Setter Property="Margin" Value="30"></Setter>
+					</Style>
+					<Style Selector="TextBlock.TextBtBack">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="20"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="TextBlock.Chapter">
+						<Setter Property="Foreground" Value="Black"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="20"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="Margin" Value="30 0"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack">
+						<Setter Property="Width" Value="140"></Setter>
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="Background" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="13"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="#A10009"></Setter>
+					</Style>
+					<Style Selector="Button.BtBack:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+
+					<Style Selector="Button.BtAdd">
+						<Setter Property="Height" Value="40"></Setter>
+						<Setter Property="Margin" Value="670 0 0 0"></Setter>
+						<Setter Property="Background" Value="#E40714"></Setter>
+						<Setter Property="CornerRadius" Value="13"></Setter>
+					</Style>
+					<Style Selector="Button.BtAdd:pointerover /template/ ContentPresenter">
+						<Setter Property="Background" Value="#A10009"></Setter>
+					</Style>
+					<Style Selector="TextBlock.TextBtAdd">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="18"></Setter>
+						<Setter Property="Margin" Value="20 0 0 0"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="Button.BtAdd:pressed">
+						<Setter Property="RenderTransform" Value="none"/>
+					</Style>
+				</StackPanel.Styles>
+				<Button Classes="BtBack" Command="{Binding BackPersonalAccountView}">
+					<TextBlock Classes="TextBtBack">Назад</TextBlock>
+				</Button>
+				<TextBlock Classes="Chapter">Выберите Проект для изменения</TextBlock>
+				<StackPanel Orientation="Horizontal">
+					<Button Classes="BtAdd" Width="240" Command="{Binding AddProjectsView}">
+						<TextBlock Classes="TextBtAdd">
+							Добавить проект <Image Source="avares://Acosta/Assets/plus.png" Width="25" Margin="20 0" HorizontalAlignment="Center" VerticalAlignment="Center"></Image>
+						</TextBlock>
+					</Button>
+				</StackPanel>
+			</StackPanel>
+			<StackPanel>
+				<StackPanel.Styles>
+					<Style Selector="TextBlock.TextColumns">
+						<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+						<Setter Property="FontFamily" Value="Roboto"></Setter>
+						<Setter Property="FontWeight" Value="Medium"></Setter>
+						<Setter Property="FontSize" Value="18"></Setter>
+						<Setter Property="Margin" Value="60 0"></Setter>
+						<Setter Property="VerticalAlignment" Value="Center"></Setter>
+						<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					</Style>
+					<Style Selector="Border.TextColumns">
+						<Setter Property="Margin" Value="0 0 0 20"></Setter>
+					</Style>
+				</StackPanel.Styles>
+				<Border Classes="TextColumns" Background="#80E40714" CornerRadius="13" Height="40" Margin="90 0">
+					<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
+						<TextBlock Classes="TextColumns">ID</TextBlock>
+						<TextBlock Classes="TextColumns">НАЗВАНИЕ</TextBlock>
+						<TextBlock Classes="TextColumns">КОЛИЧЕСТВО ПРОДУКТОВ</TextBlock>
+						<TextBlock Classes="TextColumns">КОЛИЧЕСТВО ПОСЕЩЕНИЙ В НЕДЕЛЮ</TextBlock>
+						
+					</StackPanel>
+				</Border>
+			</StackPanel>
+			<StackPanel.Styles>
+				<Style Selector="TextBlock.TextColumn">
+					<Setter Property="Foreground" Value="Black"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="18"></Setter>
+					<Setter Property="Margin" Value="50 0"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+				</Style>
+				<Style Selector="ComboBox.TextColumn">
+					<Setter Property="Foreground" Value="Black"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="18"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="BorderBrush" Value="Transparent"></Setter>
+					<Setter Property="Background" Value="Transparent"></Setter>
+					<Setter Property="Width" Value="180"></Setter>
+				</Style>
+				<Style Selector="Border.TextColumn">
+					<Setter Property="Margin" Value="60 0 0 20"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					<Setter Property="Background" Value="#FFF8F8"></Setter>
+					<Setter Property="Height" Value="40"></Setter>
+					<Setter Property="BorderBrush" Value="#E40714"></Setter>
+					<Setter Property="BorderThickness" Value="2"></Setter>
+					<Setter Property="CornerRadius" Value="13"></Setter>
+				</Style>
+			</StackPanel.Styles>
+			<StackPanel Orientation="Vertical" Margin="30">
+				<StackPanel Orientation="Horizontal">
+					<Border Classes="TextColumn">
+						<Button Background="Transparent" Command="{Binding EditProjectsView}">
+							<TextBlock Classes="TextColumn">ID</TextBlock>
+						</Button>
+					</Border>
+					<Border Classes="TextColumn">
+						<TextBlock Classes="TextColumn" Margin="30 0">Название</TextBlock>
+					</Border>
+					<Border Classes="TextColumn" Margin="60 0 100 20">
+						<TextBlock Classes="TextColumn">Количество</TextBlock>
+					</Border>
+					<Border Classes="TextColumn">
+						<TextBlock Classes="TextColumn">Время визита</TextBlock>
+					</Border>
+				</StackPanel>
+			</StackPanel>
+		</StackPanel>
+		<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
+			<StackPanel.Styles>
+				<Style Selector="TextBlock.TextBtSave">
+					<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="20"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave">
+					<Setter Property="Width" Value="180"></Setter>
+					<Setter Property="Height" Value="38"></Setter>
+					<Setter Property="Margin" Value="0 740 30 20"></Setter>
+					<Setter Property="Background" Value="#E40714"></Setter>
+					<Setter Property="CornerRadius" Value="13"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pointerover /template/ ContentPresenter">
+					<Setter Property="Background" Value="#A10009"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pressed">
+					<Setter Property="RenderTransform" Value="none"/>
+				</Style>
+			</StackPanel.Styles>
+			<Button Classes="BtSave" Command="">
+				<TextBlock Classes="TextBtSave">Сохранить</TextBlock>
+			</Button>
+		</StackPanel>
+	</Grid>
 </UserControl>

+ 82 - 11
Views/VisitsView.axaml

@@ -111,15 +111,13 @@
 				</Button>
 				<TextBlock Classes="Chapter">Выберите Визит для изменения</TextBlock>
 				<StackPanel Orientation="Horizontal">
-					<Button Classes="BtAdd" Width="240" Command="{Binding AddEmployeesView}">
+					<Button Classes="BtAdd" Width="240" Command="{Binding AddVisitView}">
 						<TextBlock Classes="TextBtAdd">
 							Добавить визит <Image Source="avares://Acosta/Assets/plus.png" Width="25" Margin="20 0" HorizontalAlignment="Center" VerticalAlignment="Center"></Image>
 						</TextBlock>
 					</Button>
 				</StackPanel>
 			</StackPanel>
-
-
 			<StackPanel>
 				<StackPanel.Styles>
 					<Style Selector="TextBlock.TextColumns">
@@ -145,17 +143,90 @@
 					</StackPanel>
 				</Border>	
 			</StackPanel>
-			<StackPanel Orientation="Vertical" Margin="60 30">
+			<StackPanel.Styles>
+				<Style Selector="TextBlock.TextColumn">
+					<Setter Property="Foreground" Value="Black"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="18"></Setter>
+					<Setter Property="Margin" Value="50 0"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+				</Style>
+				<Style Selector="ComboBox.TextColumn">
+					<Setter Property="Foreground" Value="Black"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="18"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="BorderBrush" Value="Transparent"></Setter>
+					<Setter Property="Background" Value="Transparent"></Setter>
+					<Setter Property="Width" Value="180"></Setter>
+				</Style>
+				<Style Selector="Border.TextColumn">
+					<Setter Property="Margin" Value="60 0 0 20"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+					<Setter Property="Background" Value="#FFF8F8"></Setter>
+					<Setter Property="Height" Value="40"></Setter>
+					<Setter Property="BorderBrush" Value="#E40714"></Setter>
+					<Setter Property="BorderThickness" Value="2"></Setter>
+					<Setter Property="CornerRadius" Value="13"></Setter>
+				</Style>
+			</StackPanel.Styles>
+			<StackPanel Orientation="Vertical" Margin="0 30">
 				<StackPanel Orientation="Horizontal">
-					<Button Margin="60 0">
-						<TextBlock Classes="TextColumns">Название торговой точки</TextBlock>
-					</Button>
-					<TextBlock Classes="TextColumns">Название проекта</TextBlock>
-					
+					<Border Classes="TextColumn">
+						<Button Background="Transparent" Command="{Binding EditVisitView}">
+							<TextBlock Classes="TextColumn">Название торговой точки</TextBlock>
+						</Button>
+					</Border>
+					<Border Classes="TextColumn">
+						<TextBlock Classes="TextColumn">Название проекта</TextBlock>
+					</Border>
+					<Border Classes="TextColumn">
+						<TextBlock Classes="TextColumn" Margin="30 0">Дата визита</TextBlock>
+					</Border>
+					<Border Classes="TextColumn">
+						<TextBlock Classes="TextColumn">Время визита</TextBlock>
+					</Border>
+					<Border Classes="TextColumn">
+						<ComboBox Classes="TextColumn">
+							<ComboBoxItem>Принят</ComboBoxItem>
+							<ComboBoxItem>Не принят</ComboBoxItem>
+						</ComboBox>
+					</Border>
 				</StackPanel>
 			</StackPanel>
-			
-			
+		</StackPanel>
+		<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
+			<StackPanel.Styles>
+				<Style Selector="TextBlock.TextBtSave">
+					<Setter Property="Foreground" Value="#F5F5F5"></Setter>
+					<Setter Property="FontFamily" Value="Roboto"></Setter>
+					<Setter Property="FontWeight" Value="Medium"></Setter>
+					<Setter Property="FontSize" Value="20"></Setter>
+					<Setter Property="HorizontalAlignment" Value="Center"></Setter>
+					<Setter Property="VerticalAlignment" Value="Center"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave">
+					<Setter Property="Width" Value="180"></Setter>
+					<Setter Property="Height" Value="38"></Setter>
+					<Setter Property="Margin" Value="0 740 30 20"></Setter>
+					<Setter Property="Background" Value="#E40714"></Setter>
+					<Setter Property="CornerRadius" Value="13"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pointerover /template/ ContentPresenter">
+					<Setter Property="Background" Value="#A10009"></Setter>
+				</Style>
+				<Style Selector="Button.BtSave:pressed">
+					<Setter Property="RenderTransform" Value="none"/>
+				</Style>
+			</StackPanel.Styles>
+			<Button Classes="BtSave" Command="">
+				<TextBlock Classes="TextBtSave">Сохранить</TextBlock>
+			</Button>
 		</StackPanel>
 	</Grid>
 </UserControl>