Exemplo n.º 1
0
		void ClearCorrection(int index)
		{
			LaserCorrection cor = new LaserCorrection();
			cor.SaveToSettings(index);
		}
Exemplo n.º 2
0
		void CommitCorrection()
		{
			if(CurrentLaserIndex>=0)
			{
				LaserCorrection cor = new LaserCorrection();
				cor.LoadFromSettings(CurrentLaserIndex);
				cor.Apply(Drag);
				cor.SaveToSettings(CurrentLaserIndex);
				Drag.Init();
			}
		}