Example #1
0
        private static void AllowSpinPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ButtonSpinner source = d as ButtonSpinner;

            source.OnAllowSpinChanged((bool)e.OldValue, (bool)e.NewValue);
        }
Example #2
0
        /// <summary>
        /// ContentProperty property changed handler.
        /// </summary>
        /// <param name="d">ButtonSpinner that changed its Content.</param>
        /// <param name="e">Event arguments.</param>
        private static void OnContentPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ButtonSpinner source = d as ButtonSpinner;

            source.OnContentChanged(e.OldValue, e.NewValue);
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\StartingWindow.xaml"
                ((Lab_2_WPF.StartingWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainTab = ((System.Windows.Controls.TabControl)(target));
                return;

            case 4:
                this.tab_Test = ((System.Windows.Controls.TabItem)(target));
                return;

            case 5:
                this.name_item = ((System.Windows.Controls.Label)(target));
                return;

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

            case 7:
                this.FIO_teacher = ((System.Windows.Controls.Label)(target));
                return;

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

            case 9:
                this.theme = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.countTask = ((Xceed.Wpf.Toolkit.ButtonSpinner)(target));
                return;

            case 13:
                this.time = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 14:
                this.tasks_left_1 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.tasks_left_main = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.task = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.quest = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.answer_1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.answer_2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.answer_3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.answer_4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.NextButton = ((System.Windows.Controls.Button)(target));

            #line 686 "..\..\StartingWindow.xaml"
                this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.tab_trial = ((System.Windows.Controls.TabItem)(target));

            #line 694 "..\..\StartingWindow.xaml"
                this.tab_trial.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 694 "..\..\StartingWindow.xaml"
                this.tab_trial.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 694 "..\..\StartingWindow.xaml"
                this.tab_trial.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 24:
                this.btn_math_trial = ((System.Windows.Controls.Button)(target));

            #line 728 "..\..\StartingWindow.xaml"
                this.btn_math_trial.Click += new System.Windows.RoutedEventHandler(this.Btn_math_trial_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.btn_foreign_language_trial = ((System.Windows.Controls.Button)(target));

            #line 733 "..\..\StartingWindow.xaml"
                this.btn_foreign_language_trial.Click += new System.Windows.RoutedEventHandler(this.Btn_foreign_language_trial_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.btn_Russian_language_trial = ((System.Windows.Controls.Button)(target));

            #line 738 "..\..\StartingWindow.xaml"
                this.btn_Russian_language_trial.Click += new System.Windows.RoutedEventHandler(this.Btn_Russian_language_trial_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.btn_data_analysis = ((System.Windows.Controls.Button)(target));

            #line 743 "..\..\StartingWindow.xaml"
                this.btn_data_analysis.Click += new System.Windows.RoutedEventHandler(this.Btn_data_analysis_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.btn_data_structures = ((System.Windows.Controls.Button)(target));

            #line 748 "..\..\StartingWindow.xaml"
                this.btn_data_structures.Click += new System.Windows.RoutedEventHandler(this.Btn_data_structures_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.btn_deep_learning = ((System.Windows.Controls.Button)(target));

            #line 753 "..\..\StartingWindow.xaml"
                this.btn_deep_learning.Click += new System.Windows.RoutedEventHandler(this.Btn_deep_learning_Click);

            #line default
            #line hidden
                return;

            case 30:

            #line 758 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Btn_trial_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.label_math_trial = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.label_foreign_language_trial = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.label_Russian_language_trial = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.label_data_analysis = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.label_data_structures = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.label_deep_learning = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.tab_final_exam = ((System.Windows.Controls.TabItem)(target));

            #line 806 "..\..\StartingWindow.xaml"
                this.tab_final_exam.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 806 "..\..\StartingWindow.xaml"
                this.tab_final_exam.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 806 "..\..\StartingWindow.xaml"
                this.tab_final_exam.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 806 "..\..\StartingWindow.xaml"
                this.tab_final_exam.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 38:
                this.btn_math_final_exam = ((System.Windows.Controls.Button)(target));

            #line 839 "..\..\StartingWindow.xaml"
                this.btn_math_final_exam.Click += new System.Windows.RoutedEventHandler(this.Btn_math_final_exam_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.btn_foreign_language_final_exam = ((System.Windows.Controls.Button)(target));

            #line 844 "..\..\StartingWindow.xaml"
                this.btn_foreign_language_final_exam.Click += new System.Windows.RoutedEventHandler(this.Btn_foreign_language_final_exam_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.btn_Russian_language_final_exam = ((System.Windows.Controls.Button)(target));

            #line 849 "..\..\StartingWindow.xaml"
                this.btn_Russian_language_final_exam.Click += new System.Windows.RoutedEventHandler(this.Btn_Russian_language_final_exam_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.btn_physics = ((System.Windows.Controls.Button)(target));

            #line 854 "..\..\StartingWindow.xaml"
                this.btn_physics.Click += new System.Windows.RoutedEventHandler(this.Btn_physics_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.btn_informatics = ((System.Windows.Controls.Button)(target));

            #line 859 "..\..\StartingWindow.xaml"
                this.btn_informatics.Click += new System.Windows.RoutedEventHandler(this.Btn_informatics_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.btn_programming = ((System.Windows.Controls.Button)(target));

            #line 864 "..\..\StartingWindow.xaml"
                this.btn_programming.Click += new System.Windows.RoutedEventHandler(this.Btn_programming_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.btn_final_exam = ((System.Windows.Controls.Button)(target));

            #line 869 "..\..\StartingWindow.xaml"
                this.btn_final_exam.Click += new System.Windows.RoutedEventHandler(this.Btn_final_exam_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.label_math_final_exam = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 46:
                this.label_foreign_language_final_exam = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.label_Russian_language_final_exam = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 48:
                this.label_physics = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 49:
                this.label_informatics = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 50:
                this.label_programming = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 51:
                this.tab_exam = ((System.Windows.Controls.TabItem)(target));

            #line 918 "..\..\StartingWindow.xaml"
                this.tab_exam.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 918 "..\..\StartingWindow.xaml"
                this.tab_exam.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 918 "..\..\StartingWindow.xaml"
                this.tab_exam.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 52:
                this.btn_math = ((System.Windows.Controls.Button)(target));

            #line 948 "..\..\StartingWindow.xaml"
                this.btn_math.Click += new System.Windows.RoutedEventHandler(this.Btn_math_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.btn_foreign_language = ((System.Windows.Controls.Button)(target));

            #line 953 "..\..\StartingWindow.xaml"
                this.btn_foreign_language.Click += new System.Windows.RoutedEventHandler(this.Btn_foreign_language_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.btn_Russian_language = ((System.Windows.Controls.Button)(target));

            #line 958 "..\..\StartingWindow.xaml"
                this.btn_Russian_language.Click += new System.Windows.RoutedEventHandler(this.Btn_Russian_language_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.btn_exam = ((System.Windows.Controls.Button)(target));

            #line 963 "..\..\StartingWindow.xaml"
                this.btn_exam.Click += new System.Windows.RoutedEventHandler(this.Btn_exam_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.label_math = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 57:
                this.label_foreign_language = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 58:
                this.label_Russian_language = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 59:

            #line 997 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 997 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 997 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Tab_trial_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 60:

            #line 1006 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.TabControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 1006 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.TabControl)(target)).LostFocus += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 1006 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.TabControl)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 1006 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.TabControl)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 61:

            #line 1036 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search_test_Click);

            #line default
            #line hidden
                return;

            case 62:
                this.SearchButtonTrials = ((System.Windows.Controls.Button)(target));

            #line 1037 "..\..\StartingWindow.xaml"
                this.SearchButtonTrials.Click += new System.Windows.RoutedEventHandler(this.SearchButton_test_Click);

            #line default
            #line hidden
                return;

            case 63:
                this.DataGridOfElementsInTests = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 64:

            #line 1045 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 65:

            #line 1164 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search_trial_Click);

            #line default
            #line hidden
                return;

            case 66:
                this.SearchButton_Trial = ((System.Windows.Controls.Button)(target));

            #line 1165 "..\..\StartingWindow.xaml"
                this.SearchButton_Trial.Click += new System.Windows.RoutedEventHandler(this.SearchButton_trial_Click);

            #line default
            #line hidden
                return;

            case 67:
                this.DataGridOfElementsInTrial = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 68:

            #line 1201 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 69:

            #line 1322 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search_test_Click);

            #line default
            #line hidden
                return;

            case 70:
                this.SearchButton_FinalExam = ((System.Windows.Controls.Button)(target));

            #line 1323 "..\..\StartingWindow.xaml"
                this.SearchButton_FinalExam.Click += new System.Windows.RoutedEventHandler(this.SearchButton_finalexam_Click);

            #line default
            #line hidden
                return;

            case 71:
                this.DataGridOfElementsInFinalExam = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 72:

            #line 1359 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 73:

            #line 1431 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search_exam_Click);

            #line default
            #line hidden
                return;

            case 74:
                this.SearchButton_Exam = ((System.Windows.Controls.Button)(target));

            #line 1432 "..\..\StartingWindow.xaml"
                this.SearchButton_Exam.Click += new System.Windows.RoutedEventHandler(this.SearchButton_exam_Click);

            #line default
            #line hidden
                return;

            case 75:
                this.DataGridOfElementsInExam = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 76:

            #line 1453 "..\..\StartingWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FormLoad = ((SwSpecification.NotificationOfChanges)(target));

            #line 8 "..\..\NotificationOfChanges.xaml"
                this.FormLoad.Loaded += new System.Windows.RoutedEventHandler(this.FormLoad_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.TxtBox = ((System.Windows.Controls.TextBox)(target));

            #line 11 "..\..\NotificationOfChanges.xaml"
                this.TxtBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\NotificationOfChanges.xaml"
                this.Rb1.Click += new System.Windows.RoutedEventHandler(this.RB1_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Rb2 = ((System.Windows.Controls.RadioButton)(target));

            #line 14 "..\..\NotificationOfChanges.xaml"
                this.Rb2.Click += new System.Windows.RoutedEventHandler(this.RB2_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Rb3 = ((System.Windows.Controls.RadioButton)(target));

            #line 15 "..\..\NotificationOfChanges.xaml"
                this.Rb3.Click += new System.Windows.RoutedEventHandler(this.Rb3_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.StrData = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 7:
                this.CmdRev = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\NotificationOfChanges.xaml"
                this.CmdRev.Click += new System.Windows.RoutedEventHandler(this.CmdRev_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.SpinButton = ((Xceed.Wpf.Toolkit.ButtonSpinner)(target));

            #line 21 "..\..\NotificationOfChanges.xaml"
                this.SpinButton.Spin += new System.EventHandler <Xceed.Wpf.Toolkit.SpinEventArgs>(this.SpinButton_Spin);

            #line default
            #line hidden
                return;

            case 9:
                this.BtnClose = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\NotificationOfChanges.xaml"
                this.BtnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SetOpenDns = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 2:
                this.h1 = ((System.Windows.Documents.Hyperlink)(target));

            #line 25 "..\..\AdittionalOptions.xaml"
                this.h1.RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.h1_RequestNavigate);

            #line default
            #line hidden
                return;

            case 3:
                this.BlockPopUp = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.SettingForever = ((System.Windows.Controls.CheckBox)(target));

            #line 31 "..\..\AdittionalOptions.xaml"
                this.SettingForever.Checked += new System.Windows.RoutedEventHandler(this.DisableTimeSetting);

            #line default
            #line hidden

            #line 31 "..\..\AdittionalOptions.xaml"
                this.SettingForever.Unchecked += new System.Windows.RoutedEventHandler(this.EnableTimeSetting);

            #line default
            #line hidden
                return;

            case 5:
                this.SettingTime = ((System.Windows.Controls.CheckBox)(target));

            #line 32 "..\..\AdittionalOptions.xaml"
                this.SettingTime.Unchecked += new System.Windows.RoutedEventHandler(this.DisableTimeSpinner);

            #line default
            #line hidden

            #line 32 "..\..\AdittionalOptions.xaml"
                this.SettingTime.Checked += new System.Windows.RoutedEventHandler(this.EnableTimeSpinner);

            #line default
            #line hidden
                return;

            case 6:
                this.Hours = ((Xceed.Wpf.Toolkit.ButtonSpinner)(target));

            #line 33 "..\..\AdittionalOptions.xaml"
                this.Hours.Spin += new System.EventHandler <Xceed.Wpf.Toolkit.SpinEventArgs>(this.HourButtonSpinner_Spin);

            #line default
            #line hidden
                return;

            case 7:
                this.Min = ((Xceed.Wpf.Toolkit.ButtonSpinner)(target));

            #line 37 "..\..\AdittionalOptions.xaml"
                this.Min.Spin += new System.EventHandler <Xceed.Wpf.Toolkit.SpinEventArgs>(this.MinButtonSpinner_Spin);

            #line default
            #line hidden
                return;

            case 8:

            #line 43 "..\..\AdittionalOptions.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FinishSetting);

            #line default
            #line hidden
                return;

            case 9:

            #line 44 "..\..\AdittionalOptions.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                ((CpldUI.Check.BarMatch.BarMatchConfig)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 5:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 6:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

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

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

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

            case 10:
                this.cbType = ((System.Windows.Controls.ComboBox)(target));

            #line 43 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                this.cbType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbType_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.tbContent = ((System.Windows.Controls.TextBox)(target));

            #line 61 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                this.tbContent.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbContent_TextChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.spinLen = ((Xceed.Wpf.Toolkit.ButtonSpinner)(target));

            #line 62 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                this.spinLen.Spin += new System.EventHandler <Xceed.Wpf.Toolkit.SpinEventArgs>(this.spinLen_Spin);

            #line default
            #line hidden
                return;

            case 13:
                this.tbAdd = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                this.tbAdd.Click += new System.Windows.RoutedEventHandler(this.tbAdd_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.tbInsert = ((System.Windows.Controls.Button)(target));

            #line 65 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                this.tbInsert.Click += new System.Windows.RoutedEventHandler(this.tbInsert_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.tbDel = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                this.tbDel.Click += new System.Windows.RoutedEventHandler(this.tbDel_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.tbUp = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                this.tbUp.Click += new System.Windows.RoutedEventHandler(this.tbUp_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.tbDown = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                this.tbDown.Click += new System.Windows.RoutedEventHandler(this.tbDown_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.gridRegex = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 19:
                this.tbEdit = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                this.tbEdit.Click += new System.Windows.RoutedEventHandler(this.tbEdit_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btnOk = ((System.Windows.Controls.Button)(target));

            #line 94 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.btnCancel = ((System.Windows.Controls.Button)(target));
                return;

            case 22:
                this.btnCopy = ((System.Windows.Controls.Button)(target));

            #line 96 "..\..\..\..\Check\BarMatch\BarMatchConfig.xaml"
                this.btnCopy.Click += new System.Windows.RoutedEventHandler(this.btnCopy_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\KupovinaProzor.xaml"
                ((SmartSoftware.KupovinaProzor)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\KupovinaProzor.xaml"
                this.btnUcitajPodatkeOKupcu.Click += new System.Windows.RoutedEventHandler(this.btnUcitajPodatkeOKupcu_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.gridPodaciOKupcu = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.skrivenId = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.PoeniKaoPopust = ((System.Windows.Controls.CheckBox)(target));

            #line 71 "..\..\KupovinaProzor.xaml"
                this.PoeniKaoPopust.Click += new System.Windows.RoutedEventHandler(this.PoeniKaoPopust_Click);

            #line default
            #line hidden
                return;

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

            case 7:
                this.btnVrednostPoena = ((Xceed.Wpf.Toolkit.ButtonSpinner)(target));

            #line 75 "..\..\KupovinaProzor.xaml"
                this.btnVrednostPoena.Spin += new System.EventHandler <Xceed.Wpf.Toolkit.SpinEventArgs>(this.btnVrednostPoena_Spin);

            #line default
            #line hidden
                return;

            case 8:
                this.lblCenaSaPopustom = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.tblCenaSaPopustom = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.btnKupi = ((System.Windows.Controls.Button)(target));

            #line 100 "..\..\KupovinaProzor.xaml"
                this.btnKupi.Click += new System.Windows.RoutedEventHandler(this.btnKupi_Click);

            #line default
            #line hidden
                return;

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

            #line 108 "..\..\KupovinaProzor.xaml"
                this.btnPreskoci.Click += new System.Windows.RoutedEventHandler(this.btnPreskoci_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnOtkazi = ((System.Windows.Controls.Button)(target));

            #line 116 "..\..\KupovinaProzor.xaml"
                this.btnOtkazi.Click += new System.Windows.RoutedEventHandler(this.btnOtkazi_Click);

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