/// <summary> /// 显示页面 /// </summary> public void Show() { MyPMPControl myPMPControl = new MyPMPControl(this); // myPMPControl.Visible = true; //myPMPControl.Show(); var b = pm_MyPMPControl.SetWindowHandlex64(myPMPControl.Handle.ToInt64()); if (swPropertyPage != null) { swPropertyPage.Show(); } }
public void Show() { if (swPropertyPage != null) { swPropertyPage.Show(); } }
public void Show() { // For Dot net control user need to create object at every Display //WinForm Control MyWinFormControl = new Form1(); //If you are adding Winform in Property Page need to set TopLevel Property to false MyWinFormControl.TopLevel = false; MyWinFormControl.Show(); dotnet1.SetWindowHandle(MyWinFormControl.Handle.ToInt64()); //User Control MyUserControl = new UserControl1(); dotnet2.SetWindowHandle(MyUserControl.Handle.ToInt64()); //WPF control elhost = new ElementHost(); MyWPFControl = new WPFControl(); elhost.Child = MyWPFControl; dotnet3.SetWindowHandle(elhost.Handle.ToInt64()); //Show Proppety page swPropertyPage.Show(); }
public void Show() { swPropertyPage.Show(); }