public void ReleaseControl(string subroutineName) { Parent.UpdateFormStatusTitle(@"\terminal"); Parent.UpdateSubroutineStatusTitle(@""); CurrentSubroutine = "none"; CurrentSubroutineObject = null; }
public void TakeControl(string subroutineName, Subroutine subroutine) { Parent.UpdateFormStatusTitle(string.Format("\\terminal\\{0}", subroutineName)); CurrentSubroutine = subroutineName; CurrentSubroutineObject = subroutine; }