GST Billing Software

header image

Adding Regions

Erachana Line

Only the code which is mentioned in the region gets shrinked. Region is added in the class.

Structure to add a Region:


// code

#end Region


#region Country


this.Load += new System.EventHandler(this.Country_PreLoad);

this.Load += new System.EventHandler(this.Country_Load);

this.Load += new System.EventHandler(this.Country_PostLoad);

this.Activated += new System.EventHandler(this.Country_Activated);



The code which is written in Region gets hidden as shown in below image: