Ejemplo n.º 1
0
        private void BarSubItem_ItemClick(object sender, DevExpress.Xpf.Bars.ItemClickEventArgs e)
        {
            AutWindow atw = new AutWindow();

            this.Close();
            atw.Show();
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.autwindow = ((GreatestApplicatioInMyLife.AutWindow)(target));

            #line 9 "..\..\..\AutWindow.xaml"
                this.autwindow.Activated += new System.EventHandler(this.autwindow_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.rb_user = ((System.Windows.Controls.RadioButton)(target));

            #line 26 "..\..\..\AutWindow.xaml"
                this.rb_user.Checked += new System.Windows.RoutedEventHandler(this.rb_user_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.rb_admin = ((System.Windows.Controls.RadioButton)(target));

            #line 27 "..\..\..\AutWindow.xaml"
                this.rb_admin.Checked += new System.Windows.RoutedEventHandler(this.rb_admin_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.sp_admin = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.pb_admin = ((DevExpress.Xpf.Editors.PasswordBoxEdit)(target));
                return;

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

            #line 41 "..\..\..\AutWindow.xaml"
                this.btLoginAdm.Click += new System.Windows.RoutedEventHandler(this.btLoginAdm_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.sp_login = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.cb_choose_war = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));

            #line 47 "..\..\..\AutWindow.xaml"
                this.cb_choose_war.Loaded += new System.Windows.RoutedEventHandler(this.cb_choose_war_Loaded);

            #line default
            #line hidden

            #line 47 "..\..\..\AutWindow.xaml"
                this.cb_choose_war.EditValueChanged += new DevExpress.Xpf.Editors.EditValueChangedEventHandler(this.cb_choose_war_EditValueChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.cb_choose_user = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));
                return;

            case 10:
                this.pb_user = ((DevExpress.Xpf.Editors.PasswordBoxEdit)(target));
                return;

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

            #line 56 "..\..\..\AutWindow.xaml"
                this.btLogin.Click += new System.Windows.RoutedEventHandler(this.btLogin_Click);

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