public IntPtr FindControl() { var fc = new AppWindow(); Rectangle rect = Screen.PrimaryScreen.WorkingArea; fc.Location = new Point(rect.Width - fc.Width - 10, rect.Height - fc.Height - 10); fc.Start(); return fc.UserWindow; }
public SubWindow(AppWindow findCmp) { InitializeComponent(); _AppWindow = findCmp; }