コード例 #1
0
ファイル: DelegatesContainer.cs プロジェクト: kwedr/acdown
 public DelegateContainer(AcTaskDelegate newPartDele,
                          AcTaskDelegate refreshDele,
                          AcTaskDelegate tipTextDele,
                          AcTaskDelegate newTaskDele)
 {
     NewPart += newPartDele;
     Refresh += refreshDele;
     TipText += tipTextDele;
     NewTask += newTaskDele;
 }
コード例 #2
0
ファイル: DelegatesContainer.cs プロジェクト: kwedr/acdown
		public DelegateContainer(AcTaskDelegate newPartDele,
							 AcTaskDelegate refreshDele,
							 AcTaskDelegate tipTextDele,
							 AcTaskDelegate newTaskDele)
		{
			NewPart += newPartDele;
			Refresh += refreshDele;
			TipText += tipTextDele;
			NewTask += newTaskDele;
		}
コード例 #3
0
 public UIDelegateContainer(AcTaskDelegate startDele,
                            AcTaskDelegate newPartDele,
                            AcTaskDelegate refreshDele,
                            AcTaskDelegate tipTextDele,
                            AcTaskDelegate finishDele,
                            AcTaskDelegate errorDele,
                            AcTaskDelegate newTaskDele)
     : base(newPartDele, refreshDele, tipTextDele, newTaskDele)
 {
     Start  += startDele;
     Finish += finishDele;
     Error  += errorDele;
 }
コード例 #4
0
ファイル: UIDelegateContainer.cs プロジェクト: kwedr/acdown
		public UIDelegateContainer(AcTaskDelegate startDele,
							 AcTaskDelegate newPartDele,
							 AcTaskDelegate refreshDele,
							 AcTaskDelegate tipTextDele,
							 AcTaskDelegate finishDele,
							 AcTaskDelegate errorDele,
							 AcTaskDelegate newTaskDele,
							 AcTaskDelegate allFinishedDele)
			: base(newPartDele, refreshDele, tipTextDele, newTaskDele)
		{
			Start += startDele;
			Finish += finishDele;
			Error += errorDele;
			AllFinished += allFinishedDele;
		}