Exemple #1
0
        private void CheckAgainButton_Click(object sender, EventArgs e)
        {
            _lgResponse = CheckGrammar();

            CheckedTextBox.Select(0, CheckedTextBox.TextLength);
            CheckedTextBox.SelectionBackColor = Color.Transparent;

            HighLightMatches();
            UpdateInfo();
        }
Exemple #2
0
        public GrammarForm(string text, LanguageToolResponse lgResponse, RestClient client)
        {
            InitializeComponent();

            _text       = text;
            _lgResponse = lgResponse;
            _client     = client;

            CheckedTextBox.Text = _text;

            HighLightMatches();
            UpdateInfo();
        }