Exemplo n.º 1
0
        private void Revert()
        {
            // Revert to memo and re-update data.
            m_Style.Revert();
            m_Style.RaiseValueChanged();

            // Update main UI.
            if (m_Invalidate != null)
            {
                m_Invalidate();
            }
        }
Exemplo n.º 2
0
        private void Revert()
        {
            drawing.Name = oldName;

            // Revert to memo and re-update data.
            style.Revert();
            style.RaiseValueChanged();

            // Update main UI.
            if (invalidator != null)
            {
                invalidator();
            }
        }