Beispiel #1
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");
 }
 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");
 }
 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()
 {
     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");
 }
Beispiel #5
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");
 }
Beispiel #6
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");
 }
Beispiel #7
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;
 }
Beispiel #8
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");
 }
 private void initUIElements()
 {
     breadcrumbs.Text += schedule.Subject.Name + " / " + schedule.Subject.Classroom.Slug + " / " + schedule.Time + " / " + attendance.Student.Nrp;
     mhsTxtBox         = txtBoxBuilder.activate(this, "textBoxMahasiswa");
     jadwalTxtBox      = txtBoxBuilder.activate(this, "textBoxJadwal");
     tglTxtBox         = txtBoxBuilder.activate(this, "textBoxTanggal");
     statusCmbBox      = cmbBoxBuilder.activate(this, "comboBoxStatus");
     mhsTxtBox.setText(attendance.Student.Nrp + " - " + attendance.Student.Name);
     jadwalTxtBox.setText(schedule.Subject.Name);
     tglTxtBox.setText(schedule.Time);
     statusCmbBox.setSelectedItemIndex(GetStatus(attendance.Status));
     statusCmbBox.addOnSelectionChanged(this, "ChangeAttendanceStatus");
 }
 private void initUIElements()
 {
     profileImageTooltipImage = this.FindName("profileimage_tooltip_image") as Image;
     profileImageImageBrush   = this.FindName("profileimage_imagebrush") as ImageBrush;
     roleLabel             = this.FindName("role_label") as Label;
     nameLabel             = this.FindName("name_label") as Label;
     currentPasswordBox    = this.FindName("current_passwordbox") as PasswordBox;
     newPasswordBox        = this.FindName("new_passwordbox") as PasswordBox;
     confirmNewPasswordBox = this.FindName("confirmnew_passwordbox") as PasswordBox;
     loadingProgressBar    = this.FindName("loading_progressbar") as ProgressBar;
     fullNameTextBox       = builderTextBox.activate(this, "fullname_textbox");
     roleTextBox           = builderTextBox.activate(this, "role_textbox");
     emailTextBox          = builderTextBox.activate(this, "email_textbox");
     changePasswordButton  = this.FindName("changepassword_button") as Button;
 }
Beispiel #11
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");
 }
Beispiel #12
0
 private void initUIElements()
 {
     refreshButton = builderButton
                     .activate(this, "refreshBtn")
                     .addOnClick(this, "onRefreshButtonClick");
     searchTextBox = txtBoxBuilder.activate(this, "searchBox");
 }
 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()
 {
     categoryButton = buttonBuilder.activate(this, "category_btn")
                      .addOnClick(this, "onCategoryButtonClick");
     categoryTxtBox         = txtBoxBuilder.activate(this, "category_txt");
     categoryStatusTxtBlock = txtBlockBuilder.activate(this, "categoryStatus");
 }
 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()
 {
     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");
 }
Beispiel #17
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");
 }
 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);
 }
        public MainWindow()
        {
            InitializeComponent();
            builderTextBlock = new BuilderTextBlock();
            textBlock        = builderTextBlock.activate(this, "txt_txt");
            string token = "";

            builderTextBox = new BuilderTextBox();
            emailTextBox   = builderTextBox.activate(this, "email_txt");
            emailTextBox.addPlaceholderText("insertemailhere");
        }
        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");
        }
Beispiel #21
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");
 }
        private void initUIElements()
        {
            newImage = new MyList <MyFile>();
            newImage.Add(null);

            editName_tb1        = txtBoxBuilder.activate(this, "name_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");
        }
Beispiel #23
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");
        }
Beispiel #24
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");
 }
 private void initUIElements()
 {
     emailTxtBox = txtBoxBuilder.activate(this, "email_tf");
     passwordBox = passBoxBuilder.activate(this, "password_tf");
 }
 private void initUIElements()
 {
     categoryTxtBox = txtBoxBuilder.activate(this, "category_txt");
     categoryTxtBox.setText(modelCategory.name);
 }
Beispiel #27
0
 private void initUIElements()
 {
     addButton       = buttonBuilder.activate(this, "addHA_btn");
     nameTxtBox      = txtBoxBuilder.activate(this, "name_txt");
     polyMasterImage = new MyFile();
 }
 private void InitUIElements()
 {
     loginButton = buttonBuilder.activate(this, "login_button").addOnClick(this, "OnClickLoginButton");
     emailTxtBox = txtBoxBuilder.activate(this, "email_textBox");
     passwordBox = passBoxBuilder.activate(this, "password_box");
 }