public void SyncPane_Closing(Object sender, EventArgs e) { if (Dialog != null) { Dialog.Close(); } }
public void SyncPane_Closing(Object sender, EventArgs e) { if (this.GetAddIn().Application.Presentations.Count == 2) { shapeStorage.Close(); } if (Dialog != null) { Dialog.Close(); } }