Ejemplo n.º 1
0
 //button "load picture" {load picture to BaseImage}
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         baseImage = new BaseImage(thePath);
         baseImage.Display(this.pictureBox1);
         Console.Write("Input picture is loaded...\n");
     }
     catch (Exception ex)
     {
         MessageBox.Show("There was an error opening the bitmap." + "Please check the path." + ex);
     }
 }