예제 #1
0
        private void btn_system_administrator_Click(object sender, EventArgs e)
        {
            //システム管理者用メニュー
            if (tss.User_Kengen_Check(1, 9) == false || tss.User_Kengen_Check(2, 9) == false || tss.User_Kengen_Check(3, 9) == false || tss.User_Kengen_Check(4, 9) == false || tss.User_Kengen_Check(5, 9) == false || tss.User_Kengen_Check(6, 9) == false)
            {
                MessageBox.Show("権限がありません");
                return;
            }
            frm_system_administrator frm_sysad = new frm_system_administrator();

            frm_sysad.ShowDialog(this);
            frm_sysad.Dispose();
        }
예제 #2
0
 private void btn_system_administrator_Click(object sender, EventArgs e)
 {
     if (tss.User_Kengen_Check(1, 9) == false || tss.User_Kengen_Check(2, 9) == false || tss.User_Kengen_Check(3, 9) == false || tss.User_Kengen_Check(4, 9) == false || tss.User_Kengen_Check(5, 9) == false || tss.User_Kengen_Check(6, 9) == false)
     {
         MessageBox.Show("権限がありません");
         return;
     }
     frm_system_administrator frm_sysad = new frm_system_administrator();
     frm_sysad.ShowDialog(this);
     frm_sysad.Dispose();
 }