예제 #1
0
 private void InitUIElements()
 {
     createAssetButton  = builderButton.activate(this, "createAssetBtn").addOnClick(this, "RouteToCreateAssetPage");
     previousPageButton = builderButton.activate(this, "previous_page_button").addOnClick(this, "MoveToPreviousPage");
     nextPageButton     = builderButton.activate(this, "next_page_button").addOnClick(this, "MoveToNextPage");
     searchTextBox      = builderTextBox.activate(this, "search_txtBox");
 }
 private void initUIElements()
 {
     errorCreateSchedule_txt     = builderTextBlock.activate(this, "ErrorSchedule_txt");
     successCreatePolyclinic_txt = builderTextBlock.activate(this, "SuccessPoly_txt");
     polyMaster_CombB            = builderComboBox.activate(this, "PolyMaster_CombB");
     savePoly_bt     = builderButton.activate(this, "SavePoly_bt").addOnClick(this, "onClickSavePoly");
     saveSchedule_bt = builderButton.activate(this, "SaveSchedule_bt").addOnClick(this, "onClickSaveSchedule");
 }
 private void initUIElements()
 {
     searchButton = btnBuilder.activate(this, "searchBtn")
                    .addOnClick(this, "onSearchButtonClick");
     addButton = btnBuilder.activate(this, "addBtn")
                 .addOnClick(this, "onAddButtonClick");
     searchTextBox = txtBoxBuilder.activate(this, "searchBox");
 }
 private void InitUIElements()
 {
     uploadImageButton = builderButton.activate(this, "upload_button").addOnClick(this, "SetAssetImage");
     cancelButton      = builderButton.activate(this, "cancel_button").addOnClick(this, "RouteToAssetPage");
     createButton      = builderButton.activate(this, "create_button").addOnClick(this, "OnClickCreateButton");
     assetTextBox      = builderTextBox.activate(this, "name_txtBox");
     quantityTextBox   = builderTextBox.activate(this, "quantity_txtBox");
 }
 private void InitUIElements()
 {
     reservationDataGrid = builderDataGrid.activate(this, "reservationsGrid");
     previousButton      = builderButton.activate(this, "previous_page_button").addOnClick(this, "MoveToPreviousPage");
     nextButton          = builderButton.activate(this, "next_page_button").addOnClick(this, "MoveToNextPage");
     searchButton        = builderButton.activate(this, "search_button").addOnClick(this, "GetReservationAsset");
     searchTextBox       = builderTextBox.activate(this, "search_txtBox");
 }
예제 #6
0
 private void InitUIElements()
 {
     uploadImageButton = builderButton.activate(this, "upload_button").addOnClick(this, "SetAssetImage");
     deleteButton      = builderButton.activate(this, "delete_button").addOnClick(this, "OnClickDeleteButton");
     updateButton      = builderButton.activate(this, "update_button").addOnClick(this, "OnClickUpdateButton");
     assetTextBox      = builderTextBox.activate(this, "name_txtBox");
     quantityTextBox   = builderTextBox.activate(this, "quantity_txtBox");
 }
예제 #7
0
 private void initUIElements()
 {
     searchTxtBox         = txtBoxBuilder.activate(this, "searchTextBox");
     addServiceButton_btn = buttonBuilder
                            .activate(this, "addServiceButton")
                            .addOnClick(this, "onAddServiceClick");
     searchServiceButton_btn = buttonBuilder
                               .activate(this, "searchServiceButton")
                               .addOnClick(this, "onSearchServiceClick");
 }
예제 #8
0
 private void initUIElements()
 {
     saveButton = buttonBuilder.activate(this, "save_btn")
                  .addOnClick(this, "onSaveButtonClick");
     cancelButton = buttonBuilder.activate(this, "cancel_btn")
                    .addOnClick(this, "onCancelButtonClick");
     nameTxtBox         = txtBoxBuilder.activate(this, "name_txt");
     emailTxtBox        = txtBoxBuilder.activate(this, "email_txt");
     comboBox           = this.FindName("role_cb") as ComboBox;
     loadingProgressBar = this.FindName("loading_progressbar") as ProgressBar;
 }
