Esempio n. 1
0
 private void btnClassBreaksColorRamp_Click(object sender, EventArgs e)
 {
     if (this.newColorRanmpSelectorFrm == null)
     {
         this.newColorRanmpSelectorFrm = new ColorRampSelectorFrm();
     }
     if (this.newColorRanmpSelectorFrm.ShowDialog() == DialogResult.OK)
     {
         this.pClassBreaksColorRamp = this.newColorRanmpSelectorFrm.pColorRamp;
         this.btnClassBreaksColorRamp.BackgroundImage = this.newColorRanmpSelectorFrm.pColorRampImage;
     }
 }
Esempio n. 2
0
 private void btnClassBreaksColorRamp_Click(object sender, EventArgs e)
 {
     if (this.newColorRanmpSelectorFrm == null)
     {
         this.newColorRanmpSelectorFrm = new ColorRampSelectorFrm();
     }
     if (this.newColorRanmpSelectorFrm.ShowDialog() == DialogResult.OK)
     {
         this.pClassBreaksColorRamp = this.newColorRanmpSelectorFrm.pColorRamp;
         this.btnClassBreaksColorRamp.BackgroundImage = this.newColorRanmpSelectorFrm.pColorRampImage;
     }
 }