Exemplo n.º 1
0
        private void addUserPattern_Click(object sender, EventArgs e)
        {
            AddUserPattern userpatternform = new AddUserPattern(false, null);

            userpatternform.ShowDialog();
            showValues();
        }
Exemplo n.º 2
0
 private void EditUserPattern_Click(object sender, EventArgs e)
 {
     if (UserPatternslistBox.SelectedIndex >= 0)
     {
         string         userpatternid = UserPatternslistBox.SelectedItem.ToString();
         AddUserPattern userpattern   = new AddUserPattern(true, userpatternid);
         userpattern.ShowDialog();
         showValues();
     }
     else
     {
         MessageBox.Show("Select a UserPattern", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemplo n.º 3
0
 private void EditUserPattern_Click(object sender, EventArgs e)
 {
     if (UserPatternslistBox.SelectedIndex >= 0)
     {
         string userpatternid = UserPatternslistBox.SelectedItem.ToString();
         AddUserPattern userpattern = new AddUserPattern(true, userpatternid);
         userpattern.ShowDialog();
         showValues();
     }
     else
     {
         MessageBox.Show("Select a UserPattern", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemplo n.º 4
0
 private void addUserPattern_Click(object sender, EventArgs e)
 {
     AddUserPattern userpatternform = new AddUserPattern(false,null);
     userpatternform.ShowDialog();
     showValues();
 }