Windows Form Applications
Nama : Hesekiel Nainggolan
Nrp : 5025201054
Tugas : Windows Form Application
Repo : Winform
Source Code
- <Window x:Class="WinFormAplication.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:WinFormAplication"
- mc:Ignorable="d"
- Title="WinForm" Height="180" Width="260">
- <Grid Margin="10" Background="#FF64F5FF">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Label>Daftar Nama</Label>
- <ListBox Grid.Row="1" x:Name="lstNames" Background="#FF64F5FF" />
- <StackPanel Grid.Row="1" Grid.Column="1" Margin="5,0,0,0">
- <TextBox x:Name="txtName" />
- <Button x:Name="btnAdd" Margin="0,5,0,0" Click="ButtonAddName_Click">Tambah Nama</Button>
- </StackPanel>
- </Grid>
- </Window>
Dokumentasi
- Tampilan Awal
Komentar
Posting Komentar