private void OnInstrumentDeleted(object sender, InstrumentEventArgs args) { Gtk.Application.Invoke(delegate { RemoveInstrument(args.Instrument); }); }
public void Execute(string task) { var eventArgs = new InstrumentEventArgs { Task = task }; Finished.Invoke(this, eventArgs); }
private void InstrumentManager_InstrumentRemoved(InstrumentEventArgs args) { if (this.InvokeRequired) { // ISSUE: method pointer this.BeginInvoke((Delegate) new InstrumentEventHandler(this.InstrumentManager_InstrumentRemoved), new object[] { args }); } else { this.RemoveInstrument(args.Instrument); } }
private static void SQInstrumentManager_InstrumentRemoved(InstrumentEventArgs args) { OpenQuant.RemoveInstrument(args.Instrument); }
private static void SQInstrumentManager_InstrumentAdded(InstrumentEventArgs args) { OpenQuant.AddInstrument(args.Instrument); }
private static void SQInstrumentManager_InstrumentRemoved(InstrumentEventArgs args) { OpenQuant.RemoveInstrument(args.Instrument); }
private static void SQInstrumentManager_InstrumentAdded(InstrumentEventArgs args) { OpenQuant.AddInstrument(args.Instrument); }