示例#1
0
 private void checkDriver()
 {
     if (UsbIPUtil.isDriverInstalled())
     {
         if (!UsbIPUtil.isServiceOk())
         {
             BroadcastModel.instance.send(92);
             Util.showGrayBackground();
             new ServerExceptionDialog().ShowDialog(this);
             return;
         }
     }
     else
     {
         BroadcastModel.instance.send(91);
         Util.showGrayBackground();
         new DriverDialog().ShowDialog(this);
     }
 }