/// ------------------------------------------------------------------------------------ /// <summary> /// </summary> /// <param name="args">the item that was clicked on</param> /// ------------------------------------------------------------------------------------ protected bool OnMoreWindows(object args) { using (MoreWindowsForm moreWindows = new MoreWindowsForm(m_app.MainWindows)) { if (ShowTestableDialog(moreWindows) == DialogResult.OK) m_app.ActivateWindow(moreWindows.SelectedWindow); return true; } }
/// ------------------------------------------------------------------------------------ /// <summary> /// </summary> /// <param name="args">the item that was clicked on</param> /// ------------------------------------------------------------------------------------ protected bool OnMoreWindows(object args) { MoreWindowsForm moreWindows = new MoreWindowsForm(FwApp.App.MainWindows); if (ShowTestableDialog(moreWindows) == DialogResult.OK) FwApp.App.ActivateWindow(moreWindows.SelectedWindow); return true; }