Beispiel #1
0
 private void cboColorRamp_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         if (cboColorRamp.Text == "Custom")
         {
             if (cboValueField.Text == "" || cboUncernFld.Text == "")
             {
                 MessageBox.Show("Please select fields");
                 cboColorRamp.Text = "Red Light to Dark";
                 return;
             }
             else
             {
                 frmColorRamps pColorRamps = new frmColorRamps();
                 pColorRamps.intLoadingPlaces = 2;
                 pColorRamps.Show();
             }
         }
         else
         {
             DrawSymbolinListView();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(this.Handle.ToString() + " Error:" + ex.Message);
         return;
     }
 }
Beispiel #2
0
 private void cboColorRamp_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (cboColorRamp.Text == "Custom")
     {
         frmColorRamps pColorRamps = new frmColorRamps();
         pColorRamps.intLoadingPlaces = 4;
         pColorRamps.Show();
     }
 }