public Constructor(StartWindow sw) { InitializeComponent(); CurrentCollection.Text = StartWindow.CurrentColName; FillFieldsList(); // set datacontext to the window's instance. this.DataContext = this; startWindow = sw; }
public void ShowFormCommand() { StartWindow mainWindow = new StartWindow(); mainWindow.Show(); }