//Config xml = new Config(); public MainWindow() { InitializeComponent(); InUseEvent = new InUseDelegate(OnUseChanged); _mainTemplatePresenter = new MainTemplatePresenter(new MainTemplateServices()); CashConfig(); InitializeApplicationScreens(); txtDateNow.Text = DateTime.Now.ToLongDateString().ToUpper(); txtCurrentUser.Text = $"{App._userApplication.Nombres} {App._userApplication.ApellidoPaterno} {App._userApplication.ApellidoMaterno}"; App.mainWindow = this; }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); InUseEvent = new InUseDelegate(OnUseChanged); }