コード例 #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EcosCab;component/ProfilesPage.xaml", System.UriKind.Relative));
     this.btnAdd = ((EcosCab.Controls.ucApplicationBarIconButton)(this.FindName("btnAdd")));
     this.btnBackup = ((EcosCab.Controls.ucApplicationBarIconButton)(this.FindName("btnBackup")));
 }
コード例 #2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EcosCab;component/ProfileEditorPage.xaml", System.UriKind.Relative));
     this.tbTitleNew = ((System.Windows.Controls.TextBlock)(this.FindName("tbTitleNew")));
     this.tbTitleEdit = ((System.Windows.Controls.TextBlock)(this.FindName("tbTitleEdit")));
     this.tbName = ((Telerik.Windows.Controls.RadTextBox)(this.FindName("tbName")));
     this.tbIPAddress = ((Telerik.Windows.Controls.RadTextBox)(this.FindName("tbIPAddress")));
     this.tbPort = ((Telerik.Windows.Controls.RadTextBox)(this.FindName("tbPort")));
     this.btnSave = ((EcosCab.Controls.ucApplicationBarIconButton)(this.FindName("btnSave")));
     this.btnCancel = ((EcosCab.Controls.ucApplicationBarIconButton)(this.FindName("btnCancel")));
     this.btnDelete = ((EcosCab.Controls.ucApplicationBarIconButton)(this.FindName("btnDelete")));
 }
コード例 #3
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EcosCab;component/CollectionPage.xaml", System.UriKind.Relative));
     this.pnlNew = ((System.Windows.Controls.Grid)(this.FindName("pnlNew")));
     this.tbNameNew = ((Telerik.Windows.Controls.RadTextBox)(this.FindName("tbNameNew")));
     this.pnlEdit = ((System.Windows.Controls.Grid)(this.FindName("pnlEdit")));
     this.btnOperate = ((Telerik.Windows.Controls.RadImageButton)(this.FindName("btnOperate")));
     this.btnInfo = ((Telerik.Windows.Controls.RadImageButton)(this.FindName("btnInfo")));
     this.btnCheck = ((Telerik.Windows.Controls.RadImageButton)(this.FindName("btnCheck")));
     this.btnOperateLocomotives = ((Telerik.Windows.Controls.RadImageButton)(this.FindName("btnOperateLocomotives")));
     this.btnOperateAccessories = ((Telerik.Windows.Controls.RadImageButton)(this.FindName("btnOperateAccessories")));
     this.ucCollectionLocomotivesList = ((EcosCab.Controls.ucCollectionLocomotivesList)(this.FindName("ucCollectionLocomotivesList")));
     this.ucCollectionAccessoriesList = ((EcosCab.Controls.ucCollectionAccessoriesList)(this.FindName("ucCollectionAccessoriesList")));
     this.tbNameEdit = ((Telerik.Windows.Controls.RadTextBox)(this.FindName("tbNameEdit")));
     this.btnCheckLocomotives = ((Telerik.Windows.Controls.RadImageButton)(this.FindName("btnCheckLocomotives")));
     this.btnCheckAccessories = ((Telerik.Windows.Controls.RadImageButton)(this.FindName("btnCheckAccessories")));
     this.lbCheckLocomotives = ((EcosCab.Controls.ucLocomotivesList)(this.FindName("lbCheckLocomotives")));
     this.lbCheckAccessories = ((EcosCab.Controls.ucAccessoriesList)(this.FindName("lbCheckAccessories")));
     this.btnSave = ((EcosCab.Controls.ucApplicationBarIconButton)(this.FindName("btnSave")));
     this.btnCancel = ((EcosCab.Controls.ucApplicationBarIconButton)(this.FindName("btnCancel")));
     this.btnDelete = ((EcosCab.Controls.ucApplicationBarIconButton)(this.FindName("btnDelete")));
 }