Exemplo n.º 1
0
 /** {@inheritDoc} */
 public override void onHttpStatusOK(QQHttpResponse response)
 {
     try {
         BitmapImage bmp = new BitmapImage();
         bmp.BeginInit();
         bmp.StreamSource = new MemoryStream(response.getResponseData());
         bmp.EndInit();
         group.setFace(bmp);
     } catch (IOException e) {
         new QQException(QQWpfApplication1.action.QQException.QQErrorCode.IO_ERROR, e);
     }
     notifyActionEvent(QQActionEvent.Type.EVT_OK, group);
 }