コード例 #1
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            AdminPassword admPass = new AdminPassword();

            admPass.Show();
            mw.Close();
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ap = ((Shop.AdminPassword)(target));
                return;

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

            case 3:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 6:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }