contact.xmal
<Page x:Class="BikeShop.Contact"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:BikeShop"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300"
Title="Contact">
<Grid Margin="0,0,-51,-25" Background="#FFC7C7C7">
<TextBox Height="23" Margin="66,9,57,0" TextWrapping="Wrap" VerticalAlignment="Top"/>
<TextBox Margin="66,37,57,32" TextWrapping="Wrap" Background="White"/>
<TextBlock HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" Text="Sender" VerticalAlignment="Top" Height="22" Width="48"/>
<TextBlock HorizontalAlignment="Left" Margin="10,37,0,0" TextWrapping="Wrap" Text="Message" VerticalAlignment="Top"/>
</Grid>
</Page>
MainWindow.xmal
<Window x:Class="BikeShop.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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"
xmlns:local="clr-namespace:BikeShop"
mc:Ignorable="d"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Frame Source="\Contact.xaml"/>
<!--<Frame Source="\TestPage.xaml"/>-->
</Grid>
</Window>
'C#(.Net)' 카테고리의 다른 글
WPF) 아날로그시계( c# 200제) (0) | 2021.07.21 |
---|---|
C# 기본 get, set (c++ getter, setter) (0) | 2021.07.13 |
데이터 바인딩 (0) | 2021.07.11 |
(WPF)콤보박스를 이용한 식당 리스트의 추가, 삭제(C# 200제, p433) (0) | 2021.07.10 |
데이터바인딩 (0) | 2021.07.09 |