/// <summary> /// Sends a connection success message /// </summary> /// <param name="service">IOrganizationService generated</param> /// <param name="parameters">Lsit of parameter</param> private void SendSaveMessage(Dictionary<string, string> collection) { SaveEventArgs sea = new SaveEventArgs { AttributeCollection = collection }; if (Saved != null) { Saved(this, sea); } }
/// <summary> /// When SiteMap component properties are saved, they are /// copied in the current selected TreeNode /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void CtrlSaved(object sender, SaveEventArgs e) { tvSiteMap.SelectedNode.Tag = e.AttributeCollection; }