public Form1(string[] args) { singleton = this; InitializeComponent(); // Init rendering params: string name; FormSupport.InitializeParams(args, out name); Text += " (rev: " + rev + ") '" + name + '\''; buttonRes.Text = FormResolution.GetLabel(ref ImageWidth, ref ImageHeight); }
public Form1(string[] args) { singleton = this; InitializeComponent(); // Init rendering params: string name; FormSupport.InitializeParams(args, out name); if (!string.IsNullOrEmpty(sceneFileName)) { sceneFileName = Path.GetFullPath(sceneFileName); buttonScene.Text = sceneFileName; } Text += " (rev: " + rev + ") '" + name + '\''; buttonRes.Text = FormResolution.GetLabel(ref ImageWidth, ref ImageHeight); }