public MainWindowBase(string[] args)
{
this.Build();
ReloadTitle();
_spritefontFileFilter = new FileDialogFilter("Spritefont Files (*.spritefont)", "*.spritefont");
_anyFilesFilter = new FileDialogFilter("All Files (*.*)", "*.*");
MessageDialog.RootWindow = this;
this.Closed += OnWindowClosed;
if (args != null && args.Length > 0)
{
sfwidget1.Open(string.Join(" ", args));
ReloadTitle();
}
}