Esempio n. 1
0
        /// <summary>
        /// Обработка при изменении свойтва Количество Строк Экранного Буфера
        /// </summary>
        private static void КоличествоСтрокЭкранногоБуфераChanged(DependencyObject depObj, DependencyPropertyChangedEventArgs args)
        {
            KTerminal control = (KTerminal)depObj;

            control.ПроконтролироватьКоличествоСтрок();
            control.InvalidateVisual();
        }
Esempio n. 2
0
        /// <summary>
        /// Реакция на изменение цвета фона
        /// </summary>
        private static void ЦветФонаChanged(DependencyObject depObj, DependencyPropertyChangedEventArgs args)
        {
            KTerminal control = (KTerminal)depObj;

            control.InvalidateVisual();
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 6 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 7 "..\..\..\MainWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 8 "..\..\..\MainWindow.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.button4 = ((System.Windows.Controls.Button)(target));

            #line 9 "..\..\..\MainWindow.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.button5 = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\..\MainWindow.xaml"
                this.button5.Click += new System.Windows.RoutedEventHandler(this.button5_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.button6 = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\..\MainWindow.xaml"
                this.button6.Click += new System.Windows.RoutedEventHandler(this.button6_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.button7 = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\..\MainWindow.xaml"
                this.button7.Click += new System.Windows.RoutedEventHandler(this.button7_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.button8 = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\..\MainWindow.xaml"
                this.button8.Click += new System.Windows.RoutedEventHandler(this.button8_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.button9 = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\..\MainWindow.xaml"
                this.button9.Click += new System.Windows.RoutedEventHandler(this.button9_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.button10 = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\..\MainWindow.xaml"
                this.button10.Click += new System.Windows.RoutedEventHandler(this.button10_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 12:
                this.kTerminal1 = ((KTerminalLib.KTerminal)(target));
                return;
            }
            this._contentLoaded = true;
        }