Exemplo n.º 1
0
        public void ShowSimulatingScreen()
        {
            SimulatedScreen = new SimulatingScreen(mainSim);
            SimulatedScreen.StartPosition = FormStartPosition.Manual;
            SimulatedScreen.Size          = pnlLayout1.Size;
            SimulatedScreen.Location      = new Point(this.Location.X + 92, this.Location.Y + 100);
            //SimulatedScreen=SimulatingScreen.instance
            //SimulatedScreen.TopLevel = false;
            //pnlLayout1.Controls.Add(SimulatedScreen);
            //SimulatedScreen.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            //SimulatedScreen.Dock = DockStyle.Fill;

            SimulatedScreen.Show(this);
        }