示例#1
0
 private void button1_Click(object sender, EventArgs e)
 {
     using (SecureData sec = new SecureData("brock", false)) {
         MessageBox.Show(sec.CanCreate("crop").ToString());
         MessageBox.Show(sec.CanRead("crop").ToString());
         MessageBox.Show(sec.CanUpdate("crop").ToString());
         MessageBox.Show(sec.CanDelete("crop").ToString());
     }
 }