Ejemplo n.º 1
0
        void settings_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {

            if (CurrentList != null)
                MessageDialog.ShowMessage("Please close list to perform List Settings Option.");
            else
            {
                ListItemControl lst = (ListItemControl)((Grid)(((StackPanel)((Image)sender).Parent).Parent)).Parent;
                DropDownSelectedList = lst.List;
                ListOldName = DropDownSelectedList.ListName;
                string ListAsmx = Constants.InitParams.ListAsmx(this);
                string ListOrgAsmx = Constants.InitParams.ListOrgAsmx(this);
                string PeopleAsmx = Constants.InitParams.PeopleAsmx(this);
                string custompermissionsasmx = Constants.InitParams.CustomPermissionsAsmx(this);
                string siteURL = Constants.InitParams.ListURL(this);
                string siteRootURL = Constants.InitParams.SiteRootURL(this);

                ListSettingsDialog listSettingsDialog = new ListSettingsDialog(ListAsmx, ListOrgAsmx, PeopleAsmx, custompermissionsasmx, DropDownSelectedList, siteURL, siteRootURL, _sLog, BusinessUnits);
                listSettingsDialog.Show();
            }
            e.Handled = true;
        }
Ejemplo n.º 2
0
 private void listSettings_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     if (CurrentList != null)
     {
         MessageDialog.ShowMessage("Please close list to perform List Settings Operation.");
     }
     else
     {
         string ListAsmx = Constants.InitParams.ListAsmx(this);
         string ListOrgAsmx = Constants.InitParams.ListOrgAsmx(this);
         string siteURL = Constants.InitParams.ListURL(this);
         string siteRootURL = Constants.InitParams.SiteRootURL(this);
         String PeopleAsmx = Constants.InitParams.PeopleAsmx(this);
         String custompermissionsasmx = Constants.InitParams.CustomPermissionsAsmx(this);
         ListSettingsDialog listSettingsDialog = new ListSettingsDialog(ListAsmx, ListOrgAsmx, PeopleAsmx, custompermissionsasmx, new SPList(), siteURL, siteRootURL, _sLog, BusinessUnits);
         listSettingsDialog.Show();
     }
 }