public Constructor(StartWindow sw)
        {
            InitializeComponent();
            CurrentCollection.Text = StartWindow.CurrentColName;
            FillFieldsList();

            // set datacontext to the window's instance.
            this.DataContext = this;

            startWindow = sw;
        }
Exemple #2
0
        public void ShowFormCommand()
        {
            StartWindow mainWindow = new StartWindow();

            mainWindow.Show();
        }