Beispiel #1
0
 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);
        }
Beispiel #3
0
 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);
     }
 }
Beispiel #4
0
		private static void SQInstrumentManager_InstrumentRemoved(InstrumentEventArgs args)
		{
			OpenQuant.RemoveInstrument(args.Instrument);
		}
Beispiel #5
0
		private static void SQInstrumentManager_InstrumentAdded(InstrumentEventArgs args)
		{
			OpenQuant.AddInstrument(args.Instrument);
		}
Beispiel #6
0
 private static void SQInstrumentManager_InstrumentRemoved(InstrumentEventArgs args)
 {
     OpenQuant.RemoveInstrument(args.Instrument);
 }
Beispiel #7
0
 private static void SQInstrumentManager_InstrumentAdded(InstrumentEventArgs args)
 {
     OpenQuant.AddInstrument(args.Instrument);
 }