-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwVersion.xaml
35 lines (31 loc) · 2.28 KB
/
wVersion.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<platformui:DialogWindow xmlns:platformui="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.15.0"
x:Class="oVersion.wVersion"
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:oVersion" xmlns:system="clr-namespace:System;assembly=System.Runtime"
mc:Ignorable="d"
Title="oVersion" Height="400" Width="650" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" ShowInTaskbar="False">
<Grid>
<DockPanel Margin="10">
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal" DockPanel.Dock="Bottom">
<Button Content="Save" x:Name="b_save" Width="120" Margin="20"/>
<Button Content="Cancel" x:Name="b_cancel" Width="120" Margin="20"/>
</StackPanel>
<TextBlock x:Name="h_count" DockPanel.Dock="Top" Text="Selected Projects : *" Margin="5"/>
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal" Margin="5">
<ComboBox x:Name="c_version" Width="160" Margin="3" VerticalAlignment="Center" SelectedIndex="2">
<ComboBoxItem Content="Assembly Version"></ComboBoxItem>
<ComboBoxItem Content="Assembly File Version"></ComboBoxItem>
<ComboBoxItem Content="Assembly + File version"></ComboBoxItem>
</ComboBox>
<local:VersionTextField x:Name="t_major" Margin="3" PreviewTextInput="NumberValidationTextBox"/>
<local:VersionTextField x:Name="t_minor" Margin="3" PreviewTextInput="NumberValidationTextBox"/>
<local:VersionTextField x:Name="t_build" Margin="3" PreviewTextInput="NumberValidationTextBox"/>
<local:VersionTextField x:Name="t_rev" Margin="3" PreviewTextInput="NumberValidationTextBox"/>
</StackPanel>
<ListBox x:Name="lst" SelectionMode="Extended"/>
</DockPanel>
</Grid>
</platformui:DialogWindow>