Exemple #1
0
        public static void Main(string[] args)
        {
            BasePath = Path.Combine(
                Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
                "NTranslate"
            );

            Directory.CreateDirectory(BasePath);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            MouseWheelMessageFilter.Install();

            SpellCheck = new SpellCheck.SpellCheck();
            SolutionManager = new SolutionManager();
            MainForm = new MainForm(args);
            DocumentManager = new DocumentManager();

            Application.Run(MainForm);
        }
 public AddDictionariesForm(SpellCheck spellCheck)
 {
     _spellCheck = spellCheck;
     InitializeComponent();
 }