Esempio n. 1
0
 private void m_tsmiBlue_Click(object sender, EventArgs e)
 {
     if (m_picBox.Image != null)
     {
         m_picBox.Image = BmpChanger.BmpToColor((Bitmap)m_picBox.Image, 0, 0, 0, 0, 0, 255);
     }
 }
Esempio n. 2
0
        private void individuellToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (m_picBox.Image != null)
            {
                if (m_frmColRanges == null)
                {
                    m_frmColRanges = new frmColorRanges();
                }
                m_frmColRanges.ShowDialog();

                m_picBox.Image = BmpChanger.BmpToColor((Bitmap)m_picBox.Image, m_frmColRanges.RMin, m_frmColRanges.RMax, m_frmColRanges.GMin, m_frmColRanges.GMax, m_frmColRanges.BMin, m_frmColRanges.BMax);
            }
        }