예제 #1
0
 private async void btn_add_group_Click(object sender, RoutedEventArgs e)
 {
     AddRenameGroup frm = new AddRenameGroup(this, Utility.Constant.ActionGroupMode.MODE_ADD,"", -1);
     await frm.ShowAsync();
 }
예제 #2
0
 private async void btn_rename_Click(object sender, RoutedEventArgs e)
 {
     if (list_group.SelectedItem != null)
     {
         var gname = (list_group.SelectedItem as Group).Name;
         AddRenameGroup g = new AddRenameGroup(this, 2, ActionGroupMode.MODE_EDIT, gname, listGroupName);
         await g.ShowAsync();
     }
 }
예제 #3
0
 private async void btn_rename_Click(object sender, RoutedEventArgs e)
 {
     var item = list_group.SelectedItem as Group;
     AddRenameGroup frm = new AddRenameGroup(this, Utility.Constant.ActionGroupMode.MODE_EDIT, item.Name, item.Id);
     await frm.ShowAsync();
 }
예제 #4
0
 private async void btn_add_group_Click(object sender, RoutedEventArgs e)
 {
     AddRenameGroup g = new AddRenameGroup(this, 2, ActionGroupMode.MODE_ADD, "", listGroupName);
     await g.ShowAsync();
 }