public CashTerminalReportByProviderForm(ReturnObjectHandler dataTableHandler, string caption, bool onlyByProvider, System.DateTime DateBegin, System.DateTime DateEnd)
     : this()
 {
     this.m_OnlyByProvider = onlyByProvider;
     this.m_DataTableHandler = dataTableHandler;
     this.m_Caption = caption;
     base.m_Period.Fill(DateBegin, DateEnd);
     this.ReloadData();
 }
Esempio n. 2
0
        public bool CanReturnObject(UUID objectID, UUID returnerID)
        {
            ReturnObjectHandler handler = OnReturnObject;

            if (handler != null)
            {
                Delegate[] list = handler.GetInvocationList();
                foreach (ReturnObjectHandler h in list)
                {
                    if (h(objectID, returnerID, m_scene) == false)
                    {
                        return(false);
                    }
                }
            }
            return(true);
        }
Esempio n. 3
0
 public TestReturn(ReturnObjectHandler roh)
 {
     this.roh = roh;
 }