title: Split windows form to 4 window
body: <p>i hope any one can can help me , i use WPF to split the window to 4 window i built this code </p>
  
  <pre><code>&lt;Window x:Class="WpfApplication1.MainWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      Title="MainWindow" Height="350" Width="525"&gt;
  &lt;Grid&gt;
      &lt;Grid&gt;
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition /&gt;
              &lt;ColumnDefinition /&gt;
          &lt;/Grid.ColumnDefinitions&gt;
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition/&gt;
              &lt;RowDefinition /&gt;
          &lt;/Grid.RowDefinitions&gt;
  
          &lt;StackPanel Background="#feca00" Grid.Column="0" Grid.Row="0"&gt;
              &lt;TextBlock FontSize="35" Foreground="#58290A" 
                 TextWrapping="Wrap"&gt;4&lt;/TextBlock&gt;
          &lt;/StackPanel&gt;
  
          &lt;GridSplitter ResizeDirection="Rows" 
                  Grid.ColumnSpan="2" 
                  HorizontalAlignment="Stretch" 
                  VerticalAlignment="Bottom"/&gt;
          &lt;Border CornerRadius="10" BorderBrush="#58290A" Grid.Column="0" Grid.Row="1"
                  BorderThickness="5"&gt;
              &lt;TextBlock FontSize="25" Margin="20" Foreground="#FECA00" 
                 TextWrapping="Wrap"&gt;3&lt;/TextBlock&gt;
          &lt;/Border&gt;
          &lt;Border CornerRadius="10" BorderBrush="#58290A" Grid.Column="1" Grid.Row="0"
                  BorderThickness="5"&gt;
              &lt;TextBlock FontSize="25" Margin="20" Foreground="#FECA00" 
                 TextWrapping="Wrap"&gt;2&lt;/TextBlock&gt;
          &lt;/Border&gt;
          &lt;Border CornerRadius="10" BorderBrush="#58290A" Grid.Column="1" Grid.Row="1"
                  BorderThickness="5"&gt;
              &lt;TextBlock FontSize="25" Margin="20" Foreground="#FECA00" 
                 TextWrapping="Wrap"&gt;1&lt;/TextBlock&gt;
          &lt;/Border&gt;
  
      &lt;/Grid&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p></p>
  
  <p>i want to built this code by windows form not WPF .
  In the same way split screen in WPF . 
  I try to built it but don't find result can any one help me please .</p>