Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        //распечатка
        private void printForm()
        {
            if (patSel == true)
            {
                if (documWritten == false)
                {
                    insCytZ();
                }

                Form prFC = new printFormGist(setDataCy(), true, false);
            }
            else
            { System.Windows.Forms.MessageBox.Show("Выберите пациента"); }
        }
Esempio n. 3
0
 private void viewForm()
 {
     Form prFC = new printFormGist(setDataCy(), false, false);
     prFC.Show();
 }
Esempio n. 4
0
 private void button2_Click(object sender, EventArgs e)
 {
     Form prFC = new printFormGist(fillForm(), true, false);
     prFC.Show();
 }
Esempio n. 5
0
        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();
            }
        }