1. My namespace is called "MyNameSpace". So...
How to create that Form3 will inherit from Form2, which is already a child of Form1 (Form2 has class: public partial class Form2 : Form)
I would like to creat like: class Form3 : Form2
And do not forget, all are windows forms.
Is this how it goes:
public partial class Form3 : MyNameSpace.Form2
2. I would like to know something more:
How to pass values from Form2 to Form3 then?
I have some binary data in my variable "buffer, so how do I transfer them to Form3 and because inside its a text, how ten to put this text into a richTextBox?
This is my variable I have now in Form2:
byte[] buffer = (byte[])cmd1.ExecuteScalar();
As said, "buffer" has binary data insed, which I want to transfer to Form3 and show the data (its a text file) in richTextBox.
Any idea?