示例#1
0
文件: test.cs 项目: mono/gert
	static void Main ()
	{
		ParseFun runner = new ParseFun (ParseA);
		runner ("a", CultureInfo.InvariantCulture);

		runner = new ParseFun (ParseB);
		runner ("b", CultureInfo.InvariantCulture);
	}
示例#2
0
文件: Plot.cs 项目: dbalka/Plotter3
        public Plot(Control c)
        {
            Parse         = ParseRaw;
            Visualize     = Draw;
            MatrixUpdate += OnMatrixUpdate;

            SetTargetControl(c);

            wheelEndTimer.Interval = 30;
            wheelEndTimer.Tick    += WheelEndTimer_Tick;
        }