개정판 cbaa3c91
issue #000: approved stamp 값이 없을 경우 message.show
Change-Id: I3a0a8991de3768a2e71fa7390a3578440e46c13d
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
1443 | 1443 |
break; |
1444 | 1444 |
case ControlType.Stamp: |
1445 | 1445 |
{ |
1446 |
var control = currentControl as SymControlN; |
|
1447 |
if (control != null)
|
|
1446 |
var control = currentControl as SymControlN;
|
|
1447 |
if(control.STAMP != null)
|
|
1448 | 1448 |
{ |
1449 |
control.OnCreatingMouseMove(currentCanvasDrawingMouseMovePoint, ViewerDataModel.Instance.checkAxis, ViewerDataModel.Instance.IsPressShift); |
|
1449 |
if (control != null) |
|
1450 |
{ |
|
1451 |
control.OnCreatingMouseMove(currentCanvasDrawingMouseMovePoint, ViewerDataModel.Instance.checkAxis, ViewerDataModel.Instance.IsPressShift); |
|
1452 |
} |
|
1453 |
} |
|
1454 |
else |
|
1455 |
{ |
|
1456 |
currentControl = null; |
|
1457 |
this.cursor = new Cursor(MainWindow.CursorChange().StreamSource); |
|
1458 |
MessageBox.Show("Approved Stamp 가 등록되어 있지 않습니다. \n관리자에게 문의하세요.", "MARKUS"); |
|
1459 |
//DialogMessage_Alert("aa", "Error"); |
|
1450 | 1460 |
} |
1451 | 1461 |
} |
1452 | 1462 |
break; |
내보내기 Unified diff