상속: NiTaskDialogEventArgs
예제 #1
0
        protected virtual void OnTick(NiTaskDialogTickEventArgs e)
        {
            var handler = Tick;

            if (handler != null)
            {
                handler(this, e);
            }
        }
예제 #2
0
            public void OnTimer(INiActiveTaskDialog taskDialog, int elapsed, ref bool resetTimer)
            {
                try
                {
                    var e = new NiTaskDialogTickEventArgs(taskDialog, elapsed);
                    e.ResetTimer = resetTimer;

                    _taskDialog.OnTick(e);

                    resetTimer = e.ResetTimer;
                }
                catch (Exception ex)
                {
                    Log.Warn("Exception from task dialog notify", ex);
                }
            }