프로젝트

일반

사용자정보

개정판 95e7bd84

ID95e7bd8431fcf028c86da386202c28ff956b654e
상위 cdb2c0a2
하위 ad3c4ac3

semi 이(가) 4년 이상 전에 추가함

수정사항 & Add Dialog validation 하는 중

Change-Id: Id53bbd718ea1cc5aebfc97f0216fe6a3f464ee00

차이점 보기:

ConvertService/ServiceBase/Markus.Service.StationController/Views/DataBaseView.xaml
24 24
        <Style TargetType="{x:Type telerik:GridViewCell}">
25 25
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
26 26
        </Style>
27
        <Style TargetType="{x:Type telerik:GridViewCell}" x:Key="OriginalFileGridViewCell">
28
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
29
        </Style>
27 30
        <Style TargetType="{x:Type controls:RowIndexColumn}">
28 31
            <Setter Property="TextAlignment" Value="Center"/>
29 32
        </Style>
......
76 79
            <RowDefinition Height="Auto"/>
77 80
            <RowDefinition Height="Auto"/>
78 81
        </Grid.RowDefinitions>
79
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0"  Height="20" >
82
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0" >
80 83
            <TextBlock Text="Display Count : " VerticalAlignment="Center"/>
81 84
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
82 85
                  DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" />
......
134 137
                <telerik:RadGridView.Columns>
135 138
                    <telerik:GridViewToggleRowDetailsColumn />
136 139
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
137
                    <telerik:GridViewDataColumn Header="Convert ID " 
138
											DataMemberBinding="{Binding ConvertID}" Width="1.5*"  />
139 140
                    <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  >
140 141
                        <telerik:GridViewDataColumn.CellTemplate>
141 142
                            <DataTemplate>
......
147 148
                    </telerik:GridViewDataColumn>
148 149
                    <telerik:GridViewDataColumn Header="ProjectNO" 
149 150
											DataMemberBinding="{Binding ProjectNumber}" Width="*" />
150
                    <telerik:GridViewDataColumn Header="UniqueKey"
151
											DataMemberBinding="{Binding UniqueKey}" Width="*" />
152
                    <telerik:GridViewDataColumn Header="ConvertState"  
153
											DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
154 151
                    <telerik:GridViewDataColumn Header="CurrentPageNo" 
155 152
											DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
156 153
                    <telerik:GridViewDataColumn Header="TotalPageNo" 
157 154
											DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
158
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일" 
155
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}"
159 156
                                                        NavigateUrlFormatString=" {0}"
160 157
													    NavigateUrlMemberPaths="OriginfilePath"
161 158
														Width="2*">
162 159
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
163 160
                            <DataTemplate>
164
                                <TextBlock Text="{Binding FileName}"/>
161
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
165 162
                            </DataTemplate>
166 163
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
167 164
                    </telerik:GridViewDynamicHyperlinkColumn>
168 165

  
169
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="2.5*">
166
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
170 167
                        <telerik:GridViewDataColumn.CellTemplate>
171 168
                            <DataTemplate>
172
                                <StackPanel Orientation="Horizontal" >
173
                                    <TextBox Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
169
                                <Grid>
170
                                    <!--<Grid.ColumnDefinitions>
171
                                        <ColumnDefinition/>
172
                                        <ColumnDefinition Width="Auto"/>
173
                                    </Grid.ColumnDefinitions>-->
174
                                    <!--<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>-->
174 175
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"
175 176
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
176 177
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
177 178
                                    </telerik:RadButton>
178
                                </StackPanel>
179
                                </Grid>
179 180
                            </DataTemplate>
180 181
                        </telerik:GridViewDataColumn.CellTemplate>
181 182
                    </telerik:GridViewDataColumn>
182 183

  
183 184
                    <telerik:GridViewDataColumn Header="CreateTime" IsReadOnly="True"   Background="Transparent" 
184 185
											DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
185
                    <telerik:GridViewDataColumn Header="StartTime"  IsReadOnly="True"  Background="Transparent" 
186
											DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
187
                    <telerik:GridViewDataColumn Header="EndTime"  IsReadOnly="True" Background="Transparent" 
188
											DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
186
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
187
											DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
189 188
                </telerik:RadGridView.Columns>
190 189
            </telerik:RadGridView>
191 190
        </telerik:RadExpander>
......
221 220
                    <telerik:GridViewToggleRowDetailsColumn />
222 221
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
223 222

  
224
                    <telerik:GridViewDataColumn Header="Convert ID "
225
											DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
226

  
227 223
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
228 224
                        <telerik:GridViewDataColumn.CellTemplate>
229 225
                            <DataTemplate>
......
235 231

  
236 232
                    <telerik:GridViewDataColumn Header="ProjectNO" 
237 233
											DataMemberBinding="{Binding ProjectNumber}" Width="*" />
238
                    <telerik:GridViewDataColumn Header="UniqueKey" 
239
											DataMemberBinding="{Binding UniqueKey}" Width="*" />
240
                    <telerik:GridViewDataColumn Header="ConvertState"
241
											DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
242

  
243 234
                    <telerik:GridViewDataColumn Header="CurrentPageNo" 
244 235
											DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
245 236
                    <telerik:GridViewDataColumn Header="TotalPageNo" 
246 237
											DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
247
                    <telerik:GridViewDynamicHyperlinkColumn x:Name="navigation" Header="원본파일"
238
                    <telerik:GridViewDynamicHyperlinkColumn x:Name="navigation" Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
248 239
                                                        NavigateUrlFormatString="{}{0}"
249 240
													    NavigateUrlMemberPaths="OriginfilePath"
