private void btnMixMatch_Click(object sender, EventArgs e)
        {
            if (dgvCDMs.SelectedRows.Count == 2)
            {
                CdmConjunction cdm1 = dgvCDMs.SelectedRows[0].Tag as CdmConjunction;
                CdmConjunction cdm2 = dgvCDMs.SelectedRows[1].Tag as CdmConjunction;

                CdmConjunction cdmMix1 = new CdmConjunction(cdm1);
                CdmConjunction cdmMix2 = new CdmConjunction(cdm2);
                cdmMix1.Primary           = new CdmSatellite(cdm1.Primary);
                cdmMix1.Primary.SatName   = "m1_" + cdm1.Primary.SatName;
                cdmMix1.Secondary         = new CdmSatellite(cdm2.Secondary);
                cdmMix1.Secondary.SatName = "m1_" + cdm2.Secondary.SatName;
                cdmMix2.Primary           = new CdmSatellite(cdm2.Primary);
                cdmMix2.Primary.SatName   = "m2_" + cdm2.Primary.SatName;
                cdmMix2.Secondary         = new CdmSatellite(cdm1.Secondary);
                cdmMix2.Secondary.SatName = "m2_" + cdm1.Secondary.SatName;

                CdmViewer cdm1Analysis = new CdmViewer(cdmMix1);
                cdm1Analysis.StartPosition = FormStartPosition.CenterParent;
                //cdmAnalysis.Parent = this;
                cdm1Analysis.Show();

                CdmViewer cdm2Analysis = new CdmViewer(cdmMix2);
                cdm2Analysis.StartPosition = FormStartPosition.CenterParent;
                //cdmAnalysis.Parent = this;
                cdm2Analysis.Show();
            }
            else
            {
                MessageBox.Show("Please select 2, and only 2, CDMs to Mix and Match");
            }
        }
 private void ExecuteSingleCdmAnalysis()
 {
     foreach (DataGridViewRow row in dgvCDMs.SelectedRows)
     {
         if (row.Tag is CdmConjunction)
         {
             CdmViewer cdmAnalysis = new CdmViewer(row.Tag as CdmConjunction);
             cdmAnalysis.StartPosition = FormStartPosition.CenterParent;
             //cdmAnalysis.Parent = this;
             cdmAnalysis.Show();
         }
     }
 }