private void WinRetrieveWebCreatedHandler(Window window, params object[] args) { ExcelWvvm.WinRetrieveWeb win = window as ExcelWvvm.WinRetrieveWeb; if (win != null) { ExcelWvvm.WindowHelper.SetOwnerToExcel(win, ExcelDnaUtil.WindowHandle); win.Left = 300; win.Top = 300; } }
private void WinRetrieveWebCreatedHandler(object sender, EventArgs e) { ExcelWvvm.WinRetrieveWeb win = sender as ExcelWvvm.WinRetrieveWeb; if (win != null) { WpfWindowHelper.SetOwnerToExcel(win); win.Left = 300; win.Top = 300; } }