public TAddNewAccount(TAccountManagerViewModel parent) { titleRequiredImage = Visibility.Hidden; Parent = parent; Commands.AddCommand("Close", Close); Commands.AddCommand("Save", Save); Commands.AddCommand("ShowHide", ShowHide); }
public TAddNewDevice(TAccountManagerViewModel tabAcc) { Step1 = new TNewDeviceAddingPage1(this, 0, Parent); Step2 = new TNewDeviceAddingPage2(this, 35); Step3 = new TNewDeviceAddingPage3(this, 65); Step4 = new TNewDeviceAddingPage4(this, 100, tabAcc); Pages.Add(Step1); Pages.Add(Step2); Pages.Add(Step3); Pages.Add(Step4); }
public TMain() { TabManager = new TTabManager(this); AccountManager = new TAccountManagerViewModel(TabManager); MagicLockManager = new TMagicLockManager(TabManager); SecurityManager = new TSecurityManager(TabManager); SettingManager = new TSettingManager(TabManager); TabManager.AddItem(AccountManager); TabManager.AddItem(MagicLockManager); TabManager.AddItem(SecurityManager); TabManager.AddItem(SettingManager); //AccountManager.IsEnabled = false; //MagicLockManager.IsEnabled = false; //SecurityManager.IsEnabled = false; SystemEvents.SessionSwitch += SystemEvents_SessionSwitch; }
public TNewDeviceAddingPage4(TWizard parent, double progressPercent, TAccountManagerViewModel TabAccount) : base(parent, progressPercent) { this.TabAccount = TabAccount; }