Hi Hagi,
You can use this code to get names of all fields:
var formObject = BizFormInfoProvider.GetBizFormInfo("FormName", SiteContext.CurrentSiteID);
var visibleFields = formObject.Form.GetFields(true, false);
foreach (FormFieldInfo field in visibleFields)
{
var disyplayName = field.GetDisplayName(MacroResolver.GetInstance());
//...
}