create class and name it as you want, by it will be " BOLpage.cs"
then define every variable used in your program as
private vST;
then create property procedures ( which will get and set the values) as
public String ST
{
get
{
return vST;
}
set
{
vST=value;
}
}
and define functions for your programs as
public void fun1(class_name objectOf_class_name)
{
}
Edit: Code formatted.