SFEditor.MainWindowBase.MainWindowBase C# (CSharp) Method

MainWindowBase() public method

public MainWindowBase ( string args ) : System
args string
return System
        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();
            }
        }