Esempio n. 1
0
        private void addRight_Click(object sender, EventArgs e)
        {
            AddRight rightForm = new AddRight(false, -1);

            rightForm.ShowDialog();
            showValues();
        }
Esempio n. 2
0
 private void editRight_Click(object sender, EventArgs e)
 {
     if (RightlistBox.SelectedIndex >= 0)
     {
         string   rightid = RightlistBox.SelectedItem.ToString();
         AddRight right   = new AddRight(true, RightlistBox.SelectedIndex);
         right.ShowDialog();
         showValues();
     }
     else
     {
         MessageBox.Show("Select a Right", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Esempio n. 3
0
 private void editRight_Click(object sender, EventArgs e)
 {
     if (RightlistBox.SelectedIndex >= 0)
     {
         string rightid = RightlistBox.SelectedItem.ToString();
         AddRight right = new AddRight(true, RightlistBox.SelectedIndex);
         right.ShowDialog();
         showValues();
     }
     else
     {
         MessageBox.Show("Select a Right", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Esempio n. 4
0
 private void addRight_Click(object sender, EventArgs e)
 {
     AddRight rightForm = new AddRight(false,-1);
     rightForm.ShowDialog();
     showValues();
 }