/// <summary> /// Opens the current input desktop. /// </summary> /// <returns>If successful, a Desktop object, otherwise, null.</returns> public static Desktop OpenInputDesktop() { // open the desktop. var desktop = new Desktop(); var result = desktop.OpenInput(); // somethng went wrong. if (!result) { return(null); } return(desktop); }
/// <summary> /// Opens the current input desktop. /// </summary> /// <returns>If successful, a Desktop object, otherwise, null.</returns> public static Desktop OpenInputDesktop() { // open the desktop. var desktop = new Desktop(); var result = desktop.OpenInput(); // somethng went wrong. if (!result) return null; return desktop; }