Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PhanQuyenWidow = ((QLVT.PhanQuyen)(target));
                return;

            case 2:

            #line 24 "..\..\PhanQuyen.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.PQ_Loaded);

            #line default
            #line hidden
                return;

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

            case 4:
                this.username = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 6:
                this.comboBoxPQ = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

            #line 80 "..\..\PhanQuyen.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Close_click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        private void ButtonPQNV_Click(object sender, RoutedEventArgs e)
        {
            PhanQuyen phanquyenwindow = new PhanQuyen();

            phanquyenwindow.ShowDialog();
        }