dags att checka in
This commit is contained in:
43
WpfScraper/MainWindow.xaml
Normal file
43
WpfScraper/MainWindow.xaml
Normal file
@ -0,0 +1,43 @@
|
||||
<Window x:Class="WpfScraper.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:WpfScraper"
|
||||
mc:Ignorable="d"
|
||||
Title="My awesome webscraper" Height="450" Width="800">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="50"/>
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid Grid.Row="0">
|
||||
<DockPanel>
|
||||
<Menu>
|
||||
<MenuItem Header="File">
|
||||
<MenuItem Header="Export"
|
||||
x:Name="ItemExport"
|
||||
Click="ItemExport_Click"/>
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
<Button x:Name="BtnScraper"
|
||||
Content="Scrape"
|
||||
DockPanel.Dock="Right"
|
||||
Height="25"
|
||||
Width="50"
|
||||
Click="BtnScraper_Click"
|
||||
Margin="0,0,10,0"/>
|
||||
|
||||
<TextBox x:Name="TbPage"
|
||||
DockPanel.Dock="Bottom"
|
||||
Text="WebPage..."
|
||||
Height="20"
|
||||
Margin="0,0,10,0"/>
|
||||
|
||||
</DockPanel>
|
||||
</Grid>
|
||||
<Grid Grid.Row="1">
|
||||
<DataGrid ItemsSource="{Binding Entries}"/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user