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

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

            #line default
            #line hidden
                return;

            case 2:
                this.Panel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 325 "..\..\..\MainWindow.xaml"
                this.ComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged_1);

            #line default
            #line hidden

            #line 325 "..\..\..\MainWindow.xaml"
                this.ComboBox.TouchLeave += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.ComboBox_TouchLeave);

            #line default
            #line hidden

            #line 325 "..\..\..\MainWindow.xaml"
                this.ComboBox.DropDownClosed += new System.EventHandler(this.ComboBox_DropDownClosed);

            #line default
            #line hidden

            #line 325 "..\..\..\MainWindow.xaml"
                this.ComboBox.DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.ComboBox_DataContextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.textbox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 337 "..\..\..\MainWindow.xaml"
                this.b1.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.textbox2 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 339 "..\..\..\MainWindow.xaml"
                this.b2.Click += new System.Windows.RoutedEventHandler(this.Button_Click2);

            #line default
            #line hidden
                return;

            case 8:
                this.textbox3 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 341 "..\..\..\MainWindow.xaml"
                this.b3.Click += new System.Windows.RoutedEventHandler(this.Button_Click3);

            #line default
            #line hidden
                return;

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

            #line 342 "..\..\..\MainWindow.xaml"
                this.b4.Click += new System.Windows.RoutedEventHandler(this.Button_Traverse);

            #line default
            #line hidden
                return;

            case 11:
                this.b5 = ((System.Windows.Controls.Button)(target));

            #line 343 "..\..\..\MainWindow.xaml"
                this.b5.Click += new System.Windows.RoutedEventHandler(this.Button_Click6);

            #line default
            #line hidden
                return;

            case 12:
                this.graphLayout = ((GraphSharpDemo.PocGraphLayout)(target));
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:
                this.Panel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 15:
                this.textbox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.Button1 = ((System.Windows.Controls.Button)(target));

            #line 369 "..\..\..\MainWindow.xaml"
                this.Button1.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.Button2 = ((System.Windows.Controls.Button)(target));

            #line 370 "..\..\..\MainWindow.xaml"
                this.Button2.Click += new System.Windows.RoutedEventHandler(this.Button_Click2);

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

            case 21:

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

            #line default
            #line hidden
                return;

            case 22:
                this.Panel3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 23:
                this.textbox10 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.textbox11 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.add_edge = ((System.Windows.Controls.Button)(target));

            #line 390 "..\..\..\MainWindow.xaml"
                this.add_edge.Click += new System.Windows.RoutedEventHandler(this.Button_Graph);

            #line default
            #line hidden
                return;

            case 26:
                this.@short = ((System.Windows.Controls.Button)(target));

            #line 391 "..\..\..\MainWindow.xaml"
                [email protected] += new System.Windows.RoutedEventHandler(this.Shortestpath);

            #line default
            #line hidden
                return;

            case 27:
                this.dfs_num = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.Traverse2_Copy = ((System.Windows.Controls.Button)(target));

            #line 394 "..\..\..\MainWindow.xaml"
                this.Traverse2_Copy.Click += new System.Windows.RoutedEventHandler(this.Button_t3);

            #line default
            #line hidden
                return;

            case 29:
                this.Traverse2 = ((System.Windows.Controls.Button)(target));

            #line 395 "..\..\..\MainWindow.xaml"
                this.Traverse2.Click += new System.Windows.RoutedEventHandler(this.Button_t2);

            #line default
            #line hidden
                return;

            case 30:

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

            #line default
            #line hidden
                return;

            case 31:

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

            #line default
            #line hidden
                return;

            case 32:
                this.rsa = ((System.Windows.Controls.Button)(target));

            #line 409 "..\..\..\MainWindow.xaml"
                this.rsa.Click += new System.Windows.RoutedEventHandler(this.RSAEncrypt1);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.graphLayout = ((GraphSharpDemo.PocGraphLayout)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 344 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 345 "..\..\..\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.buttonAddCity_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.button2 = ((System.Windows.Controls.Button)(target));
     
     #line 346 "..\..\..\MainWindow.xaml"
     this.button2.Click += new System.Windows.RoutedEventHandler(this.buttonAddPathClick);
     
     #line default
     #line hidden
     return;
     case 4:
     this.button3 = ((System.Windows.Controls.Button)(target));
     
     #line 347 "..\..\..\MainWindow.xaml"
     this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.graphLayout = ((GraphSharpDemo.PocGraphLayout)(target));
     return;
     }
     this._contentLoaded = true;
 }