개정판 1f2be599
상단 옵션 처리
옵션을 입력 후 엔터 키를 입력해야 됨(포커스를 잃었을때 옵션 저장 하도록 수정)
완료
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
2568 | 2568 |
|
2569 | 2569 |
private void zoomAndPanControl_MouseDown(object sender, MouseButtonEventArgs e) |
2570 | 2570 |
{ |
2571 |
var set_option = this.ParentOfType<MainWindow>().dzTopMenu.Parent.ChildrenOfType<RadNumericUpDown>().Where(item => item.IsKeyboardFocusWithin).FirstOrDefault(); |
|
2572 |
if (set_option != null) |
|
2573 |
{ |
|
2574 |
set_option.Value = double.Parse(set_option.ContentText); |
|
2575 |
} |
|
2571 | 2576 |
|
2572 | 2577 |
InkControl_Convert(); |
2573 | 2578 |
|
... | ... | |
2589 | 2594 |
|
2590 | 2595 |
if(currentControl == null) |
2591 | 2596 |
{ |
2592 |
//Keyboard.ClearFocus(); |
|
2593 |
|
|
2594 |
|
|
2595 | 2597 |
var text_item_ = ViewerDataModel.Instance.MarkupControls_USER.Where(data => (data as TextControl) != null && (data as TextControl).Base_TextBox.Visibility == Visibility.Visible).FirstOrDefault(); |
2596 | 2598 |
if (text_item_ != null) |
2597 | 2599 |
{ |
... | ... | |
4146 | 4148 |
zoomAndPanControl.CaptureMouse(); |
4147 | 4149 |
e.Handled = true; |
4148 | 4150 |
} |
4149 |
|
|
4150 | 4151 |
} |
4151 | 4152 |
|
4152 | 4153 |
private void RemoveLineStroke(Point P) |
내보내기 Unified diff