예제 #1
0
        //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;
        }
예제 #2
0
 protected override void OnStartup(StartupEventArgs e)
 {
     base.OnStartup(e);
     InUseEvent = new InUseDelegate(OnUseChanged);
 }