Here i will write an example doin a form programming. No more such bull *** of explaination. I Will give an example and it will make you all more easy to understand.
Example :
From last blog we have create a simple form application. Today is some but little bit different;
using System.Windows.Form;
class FirstFormApplication: Form {
public class FirstFormApplication()
{
this.Text = "Hello World Form Programming";
}
}
and we can call the FormApplication class to other application class we want to as example
class MyApplication{
static void Main() {
Form form = new FirstFormApplication();
Application.Run(form);
}
}
so we can do a lot of change and more on FirstFormApplication class and it can be call into MyApplication class and run it on because the entry point is there. So we can modified FirstFormApplication as i create an example :
class FirstFormApplication: Form {
public class FirstFormApplication()
{
this.Text = "Hello World Form Programming";
Button button = new Button();
button.Text = "Click Me";
this.Controls.Add(button);
}
}
that for today dude...
adios