개정판 f729ef4e
issue #923: fixed RemoveLineStroke method
Change-Id: I8faab5a46416b6704584f729f2174730db031884
KCOM/Events/Implementation/TopMenuEvent.cs | ||
---|---|---|
329 | 329 |
var menu = this.ParentOfType<MainWindow>().dzMainMenu; |
330 | 330 |
try |
331 | 331 |
{ |
332 |
SelectionSet.Instance.UnSelect(this.ParentOfType<MainWindow>().dzMainMenu); |
|
333 |
|
|
332 | 334 |
// update mylist and gridview |
333 | 335 |
menu.UpdateMyMarkupList(); |
334 | 336 |
|
335 |
SelectionSet.Instance.UnSelect(this.ParentOfType<MainWindow>().dzMainMenu); |
|
336 |
|
|
337 | 337 |
this.ParentOfType<MainWindow>().dzMainMenu.InkControl_Convert(); |
338 | 338 |
|
339 | 339 |
if (menu.PreviewUserMarkupInfoItem != null && menu.PreviewUserMarkupInfoItem.IsPreviewUser == true) |
... | ... | |
2385 | 2385 |
|
2386 | 2386 |
Multi_Undo_data multi_Undo_Data = new Multi_Undo_data(); |
2387 | 2387 |
CommentUserInfo currentControl { get; set; } |
2388 |
private Point GetSquareEndPoint(Point StartP, Point EndP) |
|
2389 |
{ |
|
2390 |
Point Return_Point = new Point(); |
|
2391 |
double dx = EndP.X - StartP.X; |
|
2392 |
double dy = EndP.Y - StartP.Y; |
|
2393 |
double length; |
|
2394 |
length = Math.Max(Math.Abs(dx), Math.Abs(dy)); |
|
2395 |
Return_Point.X = (dx > 0) ? StartP.X + length : StartP.X - length; |
|
2396 |
Return_Point.Y = (dy > 0) ? StartP.Y + length : StartP.Y - length; |
|
2397 |
return Return_Point; |
|
2398 |
} |
|
2399 | 2388 |
private void Check_Closed(object sender, EventArgs e) |
2400 | 2389 |
{ |
2401 | 2390 |
isClosed = true; |
내보내기 Unified diff