Esempio n. 1
0
 public AbstractLayoutStrategy(SharedgeForm form)
 {
     this.Form = form;
 }
Esempio n. 2
0
 public RightSideLayoutStrategy(SharedgeForm form)
     : base(form)
 {
 }
Esempio n. 3
0
 public void SendMousePosition(Point relativePosition,SharedgeForm.CURSOR_KIND cursorKind)
 {
     lock (syncRoot) {
     if (!MouseConnectionBussy) {
       MouseConnectionBussy = true;
       EnqueueAction(() => {
     try {
       var sw = GetMouseConnection().Writer;
       sw.Write((int)MESSAGE_TYPES.MOUSE_MOVE);
       sw.Write(relativePosition.X);
       sw.Write(relativePosition.Y);
       sw.Write((int)cursorKind);
       sw.Flush();
     } catch (Exception) {
       MouseConnection = null;
     } finally {
       MouseConnectionBussy = false;
     }
       });
     }
       }
 }