/** this button is for move to new form */
        private void Button2_Click(object sender, EventArgs e)
        {
            AdminAddCashierDataForm add = new AdminAddCashierDataForm();

            add.Show();
            add.label1.Text = "Tambah Data";
        }
        /** to update data is here */
        private void Button3_Click(object sender, EventArgs e)
        {
            var id = userId;

            if (id == null)
            {
                MessageBox.Show("Pilih kasir terlebih dahulu");
            }
            else
            {
                AdminAddCashierDataForm dataForm = new AdminAddCashierDataForm();
                dataForm.Show();
                dataForm.tbId.Text       = id;
                dataForm.tbUsername.Text = username;
                dataForm.tbPassword.Text = password;
                dataForm.tbName.Text     = name;
                dataForm.tbAddress.Text  = address;
                dataForm.tbPhone.Text    = phone;

                dataForm.label1.Text = "Ubah Data";
            }
        }