Esempio n. 1
0
        private void HideEditGrid()
        {
            var da = new DoubleAnimation {
                Duration = TimeSpan.FromSeconds(0.1), From = 40, To = 0
            };

            EditGrid.BeginAnimation(HeightProperty, da);

            LockControls(true);
        }
Esempio n. 2
0
        private void ShowEditGrid()
        {
            if (EditGrid.Height == 40)
            {
                return;
            }

            var da = new DoubleAnimation {
                Duration = TimeSpan.FromSeconds(0.1), From = 0, To = 40
            };

            EditGrid.BeginAnimation(HeightProperty, da);

            AdditOperationsNameTextBox.Focus();

            LockControls();
        }