public long GetSize() { LONG sizer = new LONG() { Low = Width, High = Height }; return(sizer.Value); }
public void SetSize(long size) { LONG sizer = new LONG() { Low = 0, High = 0 }; sizer.Value = size; this.Size = new Size(sizer.Low, sizer.High); LastWindowsSize = this.ClientSize; axRdpClient.ClientSize = LastWindowsSize; }