개정판 af177ca1
우측 상단 윈도우 아이콘 변경 및 app margin 조정
KCOM/MainWindow.xaml.cs | ||
---|---|---|
217 | 217 |
} |
218 | 218 |
} |
219 | 219 |
|
220 |
//강인구 추가 |
|
221 | 220 |
private void WinState(object sender, MouseButtonEventArgs e) |
222 | 221 |
{ |
223 |
switch((e.Source as TextBlock).Text)
|
|
222 |
switch ((e.Source as Image).Name)
|
|
224 | 223 |
{ |
225 |
case ("ㅡ"):
|
|
224 |
case ("Win_min"):
|
|
226 | 225 |
{ |
227 | 226 |
WindowState = WindowState.Minimized; |
228 | 227 |
} |
229 | 228 |
break; |
230 |
case ("ㅁ"):
|
|
229 |
case ("Win_max"):
|
|
231 | 230 |
{ |
232 |
if(WindowState == WindowState.Maximized) |
|
231 |
if (WindowState == WindowState.Maximized) |
|
232 |
{ |
|
233 | 233 |
WindowState = WindowState.Normal; |
234 |
} |
|
234 | 235 |
else |
236 |
{ |
|
235 | 237 |
WindowState = WindowState.Maximized; |
238 |
} |
|
236 | 239 |
} |
237 | 240 |
break; |
238 |
case ("X"):
|
|
241 |
case ("Win_Close"):
|
|
239 | 242 |
{ |
240 | 243 |
if (ViewerDataModel.Instance.UndoDataList.Count > 0) |
241 | 244 |
{ |
내보내기 Unified diff