Exemple #1
0
 public ImageIcon(ImageMap image)
 {
     this.m_image = image;
 }
 private void UpdateUI()
 {
     if (this.m_imageMap == null)
     {
         this.pictureBox1.Image = null;
         this.statsLabel.Text = "";
         return;
     }
     this.pictureBox1.Image = this.m_imageMap.Image;
     this.statsLabel.Text = "Minimum: " + this.m_imageMap.Minimum.ToString("F3") + "  Maximum: " + this.m_imageMap.Maximum.ToString("F3");
 }