프로젝트

일반

사용자정보

개정판 8c128693

ID8c1286939e920e90cb67de1bd472ad8f4fd25f38
상위 73cb17e3
하위 1b4709fe, 9cc9da49

semi 이(가) 약 5년 전에 추가함

AliveItems MarkusLink And 원본파일 수정

Change-Id: I9a870479dc15f572e3576394ededee3a45a7c94a

차이점 보기:

ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/ConvertAddDialogViewModel.cs
17 17

  
18 18
        public ConvertAddDialogViewModel()
19 19
        {
20
            ConverAdd_Select_FoldCommand = new DelegateCommand(ConverAdd_Select_Fold);
21 20
            ConverAdd_OKCommand = new DelegateCommand(ConverAdd_OK);
22 21
        }
23 22

  
......
62 61

  
63 62
        #region Command
64 63

  
65
        public DelegateCommand ConverAdd_Select_FoldCommand { get; private set; }
66 64
        public DelegateCommand ConverAdd_OKCommand { get; private set; }
67 65

  
68 66
        #endregion
69 67

  
70 68
        #region Fuction
71 69

  
72
        #region ConverAdd_Select_Fold
73

  
74
        /// <summary>
75
        /// 그리드 상단 Conver 추가 버튼에서 Document URL Select Fold 버튼
76
        /// </summary>
77

  
78
        public void ConverAdd_Select_Fold(object obj)
79
        {
80
            //RadOpenFileDialog openFileDialog = new RadOpenFileDialog();
81

  
82
            //openFileDialog.ShowDialog();
83

  
84
            //
85
            SaveFileDialog saveFileDialog = new SaveFileDialog();
86

  
87
            saveFileDialog.FileName = "Document"; // Default file name
88
            saveFileDialog.DefaultExt = ".txt"; // Default file extension
89
            saveFileDialog.Filter = "Word Documents (*.doc)|*.doc|Excel Worksheets (*.xls;*.xlsx)|*.xls;*.xlsx|PowerPoint Presentations (*.ppt)|*.ppt" +
90
                         "|Office Files (*.doc;*.xls;*.ppt)|*.doc;*.xls;*.ppt" +
91
                         "|All Files (*.*)|*.*";
92

  
93

  
94
            if (saveFileDialog.ShowDialog() == true)
95
            {
96

  
97

  
98
                if (!string.IsNullOrWhiteSpace(saveFileDialog.FileName))
99
                {
100
                    ConverAdd_DOCUMENT_URL = saveFileDialog.FileName;
101
                }
102
            }
103
            //
104

  
105
            //        if (openFileDialog.DialogResult == true)
106
            //{
107
            //    try
108
            //    {
109

  
110
            //    }
111
            //    catch (Exception ex)
112
            //    {
113
            //        MessageBox.Show(ex.ToString());
114
            //    }
115
            //}
116

  
117
        }
118
        #endregion
119

  
120 70
        #region ConverAdd_OK
121 71
        /// <summary>
122 72
        /// 그리드 상단 Conver 추가 버튼
......
141 91
            {
142 92
                MessageBox.Show(ex.ToString());
143 93
            }
94

  
95
            ConverAdd_Project_NO = null;
96
            ConverAdd_DOCUMENT_ID = null;
97
            ConverAdd_DOCUMENT_URL = null;
98

  
144 99
        }
145 100

  
146 101
        #endregion
147 102

  
148

  
149 103
        #endregion
150 104
    }
151 105
}

내보내기 Unified diff

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