public opdrachtPage(Page page, Job job = null) { this.previousPage = page; InitializeComponent(); this.selectedItems = new List<JobObject>(); this.dbhandler = singletonDbHandler.getInstance(); this.brandSelection.ItemsSource = this.dbhandler.getBrands(); if (job != null) { this.opdracht = job; this.jobList = new ObservableCollection<JobObject>(this.opdracht.JobObjects); this.jobTasksViewer.ItemsSource = this.jobList; this.setPageElements(); this.updateJobViewer(); } else { this.opdracht = new Job(); this.jobList = new ObservableCollection<JobObject>(this.opdracht.JobObjects); this.jobTasksViewer.ItemsSource = this.jobList; this.opdracht.setPrize(helperFunctions.milieukosten); } this.environmentCosts.Content = helperFunctions.prizeToString(helperFunctions.milieukosten); this.subTotalPrize.Content = helperFunctions.prizeToString(helperFunctions.calculateAmountExcl(this.opdracht.JobObjects)); int totalExcl = helperFunctions.exclVAT(this.opdracht.Amount) + helperFunctions.milieukosten; this.totalExclBtw.Content = helperFunctions.prizeToString(totalExcl); int totalIncl = this.opdracht.Amount + helperFunctions.inclVAT(helperFunctions.milieukosten); this.totalPrizeIncl.Content = helperFunctions.prizeToString(totalIncl); this.btwPrize.Content = helperFunctions.prizeToString(totalIncl - totalExcl); }
public MenuPrincipal(Page pagina,String usuario,int id,String nombre) { this.pagina = pagina; this.usuario=usuario; this.id = id; this.nombre = nombre; }
public static void MenuSwitchFrom2to1(TopMenu2 menu2) { topmenusaved = menu2; menu2.tricepsbutton.BeginAnimation(Button.OpacityProperty, fadeout); menu2.hipbutton.BeginAnimation(Button.OpacityProperty, fadeout); menu2.shoulderbutton.BeginAnimation(Button.OpacityProperty, fadeout); timer2.Tick += new EventHandler( (object s, EventArgs e) => { timer2.Stop(); TopMenu1 menu1 = new TopMenu1(); //Set opacity of menu2 buttons to zero menu1.fullthrowbutton.Opacity = 0; menu1.kneelingthrowbutton.Opacity = 0; menu1.passbutton.Opacity = 0; topmenusaved.NavigationService.Navigate(menu1); menu1.passbutton.BeginAnimation(Button.OpacityProperty, fadein); menu1.kneelingthrowbutton.BeginAnimation(Button.OpacityProperty, fadein); menu1.fullthrowbutton.BeginAnimation(Button.OpacityProperty, fadein); }); timer2.Interval = new TimeSpan(0, 0, 0, 0, (int)(animeInterval * 1000)); timer2.Start(); }
void NavigateToPage(Page p) { Frm_Content.Navigate(p); IPage ip = (IPage)p; Lbl_Path.Content = ip.Path; ip.NavigateToPage += new EventHandler<NavigateToPageEventArgs>(NavigateToPage); }
public Page GetModulePage(string ModuleKey) { Page PageModule = (Page)this.GetModuleItem(ModuleKey).Instance; if (PageModule == null) { try { ObjectHandle handle = Activator.CreateInstanceFrom(Assembly.GetExecutingAssembly().Location, this.GetModuleItem(ModuleKey).ClassName); PageModule = (Page)handle.Unwrap(); this.GetModuleItem(ModuleKey).Instance = PageModule; } catch (Exception ex) { //If error that means the page is under construction. LogManager.Instance.LogMessage("Unable to load page: " + ModuleKey, ex); PageModule = new Page(); i9Label l = new i9Label(); l.Content = ModuleKey + " Coming Soon"; l.FontSize = 18; l.HorizontalContentAlignment = HorizontalAlignment.Center; l.VerticalAlignment = VerticalAlignment.Center; PageModule.Content = l; this.GetModuleItem(ModuleKey).Instance = PageModule; } } return PageModule; }
protected override void LoadPage(Page page) { ClearAndSetup.Execute(null); IRNId = PresentationUtility.ParseIdFromUrl(page.NavigationService.CurrentSource); if (IRNId == Guid.Empty) { ShowAddVisibility = Visibility.Visible; ShowConfirmVisibility = Visibility.Visible; OrderReferencesIsEnabled = true; EnterLoadNoIsEnabled = true; CancelAction = "Cancel"; RunLoad(); } else { CancelAction = "Back"; ShowAddVisibility = Visibility.Collapsed; ShowConfirmVisibility = Visibility.Collapsed; OrderReferencesIsEnabled = false; EnterLoadNoIsEnabled = false; RunLoadGrn(); } }
public MainWindow() { try { this.dropNetClient = new DropNetClient(API_KEY, APP_SECRET); this.dropNetClient.UseSandbox = true; this.employees = HierarchyGenerator.GenerateEmployees(); InitializeComponent(); this.importDataBtn.Click += (sender, eventArgs) => { var reportsPage = new ReportsPage(employees); this.pagesFrame.Navigate(reportsPage); this.currentPage = reportsPage; }; this.exportToDropBoxBtn.Click += ExportToDropBoxAccount; this.exportToWordBtn.Click += (sender, e) => { try { ExportToWordFile(sender, e); } catch (Exception ex) { ShowError(ex); } }; this.aboutBtn.Click += ShowAboutBox; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/UcbManagementInformation;component/Views/Reporting/ReportWizard/ReportWizard.xam" + "l", System.UriKind.Relative)); this.ThePage = ((System.Windows.Controls.Page)(this.FindName("ThePage"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ChartStates = ((System.Windows.VisualStateGroup)(this.FindName("ChartStates"))); this.ShowingChart = ((System.Windows.VisualState)(this.FindName("ShowingChart"))); this.HiddenChart = ((System.Windows.VisualState)(this.FindName("HiddenChart"))); this.AdvancedPanelStates = ((System.Windows.VisualStateGroup)(this.FindName("AdvancedPanelStates"))); this.Showing = ((System.Windows.VisualState)(this.FindName("Showing"))); this.Hidden = ((System.Windows.VisualState)(this.FindName("Hidden"))); this.ViewBusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("ViewBusyIndicator"))); this.SelectDataGrid = ((System.Windows.Controls.Grid)(this.FindName("SelectDataGrid"))); this.DataItemsTreeView = ((System.Windows.Controls.TreeView)(this.FindName("DataItemsTreeView"))); this.GenerateReport = ((System.Windows.Controls.Button)(this.FindName("GenerateReport"))); this.QuickView = ((System.Windows.Controls.Button)(this.FindName("QuickView"))); this.ToggleAdvanced = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("ToggleAdvanced"))); this.SelectedDataItemListBox = ((System.Windows.Controls.ListBox)(this.FindName("SelectedDataItemListBox"))); this.AdvancedPanel = ((System.Windows.Controls.StackPanel)(this.FindName("AdvancedPanel"))); this.AdvancedJoins = ((System.Windows.Controls.Button)(this.FindName("AdvancedJoins"))); this.ChartingButton = ((System.Windows.Controls.Button)(this.FindName("ChartingButton"))); this.ChartGrid = ((System.Windows.Controls.Grid)(this.FindName("ChartGrid"))); this.ChartTranslateTransform = ((System.Windows.Media.TranslateTransform)(this.FindName("ChartTranslateTransform"))); this.AddChartButton = ((System.Windows.Controls.Button)(this.FindName("AddChartButton"))); this.CloseChartButton = ((System.Windows.Controls.Button)(this.FindName("CloseChartButton"))); }
public ThanksPageViewModel(Page view) { this.view = view; delayTimer = new Timer(1500); delayTimer.Elapsed += DelayTimerOnElapsed; }
public void GoToNextPage() { if (this.currentPage.Name == "NewCartName") { this.currentPage = new NewCart2(this); NaviFrame.NavigationService.Navigate(this.currentPage); } else if (this.currentPage.Name == "NewCart2Name") { this.currentPage = new Btn(this); NaviFrame.NavigationService.Navigate(this.currentPage); } else if (this.currentPage.Name == "BtnName") { this.currentPage = new DataGrid(this); NaviFrame.NavigationService.Navigate(this.currentPage); } else if (this.currentPage.Name == "DataGridName") { this.currentPage = new SOP(this); NaviFrame.NavigationService.Navigate(this.currentPage); } else if (this.currentPage.Name == "SOPName") { this.currentPage = new Scale(this); NaviFrame.NavigationService.Navigate(this.currentPage); } else { this.currentPage = new NewCart(this); NaviFrame.NavigationService.Navigate(this.currentPage); } }
public SnapshotItem(Page parentPage) { Init(); ParentPage = parentPage; ParentSnapshot = new Snapshot(); }
public FuzzyAutomaton(Window window, Page prevPage) { InitializeComponent(); mainWindow = window; this.prevPage = prevPage; mainWindow.Height = 325; }
public Playlist(Page p, string link) { InitializeComponent(); previousPage = p; this.PlayListLink = link; SetUpPage(); }
/// <summary> /// constructeur /// </summary> public CreateUserViewModel(Page lkView) { _linkedView = lkView; _createCommand = new RelayCommand(param => CreateAccount(), param => IsValidForm()); _imageCommand = new RelayCommand(param => SelectImage(), param => true); _name = ""; _firstname = ""; _login = ""; _password = ""; _confirmPassword = ""; _availableRoleList = new List<string>(); _availableRoleList.Add("Chirurgien"); _availableRoleList.Add("Infirmière"); _availableRoleList.Add("Medecin"); _availableRoleList.Add("Radiologue"); _role = "Chirurgien"; _iscreatingaccount = false; _imagepath = ""; _imagesrc = null; _waitingMessage = ""; }
public Page1(Window1 parent, Page successor) { InitializeComponent(); this.parent = parent; this.next = successor; this.login.Focus(); }
/// <summary> /// constructeur /// </summary> public PatientBrowserViewModel(Page lkView) { _linkedView = lkView; _imageCommand = new RelayCommand(param => ImageAccess(param), param => true); _createObservationCommand = new RelayCommand(param => NavigateToCreateObservation(param), param => IsButtonAvailable()); _addPatientCommand = new RelayCommand(param => ClickAddPatient(), param => true); _navigateToHomeCommand = new RelayCommand(param => NavigateToHome(), param => true); _deletePatientCommand = new RelayCommand(param => NavigateToDeletePatient(param), param => IsButtonAvailable()); /// Definit si les bouton de creation/suppression est disponible ou non if (NavigationMessenger.GetInstance().IsRWAccount) { IsAvailableRW = Visibility.Visible; } else { IsAvailableRW = Visibility.Hidden; } _listPatient = new ObservableCollection<ServicePatient.Patient>(); BackgroundWorker worker = new BackgroundWorker(); worker.DoWork += new DoWorkEventHandler((object s, DoWorkEventArgs e) => { Debug.WriteLine("DEBUT"); ServicePatient.ServicePatientClient patientService = new ServicePatient.ServicePatientClient(); e.Result = patientService.GetListPatient(); }); worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler((object s, RunWorkerCompletedEventArgs e) => { Debug.WriteLine("FIN"); if (e.Cancelled) { } if (e.Error != null) { } if (e.Result == null) { } else { ServicePatient.Patient[] res = e.Result as ServicePatient.Patient[]; if (res != null) { foreach (ServicePatient.Patient item in res) { _listPatient.Add(item); } } else { } } }); worker.RunWorkerAsync(); }
void UnloadPage(Page page) { Storyboard hidePage = (Resources[string.Format("{0}Out", TransitionType.ToString())] as Storyboard).Clone(); hidePage.Completed += hidePage_Completed; hidePage.Begin(contentPresenter); }
public static void Quit(Page page) { int count = page.NavigationService.BackStack.Count(); for (int i = 0; i < count; i++) { page.NavigationService.RemoveBackEntry(); } }
public Photo(Page p) { this.p = p; image = new BitmapImage(new Uri("img.jpg", UriKind.Relative)); Name = "Test"; Price = "Test"; Size = "Test"; }
public MigrationDataConfigViewModel(Page mainWindow) { _mainWindow = mainWindow; _selectFilePathCommand = new DelegateCommand(ExecuteSelectFilePathCommand, CanExecuteCommand); _selectAttributeFilePathCommand = new DelegateCommand(ExecuteSelectAttributeFilePathCommand, CanExecuteCommand); _continueConfigCommand = new DelegateCommand(ExecuteContinueConfigCommand, CanExecuteContinueConfigCommand); _canPressContinue = false; }
private void MainManagerOnOnLoaded(object sender, Page currentPage) { App.NavigationWindow.TaskbarItemInfo.ProgressState = TaskbarItemProgressState.None; Storyboard endAnimationStoryboard = (Storyboard)FindResource("EndAnimation"); endAnimationStoryboard.Completed += (s, e) => App.ShowHomePage(this); BeginStoryboard(endAnimationStoryboard); }
public GuiPreviewerForPage(Page guiInstanceToCreatePreviewerFor) { m_PreviewerWindow = new Window() { Content = guiInstanceToCreatePreviewerFor, ShowInTaskbar = false }; }
private void AddPage(StackPanel sp, Page page) { Frame frame = new Frame(); frame.Margin = new Thickness(0); frame.Padding = new Thickness(0); frame.Content = page; sp.Children.Add(frame); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightCSharp;component/Views/Vowels.xaml", System.UriKind.Relative)); this.mainPage = ((System.Windows.Controls.Page)(this.FindName("mainPage"))); }
public takenListPage(Page page) { this.previousPage = page; this.dbhandler = singletonDbHandler.getInstance(); InitializeComponent(); this.brandSelector.ItemsSource = this.dbhandler.getBrands(); }
public void afficherNouvellePartie(bool inGame) { if (inGame) nouvellePartie = new NouvellePartie.NouvellePartie(inGame); else nouvellePartie = new NouvellePartie.NouvellePartie(); this.Content = nouvellePartie; }
public PageContainer(Page page) { InitializeComponent(); Title = page.Title; labelPageTitle.Content = page.Title; frameNav.Navigate(page); }
private void initialize(Page parent) { this.parent = parent; shortCutReaderWriter = SpringUtil.getService<IShortcutReaderWriterService>(); editView = new ShortCutEditView(); editView.OnSaveEvent += new EventHandler(editView_OnSaveEvent); }
public void afficherMenu(bool ingame) { if (ingame) menu = new Menu.Menu(ingame); else menu = new Menu.Menu(); this.Content = menu; }
protected AbstractPageModel(Page page, PagedViewModel model) { Model = model; Page = page; Foreground = Model.Foreground; Background = Model.Background; Page.DataContext = this; }
public static void Navigate(Page page, object context) { if (Instance._navService == null || page == null) { return; } Instance._navService.Navigate(page, context); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightCSharp;component/Views/Vowels.xaml", System.UriKind.Relative)); this.mainPage = ((System.Windows.Controls.Page)(this.FindName("mainPage"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainPage = ((System.Windows.Controls.Page)(target)); return; } this._contentLoaded = true; }
public void Add(string title, System.Windows.Controls.Page page) { //TabItem item = new TabItem(); //item.Header = title; //item.FontSize = 12; //item.Background = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FFF3CD")); //item.BorderThickness = new Thickness(2); ////StackPanel panel = new StackPanel(); ////panel.Children.Add(page); //item.Content = page; //this.mTabController.Items.Add(item); }
public void PageSwitch(string path) { System.Type type; if (!path.ToLower().Contains("BACAClient.pages.main")) { this.Initialization(); } this.CloseWindows(); string str = path.ToLower(); if (!(str == "BACAClient.pages.type.kdp")) { if (str == "BACAClient.pages.type.typeretrieve") { goto Label_0092; } } else { SystemEnum.ISRETURN yES = SystemEnum.ISRETURN.YES; if (CacheHelper.GetCache(this.cache.IsReturn) == yES.ToString()) { this.TwoNav2.Visibility = Visibility.Visible; } goto Label_0092; } this.TwoNav2.Visibility = Visibility.Hidden; Label_0092: type = System.Type.GetType(path); if (type != null) { System.Windows.Controls.Page page = type.Assembly.CreateInstance(path) as System.Windows.Controls.Page; this.Nested.Content = page; PropertyInfo[] properties = type.GetProperties(); foreach (PropertyInfo info in properties) { if (info.Name.ToLower() == "parentwindow") { info.SetValue(page, this, null); break; } } } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\MainWindow.xaml" ((WPF.EffectTurnTest.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown); #line default #line hidden return; case 2: this.page1 = ((System.Windows.Controls.Page)(target)); return; } this._contentLoaded = true; }
private void Show(int ind) { base.Visibility = Visibility.Visible; this._savedPageAppBar = this.Page.ApplicationBar; this._userHideDecorator = false; PhoneApplicationPage page = this.Page; this._initialPage = (System.Windows.Controls.Page) this.Page; this.borderMore.Visibility = (!this._hideActions).ToVisiblity(); page.ApplicationBar = null; page.OrientationChanged += this.Page_OrientationChanged; page.BackKeyPress += this.Page_BackKeyPress; if (page.SupportedOrientations != SupportedPageOrientation.Portrait) { this.borderOrientationLock.Visibility = Visibility.Collapsed; } this.IsShown = true; this.RespondToManuallyAppliedOrientationChanged(false); this.imageViewer.Show(ind, new Action(this.Update), false, null); }
public void Show(int ind) { this.Visibility = Visibility.Visible; this._savedPageAppBar = this.Page.ApplicationBar; this._userHideDecorator = false; PhoneApplicationPage page = this.Page; this._initialPage = (System.Windows.Controls.Page) this.Page; ApplicationBar applicationBar = !this._hideActions ? this._defaultAppBar : (ApplicationBar)null; page.ApplicationBar = (IApplicationBar)applicationBar; EventHandler <OrientationChangedEventArgs> eventHandler1 = new EventHandler <OrientationChangedEventArgs>(this.Page_OrientationChanged); page.OrientationChanged += eventHandler1; EventHandler <CancelEventArgs> eventHandler2 = new EventHandler <CancelEventArgs>(this.Page_BackKeyPress); page.BackKeyPress += eventHandler2; this.IsShown = true; this.RespondToManuallyAppliedOrientationChanged(); this.imageViewer.Show(ind, (Action)(() => this.Update()), false, null); }
/// <summary> /// /// </summary> /// <typeparam name="T"></typeparam> public static void NavigateTo <T>() where T : Page { string key = typeof(T).ToString(); if (_registeredPages.ContainsKey(key)) { Page navigationPage = _registeredPages[key]; if (navigationPage != null) { NavigationFrame.Navigate(_registeredPages[key]); } else { _registeredPages[key] = (Page)Activator.CreateInstance(Type.GetType(key)); NavigationFrame.Navigate(_registeredPages[key]); } } else { throw new IndexOutOfRangeException("Page isn't registered. Register page in MainWindow.cs"); } }
public void NavigateToPage(Page page) { frame.Navigate(page); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Eingabe_Vorname_Label = ((System.Windows.Controls.Label)(target)); return; case 2: this.Eingabe_Nachname_Label = ((System.Windows.Controls.Label)(target)); return; case 3: this.Eingabe_Straße_Hausnummer_Label = ((System.Windows.Controls.Label)(target)); return; case 4: this.Eingabe_PLZ_Label = ((System.Windows.Controls.Label)(target)); return; case 5: this.Eingabe_Stadt_Label = ((System.Windows.Controls.Label)(target)); return; case 6: this.Eingabe_Telefonnummer_Label = ((System.Windows.Controls.Label)(target)); return; case 7: this.Eingabe_Email_Label = ((System.Windows.Controls.Label)(target)); return; case 8: this.Eingabe_Vorname_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.Eingabe_Nachname_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.Eingabe_Straße_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.Eingabe_Hausnummer_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.Eingabe_PLZ_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.Eingabe_Stadt_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.Eingabe_Telefonnummer_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.Eingabe_Email_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.Ausgabe_Vorname_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.Ausgabe_Nachname_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.Ausgabe_Straße_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.Ausgabe_Hausnummer_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.Ausgabe_PLZ_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.Ausgabe_Stadt_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.Ausgabe_Telefonnummer_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.Ausgabe_Email_TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.Person_Hinzufügen_Button = ((System.Windows.Controls.Button)(target)); #line 100 "..\..\MainWindow.xaml" this.Person_Hinzufügen_Button.Click += new System.Windows.RoutedEventHandler(this.Person_Hinzufügen_Button_Click); #line default #line hidden return; case 25: this.Abschicken_Button = ((System.Windows.Controls.Button)(target)); #line 102 "..\..\MainWindow.xaml" this.Abschicken_Button.Click += new System.Windows.RoutedEventHandler(this.Abschicken_Button_Click); #line default #line hidden return; case 26: this.Anzeigen_Button = ((System.Windows.Controls.Button)(target)); #line 104 "..\..\MainWindow.xaml" this.Anzeigen_Button.Click += new System.Windows.RoutedEventHandler(this.Anzeigen_Button_Click); #line default #line hidden return; case 27: this.newPage = ((System.Windows.Controls.Page)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WallPage = ((System.Windows.Controls.Page)(target)); return; case 2: this.WallPageGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.GroundElevationInput = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.GroundWaterDepthInput = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.OpenWaterLevelInput = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.MudlineSlopeInput = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.LandslideSlopeInput = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.MudlineDepthInput = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.TopofPileInput = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.PilespacingInput = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.LateralPileCapacityInput = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.SlopeBatteredPilesInput = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.PanelThicknessInput = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.WallPenetrationInput = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.SafetyFactorInput = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.SoilDensityInput = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.SaturatedSoilDensityInput = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.ActiveFrictionAngleInput = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.PassiveFrictionAngleInput = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.SoilToWallFrictionAngle = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.LiveSurcharge = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.CheckBoxTied = ((System.Windows.Controls.CheckBox)(target)); return; case 23: this.CheckBoxCantilever = ((System.Windows.Controls.CheckBox)(target)); return; case 24: this.ExecuteAnalysisButton = ((System.Windows.Controls.Button)(target)); return; case 25: this.GenerateReportButton = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
public MainWindowViewModel() { mainWindowPage = new CoolIcePro.Views.Customers(); }