Beispiel #1
0
        private void ZippingButton_Click(object sender, RoutedEventArgs e)
        {
            ZippingWindow zipping = new ZippingWindow();

            zipping.Show();
            Close();
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Zipping = ((Archiver.ZippingWindow)(target));

            #line 8 "..\..\ZippingWindow.xaml"
                this.Zipping.Closing += new System.ComponentModel.CancelEventHandler(this.Zipping_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.FilesListBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 12 "..\..\ZippingWindow.xaml"
                this.AddFilesButton.Click += new System.Windows.RoutedEventHandler(this.AddFilesButton_Click);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\ZippingWindow.xaml"
                this.AddFoldersButton.Click += new System.Windows.RoutedEventHandler(this.AddFoldersButton_Click);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\ZippingWindow.xaml"
                this.RemoveButton.Click += new System.Windows.RoutedEventHandler(this.RemoveButton_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\ZippingWindow.xaml"
                this.ZipButton.Click += new System.Windows.RoutedEventHandler(this.ZipButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.LogListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 8:
                this.PasswordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }