Esempio n. 1
0
 private void buttonChooseSaveDirectory_Click(object sender, EventArgs e)
 {
     if (folderBrowserDialogSaveDirectory.ShowDialog() == DialogResult.OK)
     {
         Variablen.SavePath                 = folderBrowserDialogSaveDirectory.SelectedPath;
         Label_Speicherort.Text             = "Verzeichnis: " + Variablen.SavePath + @"\";
         Label_Speicherort.Location         = new Point(path_Label.X - Label_Speicherort.Size.Width, Label_Speicherort.Location.Y);
         buttonChooseSaveDirectory.Location = new Point(Label_Speicherort.Location.X - buttonChooseSaveDirectory.Width - 10, buttonChooseSaveDirectory.Location.Y);
         Label_noDirectory.Hide();
     }
 }
Esempio n. 2
0
 private void SetLabel()
 {
     Label_Willkommen.Show();
     Label_Verzeichnis.Hide();
     Label_Speicherort.Hide();
     buttonChooseDirectory.Hide();
     buttonChooseSaveDirectory.Hide();
     Label_noDirectory.Hide();
     Bilder_Anzeige.Hide();
     Button_Start.Show();
     Tool_Panel.Hide();
     Image_Preview.Hide();
 }
Esempio n. 3
0
        private void StartSave()
        {
            if (Variablen.SavePath != null)
            {
                Save();
            }
            else
            {
                if (folderBrowserDialogSaveDirectory.ShowDialog() == DialogResult.OK)
                {
                    Variablen.SavePath         = folderBrowserDialogSaveDirectory.SelectedPath;
                    Variablen.SavePath         = folderBrowserDialogSaveDirectory.SelectedPath;
                    Label_Speicherort.Text     = "Verzeichnis: " + Variablen.SavePath + @"\";
                    Label_Speicherort.Location = new Point(path_Label.X - Label_Speicherort.Size.Width, Label_Speicherort.Location.Y);

                    buttonChooseSaveDirectory.Location = new Point(Label_Speicherort.Location.X - buttonChooseSaveDirectory.Width - 10, buttonChooseSaveDirectory.Location.Y);
                    Label_noDirectory.Hide();
                    Label_Speicherort.Text = "Verzeichnis: " + Variablen.SavePath + @"\";

                    Save();
                }
            }
        }