コード例 #1
0
        protected virtual void licenseExpiredChange(DateTime OldDate, DateTime NewDate)
        {
            Action<LicenseExpiredDateTimeArg> handler = licenseExpiredDateTimeChange;

            if (licenseExpiredDateTimeChange != null)
            {
                LicenseExpiredDateTimeArg arg = new LicenseExpiredDateTimeArg();
                arg.NewValue = NewDate;
                arg.oldValue = OldDate;
                handler(arg);

            }
        }
コード例 #2
0
 void licenseClient_licenseExpiredDateTimeChange(LicenseExpiredDateTimeArg obj)
 {
     if (obj.NewValue != obj.oldValue)
     {
         Console.Clear();
         Console.WriteLine("라이센스가 업데이트되어 초기화했습니다. ");
     }
 }