示例#1
0
        private void btnSelectAll_Click(object sender, EventArgs e)
        {
            //formPanelSel.Michael = this;
            frmPvPanelSetup formPVPanel = new frmPvPanelSetup();

            formPVPanel.Michael = Michael;
            formPVPanel.PvMap   = pvMap;
            //Michael.prj.CmbPvPole = Michael.cmbPolePosition;
            Michael.prj.LyrPole = util.getLayerHdl(Michael.prj.LyrPoleName, pvMap);
            formPVPanel.Project = Michael.prj;
            formPVPanel.Show();
            formPVPanel.TopMost = true;
            this.Close();
        }
示例#2
0
        private void btnPanelSelectionOK_Click(object sender, EventArgs e)
        {
            Michael.propertyGrid1.Refresh();
            //frmPanelSelection formPanelSel = new frmPanelSelection();
            //formPanelSel.Michael = this;
            frmPvPanelSetup formPVPanel = new frmPvPanelSetup();

            formPVPanel.Michael = Michael;
            formPVPanel.PvMap   = pvMap;
            Michael.prj.LyrPole = util.getLayerHdl(Michael.prj.LyrPoleName, pvMap);
            //Michael.prj.LyrPole = util.getLayerHdl(Michael.cmbPolePosition.Text, pvMap);
            formPVPanel.Project = Michael.prj;
            formPVPanel.Show();
            formPVPanel.TopMost = true;
            this.Close();
        }