void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FilterView = ((Ultima.Spy.Application.UltimaPacketFilterView)(target));
                return;

            case 3:

            #line 130 "..\..\..\..\Controls\UltimaPacketFilterView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenButton_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 133 "..\..\..\..\Controls\UltimaPacketFilterView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.IsChecked = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\MainWindow.xaml"
                ((Ultima.Spy.Application.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\MainWindow.xaml"
                ((Ultima.Spy.Application.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 154 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NewCommand_Executed);

            #line default
            #line hidden
                return;

            case 3:

            #line 155 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveCommand_Executed);

            #line default
            #line hidden
                return;

            case 4:

            #line 156 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenCommand_Executed);

            #line default
            #line hidden
                return;

            case 5:

            #line 158 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.StartCommand_Executed);

            #line default
            #line hidden
                return;

            case 6:

            #line 159 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AttachCommand_Executed);

            #line default
            #line hidden
                return;

            case 7:

            #line 160 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PauseCommand_Executed);

            #line default
            #line hidden
                return;

            case 8:

            #line 161 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.StopCommand_Executed);

            #line default
            #line hidden
                return;

            case 9:

            #line 162 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CopyToClipboard_CanExecute);

            #line default
            #line hidden

            #line 162 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CopyToClipboard_Executed);

            #line default
            #line hidden
                return;

            case 10:

            #line 163 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.OpenInNewWindow_CanExecute);

            #line default
            #line hidden

            #line 163 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenInNewWindow_Executed);

            #line default
            #line hidden
                return;

            case 11:

            #line 164 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.GenerateCommand_CanExecute);

            #line default
            #line hidden

            #line 164 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GenerateCommand_Executed);

            #line default
            #line hidden
                return;

            case 12:

            #line 165 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.FindRelatives_CanExecute);

            #line default
            #line hidden

            #line 165 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FindRelatives_Executed);

            #line default
            #line hidden
                return;

            case 13:
                this.SidePanelColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 14:
                this.ClilocButton = ((System.Windows.Controls.Button)(target));

            #line 243 "..\..\..\MainWindow.xaml"
                this.ClilocButton.Click += new System.Windows.RoutedEventHandler(this.ClilocButton_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.LootAnalyzerButton = ((System.Windows.Controls.Button)(target));

            #line 249 "..\..\..\MainWindow.xaml"
                this.LootAnalyzerButton.Click += new System.Windows.RoutedEventHandler(this.LootAnalyzerButton_Click);

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:
                this.NotificationRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 19:
                this.PacketsView = ((System.Windows.Controls.DataGrid)(target));

            #line 281 "..\..\..\MainWindow.xaml"
                this.PacketsView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.PacketsView_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 20:
                this.NotificationSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 21:
                this.NotificationView = ((System.Windows.Controls.DataGrid)(target));

            #line 294 "..\..\..\MainWindow.xaml"
                this.NotificationView.RowDetailsVisibilityChanged += new System.EventHandler <System.Windows.Controls.DataGridRowDetailsEventArgs>(this.NotificationView_RowDetailsVisibilityChanged);

            #line default
            #line hidden
                return;

            case 22:

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

            #line default
            #line hidden
                return;

            case 23:
                this.SidePanel = ((System.Windows.Controls.TabControl)(target));

            #line 313 "..\..\..\MainWindow.xaml"
                this.SidePanel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SidePanel_SelectionChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.PropertiesView = ((Ultima.Spy.Application.UltimaPacketPropertiesView)(target));
                return;

            case 25:
                this.BinaryView = ((Ultima.Spy.Application.UltimaPacketBinaryView)(target));
                return;

            case 26:
                this.FilterView = ((Ultima.Spy.Application.UltimaPacketFilterView)(target));
                return;

            case 27:
                this.NotificationButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 365 "..\..\..\MainWindow.xaml"
                this.NotificationButton.Checked += new System.Windows.RoutedEventHandler(this.NotificationButton_Checked);

            #line default
            #line hidden

            #line 365 "..\..\..\MainWindow.xaml"
                this.NotificationButton.Unchecked += new System.Windows.RoutedEventHandler(this.NotificationButton_Unchecked);

            #line default
            #line hidden
                return;

            case 28:
                this.Loading = ((System.Windows.Shapes.Ellipse)(target));
                return;
            }
            this._contentLoaded = true;
        }