Example #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Training/EditTrainingView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.btnSave = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnSave")));
     this.btnCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
 }
Example #2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Training/ListTrainingView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.btnEdit = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnEdit")));
     this.rgvData = ((Telerik.Windows.Controls.RadGridView)(this.FindName("rgvData")));
 }
Example #3
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/UserSettings.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.btnSave = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnSave")));
     this.btnCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
 }
Example #4
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Training/ListRoomView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.btnEdit = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnEdit")));
     this.rgvData = ((Telerik.Windows.Controls.RadGridView)(this.FindName("rgvData")));
     this.rbiLoading = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Category/EditChooseCategoryView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.rbiLoading = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
     this.btnChoose = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnChoose")));
     this.btnCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Others/EditCategoryCommentView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtTieuDe = ((System.Windows.Controls.TextBox)(this.FindName("txtTieuDe")));
     this.btnSave = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnSave")));
     this.btnCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
 }
Example #7
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/LoginView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtUserName = ((System.Windows.Controls.TextBox)(this.FindName("txtUserName")));
     this.txtPassword = ((System.Windows.Controls.PasswordBox)(this.FindName("txtPassword")));
     this.btnLogin = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnLogin")));
     this.rbiLoading = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/RadControlsSilverlightClient;component/FBARSummary.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.dataServiceDataSource = ((Telerik.Windows.Controls.RadDataServiceDataSource)(this.FindName("dataServiceDataSource")));
     this.exportButton = ((Telerik.Windows.Controls.RadButton)(this.FindName("exportButton")));
     this.busyIndicator = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("busyIndicator")));
     this.RadGridView1 = ((Telerik.Windows.Controls.RadGridView)(this.FindName("RadGridView1")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Events/Copy%20of%20EditReceiveEventView.xam" +
                 "l", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.rbiLoading = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
     this.btnCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
     this.rgvLeft = ((Telerik.Windows.Controls.RadGridView)(this.FindName("rgvLeft")));
     this.rgvRight = ((Telerik.Windows.Controls.RadGridView)(this.FindName("rgvRight")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Events/Copy%20of%20EditEventPermissionView." +
                 "xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtTieuDe = ((System.Windows.Controls.TextBox)(this.FindName("txtTieuDe")));
     this.txtDuongDan = ((System.Windows.Controls.TextBox)(this.FindName("txtDuongDan")));
     this.btnSave = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnSave")));
     this.btnCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
 }
Example #11
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Category/Copy%20of%20EditCategoryView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.rbiLoading = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
     this.btnChoose  = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnChoose")));
     this.btnCancel  = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Training/Copy%20of%20UploadSubjectView.xaml" +
                 "", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.rbiLoading = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
     this.btnChoose = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnChoose")));
     this.btnCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
     this.rgvData = ((Telerik.Windows.Controls.RadGridView)(this.FindName("rgvData")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Training/EditSubjectSumaryView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtMalop = ((System.Windows.Controls.TextBox)(this.FindName("txtMalop")));
     this.txtTenLop = ((System.Windows.Controls.TextBox)(this.FindName("txtTenLop")));
     this.btnSave = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnSave")));
     this.btnCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
     this.rbiLoading = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Events/EditApprovedEventView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.rbiLoading = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
     this.btnCancel  = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
     this.rgvLeft    = ((Telerik.Windows.Controls.RadGridView)(this.FindName("rgvLeft")));
     this.rgvRight   = ((Telerik.Windows.Controls.RadGridView)(this.FindName("rgvRight")));
 }
Example #15
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/LoginView.xaml", System.UriKind.Relative));
     this.LayoutRoot  = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtUserName = ((System.Windows.Controls.TextBox)(this.FindName("txtUserName")));
     this.txtPassword = ((System.Windows.Controls.PasswordBox)(this.FindName("txtPassword")));
     this.btnLogin    = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnLogin")));
     this.rbiLoading  = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TelerikSilverlightAppMap1;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.RadMap1 = ((Telerik.Windows.Controls.RadMap)(this.FindName("RadMap1")));
     this.informationLayer = ((Telerik.Windows.Controls.Map.InformationLayer)(this.FindName("informationLayer")));
     this.informationLayer2 = ((Telerik.Windows.Controls.Map.InformationLayer)(this.FindName("informationLayer2")));
     this.findRouteButton = ((Telerik.Windows.Controls.RadButton)(this.FindName("findRouteButton")));
     this.clearButton = ((Telerik.Windows.Controls.RadButton)(this.FindName("clearButton")));
     this.ErrorSummary = ((System.Windows.Controls.TextBlock)(this.FindName("ErrorSummary")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Events/EditEventPermissionView.xaml", System.UriKind.Relative));
     this.LayoutRoot  = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtTieuDe   = ((System.Windows.Controls.TextBox)(this.FindName("txtTieuDe")));
     this.txtDuongDan = ((System.Windows.Controls.TextBox)(this.FindName("txtDuongDan")));
     this.btnSave     = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnSave")));
     this.btnCancel   = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Training/Copy%20of%20EditRoomView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtMaPhong = ((System.Windows.Controls.TextBox)(this.FindName("txtMaPhong")));
     this.errPrivilegeName = ((System.Windows.Controls.Image)(this.FindName("errPrivilegeName")));
     this.txtTenPhong = ((System.Windows.Controls.TextBox)(this.FindName("txtTenPhong")));
     this.errLoweredName = ((System.Windows.Controls.Image)(this.FindName("errLoweredName")));
     this.btnSave = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnSave")));
     this.btnCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
     this.rbiLoading = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
 }
Example #19
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/MessageView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.imgAlert = ((System.Windows.Controls.Image)(this.FindName("imgAlert")));
     this.imgInfo = ((System.Windows.Controls.Image)(this.FindName("imgInfo")));
     this.imgWarning = ((System.Windows.Controls.Image)(this.FindName("imgWarning")));
     this.imgQues = ((System.Windows.Controls.Image)(this.FindName("imgQues")));
     this.txtMessage = ((System.Windows.Controls.TextBlock)(this.FindName("txtMessage")));
     this.btnOK = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnOK")));
     this.btnCancel = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
 }
Example #20
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Training/EditSubjectView.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtMaMonHoc  = ((System.Windows.Controls.TextBox)(this.FindName("txtMaMonHoc")));
     this.txtTenMonHoc = ((System.Windows.Controls.TextBox)(this.FindName("txtTenMonHoc")));
     this.btnSave      = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnSave")));
     this.btnCancel    = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
     this.rbiLoading   = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
 }
Example #21
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/MessageView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.imgAlert   = ((System.Windows.Controls.Image)(this.FindName("imgAlert")));
     this.imgInfo    = ((System.Windows.Controls.Image)(this.FindName("imgInfo")));
     this.imgWarning = ((System.Windows.Controls.Image)(this.FindName("imgWarning")));
     this.imgQues    = ((System.Windows.Controls.Image)(this.FindName("imgQues")));
     this.txtMessage = ((System.Windows.Controls.TextBlock)(this.FindName("txtMessage")));
     this.btnOK      = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnOK")));
     this.btnCancel  = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
 }
Example #22
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebManagement.Client;component/Views/Training/Copy%20of%20EditRoomView.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtMaPhong       = ((System.Windows.Controls.TextBox)(this.FindName("txtMaPhong")));
     this.errPrivilegeName = ((System.Windows.Controls.Image)(this.FindName("errPrivilegeName")));
     this.txtTenPhong      = ((System.Windows.Controls.TextBox)(this.FindName("txtTenPhong")));
     this.errLoweredName   = ((System.Windows.Controls.Image)(this.FindName("errLoweredName")));
     this.btnSave          = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnSave")));
     this.btnCancel        = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnCancel")));
     this.rbiLoading       = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("rbiLoading")));
 }
