public MainMenu() { InitializeComponent(); CryptoLinq = new CryptoLinqDataContext(Constants.connString); HideFields(); HideGrids(); this.CryptoGrid.Visibility = GetVisibleProperty(true); var plt = CryptoChart.plt; double[] dataX = new double[] { 1, 2, 3, 4, 5 }; double[] dataY = new double[] { 1, 4, 9, 16, 25 }; plt.PlotScatter(dataX, dataY); this.Timer.Content = "00:00:00"; InitThread(); }
public Register() { InitializeComponent(); cryptoLinq = new CryptoLinqDataContext(Constants.connString); }