Ejemplo n.º 1
0
        public NHunspell(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_SpellCheckAccessionOrder = new SpellCheckAccessionOrder(this.m_AccessionOrder);
            this.m_Hunspell = new Hunspell();
            this.m_Hunspell.Load(YellowstonePathology.Properties.Settings.Default.LocalAFFFile, YellowstonePathology.Properties.Settings.Default.LocalDICFile);
            this.m_SpellCheckAccessionOrder.SetErrorCounts(this.m_Hunspell);

            InitializeComponent();
            this.DataContext = this;

            this.Loaded += NHunspell_Loaded;
        }
Ejemplo n.º 2
0
        public NHunspell(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_AccessionOrder           = accessionOrder;
            this.m_SpellCheckAccessionOrder = new SpellCheckAccessionOrder(this.m_AccessionOrder);
            this.m_Hunspell = new Hunspell();
            this.m_Hunspell.Load(YellowstonePathology.Properties.Settings.Default.LocalAFFFile, YellowstonePathology.Properties.Settings.Default.LocalDICFile);
            this.m_SpellCheckAccessionOrder.SetErrorCounts(this.m_Hunspell);

            InitializeComponent();
            this.DataContext = this;

            this.Loaded += NHunspell_Loaded;
        }