Beispiel #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            /// panel içinde baslat

            panelOrta.Controls.Clear();
            Baseline bsline = new Baseline();

            bsline.TopLevel = false;
            panelOrta.Controls.Add(bsline);
            bsline.Show();

            bsline.Dock = DockStyle.Fill;
            bsline.BringToFront();

            /////////////////////////////////

            altPanel.BackColor = Color.Transparent;
            ustPanel.BackColor = Color.Transparent;
        }
Beispiel #2
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            if (sayac == 0)
            {
                timer1.Stop();


                panel1.Controls.Clear();
                Baseline bsline = new Baseline();
                bsline.TopLevel = false;
                panel1.Controls.Add(bsline);
                bsline.Show();

                bsline.Dock = DockStyle.Fill;
                bsline.BringToFront();
            }

            label1.Text        = "kalan zaman: " + sayac.ToString();
            progressBar1.Value = sayac;
            sayac--;
        }