示例#1
0
 private void choosePhoto_button_Click(object sender, EventArgs e)
 {
     UpdateCustomerController.ShowPhotoDialogChooser(openFileDialog1, updateCustomerTextboxes["PHOTO"]);
     UpdateCustomerController.loadPhotoAfterDialog(pictureBox1, photo_textbox.Text);
 }
示例#2
0
        // ----------------------

        private void removePhotoButton_Click(object sender, EventArgs e)
        {
            UpdateCustomerController.removePhoto(pictureBox1);
            photo_textbox.Text = Models.Container.EMPTY;
        }
示例#3
0
 private void updateCustomer_button_Click(object sender, EventArgs e)
 {
     UpdateCustomerController.UpdateCustomer(pictureBox1, updateCustomerTextboxes, customerValueLabels,
                                             pictureBoxCustomer, comments_richTextbox, birthDate_picker.Value.Date, bindingNavigator_Customers, this);
 }