예제 #1
0
        private static void DefaultThemePropertyChanged(DependencyObject d,
                                                        DependencyPropertyChangedEventArgs e)
        {
            CodeBoxControl cb = d as CodeBoxControl;

            cb.DefaultThemeChanged(e);
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cbc = ((CodeBox.CodeBoxControl)(target));
                return;

            case 2:

            #line 19 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }