예제 #1
0
        protected void PreLoad()
        {
            AddComment("Generated by CNCLib");
            AddComment("at " + DateTime.Now.ToString(CultureInfo.InvariantCulture));

            AddComment("File", LoadOptions.FileName);

            if (!string.IsNullOrEmpty(LoadOptions.StartupCommands))
            {
                AddCommands(LoadOptions.StartupCommands);
            }

            _layer       = CamBam.AddLayer();
            _layer.Name  = @"Standard";
            _layer.Color = @"127,255,0";
        }
예제 #2
0
파일: LoadBase.cs 프로젝트: aiten/CNCLib
		protected void PreLoad()
		{
			AddComment("Generated by CNCLib");
			AddComment("at " + DateTime.Now.ToString());

			AddComment("File", LoadOptions.FileName);

			if (!string.IsNullOrEmpty(LoadOptions.StartupCommands))
				AddCommands(LoadOptions.StartupCommands);


			_layer = CamBam.AddLayer();
			_layer.Name = @"Standard";
			_layer.Color = @"127,255,0";
		}