Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\RouterMainWindow.xaml"
                ((RouterWPFExample.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnLoad);

            #line default
            #line hidden

            #line 8 "..\..\..\RouterMainWindow.xaml"
                ((RouterWPFExample.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.OnClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.autoTextBox = ((RouterWPFExample.RouterTextBox)(target));
                return;

            case 3:
                this.animalTextBox = ((RouterWPFExample.RouterTextBox)(target));
                return;

            case 4:
                this.buttonsPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 14 "..\..\..\RouterMainWindow.xaml"
                this.RestartAuto.Click += new System.Windows.RoutedEventHandler(this.RestartAutoClicked);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\RouterMainWindow.xaml"
                this.RestartAnimal.Click += new System.Windows.RoutedEventHandler(this.RestartAnimalClicked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
 /*****************/
 /* TextBoxRouter */
 /*****************/
 public TextBoxRouter(
     RouterTextBox theTextBox)
 {
     m_RouterTextBox = theTextBox;
     routerName = "RouterTextBox" + RouterTextBoxNameIndex++;
 }
            /*****************/
            /* TextBoxRouter */
            /*****************/

            public TextBoxRouter(
                RouterTextBox theTextBox)
            {
                m_RouterTextBox = theTextBox;
                routerName      = "RouterTextBox" + RouterTextBoxNameIndex++;
            }
Beispiel #4
0
            /*****************/
            /* TextBoxRouter */
            /*****************/

            public TextBoxRouter(
                RouterTextBox theTextBox,
                int thePriority) : base("RouterTextBox" + RouterTextBoxNameIndex++, thePriority)
            {
                m_RouterTextBox = theTextBox;
            }