private void button1_Click(object sender, EventArgs e)
        {
            openFileDialog1.ShowDialog();
            this.textBox2.Text = openFileDialog1.FileName;
            WebBrowser wbC = new WebBrowser();

            wbC.Navigate(this.openFileDialog1.FileName);
            this.richTextBox1.Text = wbC.DocumentText;

            Form prFC = new printFormGist(this.richTextBox1.Text.Trim(), false, false);
            prFC.Show();
        }
Example #2
0
 private void viewForm()
 {
     Form prFC = new printFormGist(setDataCy(), false, false);
     prFC.Show();
 }
Example #3
0
 private void button2_Click(object sender, EventArgs e)
 {
     Form prFC = new printFormGist(fillForm(), true, false);
     prFC.Show();
 }
        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            if (this.richTextBox1.Text.Trim().Length > 0)
            {

                Form prFC = new printFormGist(this.richTextBox1.Text.Trim(), false, false);
                prFC.Show();
            }
        }