Esempio n. 1
0
        public frmPledgeReceive(InfoPos.Core.Core core, ISM.Touch.TouchKeyboard kb, string custno, string pledgeno, string docno = null, int doctype = 0)
        {
            InitializeComponent();
            this.FormClosing += new FormClosingEventHandler(frmPledgeReceive_FormClosing);

            _core          = core;
            _touchkeyboard = kb;

            _custno   = custno;
            _pledgeno = pledgeno;
            _docno    = docno;
            _doctype  = doctype;
        }
Esempio n. 2
0
        public frmRentReceive(InfoPos.Core.Core core, ISM.Touch.TouchKeyboard kb, string salesno, int itemno, string invcode, string invname, string barcode, int userno, int userstate)
        {
            InitializeComponent();
            this.FormClosing += new FormClosingEventHandler(frmRentDeliver_FormClosing);

            _core          = core;
            _touchkeyboard = kb;

            _salesno   = salesno;
            _itemno    = itemno;
            _invcode   = invcode;
            _invname   = invname;
            _barcode   = barcode;
            _userno    = userno;
            _userstate = userstate;
        }
Esempio n. 3
0
        public frmRentDeliver(InfoPos.Core.Core core, ISM.Touch.TouchKeyboard kb, string salesno, int itemno, string invcode, string invname, int userno, int userstate)
        {
            InitializeComponent();
            this.FormClosing += new FormClosingEventHandler(frmRentDeliver_FormClosing);

            this.ucSearchList1.KeyFieldIndex           = 1;
            this.ucSearchList1.EventChoose            += new ucSearchList.delegateEventChoose(ucSearchList1_EventChoose);
            this.ucSearchList1.EventDataSourceChanged += new ucSearchList.delegateEventDataSourceChanged(ucSearchList1_EventDataSourceChanged);

            _core          = core;
            _touchkeyboard = kb;

            _salesno   = salesno;
            _itemno    = itemno;
            _invcode   = invcode;
            _invname   = invname;
            _userno    = userno;
            _userstate = userstate;
            ucSearchList1.TouchKeyboard = kb;
        }
Esempio n. 4
0
        public frmRentNote(InfoPos.Core.Core core, ISM.Touch.TouchKeyboard kb, string salesno, decimal custno, int itemno, string prodno, string prodname, int userno)
        {
            InitializeComponent();
            this.FormClosing += new FormClosingEventHandler(frmReceive_FormClosing);

            _core          = core;
            _touchkeyboard = kb;

            _salesno  = salesno;
            _custno   = custno;
            _itemno   = itemno;
            _prodno   = prodno;
            _prodname = prodname;
            _userno   = userno;

            //_invname = invname;
            //_rentstatus = rentstatus;
            //_damagetype = damagetype;
            //_reparation = reparation;
            //_userstate = userstate;
        }
Esempio n. 5
0
 public CustomAppFront(Core.Core core, SchedulerControl control, Appointment apt, bool openRecurrenceForm, string orderno, string prodno, int prodtype, ISM.Touch.TouchKeyboard touchkeyboard, string custname)
 {
     this.openRecurrenceForm = openRecurrenceForm;
     this.controller         = new MyAppointmentFormController(control, apt);
     this.apt     = apt;
     this.control = control;
     _core        = core;
     _prodno      = prodno;
     _prodtype    = prodtype;
     _orderno     = orderno;
     _custname    = custname;
     SuspendUpdate();
     InitializeComponent();
     _touchkeyboard = touchkeyboard;
     ResumeUpdate();
     UpdateForm();
     if (_core.Resource != null)
     {
         btnServChooce.Image = _core.Resource.GetImage("button_ok");
         btnServDelete.Image = _core.Resource.GetImage("object_delete");
         btnServFind.Image   = _core.Resource.GetImage("button_find");
     }
 }