예제 #9
0
 private void initUIElements()
 {
     backButton = btnBuilder.activate(this, "backBtn")
                  .addOnClick(this, "onBackButtonClick");
     saveButton = btnBuilder.activate(this, "saveBtn")
                  .addOnClick(this, "onSaveButtonClick");
     uploadButton = btnBuilder.activate(this, "uploadBtn")
                    .addOnClick(this, "onUploadButtonClick");
     nameTxtBox  = txtBoxBuilder.activate(this, "nameTxt");
     priceTxtBox = txtBoxBuilder.activate(this, "priceTxt");
     stockTxtBox = txtBoxBuilder.activate(this, "stockTxt");
 }
예제 #10
0
 private void InitUIElements()
 {
     statusDataGrid     = builderDataGrid.activate(this, "statusGrid");
     beginTextBlock     = builderTextBlock.activate(this, "begin");
     endTextBlock       = builderTextBlock.activate(this, "end");
     reserveeTextBlock  = builderTextBlock.activate(this, "reservee");
     classroomTextBlock = builderTextBlock.activate(this, "classroom");
     nrpTextBlock       = builderTextBlock.activate(this, "nrp");
     assetNameTextBlock = builderTextBlock.activate(this, "assetName");
     assetImage         = (Image)this.FindName("imageAsset");
     acceptButton       = builderButton.activate(this, "accept_button").addOnClick(this, "OnClickAcceptButton");
     denyButton         = builderButton.activate(this, "deny_button").addOnClick(this, "OnClickDenyButton");
     descriptionTextBox = builderTextBox.activate(this, "description_txtBox");
 }
예제 #11
0
 private void initUIElements()
 {
     save_btn = buttonBuilder.activate(this, "saveButton")
                .addOnClick(this, "onSaveButtonClick");
     back_btn = buttonBuilder.activate(this, "backButton")
                .addOnClick(this, "onBackButtonClick");
     startTimeH          = txtBoxBuilder.activate(this, "startTimeHour");
     startTimeM          = txtBoxBuilder.activate(this, "startTimeMinute");
     startTimeS          = txtBoxBuilder.activate(this, "startTimeSecond");
     endTimeH            = txtBoxBuilder.activate(this, "endTimeHour");
     endTimeM            = txtBoxBuilder.activate(this, "endTimeMinute");
     endTimeS            = txtBoxBuilder.activate(this, "endTimeSecond");
     nameTxtBlock        = txtBlockBuilder.activate(this, "nameTxt");
     phoneNumberTxtBlock = txtBlockBuilder.activate(this, "phoneNumberTxt");
 }
예제 #12
0
 private void initUIElements()
 {
     updateButton = btnBuilder.activate(this, "updateBtn")
                    .addOnClick(this, "onUpdateButtonClick");
     uploadButton = btnBuilder.activate(this, "uploadBtn")
                    .addOnClick(this, "onUploadButtonClick");
     logoutButton = btnBuilder.activate(this, "logoutBtn")
                    .addOnClick(this, "onLogoutButtonClick");
     nameTxtBox    = txtBoxBuilder.activate(this, "nameTxt");
     phoneTxtBox   = txtBoxBuilder.activate(this, "phoneTxt");
     emailTxtBox   = txtBoxBuilder.activate(this, "emailTxt");
     addressTxtBox = txtBoxBuilder.activate(this, "addressTxt");
     oldPass       = passBoxBuilder.activate(this, "oldPassword");
     newPass       = passBoxBuilder.activate(this, "newPassword");
 }
예제 #13
0
 private void initUIElements()
 {
     categoryButton = buttonBuilder.activate(this, "category_btn")
                      .addOnClick(this, "onCategoryButtonClick");
     categoryTxtBox         = txtBoxBuilder.activate(this, "category_txt");
     categoryStatusTxtBlock = txtBlockBuilder.activate(this, "categoryStatus");
 }
예제 #14
0
 private void initUIElements()
 {
     refreshButton = builderButton
                     .activate(this, "refreshBtn")
                     .addOnClick(this, "onRefreshButtonClick");
     searchTextBox = txtBoxBuilder.activate(this, "searchBox");
 }
 private void initUIElements()
 {
     addButton        = buttonBuilder.activate(this, "addHA_btn");
     nameTxtBox       = txtBoxBuilder.activate(this, "name_txt");
     emailTxtBox      = txtBoxBuilder.activate(this, "email_txt");
     addressTxtBox    = txtBoxBuilder.activate(this, "address_txt");
     callCenterTxtBox = txtBoxBuilder.activate(this, "call_center_txt");
 }
