예제 #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            LoadMessageBox a = new LoadMessageBox();

            a.Show();
            marketData = new Data();
            marketData.Initialize();
            FillDataGrid();
            textBox1.Text = "Latest Pull: " + DateTime.Now.ToString(new CultureInfo("en-us"));
            a.Close();
        }
예제 #2
0
        public MainWindow()
        {
            LoadMessageBox LMB = new LoadMessageBox();

            LMB.Show();
            InitializeComponent();
            marketData = new Data();
            marketData.Initialize();
            FillDataGrid();
            textBox1.Text = "Latest Pull: " + DateTime.Now.ToString(new CultureInfo("en-us"));
            LMB.Close();
        }