void Sample_Frame_WindowLocation() { Application app = MyReflection.ActiveApplication; IFrame frame = (IFrame)app.GetObject("Frame"); System.Drawing.Point p = frame.WindowLocation; Console.Write("x/y location of Reflection Desktop: " + p.X + "/" + p.Y); }