Exemplo n.º 1
0
        private void Button1_Copy2_Click(object sender, RoutedEventArgs e)
        {
            ado1 f = new ado1();

            this.Hide();
            f.ShowDialog();
            this.Show();
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyWindow = ((Kvadro.ado1)(target));

            #line 8 "..\..\ado1.xaml"
                this.MyWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MyWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 35 "..\..\ado1.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\ado1.xaml"
                this.kvadroGrid.CurrentCellChanged += new System.EventHandler <System.EventArgs>(this.kvadroGrid_CurrentCellChanged);

            #line default
            #line hidden
                return;

            case 4:

            #line 44 "..\..\ado1.xaml"
                ((System.Windows.Controls.DataGridTextColumn)(target)).PastingCellClipboardContent += new System.EventHandler <System.Windows.Controls.DataGridCellClipboardEventArgs>(this.DataGridTextColumn_PastingCellClipboardContent);

            #line default
            #line hidden
                return;

            case 5:

            #line 60 "..\..\ado1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\ado1.xaml"
                this.Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\ado1.xaml"
                this.Exit.Click += new System.Windows.RoutedEventHandler(this.Exit_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.AddBtn = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\ado1.xaml"
                this.AddBtn.Click += new System.Windows.RoutedEventHandler(this.AddBtn_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.lang = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.Base = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.comment = ((System.Windows.Controls.TextBox)(target));

            #line 66 "..\..\ado1.xaml"
                this.comment.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.BonusAll = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.ProjID = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.EmpID = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 16:
                this.adress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.district = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.exp = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.year = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:

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

            #line default
            #line hidden
                return;

            case 21:

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

            #line default
            #line hidden
                return;

            case 22:

            #line 77 "..\..\ado1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

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

            case 24:

            #line 79 "..\..\ado1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

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