개정판 e78f0871
DataBaseItemsModel 기능 추가
Change-Id: Ifffa6189b54cd183d981a569340628f5bb8a41a2
ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/DataBaseItemsModel.cs | ||
---|---|---|
17 | 17 |
using ConvertItem = Markus.Service.Interface.ConvertItem; |
18 | 18 |
using System.Net; |
19 | 19 |
using System.Windows.Threading; |
20 |
using System.Diagnostics; |
|
21 |
using System.Windows.Input; |
|
22 |
using Markus.Mvvm.ToolKit; |
|
20 | 23 |
|
21 | 24 |
namespace Markus.Service.StationController.ViewModel |
22 | 25 |
{ |
... | ... | |
34 | 37 |
ConvertCommand = new DelegateCommand(DataConvert); |
35 | 38 |
DeleteCommand = new DelegateCommand(DataDelete); |
36 | 39 |
ValidateCommand = new DelegateCommand(DataValidate); |
40 |
MarkusLinkCommand = new DelegateCommand(MarkusLink); |
|
37 | 41 |
} |
38 | 42 |
|
39 | 43 |
#endregion |
... | ... | |
202 | 206 |
public DelegateCommand DeleteCommand { get; private set; } |
203 | 207 |
public DelegateCommand ValidateCommand { get; private set; } |
204 | 208 |
public DelegateCommand DataSaveFileGemBoxCommand { get; private set; } |
205 |
|
|
209 |
public DelegateCommand MarkusLinkCommand { get; private set; } |
|
206 | 210 |
#endregion |
207 | 211 |
|
208 | 212 |
#region Main Logic |
... | ... | |
634 | 638 |
|
635 | 639 |
#endregion |
636 | 640 |
|
641 |
#region MarkusLink |
|
642 |
|
|
643 |
private void MarkusLink(object obj)///여기서 부터 |
|
644 |
{ |
|
645 |
if (obj is ConvertItem) |
|
646 |
{ |
|
647 |
if (obj != null) |
|
648 |
{ |
|
649 |
var convertitem = obj as ConvertItem; |
|
650 |
|
|
651 |
SelectFilterConvert = convertitem; |
|
652 |
|
|
653 |
SelectRealConvert = convertitem; |
|
654 |
|
|
655 |
ProcessStartInfo startInfo = null; |
|
656 |
|
|
657 |
startInfo = new ProcessStartInfo("iexplore.exe", convertitem.MarkusLink); |
|
658 |
|
|
659 |
Process.Start(startInfo); |
|
660 |
} |
|
661 |
} |
|
662 |
} |
|
663 |
|
|
664 |
#endregion |
|
665 |
|
|
637 | 666 |
#region Data Delete |
638 | 667 |
|
639 | 668 |
private void DataDelete(object obj) |
내보내기 Unified diff