示例#1
0
 /// <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);
     }
 }
示例#2
0
 /// <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;
 }
示例#3
0
 /// <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;
 }
示例#4
0
 /// <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;
 }