Ejemplo n.º 1
0
 private void btn_add_group_Click(object sender, RoutedEventArgs e)
 {
     if (allowAction)
     {
         Window_AddEditGroupName frm = new Window_AddEditGroupName(this, -1, "");
         frm.ShowDialog();
     }
 }
Ejemplo n.º 2
0
 private void btn_rename_Click(object sender, RoutedEventArgs e)
 {
     if (allowAction && selectedGroup.Id > 0)
     {
         Window_AddEditGroupName frm = new Window_AddEditGroupName(this, selectedGroup.Id, selectedGroup.GroupName);
         frm.ShowDialog();
     }
 }