Exemplo n.º 1
0
        private void tidakbtn_Click(object sender, EventArgs e)
        {
            TransaksiCheck admin = new TransaksiCheck();

            admin.Show();
            this.Hide();
        }
Exemplo n.º 2
0
        private void FormClosingEventCancle_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            DialogResult dr = MessageBox.Show("Yakin ingin keluar?", "Konfirmasi", MessageBoxButtons.YesNo); if (dr == DialogResult.No)

            {
                e.Cancel = true;
            }
            else
            {
                TransaksiCheck admin = new TransaksiCheck();
                admin.Show();
                this.Hide();
                e.Cancel = false;
            }
        }
Exemplo n.º 3
0
        private void button2_Click(object sender, EventArgs e)
        {
            if (fulltot.Text == "")
            {
                MessageBox.Show("data masih kosong !");
            }
            else
            {
                if (fulltot.Text == "")
                {
                    fulltot.Text = "0";
                }


                totfullsp = float.Parse(fulltot.Text);
                subtotal  = totfullsp;

                TransaksiCheck admin = new TransaksiCheck();
                admin.Show();
            }
        }