Esempio n. 1
0
 /// <summary>
 /// Function to be overridden by derived classes. Processing of data should be done here.
 /// </summary>
 /// <param name="closingInfo">The closing info object to add children too.</param>
 protected override void AddDerivedClosingInfoChildren(ClosingInfo closingInfo)
 {
     // poke each thread then see if it is complete
     closingInfo.ChildInfo.Add(FirmwareUploader.ShutdownReady());
     closingInfo.ChildInfo.Add(LogDownloader.ShutdownReady());
     closingInfo.ChildInfo.Add(IniDownloader.ShutdownReady());
     closingInfo.ChildInfo.Add(IniUploader.ShutdownReady());
 }
Esempio n. 2
0
        public override void Close(ClosingInfo closingInfo = null)
        {
            base.Close(closingInfo);

            if (ExtendedItems == null)
                return;

            foreach (Widget widget in ExtendedItems)
                widget.Close(closingInfo);
        }
Esempio n. 3
0
        public override void Close(ClosingInfo closingInfo = null)
        {
            base.Close(closingInfo);

            if (Combat == null)
                return;

            Combat.Map.RemoveObjectToDraw(DrawOrder.Cursor, Cursor);
        }