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

            if (Dialog != null)
            {
                Dialog.Close();
            }
        }