private void btncancel_Click(object sender, EventArgs e)
        {
            NewEntry fnewentry = new NewEntry();

            fnewentry.Show();
            this.Hide();
        }
        private void onlytimer_Tick(object sender, EventArgs e)
        {
            progressBar.Increment(1);
            if (progressBar.Value == 50)
            {
                lbl1.Text = null;
                lbl2.Text = "Mafuyu Solution disusun oleh mahasiswa kelas B, yaitu:" + Environment.NewLine
                            + "Aria Eka Putra - 00000025749" + Environment.NewLine
                            + "Catherine Anastasia - 00000020377" + Environment.NewLine
                            + "Christofer Kemal Horas - 00000033887" + Environment.NewLine
                            + "Patricia Altanny - 00000028877" + Environment.NewLine
                            + "Vito Juliano - 0000026211" + Environment.NewLine;
            }

            if (progressBar.Value == 100)
            {
                onlytimer.Stop();
                NewEntry fne = new NewEntry();
                this.Hide();
                fne.Show();
            }
        }
示例#3
0
        private void btnreset_Click(object sender, EventArgs e)
        {
            DialogResult dialogResult = MessageBox.Show("Kembali ke awal?", "New ?", MessageBoxButtons.YesNo);

            if (dialogResult == DialogResult.Yes)
            {
                ValueGetSet fVGS = new ValueGetSet();
                fVGS.resetdata();

                CriteriaDetermination fCD = new CriteriaDetermination();
                fCD.resetdata();

                Vektor fv = new Vektor();
                fv.resetdata();

                NewEntry fnew = new NewEntry();
                fnew.Show();
                this.Hide();
            }
            else if (dialogResult == DialogResult.No)
            {
            }
        }