//Constructor that takes HomeWindow Object as parameter public AddNewPwd(HomeWindow homeWindow) { WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen; hw = homeWindow; }
//initializes components //Starts window to the center of the screen //this constructor is called when the object is passed public ChangeMasterPassword(HomeWindow homeWindow) { InitializeComponent(); WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen; hw = homeWindow; }