//Popup作成 public IPoderosaPopupWindow CreatePopupView(PopupViewCreationParam viewcreation) { PopupViewContainer vc = new PopupViewContainer(viewcreation); if (viewcreation.OwnedByCommandTargetWindow) { vc.Owner = this.ActiveWindow.AsForm(); } vc.ShowInTaskbar = viewcreation.ShowInTaskBar; _popupWindows.Add(vc); vc.FormClosed += delegate(object sender, FormClosedEventArgs args) { _popupWindows.Remove((PopupViewContainer)sender); }; return(vc); }
//Popup作成 public IPoderosaPopupWindow CreatePopupView(PopupViewCreationParam viewcreation) { PopupViewContainer vc = new PopupViewContainer(viewcreation); if (viewcreation.OwnedByCommandTargetWindow) vc.Owner = this.ActiveWindow.AsForm(); vc.ShowInTaskbar = viewcreation.ShowInTaskBar; _popupWindows.Add(vc); vc.FormClosed += delegate(object sender, FormClosedEventArgs args) { _popupWindows.Remove((PopupViewContainer)sender); }; return vc; }