Example #23
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Chart;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.dtmStart = ((Telerik.Windows.Controls.RadDatePicker)(this.FindName("dtmStart")));
     this.dtmEnd = ((Telerik.Windows.Controls.RadDatePicker)(this.FindName("dtmEnd")));
     this.chkFlowRate = ((System.Windows.Controls.CheckBox)(this.FindName("chkFlowRate")));
     this.chkPressure = ((System.Windows.Controls.CheckBox)(this.FindName("chkPressure")));
     this.btnView = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnView")));
     this.btnExport = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnExport")));
     this.lblChartName = ((System.Windows.Controls.Label)(this.FindName("lblChartName")));
     this.printer = ((System.Windows.Controls.Image)(this.FindName("printer")));
     this.chart = ((Visiblox.Charts.Chart)(this.FindName("chart")));
     this.behaviourManager = ((Visiblox.Charts.BehaviourManager)(this.FindName("behaviourManager")));
     this.track = ((Visiblox.Charts.TrackballBehaviour)(this.FindName("track")));
 }
 private void ActivateButton(ButtonBase button)
 {
     if (button is Telerik.Windows.Controls.RadButton)
     {
         Telerik.Windows.Controls.RadButton btn = button as Telerik.Windows.Controls.RadButton;
         if (btn.Command != null &&
             btn.Command.CanExecute(button.CommandParameter))
         {
             btn.Command.Execute(button.CommandParameter);
         }
     }
     else
     {
         if (button != null && button.Command != null &&
             button.Command.CanExecute(button.CommandParameter))
         {
             button.Command.Execute(button.CommandParameter);
         }
     }
 }
Example #25
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/RadControlsSilverlightClient;component/Accounts.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.AccountsdataServiceDataSource = ((Telerik.Windows.Controls.RadDataServiceDataSource)(this.FindName("AccountsdataServiceDataSource")));
     this.BanksdataServiceDataSource = ((Telerik.Windows.Controls.RadDataServiceDataSource)(this.FindName("BanksdataServiceDataSource")));
     this.TypesdataServiceDataSource = ((Telerik.Windows.Controls.RadDataServiceDataSource)(this.FindName("TypesdataServiceDataSource")));
     this.EntitiesdataServiceDataSource = ((Telerik.Windows.Controls.RadDataServiceDataSource)(this.FindName("EntitiesdataServiceDataSource")));
     this.CurrenciesdataServiceDataSource = ((Telerik.Windows.Controls.RadDataServiceDataSource)(this.FindName("CurrenciesdataServiceDataSource")));
     this.DivisionsdataServiceDataSource = ((Telerik.Windows.Controls.RadDataServiceDataSource)(this.FindName("DivisionsdataServiceDataSource")));
     this.ActivedataServiceDataSource = ((Telerik.Windows.Controls.RadDataServiceDataSource)(this.FindName("ActivedataServiceDataSource")));
     this.SignersdataServiceDataSource = ((Telerik.Windows.Controls.RadDataServiceDataSource)(this.FindName("SignersdataServiceDataSource")));
     this.dataServiceDataSource = ((Telerik.Windows.Controls.RadDataServiceDataSource)(this.FindName("dataServiceDataSource")));
     this.exportButton = ((Telerik.Windows.Controls.RadButton)(this.FindName("exportButton")));
     this.busyIndicator = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("busyIndicator")));
     this.RadGridView1 = ((Telerik.Windows.Controls.RadGridView)(this.FindName("RadGridView1")));
     this.busyIndicatorForm = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("busyIndicatorForm")));
     this.myRadDataForm = ((Telerik.Windows.Controls.RadDataForm)(this.FindName("myRadDataForm")));
 }