Browse Source

здание 6.1

Ethosa 3 years ago
parent
commit
0a046eb467
2 changed files with 11 additions and 10 deletions
  1. 7 10
      MainWindow.xaml
  2. 4 0
      MainWindow.xaml.cs

+ 7 - 10
MainWindow.xaml

@@ -6,17 +6,14 @@
         xmlns:local="clr-namespace:bebra"
         mc:Ignorable="d"
         Title="MainWindow" Height="450" Width="800">
-    <Grid Height="450" VerticalAlignment="Bottom">
+    <Grid>
         <Grid.RowDefinitions>
-            <RowDefinition Height="*"/>
-            <RowDefinition Height="235"/>
-            <RowDefinition Height="*"/>
+            <RowDefinition Height="42"/>
+            <RowDefinition/>
+            <RowDefinition Height="42"/>
         </Grid.RowDefinitions>
-        <Grid.ColumnDefinitions>
-            <ColumnDefinition Width="*"/>
-            <ColumnDefinition Width="295"/>
-            <ColumnDefinition Width="*"/>
-        </Grid.ColumnDefinitions>
-
+        <Rectangle Fill="#FFF4F4F5" Grid.Row="2" StrokeThickness="0" Height="42" VerticalAlignment="Center"/>
+        <Button Content="назад" HorizontalAlignment="Left" Margin="18,0,0,0" VerticalAlignment="Center" Height="22" Width="76"/>
+        <Frame x:Name="MainFrame" Content="Frame" Grid.Row="1"/>
     </Grid>
 </Window>

+ 4 - 0
MainWindow.xaml.cs

@@ -25,5 +25,9 @@ namespace bebra
             InitializeComponent();
         }
 
+        private void Button_Click(object sender, RoutedEventArgs e)
+        {
+
+        }
     }
 }