|
@@ -58,7 +58,10 @@ namespace XHWK.WKTool
|
58
|
58
|
blackboard_canvas.DefaultDrawingAttributes = drawingAttributes;
|
59
|
59
|
drawingAttributes.FitToCurve = true;
|
60
|
60
|
//隐藏画笔工具栏
|
61
|
|
- BtnToolbarDown_Click(null, null);
|
|
61
|
+ //BtnToolbarDown_Click(null, null);
|
|
62
|
+ gridToolbar.Visibility = Visibility.Hidden;
|
|
63
|
+ gridColour.Visibility = Visibility.Hidden;
|
|
64
|
+ gridThickness.Visibility = Visibility.Hidden;
|
62
|
65
|
}
|
63
|
66
|
#endregion
|
64
|
67
|
|
|
@@ -192,6 +195,7 @@ namespace XHWK.WKTool
|
192
|
195
|
gridToolbar.Visibility = Visibility.Hidden;
|
193
|
196
|
gridColour.Visibility = Visibility.Hidden;
|
194
|
197
|
gridThickness.Visibility = Visibility.Hidden;
|
|
198
|
+ APP.W_PracticeWindow.Hide();
|
195
|
199
|
}
|
196
|
200
|
/// <summary>
|
197
|
201
|
/// 画笔点击事件
|
|
@@ -230,7 +234,7 @@ namespace XHWK.WKTool
|
230
|
234
|
//practiceWin.Owner = this;
|
231
|
235
|
}
|
232
|
236
|
APP.W_PracticeWindow.Initialize(imagePath);
|
233
|
|
- APP.W_PracticeWindow.ShowDialog();
|
|
237
|
+ APP.W_PracticeWindow.Show();
|
234
|
238
|
}
|
235
|
239
|
catch (Exception ex)
|
236
|
240
|
{
|