App.xaml.cs

26 lines | 992 B Blame History Raw Download
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace WPF
{
    /// <summary>
    /// Логика взаимодействия для App.xaml
    /// </summary>
    public partial class App : Application
    {
        //public static string BackupDirPath { get { return System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"Passwords"); } }
        //public static int BackupMaxCount { get { return 10; } }
        //public static string DataFilePath { get { return System.IO.Path.Combine(System.IO.Path.GetDirectoryName(Uri.UnescapeDataString(new System.UriBuilder(System.Reflection.Assembly.GetExecutingAssembly().CodeBase).Path)), "data.pw"); } }

        void Application_Startup(object sender, StartupEventArgs e)
        {
            StartupUri = new Uri("View/MainWindow.xaml", UriKind.Relative);
        }
    }
}