public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NIS.Module.Laboratory;component/Views/Browse/AmbulanceBrowseViewModel.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.StackPanel)(this.FindName("LayoutRoot")));
     this.gdAmbulances = ((System.Windows.Controls.DataGrid)(this.FindName("gdAmbulances")));
     this.ActionPanel = ((System.Windows.Controls.StackPanel)(this.FindName("ActionPanel")));
     this.OnCreate = ((NIS.Controls.Buttons.Layouts.CreateButton)(this.FindName("OnCreate")));
     this.OnDelete = ((NIS.Controls.Buttons.Layouts.DeleteButton)(this.FindName("OnDelete")));
     this.OnDetail = ((NIS.Controls.Buttons.Layouts.DetailButton)(this.FindName("OnDetail")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NIS.Module.Laboratory;component/Views/Browse/LaboratoryBrowseView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.StackPanel)(this.FindName("LayoutRoot")));
     this.Filter_Nazov = ((NeuroSpeech.UIAtoms.Controls.AtomTextBox)(this.FindName("Filter_Nazov")));
     this.Filter_Adresa = ((NeuroSpeech.UIAtoms.Controls.AtomTextBox)(this.FindName("Filter_Adresa")));
     this.OnFilter = ((NIS.Controls.Buttons.Layouts.FilterButton)(this.FindName("OnFilter")));
     this.OnCancelFilter = ((NIS.Controls.Buttons.Layouts.FilterDeleteButton)(this.FindName("OnCancelFilter")));
     this.gdLaboratory = ((System.Windows.Controls.DataGrid)(this.FindName("gdLaboratory")));
     this.ActionPanel = ((System.Windows.Controls.StackPanel)(this.FindName("ActionPanel")));
     this.OnCreate = ((NIS.Controls.Buttons.Layouts.CreateButton)(this.FindName("OnCreate")));
     this.OnDetail = ((NIS.Controls.Buttons.Layouts.DetailButton)(this.FindName("OnDetail")));
     this.OnDelete = ((NIS.Controls.Buttons.Layouts.DeleteButton)(this.FindName("OnDelete")));
 }