Esempio n. 1
0
        /// <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();
            }
        }
Esempio n. 2
0
 public void Show()
 {
     if (swPropertyPage != null)
     {
         swPropertyPage.Show();
     }
 }
Esempio n. 3
0
        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();
        }
Esempio n. 4
0
 public void Show()
 {
     swPropertyPage.Show();
 }