Exemplo n.º 1
0
        private void Button_Directory_Click(object sender, EventArgs e)
        {
            if (Image_Directionary.ShowDialog() == DialogResult.OK)
            {
                Variablen.path = Image_Directionary.SelectedPath;
                Label_Willkommen.Hide();

                Label_Verzeichnis.Text     = "Verzeichnis: " + Variablen.path + @"\";
                Label_Verzeichnis.Location = new Point(path_Label.X - Label_Verzeichnis.Size.Width, Label_Verzeichnis.Location.Y);
                Label_Verzeichnis.Show();

                Label_Speicherort.Text     = "Speicherort: Kein Verzeichnis ausgewählt";
                Label_Speicherort.Location = new Point(path_Label.X - Label_Speicherort.Size.Width, Label_Speicherort.Location.Y);
                Label_Speicherort.Show();

                buttonChooseDirectory.Location = new Point(Label_Verzeichnis.Location.X - buttonChooseDirectory.Size.Width - 5, buttonChooseDirectory.Location.Y);
                buttonChooseDirectory.Show();

                buttonChooseSaveDirectory.Location = new Point(Label_Speicherort.Location.X - buttonChooseSaveDirectory.Size.Width - 5, buttonChooseSaveDirectory.Location.Y);
                buttonChooseSaveDirectory.Show();

                Label_noDirectory.Location = new Point(path_Label.X - Label_noDirectory.Size.Width, Label_noDirectory.Location.Y);
                Label_noDirectory.Show();

                groupBoxSpeichergröße.Show();

                Bilder_Anzeige.Show();
                Button_Start.Hide();
                RefreshImages();
                Tool_Panel.Show();
                Image_Preview.Show();
            }
        }
Exemplo 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();
 }