예제 #1
0
        private void pbPalette_MouseUp(object sender, MouseEventArgs e)
        {
            m_fPalette_Selecting = false;

            // Record an undo action if the current color selection has changed
            if (m_fPalette_OriginalColor != m_subpalette.CurrentColor)
            {
                m_subpalette.RecordUndoAction("select color", m_parent.ActiveUndo());
            }
        }