protected void OnReset(DateTime start, DateTime?end)
        {
            if (Reset != null)
            {
                ResetEventArgs e = new ResetEventArgs(ForwarderMessage.Reset, start, end);

                Reset(this, e);
            }
        }
        void Forwarder_Reset(object sender, Leadtools.Medical.Winforms.Forwarder.ResetEventArgs e)
        {
            if (ServerState.Instance.ServerService != null)
            {
                DateRange range = new DateRange();

                range.StartDate = e.Start;
                range.EndDate   = e.End;
                ServerState.Instance.ServerService.SendMessage(ForwarderMessage.Reset, range);
            }
        }
 void View_Reset(object sender, ResetEventArgs e)
 {
     OnReset(e.Start, e.End);
 }