Beispiel #1
0
        public MainForm()
        {
            InitializeComponent();
            UCCoorSystem ucCoorSystem = new UCCoorSystem();

            ucCoorSystem.Dock = DockStyle.Fill;
            panelCtrl.Controls.Add(ucCoorSystem);
        }
        private void lblnkCoord_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if ((panelCtrl.Controls[0] as UCCoorSystem) != null)
            {
                return;
            }
            panelCtrl.Controls.Clear();
            UCCoorSystem ucCoorSystem = new UCCoorSystem();

            ucCoorSystem.Dock = DockStyle.Fill;
            panelCtrl.Controls.Add(ucCoorSystem);
        }
Beispiel #3
0
        private void coordBtn_Click(object sender, EventArgs e)
        {
            if ((panelCtrl.Controls[0] as UCCoorSystem) != null)
            {
                return;
            }
            panelCtrl.Controls.Clear();
            UCCoorSystem ucCoorSystem = new UCCoorSystem();

            ucCoorSystem.Dock = DockStyle.Fill;
            panelCtrl.Controls.Add(ucCoorSystem);
        }