LitDev.LDDialogs.SetStartupPosition C# (CSharp) Method

SetStartupPosition() public static method

Set the startup coordinates (top left) for most dialoges. This should be set before the dialog is called.
public static SetStartupPosition ( Primitive x, Primitive y, Primitive mode ) : void
x Primitive The X coordinate.
y Primitive The X coordinate.
mode Primitive The mode which is one of the following /// 0 : Off (default) /// 1 : The coordinates are relative to the graphics window, equivalent to GraphicsWindow.MouseX/Y. /// 2 : The coordinates are relative to the display window, equivalent to Desktop.MouseX/Y
return void
        public static void SetStartupPosition(Primitive x, Primitive y, Primitive mode)
        {
            eStartupMode = (StartupMode)(int)mode;
            xPosInput = x;
            yPosInput = y;
        }