Example #1
0
 public DataWindow()
 {
     stockInformation = new Dictionary<string, Dictionary<DataMiner.Util.TimeType, StockInfo>>();
     currentTime = Util.Domain.ONE_YEAR;
     strikePrice = NOTSET;
     optionPrice = NOTSET;
     daysToExperation = NOTSET;
     hasEvents = new List<UIElement>();
     InitializeComponent();
 }
Example #2
0
 private void TimePeriodClick(object sender, RoutedEventArgs e)
 {
     TabItem clicked = sender as TabItem;
     Util.TimeType time = Util.Domain.getTime(clicked);
     if (currentTime != time)
     {
         currentTime = time;
         updateTab(this.StockSymbolTabs.SelectedItem as TabItem, currentTime);
     }
 }