Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InfoWeatherForm = ((cloudy.MainWindow)(target));
                return;

            case 2:
                this.WindowLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InfoWeatherForm = ((cloudy.MainWindow)(target));

            #line 11 "..\..\InfoWeatherForm.xaml"
                this.InfoWeatherForm.Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.WindowLabel = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.WeatherTable = ((System.Windows.Controls.DataGrid)(target));

            #line 91 "..\..\InfoWeatherForm.xaml"
                this.WeatherTable.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.WeatherTable_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.EditForm = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.city_box = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.day_box = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.month_box = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 9:
                this.precip_box = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.pressure_box = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 178 "..\..\InfoWeatherForm.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

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

            #line 179 "..\..\InfoWeatherForm.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.month_y = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:
                this.city_x = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 204 "..\..\InfoWeatherForm.xaml"
                this.SearchButton.Click += new System.Windows.RoutedEventHandler(this.SearchButton_Click);

            #line default
            #line hidden
                return;

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

            #line 205 "..\..\InfoWeatherForm.xaml"
                this.SearchRainButton.Click += new System.Windows.RoutedEventHandler(this.SearchRainButton_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.UserForm = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.LogInButton = ((System.Windows.Controls.Button)(target));

            #line 208 "..\..\InfoWeatherForm.xaml"
                this.LogInButton.Click += new System.Windows.RoutedEventHandler(this.LogInButton_Click);

            #line default
            #line hidden
                return;

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

            #line 209 "..\..\InfoWeatherForm.xaml"
                this.ReportButton.Click += new System.Windows.RoutedEventHandler(this.ReportButton_Click);

            #line default
            #line hidden
                return;

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

            #line 214 "..\..\InfoWeatherForm.xaml"
                this.RefreshButton.Click += new System.Windows.RoutedEventHandler(this.RefreshButton_Click);

            #line default
            #line hidden
                return;

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

            #line 215 "..\..\InfoWeatherForm.xaml"
                this.Chart.Click += new System.Windows.RoutedEventHandler(this.ChartButton_Click);

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