-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.xaml
145 lines (141 loc) · 5.46 KB
/
ui.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Generate Sheets from Excel"
Width="500"
Height="350"
ResizeMode="NoResize"
x:Uid="wind"
x:Name="Windo"
Background="#FF403F3D"
>
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Rectangle HorizontalAlignment="Left" Height="321" Stroke="Black" VerticalAlignment="Top" Width="238" Grid.ColumnSpan="3" Grid.RowSpan="4" Fill="#FFFFD11A" Margin="10,0,0,-0.2" RenderTransformOrigin="0.5,0.5">
<Rectangle.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform AngleY="-0.236"/>
<RotateTransform/>
<TranslateTransform Y="-0.396"/>
</TransformGroup>
</Rectangle.RenderTransform>
</Rectangle>
<!--Left side content-->
<Label Content="Sheets names:"
Grid.Row="0"
Grid.ColumnSpan="2"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"
Foreground="Black"
Margin="24,75,66.2,57.8"
Width="157" Grid.RowSpan="2" Height="28" FontSize="13"
/>
<Label Content="Sheets numbers:"
Grid.Row="2"
Grid.ColumnSpan="2"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"
Foreground="Black"
Margin="24,18.2,66.2,31.8" Width="157" Height="30" FontSize="13"
/>
<!--Right side content-->
<Image Source="C:\Users\User\Desktop\Logo\xaml.png"
Grid.Row="0"
Grid.Column="2"
Grid.ColumnSpan="4"
Grid.RowSpan="3"
HorizontalAlignment="Center"
VerticalAlignment="Top"
RenderTransformOrigin="0.5,0.5" >
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="0.5" ScaleY="0.5"/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Image.RenderTransform>
</Image>
<Button Grid.Row="3"
Grid.Column="2"
Grid.ColumnSpan="2"
FontSize="14"
FontFamily="ISOCPEUR"
Click="bu1_click"
ClickMode="Press"
Margin="57.8,0.2,57.6,44.8"
Background="#FF8B8C8A"
Content="Ready"
Cursor="Hand"/>
<Label Content="First cell"
Grid.Row="2"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"
Foreground="Black"
Margin="30,42.2,15.2,5.8" Width="78" Height="32" FontSize="13"
/>
<Label Content="Last cell"
Grid.Row="2"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"
Foreground="Black"
Margin="30,74.2,15.2,56.8"
Width="78" Height="29" Grid.RowSpan="2" FontSize="13"
/>
<Label Content="Last cell"
Grid.Row="1"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"
Foreground="Black"
Margin="30,53,15.2,76.8"
Width="78" Grid.RowSpan="2" Height="31" FontSize="13"
/>
<Label Content="First cell"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"
Foreground="Black"
Margin="30,21,25.2,30.8"
Width="68" Grid.Row="1" Height="29" FontSize="13"
/>
<TextBox
x:Name="textbox_shtN"
Margin="39.8,39,18.2,19" FontFamily="ISOCPEUR" Grid.Column="1"/>
<Label Content="Excel sheet index № "
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"
Foreground="Black"
Margin="24,36,89.2,16"
Width="134" Grid.ColumnSpan="2" Height="28" FontSize="13"
/>
<TextBox
x:Name="textbox_shn1"
Margin="39.8,24,18.2,34.8" FontFamily="ISOCPEUR" Grid.Row="1" Grid.Column="1"/>
<TextBox
x:Name="textbox_shn2"
Margin="39.8,59,18.2,79.8" FontFamily="ISOCPEUR" Grid.Row="1" Grid.RowSpan="2" Grid.Column="1"/>
<TextBox
x:Name="textbox_shnm1"
Margin="39.8,45.2,18.2,12.8" FontFamily="ISOCPEUR" Grid.Row="2" Grid.Column="1"/>
<TextBox
x:Name="textbox_shnm2"
Margin="39.8,77.2,18.2,60.8" FontFamily="ISOCPEUR" Grid.Row="2" Grid.RowSpan="2" Grid.Column="1"/>
</Grid>
</Window>