public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///BlankPage1.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); cvm = (global::Metro_MvvM.ViewModels.CustomerViewModel) this.FindName("cvm"); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); tomer = (global::Metro_MvvM.ViewModels.CustomerViewModel) this.FindName("tomer"); button1 = (global::Windows.UI.Xaml.Controls.Button) this.FindName("button1"); button2 = (global::Windows.UI.Xaml.Controls.Button) this.FindName("button2"); frames = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("frames"); txt1 = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txt1"); }