Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\Window1.xaml"
                ((SudokuFX.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 9 "..\..\Window1.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.TimerDone);

            #line default
            #line hidden
                return;

            case 3:
                this.TitleText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.TitleReflect = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.DockLeft = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.MyControl = ((System.Windows.Controls.Expander)(target));
                return;

            case 7:

            #line 57 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NewGameClicked);

            #line default
            #line hidden
                return;

            case 8:

            #line 58 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadGameClicked);

            #line default
            #line hidden
                return;

            case 9:

            #line 59 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveGameClicked);

            #line default
            #line hidden
                return;

            case 10:

            #line 60 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.QuitClicked);

            #line default
            #line hidden
                return;

            case 11:
                this.FastGenRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 12:
                this.NoTimerRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 13:
                this.EasyTimerRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.MediumTimerRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.HardTimerRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 16:
                this.BoardSize = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.DockRight = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 18:
                this.TimerControls = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 19:
                this.MinNumber = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.SecNumber = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.SubSecNumber = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.StopwatchControl = ((SudokuFX.Stopwatch)(target));
                return;

            case 23:

            #line 124 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SolveClicked);

            #line default
            #line hidden
                return;

            case 24:
                this.Board = ((SudokuFX.SudokuBoard)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\Window1.xaml"
                ((SudokuFX.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.TitleText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.TitleReflect = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 5:
                this.MyControl = ((System.Windows.Controls.Expander)(target));
                return;

            case 6:

            #line 50 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NewGameClicked);

            #line default
            #line hidden
                return;

            case 7:

            #line 53 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.QuitClicked);

            #line default
            #line hidden
                return;

            case 8:
                this.BoardSize = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.DockRight = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.Board = ((SudokuFX.SudokuBoard)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\Window1.xaml"
                ((SudokuFX.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 9 "..\..\Window1.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.TimerDone);

            #line default
            #line hidden
                return;

            case 3:
                this.TitleText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.TitleReflect = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 63 "..\..\Window1.xaml"
                this.BenchButton.Click += new System.Windows.RoutedEventHandler(this.BenchmarkClick);

            #line default
            #line hidden
                return;

            case 6:
                this.SolverList = ((System.Windows.Controls.ListBox)(target));

            #line 64 "..\..\Window1.xaml"
                this.SolverList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PluginListSelectionChanged);

            #line default
            #line hidden
                return;

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

            case 8:
                this.WaitPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.Graph = ((SudokuFX.GraphControl)(target));
                return;

            case 10:

            #line 126 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearGraphClicked);

            #line default
            #line hidden
                return;

            case 11:
                this.DockLeft = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:

            #line 163 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.NewGameClicked);

            #line default
            #line hidden
                return;

            case 13:

            #line 164 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadGameClicked);

            #line default
            #line hidden
                return;

            case 14:

            #line 165 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveGameClicked);

            #line default
            #line hidden
                return;

            case 15:

            #line 166 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.QuitClicked);

            #line default
            #line hidden
                return;

            case 16:
                this.FastGenRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:
                this.SolverGenRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 18:
                this.NoTimerRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 19:
                this.EasyTimerRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 20:
                this.MediumTimerRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 21:
                this.HardTimerRadio = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 22:
                this.BoardSize = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 23:
                this.DockRight = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 24:
                this.TimerControls = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 25:
                this.MinNumber = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.SecNumber = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.SubSecNumber = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.StopwatchControl = ((SudokuFX.Stopwatch)(target));
                return;

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

            #line 230 "..\..\Window1.xaml"
                this.SolveButton.Click += new System.Windows.RoutedEventHandler(this.SolveClicked);

            #line default
            #line hidden
                return;

            case 30:
                this.Board = ((SudokuFX.SudokuBoard)(target));
                return;

            case 31:
                this.MessageLayer = ((System.Windows.Controls.Grid)(target));
                return;

            case 32:
                this.MessageExpander = ((System.Windows.Controls.Expander)(target));
                return;

            case 33:
                this.BackGrad = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 34:
                this.Highlight = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 35:

            #line 308 "..\..\Window1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MessageClosed);

            #line default
            #line hidden
                return;

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

            case 37:
                this.WaitExpander = ((System.Windows.Controls.Expander)(target));
                return;
            }
            this._contentLoaded = true;
        }