Exemplo n.º 1
0
        private void CreateExam_Click(object sender, RoutedEventArgs e)
        {
            CreateQuiz CreateQ = new CreateQuiz(uName);

            this.Close();
            CreateQ.Show();
            CreateQ = null;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CreateExamWin = ((Quizzard.CreateQuiz)(target));

            #line 8 "..\..\CreateQuiz.xaml"
                this.CreateExamWin.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CreateExamWin_MouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.Next = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\CreateQuiz.xaml"
                this.Next.Click += new System.Windows.RoutedEventHandler(this.Next_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.IdentificationB = ((System.Windows.Controls.Button)(target));

            #line 48 "..\..\CreateQuiz.xaml"
                this.IdentificationB.Click += new System.Windows.RoutedEventHandler(this.IdentificationB_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.EnumerationB = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\CreateQuiz.xaml"
                this.EnumerationB.Click += new System.Windows.RoutedEventHandler(this.EnumerationB_Click);

            #line default
            #line hidden
                return;

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

            #line 118 "..\..\CreateQuiz.xaml"
                this.MChoiceB.Click += new System.Windows.RoutedEventHandler(this.MChoiceB_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.AQuiz_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

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