250 241
														Width="2*">
251 242
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
252 243
                            <DataTemplate>
253
                                <TextBlock Text="{Binding FileName}"/>
244
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
254 245
                            </DataTemplate>
255 246
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
256 247
                    </telerik:GridViewDynamicHyperlinkColumn>
257 248

  
258
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
249
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
259 250
                        <telerik:GridViewDataColumn.CellTemplate>
260
                            <DataTemplate >
261
                                <StackPanel Orientation="Horizontal">
262
                                    <TextBox Text="{Binding ConvertPath}"/>
263
                                    <telerik:RadButton BorderThickness="0"
264
                                                   Background="Transparent"
251
                            <DataTemplate>
252
                                <Grid>
253
                                    <!--<Grid.ColumnDefinitions>
254
                                        <ColumnDefinition/>
255
                                        <ColumnDefinition Width="Auto"/>
256
                                    </Grid.ColumnDefinitions>-->
257
                                    <!--<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>-->
258
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"
265 259
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
266 260
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
267 261
                                    </telerik:RadButton>
268
                                </StackPanel>
262
                                </Grid>
269 263
                            </DataTemplate>
270 264
                        </telerik:GridViewDataColumn.CellTemplate>
271 265
                    </telerik:GridViewDataColumn>
266

  
272 267
                    <telerik:GridViewDataColumn Header="CreateTime"  IsReadOnly="True"
273 268
											DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
274
                    <telerik:GridViewDataColumn Header="StartTime"  IsReadOnly="True"
275
											DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
276
                    <telerik:GridViewDataColumn Header="EndTime"  IsReadOnly="True"
277
											DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
269
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
270
											DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
278 271
                </telerik:RadGridView.Columns>
279 272
            </telerik:RadGridView>
280 273
        </telerik:RadExpander>
......
286 279
                    <Grid.ColumnDefinitions>
287 280
                        <ColumnDefinition Width="Auto"/>
288 281
                        <ColumnDefinition Width="Auto"/>
282
                        <ColumnDefinition Width="2*"/>
283
                        <ColumnDefinition Width="57*"/>
289 284
                    </Grid.ColumnDefinitions>
290
                    <TextBlock Text="Alive Items : " Grid.RowSpan="2"/>
291
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
285
                    <TextBlock Text="Alive Items : " Grid.ColumnSpan="2" Margin="0,0,5,0"/>
286
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.ColumnSpan="2" Margin="1,0,28,0"/>
292 287
                </Grid>
293 288
            </telerik:RadExpander.Header>
294 289
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
......
300 295
                    <telerik:GridViewToggleRowDetailsColumn />
301 296
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
302 297

  
303
                    <telerik:GridViewDataColumn Header="Convert ID " 
304
											DataMemberBinding="{Binding ConvertID}" Width="1.5*"  />
305

  
306 298
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
307 299
                        <telerik:GridViewDataColumn.CellTemplate>
308 300
                            <DataTemplate>
......
314 306

  
315 307
                    <telerik:GridViewDataColumn Header="ProjectNO"
316 308
											DataMemberBinding="{Binding ProjectNumber}" Width="*" />
317
                    <telerik:GridViewDataColumn Header="UniqueKey"
318
											DataMemberBinding="{Binding UniqueKey}" Width="*" />
319
                    <telerik:GridViewDataColumn Header="ConvertState"
320
											DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
321

  
322 309
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
323 310
											DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
324 311
                    <telerik:GridViewDataColumn Header="TotalPageNo" 
325 312
											DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
326
                    <telerik:GridViewDynamicHyperlinkColumn  Header="원본파일" 
313
                    <telerik:GridViewDynamicHyperlinkColumn  Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
327 314
                                                        NavigateUrlFormatString="{}{0}"
328 315
													    NavigateUrlMemberPaths="OriginfilePath"
329 316
														Width="2*">
330 317
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
331 318
                            <DataTemplate>
332
                                <TextBlock Text="{Binding FileName}"/>
319
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
333 320
                            </DataTemplate>
334 321
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
335 322
                    </telerik:GridViewDynamicHyperlinkColumn>
336 323

  
337
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
324
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
338 325
                        <telerik:GridViewDataColumn.CellTemplate>
339
                            <DataTemplate >
340
                                <StackPanel Orientation="Horizontal">
341
                                    <TextBox Text="{Binding ConvertPath}"/>
342
                                    <telerik:RadButton BorderThickness="0"
343
                                                   Background="Transparent"
326
                            <DataTemplate>
327
                                <Grid>
328
                                    <!--<Grid.ColumnDefinitions>
329
                                        <ColumnDefinition/>
330
                                        <ColumnDefinition Width="Auto"/>
331
                                    </Grid.ColumnDefinitions-->
332
                                    <!--<TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>-->
333
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"
344 334
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
345 335
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
346 336
                                    </telerik:RadButton>
347
                                </StackPanel>
337
                                </Grid>
348 338
                            </DataTemplate>
349 339
                        </telerik:GridViewDataColumn.CellTemplate>
350 340
                    </telerik:GridViewDataColumn>
351 341
                    <telerik:GridViewDataColumn Header="CreateTime"  IsReadOnly="True"
352 342
											DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
353
                    <telerik:GridViewDataColumn Header="StartTime"  IsReadOnly="True"
354
											DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
355
                    <telerik:GridViewDataColumn Header="EndTime"  IsReadOnly="True"
356
											DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
343
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
344
											DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
357 345
                </telerik:RadGridView.Columns>
358 346
            </telerik:RadGridView>
359 347
        </telerik:RadExpander>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)