//activators protected void WindowActivator_Open(int number) { if ((number >= 0) && (number < windowActivator.Length)) { WindowOpenClose activeA = windowActivator[number]; if (activeA) { if (!activeA.IsOpen()) { activeA.Open(); } } } }
private void WindowActivator_Close(int number) { if (number < windowActivator.Length) { WindowOpenClose activeA = windowActivator[number]; if (activeA) { if (activeA.IsOpen()) { activeA.Close(); } } } }