/// <summary> /// Instantiate a comm viewer /// </summary> /// <param name="state">The state of the form</param> private static void InstantiateForm(object state) { object[] State = (object[])state; using (MM_Operatorship_Display oDisp = new MM_Operatorship_Display(State[1] as MM_Network_Map_DX)) { (State[0] as ToolStripMenuItem).Tag = oDisp; Data_Integration.DisplayForm(oDisp, Thread.CurrentThread); } }
/// <summary> /// Initialize a new substation /// </summary> /// <param name="Substation"></param> /// <param name="Disp"></param> public MM_Substation_Display(MM_Substation Substation, MM_Operatorship_Display Disp) : base(Substation, Disp) { this.Substation = Substation; }
/// <summary> /// Initialize a new display /// </summary> /// <param name="Line"></param> /// <param name="Disp"></param> public MM_Line_Display(MM_Line Line, MM_Operatorship_Display Disp) : base(Line, Disp) { this.Line = Line; }
/// <summary> /// Our unit display /// </summary> /// <param name="Unit"></param> /// <param name="Disp"></param> public MM_Unit_Display(MM_Unit Unit, MM_Operatorship_Display Disp) : base(Unit, Disp) { this.Unit = Unit; }