Event data for saving global docking configuration.
Inheritance: System.EventArgs
Exemplo n.º 1
0
 private void kryptonDockingManager_GlobalSaving(object sender, DockGlobalSavingEventArgs e)
 {
     // Example code showing how to save extra data into the global config
     e.XmlWriter.WriteStartElement("CustomGlobalData");
     e.XmlWriter.WriteAttributeString("SavedTime", DateTime.Now.ToString());
     e.XmlWriter.WriteEndElement();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Raises the GlobalSaving event.
 /// </summary>
 /// <param name="e">An DockGlobalSavingEventArgs containing event data.</param>
 protected virtual void OnGlobalSaving(DockGlobalSavingEventArgs e)
 {
     if (GlobalSaving != null)
         GlobalSaving(this, e);
 }