예제 #16
0
 private void initUIElements()
 {
     loginbutton = buttonBuilder
                   .activate(this, "login_button")
                   .addOnClick(this, "onLoginButtonClick");
     usernameTextBox = textBoxBuilder.activate(this, "username_field");
     passwordTextBox = textBoxBuilder.activate(this, "password_field");
     statusTextBlock = textBlockBuilder.activate(this, "status_field");
 }
예제 #17
0
 private void initUIElements()
 {
     loginButton = buttonBuilder
                   .activate(this, "loginButton_btn")
                   .addOnClick(this, "onLoginButtonClick");
     emailTxtBox         = txtBoxBuilder.activate(this, "email_txt");
     passwordTxtBox      = txtBoxBuilder.activate(this, "password_txt");
     loginStatusTxtBlock = txtBlockBuilder.activate(this, "loginStatus");
 }
예제 #18
0
 private void initUIElements()
 {
     loginButton_btn = buttonBuilder
                       .activate(this, "loginButton")
                       .addOnClick(this, "onLoginButtonClick");
     emailTxtBox = txtBoxBuilder.activate(this, "emailTextBox");
     emailTxtBox.setTextVerticalAlignment(MyVerticalAlignment.CENTER);
     passwordTxtBox = pwdBoxBuilder.activate(this, "passwordBox");
     passwordTxtBox.setPasswordVerticalAlignment(MyVerticalAlignment.CENTER);
 }
예제 #19
0
 private void initUIElements()
 {
     registerButton = buttonBuilder.activate(this, "register_btn")
                      .addOnClick(this, "onRegisterButtonClick");
     nameTxtBox             = txtBoxBuilder.activate(this, "name_txt");
     emailTxtBox            = txtBoxBuilder.activate(this, "email_txt");
     passwordTxtBox         = txtBoxBuilder.activate(this, "password_txt");
     passwordcTxtBox        = txtBoxBuilder.activate(this, "passwordc_txt");
     registerStatusTxtBlock = txtBlockBuilder.activate(this, "registerStatus");
 }
        private void initUIElements()
        {
            editButton = buttonBuilder.activate(this, "edit_btn")
                         .addOnClick(this, "onEditButtonClick");

            editName_tb1        = txtBoxBuilder.activate(this, "editName_tb");
            editDescription_tb1 = txtBoxBuilder.activate(this, "description_tb");
            editAddress_tb1     = txtBoxBuilder.activate(this, "address_tb");
            editContact_tb1     = txtBoxBuilder.activate(this, "contact_tb");
            editLatitude_tb1    = txtBoxBuilder.activate(this, "latitude_tb");
            editLongitude_tb1   = txtBoxBuilder.activate(this, "longitude_tb");
            editImage_tb1       = txtBoxBuilder.activate(this, "image_tb");
            editCategory_tb1    = txtBoxBuilder.activate(this, "editCategory_tb");
            //createStatusTxtBlock = txtBlockBuilder.activate(this, "registerStatus");
        }
예제 #21
0
        private void initUIElements()
        {
            newImage = new MyList <MyFile>();
            newImage.Add(null);
            createButton = buttonBuilder.activate(this, "create_btn")
                           .addOnClick(this, "onCreateButtonClick");

            image = this.FindName("imageView") as Image;

            name_tb1        = txtBoxBuilder.activate(this, "name_tb");
            description_tb1 = txtBoxBuilder.activate(this, "description_tb");
            address_tb1     = txtBoxBuilder.activate(this, "address_tb");
            contact_tb1     = txtBoxBuilder.activate(this, "contact_tb");
            latitude_tb1    = txtBoxBuilder.activate(this, "latitude_tb");
            longitude_tb1   = txtBoxBuilder.activate(this, "longitude_tb");
            category_tb1    = txtBoxBuilder.activate(this, "category_tb");
        }
예제 #22
0
 private void InitUIElements()
 {
     loginButton = buttonBuilder.activate(this, "login_button").addOnClick(this, "OnClickLoginButton");
     emailTxtBox = txtBoxBuilder.activate(this, "email_textBox");
     passwordBox = passBoxBuilder.activate(this, "password_box");
 }
예제 #23
0
 private void initUIElements()
 {
     addButton       = buttonBuilder.activate(this, "addHA_btn");
     nameTxtBox      = txtBoxBuilder.activate(this, "name_txt");
     polyMasterImage = new MyFile();
 }