/// <summary> /// Default Constructor /// </summary> public FloatWindow() { InitializeComponent(); // Sets the window to never be hidden behind another program or Window Topmost = true; // Connects to the Database Db.DBConnect(); // Binds the Window to the View Model DataContext = new WBinding(this); }
/// <summary> /// Default Constructor /// </summary> /// <param name="EditSol">A solution to Edit, or a New Blank Solution</param> /// <param name="Editing">This will be True if the solution is not a New Blank Solution</param> public SolutionsWindow(DBSolutionsClass EditSol, bool Editing = false) { InitializeComponent(); // Binds the View Model to the Window DataContext = new WBinding(this, EditSol, Editing); }
/// <summary> /// Default Window Contstructor /// </summary> public OptionsWindow() { InitializeComponent(); // Binds the View Model to the Window DataContext = new WBinding(this); }