GetLeft() публичный Метод

Returns a virtual desktop on the left.
public GetLeft ( ) : VirtualDesktop
Результат VirtualDesktop
Пример #1
0
        private void btnLeftDesktop_Click(object sender, EventArgs e)
        {
            if (fPinState)
            {
                VirtualDesktop.UnpinWindow(this.Handle);
            }

            WindowsDesktop.VirtualDesktop current = this.GetCurrentDesktop();
            if (current != null)
            {
                WindowsDesktop.VirtualDesktop vd = current.GetLeft();
                if (vd != null)
                {
                    vd.Switch();
                }
            }
            else
            {
            }
            if (fPinState)
            {
                VirtualDesktop.PinWindow(this.Handle);
            }
        }