Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Auentific = ((WpfApplication3.Auentification)(target));

            #line 5 "..\..\mainwindow.xaml"
                this.Auentific.Closing += new System.ComponentModel.CancelEventHandler(this.Auentific_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 8 "..\..\mainwindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 3:
                this.TB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.PB = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 5:

            #line 67 "..\..\mainwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 6:

            #line 93 "..\..\mainwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #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.Auentific = ((WpfApplication3.Auentification)(target));

            #line 5 "..\..\mainwindow.xaml"
                this.Auentific.Closing += new System.ComponentModel.CancelEventHandler(this.Auentific_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 8 "..\..\mainwindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 3:
                this.TB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.PB = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 5:

            #line 67 "..\..\mainwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 6:

            #line 93 "..\..\mainwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

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

            #line 120 "..\..\mainwindow.xaml"
                this.LBDialog.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DownloadFile);

            #line default
            #line hidden
                return;

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

            case 9:

            #line 145 "..\..\mainwindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

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

            #line 170 "..\..\mainwindow.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

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

            #line 198 "..\..\mainwindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #3
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     main            = (Auentification)this.Owner;
     main.Visibility = Visibility.Visible;
     this.Hide();
 }