Beispiel #1
0
        private void button2_Click_2(object sender, EventArgs e)
        {
            Connection con = new Connection();
            DataTable  dt;

            dt = new DataTable();
            dt = con.selectt("select priv_display from tb_priv where priv_screen_id=5 and priv_user_id='" + Main_Form.curnt_user + "';");

            if (dt.Rows[0][0].ToString() == "False" || dt.Rows[0][0].ToString() == string.Empty)
            {
            }
            else
            {
                frm_OBSTATRIC_HISTORY frm = new frm_OBSTATRIC_HISTORY();
                frm.Show();
            }
        }
Beispiel #2
0
        private void btn_accept_visit_Click(object sender, EventArgs e)
        {
            frm_OBSTATRIC_HISTORY frm = new frm_OBSTATRIC_HISTORY();

            frm.ShowDialog();
        }