Ejemplo n.º 1
0
 private void orginalToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (p != null)
     {
         p.Close();
     }
     if (li.Count != 0)
     {
         p = new ShowPallete(ref li);
         p.Show(this);
     }
     else
     {
         MessageBox.Show("Please Select an Image");
     }
 }
Ejemplo n.º 2
0
        private void quantizedToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (p != null)
            {
                p.Close();
            }
            if (quan != null && quan.Pallete.Count != 0)
            {
                p = new ShowPallete(ref quan.Pallete);
                p.Show();
            }

            else
            {
                MessageBox.Show("Please Select an Image .");
            }
        }