使用Notepad++开发C#,一个复杂点的csscript脚本:

//css_dir ..\..\lib;
//css_ref Geb.Image.dll;
//css_ref Geb.Image.ShapeAnalysis.dll;
//css_ref Geb.Utils.dll;
//css_ref Geb.Utils.WinForm.dll;
//css_co /unsafe;

using System;
using Geb.Image;

unsafe class Program
{
	public static void Main()
	{
		ImageArgb32 img = new ImageArgb32(300,200);
		img.Fill(Argb32.RED);
		img.ShowDialog();
	}
}

 

// css_dir 设置搜索库目录的路径;

// css_ref 引用dll;

// css_co 设置编译参数;

相关文章:

  • 2021-12-12
  • 2021-11-07
  • 2021-07-28
  • 2021-06-20
  • 2021-05-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-11-17
  • 2021-10-21
  • 2021-10-08
相关资源
相似解决方案