Пример #1
0
		void ClearCorrection(int index)
		{
			LaserCorrection cor = new LaserCorrection();
			cor.SaveToSettings(index);
		}
Пример #2
0
		void CommitCorrection()
		{
			if(CurrentLaserIndex>=0)
			{
				LaserCorrection cor = new LaserCorrection();
				cor.LoadFromSettings(CurrentLaserIndex);
				cor.Apply(Drag);
				cor.SaveToSettings(CurrentLaserIndex);
				Drag.Init();
			}
		}