Beispiel #1
0
        // auto klasy


        private void Main_Form_Load(object sender, EventArgs e)
        {
            Form loading = new Loading_Screen();

            loading.Show();

            Check_ChBox();
        }
        private void timer1_Tick(object sender, EventArgs e)
        {
            Form loading_s = new Loading_Screen();

            Main_Form.main_f.Hide();
            // okodowanie progres bar
            progressBar1.Increment(1);
            label1.Text = progressBar1.Value.ToString() + "%";

            if (progressBar1.Value == progressBar1.Maximum)
            {
                timer1.Stop();
                this.Hide();
                Main_Form.main_f.Show();
            }
        }