示例#1
0
        private void cameraInfoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CameraInfoWindow window = new CameraInfoWindow();

            window.AllowEndUserDocking = true;
            window.Show(dockPanel1, DockState.Float);
        }
示例#2
0
        public Form1()
        {
            InitializeComponent();

            ZhangSimulationForm simfrm = new ZhangSimulationForm();

            simfrm.Show(dockPanel1);

            LogForm logform = new LogForm();

            logform.Show(simfrm.Pane, DockAlignment.Bottom, .2);

            CameraInfoWindow cifo = new CameraInfoWindow();

            cifo.Show(simfrm.Pane, DockAlignment.Right, .5);

            CameraSimulationFrm cfrm = new CameraSimulationFrm();

            cfrm.Show(cifo.Pane, DockAlignment.Bottom, .35);


            CameraInfoWindow cifo2 = new CameraInfoWindow();

            cifo2.Show(cifo.Pane, DockAlignment.Right, .5);


            PinholeCamera c = PinholeCamera.getTestCamera();

            cifo.Camera = c;

            simfrm.InitialCameraWindow    = cifo;
            simfrm.CalibratedCameraWindow = cifo2;
            simfrm.cameraFrm = cfrm;


            Log.AddReader(logform);
        }