summaryrefslogtreecommitdiff
path: root/product/desktop.ui/views/dialogs/AddNewStockSymbolDialog.xaml
blob: 400674a9d67a81fb615ea459a893b0401781d7c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<ui:WPFDialog x:Class="solidware.financials.windows.ui.views.dialogs.AddNewStockSymbolDialog" xmlns:ui="clr-namespace:solidware.financials.windows.ui" x:TypeArguments="presenters:AddNewStockSymbolPresenter" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:presenters="clr-namespace:solidware.financials.windows.ui.presenters" Title="Watch New Stock" Width="400" Height="90" WindowStartupLocation="CenterOwner">
    <StackPanel>
        <DockPanel>
            <Label Width="120px">Symbol:</Label>
            <TextBox Text="{Binding Path=Symbol, UpdateSourceTrigger=PropertyChanged}"></TextBox>
        </DockPanel>
        <DockPanel LastChildFill="False" HorizontalAlignment="Right">
            <Button IsDefault="True" Command="{Binding Path=Add}">_Add</Button>
            <Button IsCancel="True" Command="{Binding Path=Cancel}">_Cancel</Button>
        </DockPanel>
    </StackPanel>
</ui:WPFDialog>