Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main = ((Archiver.MainWindow)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main = ((Archiver.MainWindow)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

            #line 23 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AuthorButton_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\MainWindow.xaml"
                this.ZippingButton.Click += new System.Windows.RoutedEventHandler(this.ZippingButton_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\MainWindow.xaml"
                this.UnzippingButton.Click += new System.Windows.RoutedEventHandler(this.UnzippingButton_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\MainWindow.xaml"
                this.LZWButton.Click += new System.Windows.RoutedEventHandler(this.LZWButton_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\MainWindow.xaml"
                this.UnLZWButton.Click += new System.Windows.RoutedEventHandler(this.UnLZWButton_Click);

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