■ Explorer 팝업 윈도우를 여는 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
using System.Windows.Browser; HtmlPopupWindowOptions htmlPopupWindowOptions = new HtmlPopupWindowOptions(); htmlPopupWindowOptions.Left = 0; htmlPopupWindowOptions.Top = 0; htmlPopupWindowOptions.Width = 800; htmlPopupWindowOptions.Height = 600; htmlPopupWindowOptions.Menubar = false; htmlPopupWindowOptions.Toolbar = false; if(HtmlPage.IsPopupWindowAllowed) { HtmlPage.PopupWindow(new Uri("http://www.naver.com"), "new", htmlPopupWindowOptions); } |