コード例 #1
0
ファイル: BSpline.cs プロジェクト: xmh645214784/Monet
        ///-------------------------------------------------------------------------------------------------
        /// \fn private void AdjustButton_MouseDown(object sender, MouseEventArgs e)
        ///
        /// \brief Event handler. Called by AdjustButton for mouse down events
        ///
        /// \param sender Source of the event.
        /// \param e      Mouse event information.
        ///-------------------------------------------------------------------------------------------------

        private void AdjustButton_MouseDown(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Left)
            {
                isResizing = true;
                MAction mAction;
                History his = History.GetInstance();
                his.FindShapeInHistory(this, out mAction);
                his.AddBackUpClone(mAction);
            }
        }