Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window3 = ((ЗАГС_ЕИИС.Window2)(target));

            #line 8 "..\..\Window2.xaml"
                this.Window3.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 4:
                this.label4_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.textBoxFilial3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.textBoxFilial4 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 9:
                this.label4_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.label4_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.label4_Copy3 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        private void MenuItem_Click(object sender, RoutedEventArgs e)
        {
            Window2 win3 = new Window2();

            win3.Show();
        }