Beispiel #1
0
 void NetP2PWhiteboard_ESignOutChat(string from, List <string> to)
 {
     try
     {
         clsStrokes objMessage = new clsStrokes();
         objMessage.strFrom   = from;
         objMessage.lstTo     = to;
         objMessage.strOpName = "SignOut";
         lstMessage.Add(objMessage);
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "NetP2PWhiteboard_ESignOutChat()", "WhiteBoardDummy.cs");
     }
 }
Beispiel #2
0
 void NetP2PWhiteboard_SetUserList(string uname)
 {
     try
     {
         clsStrokes objMessage = new clsStrokes();
         objMessage.strFrom = uname;
         //objMessage.lstTo = to;
         objMessage.strOpName = "SetUserList";
         lstMessage.Add(objMessage);
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "NetP2PWhiteboard_SetUserList()", "WhiteBoardDummy.cs");
     }
 }
Beispiel #3
0
 void NetP2PWhiteboard_EClear(string from, List <string> to, string strOpName)
 {
     try
     {
         //if (from != UserName)
         //{
         clsStrokes objMessage = new clsStrokes();
         objMessage.strFrom   = from;
         objMessage.lstTo     = to;
         objMessage.strOpName = strOpName;
         lstMessage.Add(objMessage);
         //}
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "NetP2PWhiteboard_EClear()", "WhiteBoardDummy.cs");
     }
 }
Beispiel #4
0
 void NetP2PWhiteboard_EStamper(string from, List <string> to, string strOpName, string strImg, double x1, double y1)
 {
     try
     {
         //if (from != UserName)
         //{
         clsStrokes objMessage = new clsStrokes();
         objMessage.strFrom   = from;
         objMessage.lstTo     = to;
         objMessage.strOpName = strOpName;
         objMessage.strImg    = strImg;
         objMessage.dblX1     = x1;
         objMessage.dblY1     = y1;
         lstMessage.Add(objMessage);
         //}
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "NetP2PWhiteboard_EStamper()", "WhiteBoardDummy.cs");
     }
 }
Beispiel #5
0
 void NetP2PWhiteboard_ELine(string from, List <string> to, string strOpName, double x1, double y1, double x2, double y2, double thickness)
 {
     try
     {
         //if (from != UserName)
         //{
         clsStrokes objMessage = new clsStrokes();
         objMessage.strFrom      = from;
         objMessage.lstTo        = to;
         objMessage.strOpName    = strOpName;
         objMessage.dblX1        = x1;
         objMessage.dblY1        = y1;
         objMessage.dblX2        = x2;
         objMessage.dblY2        = y2;
         objMessage.dblThickness = thickness;
         lstMessage.Add(objMessage);
         //}
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "NetP2PWhiteboard_ELine()", "WhiteBoardDummy.cs");
     }
 }