|
@@ -653,11 +653,6 @@ namespace XHWK.WKTool
|
653
|
653
|
/// <param name="e"></param>
|
654
|
654
|
private void BtnScreenshot_Click(object sender, RoutedEventArgs e)
|
655
|
655
|
{
|
656
|
|
- if (APP.IsLoginType == false)
|
657
|
|
- {
|
658
|
|
- Login();
|
659
|
|
- return;
|
660
|
|
- }
|
661
|
656
|
string time = GetTimeStamp();
|
662
|
657
|
string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) + time + ".jpg";
|
663
|
658
|
ImageHelper.GetScreenshot(new System.Drawing.Rectangle(0, 0, 0, 0), desktopPath);
|
|
@@ -1024,11 +1019,6 @@ namespace XHWK.WKTool
|
1024
|
1019
|
/// <param name="e"></param>
|
1025
|
1020
|
private void BtnRecord_Click(object sender, RoutedEventArgs e)
|
1026
|
1021
|
{
|
1027
|
|
- if (APP.IsLoginType == false)
|
1028
|
|
- {
|
1029
|
|
- Login();
|
1030
|
|
- return;
|
1031
|
|
- }
|
1032
|
1022
|
|
1033
|
1023
|
blackboard_canvas.Visibility = Visibility.Visible;
|
1034
|
1024
|
StartRecord();
|
|
@@ -1040,11 +1030,6 @@ namespace XHWK.WKTool
|
1040
|
1030
|
/// <param name="e"></param>
|
1041
|
1031
|
private void BtnStop_Click(object sender, RoutedEventArgs e)
|
1042
|
1032
|
{
|
1043
|
|
- if (APP.IsLoginType == false)
|
1044
|
|
- {
|
1045
|
|
- Login();
|
1046
|
|
- return;
|
1047
|
|
- }
|
1048
|
1033
|
blackboard_canvas.Visibility = Visibility.Collapsed;
|
1049
|
1034
|
EndRecord();
|
1050
|
1035
|
}
|
|
@@ -1342,11 +1327,6 @@ namespace XHWK.WKTool
|
1342
|
1327
|
/// <param name="e"></param>
|
1343
|
1328
|
private void BtnPrint_Click(object sender, RoutedEventArgs e)
|
1344
|
1329
|
{
|
1345
|
|
- if (APP.IsLoginType == false)
|
1346
|
|
- {
|
1347
|
|
- Login();
|
1348
|
|
- return;
|
1349
|
|
- }
|
1350
|
1330
|
try
|
1351
|
1331
|
{
|
1352
|
1332
|
iTextSharp.text.Document document = new iTextSharp.text.Document(iTextSharp.text.PageSize.A4, 25, 25, 25, 25);
|