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 OnSequenceMenuItem(object sender, EventArgs e) { SequenceView.Instance().Show(); }