Saturday, February 20, 2010

How To Add Tiltle Of Application in XAF

public partial class NavigationWindowController : WindowTemplateController
{
public NavigationWindowController()
{
InitializeComponent();
RegisterActions(components);
}

protected override void OnActivated()
{
base.OnActivated();
CustomizeWindowCaption += new EventHandler(NavigationWindowController_CustomizeWindowCaption);
// CollectCreatableItemTypes+=new EventHandler(NavigationWindowController_CollectCreatableItemTypes);
}

void NavigationWindowController_CustomizeWindowCaption(object sender, CustomizeWindowCaptionEventArgs e)
{
e.WindowCaption.FirstPart = "HRMS";
e.WindowCaption.SecondPart = "Payroll";
e.WindowCaption.Separator = "-";
e.WindowCaption.Text = "Welcome to The World 1st IAF.Net ERP Solution Provider";
}

No comments:

Post a Comment

Mat Table Angular

Mat Table in Angular Mat table is used to display data . its a material designed styled data-table . For using Material Table MatTableMo...