private void OnOptionChanged(object sender, OptionEventArgs e) { // HACK: 5.6. OnOptionChanged. オプション(Custom)の変更イベント Values = e.NewValues; ReBuild(); AttachIsLockedWheelZoom(); }
private void changeOption(string s) { this.Option = s; // Notifica il cambiamento di Option ad eventuali oggetti "in ascolto" (ad esempio toolBbox) OptionEventArgs e = new OptionEventArgs(this.Option); optionChanged(this, e);// raise event }
/// <summary> /// When a shape's option gets changed, we get notified /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void OnOptionChanged(object sender, OptionEventArgs e) { if (e.option != EditOption.Select) { return; } deselectAll(); SelectBtn.Checked = true; }
private void DataCollector_OnOptionsDeskChanged(object sender, OptionEventArgs e) { if (!startUpSuccess) { return; } try { double tempStrike = e.opt.Strike; mainForm.UpdateViewData( MakeDataList(tempStrike, tempStrike)); } catch (Exception e4) { LOGGER.Error("An exception when event of options desk data changed was enabled:{0}", e4.ToString()); throw; } }
private void DataCollector_OnSpotPriceChanged(object sender, OptionEventArgs e) { if (!startUpSuccess) { return; } try { string[] data = new[] { Convert.ToString(e.opt.Futures.GetTradeBlotter().AskPrice), e.opt.Futures.Ticker, Convert.ToString(e.opt.RemainingDays) }; mainForm.UpdateFuturesData(data); } catch (Exception e5) { LOGGER.Error("An exception when event of options desk data changed was enabled:{0}", e5.ToString()); throw; } }
private void onOptionChanged(OptionEventArgs e) { if (optionChanged != null) optionChanged(this, e); }
void OnMenuSelectionChanged(object sender, OptionEventArgs e) { UpdateBaseLayer(e.Section, e.Option.Value); }
private void FakeOptionChange(object sender, OptionEventArgs e) { }