Пример #1
0
        public long GetSize()
        {
            LONG sizer = new LONG()
            {
                Low  = Width,
                High = Height
            };

            return(sizer.Value);
        }
Пример #2
0
        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;
        }