Esempio n. 1
0
 private void buttonPalette_Click(object sender, EventArgs e)
 {
     try
     {
         if (imagemLoad != null)
         {
             FormReducaoCores formPalette = new FormReducaoCores(imagemLoad);
             formPalette.Show();
         }
         else
         {
             throw new FileLoadException();
         }
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception.Message);
     }
 }
Esempio n. 2
0
 private void buttonPalette_Click(object sender, EventArgs e)
 {
     try
     {
         if (imagemLoad != null)
         {
             FormReducaoCores formPalette = new FormReducaoCores(imagemLoad);
             formPalette.Show();
         }
         else
         {
             throw new FileLoadException();
         }
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception.Message);
     }
 }