Esempio n. 1
0
        private void downButton_Click(object sender, EventArgs e)
        {
            EditorMainPanel.AutoScroll = false;
            MoveDown(true);
            EditorMainPanel.AutoScroll = true;
            EditorMainPanel.ScrollControlIntoView(this);

            MainControl.Commands.Add(new Classes.CardCommand(this, Enums.CardCommandEnum.MoveDown));
            MainControl.UpdateBackButtonVisibility();
        }
Esempio n. 2
0
        private void topPanel_MouseUp(object sender, MouseEventArgs e)
        {
            //EditorMainPanel.AutoScroll = true;
            Cursor   = Cursors.Default;
            move     = false;
            Location = new Point(Location.X, OriginalY);

            CardMouseUp?.Invoke(sender, e);
            EditorMainPanel.ScrollControlIntoView(this);
        }