private void OnCloseMenuItem(object sender, EventArgs e) { //Document = null; DashboardView.Instance( ).Hide( ); SequenceView.Instance( ).Hide( ); SignalView.Instance( ).Hide( ); if (Program.Document != null) { Program.Document.Close( ); } Program.Document = null; SetControls( ); }
private void OnSignalMenuItem(object sender, EventArgs e) { SignalView.Instance( ).Show( ); }