Пример #1
0
        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();
            }
        }
Пример #2
0
 public frm_visits_Show(frm_Doc_Instruction ob)
 {
     frm = ob;
     InitializeComponent();
 }