Example #1
0
		public void FromVegas(Vegas Vegas, String ScriptFile, XmlDocument ScriptSettings, ScriptArgs Args)
		{
			if (ArgsHasSetup(Args)) // config mode
			{
				RunSetup(Vegas);
			}
			else
			{
				var renderset = new RenderSet();
				var form = new RegionRenderForm(Vegas, renderset);

				if (DialogResult.OK != form.ShowDialog())
					return;
				//renderset.Render(Vegas);
			}
		}
Example #2
0
        public void FromVegas(Vegas Vegas, String ScriptFile, XmlDocument ScriptSettings, ScriptArgs Args)
        {
            if (ArgsHasSetup(Args))             // config mode
            {
                RunSetup(Vegas);
            }
            else
            {
                var renderset = new RenderSet();
                var form      = new RegionRenderForm(Vegas, renderset);

                if (DialogResult.OK != form.ShowDialog())
                {
                    return;
                }
                //renderset.Render(Vegas);
            }
        }