示例#1
0
        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);
        }
示例#2
0
        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);
        }