private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(MainPage));
     stk        = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.StackLayout>(this, "stk");
     btn        = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Button>(this, "btn");
     lbl        = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Label>(this, "lbl");
     recognizer = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.PanGestureRecognizer>(this, "recognizer");
 }
示例#2
0
 private void InitializeComponent()
 {
     global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(Test));
     DataViewer = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ToolbarItem>(this, "DataViewer");
     TemperatureUnit_Farenheit = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ToolbarItem>(this, "TemperatureUnit_Farenheit");
     TemperatureUnit_Celcius   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ToolbarItem>(this, "TemperatureUnit_Celcius");
     Data_30  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ToolbarItem>(this, "Data_30");
     Data_60  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ToolbarItem>(this, "Data_60");
     Data_90  = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.ToolbarItem>(this, "Data_90");
     DayTab   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Frame>(this, "DayTab");
     Day      = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.TapGestureRecognizer>(this, "Day");
     MonthTab = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Frame>(this, "MonthTab");
     Week     = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.TapGestureRecognizer>(this, "Week");
     AllTab   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.Frame>(this, "AllTab");
     Month    = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.TapGestureRecognizer>(this, "Month");
     chart1   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::OxyPlot.Xamarin.Forms.PlotView>(this, "chart1");
     Chart1   = global::Xamarin.Forms.NameScopeExtensions.FindByName <global::Xamarin.Forms.PanGestureRecognizer>(this, "Chart1");
 }