示例#1
0
 private void triggerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Usermanager.Connection.CurrentUser.Database != null)
     {
         var form = new NewTrigger(tool, Usermanager);
         form.Show();
     }
     else
     {
         MessageBox.Show("You must Login to a Database", "Error!", MessageBoxButtons.OK,
                         MessageBoxIcon.Error);
     }
 }
示例#2
0
        private void trigerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewTrigger viewTrigger = new NewTrigger(this);

            viewTrigger.Show();
        }