|
|
|
|
@ -7,6 +7,9 @@
|
|
|
|
|
ResizeMode="NoResize"
|
|
|
|
|
WindowStartupLocation="CenterScreen"
|
|
|
|
|
Title="Gremlin QuoteUI" Height="1024" Width="1280">
|
|
|
|
|
<Window.Resources>
|
|
|
|
|
<viewmodels:QuoteVM x:Key="m" ></viewmodels:QuoteVM>
|
|
|
|
|
</Window.Resources>
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
@ -70,11 +73,11 @@
|
|
|
|
|
|
|
|
|
|
<Grid Grid.Column="1" Height="Auto">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<TextBox x:Name="tbQuoteType" Text="ein Analysegerät" Margin="10,4,10,4" TextChanged="TbQuoteType_TextChanged" />
|
|
|
|
|
<TextBox x:Name="tbQuoteNumber" Text="DE-83PE89-421-6000" Margin="10,4,10,4" TextChanged="TbQuoteNumber_TextChanged" />
|
|
|
|
|
<TextBox x:Name="tbQuotePath" Text="D:\Coding\Gremlin\Gremlin\bin\Debug\net5.0-windows" Margin="10,4,10,4" TextChanged="TbQuotePath" />
|
|
|
|
|
<TextBox x:Name="tbWarranty" Text="12" Margin="10,4,10,4" TextChanged="TbWarranty_TextChanged" />
|
|
|
|
|
<TextBox x:Name="tbValidity" Text="60" Margin="10,5,10,5" TextChanged="TbValidity_TextChanged" />
|
|
|
|
|
<TextBox x:Name="tbQuoteType" Text="{Binding Path=QuoteType, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Margin="10,4,10,4" TextChanged="TbQuoteType_TextChanged" />
|
|
|
|
|
<TextBox x:Name="tbQuoteNumber" Text="{Binding Path=QuoteNumber, UpdateSourceTrigger=PropertyChanged}" Margin="10,4,10,4" TextChanged="TbQuoteNumber_TextChanged" />
|
|
|
|
|
<TextBox x:Name="tbQuotePath" Text="{Binding Path=QuotePath, UpdateSourceTrigger=PropertyChanged}" Margin="10,4,10,4" TextChanged="TbQuotePath" />
|
|
|
|
|
<TextBox x:Name="tbWarranty" Text="{Binding Path=Warranty, UpdateSourceTrigger=PropertyChanged}" Margin="10,4,10,4" TextChanged="TbWarranty_TextChanged" />
|
|
|
|
|
<TextBox x:Name="tbValidity" Text="{Binding Path=Validity, UpdateSourceTrigger=PropertyChanged}" Margin="10,5,10,5" TextChanged="TbValidity_TextChanged" />
|
|
|
|
|
<TextBox x:Name="tbOppID" Text="3003541659" Margin="10,4,10,4" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
@ -83,11 +86,11 @@
|
|
|
|
|
|
|
|
|
|
<StackPanel x:Name="Opp" Grid.Row="0" Grid.Column="2" Orientation="Vertical">
|
|
|
|
|
<CheckBox d:DataContext="{d:DesignInstance Type=viewmodels:QuoteVM}" x:Name="cbBrutto" Content="Brutto anzeigen" Margin="10,5,10,5" IsChecked="{Binding Path=Brutto, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Click="CbBrutto_Click"/>
|
|
|
|
|
<CheckBox x:Name="cbSinglePrices" Content="Einzelpreise ausweisen" Margin="10,5,10,5" IsChecked="True" Click="CbSinglePrices_Click" />
|
|
|
|
|
<CheckBox x:Name="cbShowDiscounts" Content="Discounts ausweisen" Margin="10,5,10,5" IsChecked="True" Click="CbShowDiscounts_Click"/>
|
|
|
|
|
<CheckBox x:Name="cbBrochure" Content="Broschüren anhängen" Margin="10,5,10,5" Click="CbBrochure_Click" />
|
|
|
|
|
<CheckBox x:Name="cbDataSheets" Content="Datenblätter anhängen" Margin="10,5,10,5" Click="CbDataSheets_Click" />
|
|
|
|
|
<CheckBox x:Name="cbMailTemplate" Content="Mail aus Template erstellen" Margin="10,5,10,5" Click="CbMailTemplate_Click" />
|
|
|
|
|
<CheckBox x:Name="cbSinglePrices" Content="Einzelpreise ausweisen" Margin="10,5,10,5" IsChecked="{Binding Path=SinglePrices, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Click="CbSinglePrices_Click" />
|
|
|
|
|
<CheckBox x:Name="cbShowDiscounts" Content="Discounts ausweisen" Margin="10,5,10,5" IsChecked="{Binding Path=ShowDiscounts, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Click="CbShowDiscounts_Click"/>
|
|
|
|
|
<CheckBox x:Name="cbBrochure" Content="Broschüren anhängen" Margin="10,5,10,5" IsChecked="{Binding Path=Brochures, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Click="CbBrochure_Click" />
|
|
|
|
|
<CheckBox x:Name="cbDataSheets" Content="Datenblätter anhängen" Margin="10,5,10,5" IsChecked="{Binding Path=DataSheets, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Click="CbDataSheets_Click" />
|
|
|
|
|
<CheckBox x:Name="cbMailTemplate" Content="Mail aus Template erstellen" Margin="10,5,10,5" IsChecked="{Binding Path=MailTemplate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Click="CbMailTemplate_Click" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|