private void copyToolStripMenuItem_Click(object sender, EventArgs e) { FormShow m = new FormShow(); m.richTextBox1.Rtf = Mr.Programmer.Properties.Resources.Copy; this.Hide(); m.ShowDialog(); this.Show(); }
private void button4_Click(object sender, EventArgs e) { FormShow m = new FormShow(); m.richTextBox1.Rtf = Mr.Programmer.Properties.Resources.gcd_lcm; m.richTextBox1.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(Link_Clicked); this.Hide(); m.ShowDialog(); this.Show(); }
private void button1_Click(object sender, EventArgs e) { FormShow m = new FormShow(); /*A Dedicated form used only to show documents*/ m.richTextBox1.Rtf = Mr.Programmer.Properties.Resources.link; /*oepns needed file that is on program resources*/ m.richTextBox1.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(Link_Clicked); /*Link clicked event if link is clicked it is opend on browser. Link_Clicked is a function*/ this.Hide(); m.ShowDialog(); this.Show(); }
private void button6_Click(object sender, EventArgs e) { FormShow m = new FormShow(); m.richTextBox1.Rtf = Mr.Programmer.Properties.Resources.FIbonacci_matrix_multiplication; m.richTextBox1.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(Link_Clicked); this.Hide(); m.ShowDialog(); this.Show(); }