public MyConstructor()
{
   ResetTitle();
}
public void ResetTitle()
{
   Title = "MyDocument";
}

Example 2: A public method.

Back to Article