コード例 #1
0
ファイル: NHunspell.xaml.cs プロジェクト: ericramses/YPILIS
        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;
        }
コード例 #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;
        }