private void AboutButton_Click (object sender, RibbonControlEventArgs e) { using (var aboutForm = new AboutForm()) { aboutForm.ShowDialog(); } }
private void ToolBarBtn_About_OnClick (CommandBarButton Ctrl, ref bool CancelDefault) { using (var aboutForm = new AboutForm()) { aboutForm.ShowDialog(); } }