private void btn_instructions_Click(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=6 and priv_user_id='" + Main_Form.curnt_user + "';"); if (dt.Rows[0][0].ToString() == "False" || dt.Rows[0][0].ToString() == string.Empty) { } else { frm_Doc_Instruction frm = new frm_Doc_Instruction(); frm.Show(); } }
public frm_visits_Show(frm_Doc_Instruction ob) { frm = ob; InitializeComponent(); }