Example #1
0
 private void grdFunctional_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     string ListAsmx = Constants.InitParams.ListAsmx(this);
     String listguid = _handler.ListGuid.ToString();
     if (listguid != "00000000-0000-0000-0000-000000000000")
     {
         EditFunctionalDialog efd = new EditFunctionalDialog(listguid, ListAsmx);
         efd.Closed += new EventHandler(efd_Closed);
         efd.Show();
     }
     else
     {
         MessageDialog.ShowMessage("Please select a list for Edit Functional Option");
     }
 }
Example #2
0
 void functional_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     if (CurrentList != null)
         MessageDialog.ShowMessage("Please close list to perform edit functional.");
     else
     {
         ListItemControl lst = (ListItemControl)((Grid)(((StackPanel)((Image)sender).Parent).Parent)).Parent;
         string ListAsmx = Constants.InitParams.ListAsmx(this);
         EditFunctionalDialog efd = new EditFunctionalDialog(lst.List.Id, ListAsmx);
         efd.Show();
     }
     e.Handled = true;
 }