Ejemplo n.º 1
0
        private void buttonOk_Click(object sender, EventArgs e)
        {
            if (String.IsNullOrEmpty(textBoxName.Text) || textBoxName.Text == " ")
            {
                label4.Text = "Name missing...";
                return;
            }

            if (String.IsNullOrEmpty(textBoxPath.Text) || textBoxPath.Text == " ")
            {
                label4.Text = "Path missing...";
                return;
            }

            //Guardar todas as fotos na pasta X com o nome Y
            SaveAllPhotos(textBoxName.Text);

            formPics.Close();

            //open inicio
            formInit.Show();

            CLeanForm();
            this.Close();
        }