コード例 #1
0
 //Constructor that takes HomeWindow Object as parameter
 public AddNewPwd(HomeWindow homeWindow)
 {
     WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
     hw = homeWindow;
 }
コード例 #2
0
 //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;
 }