Beispiel #1
0
        private void ShowCashier()
        {
            ConsumptionObj obj = cqControl.GetlvConsumption().GetCurrentObj();
            if (obj != null)
            {
                string Consumptionid = obj.Consumption.id;
                var jserConsumption = new JavaScriptSerializer();
                Consumption personsConsumption = GetConsumption(Consumptionid);

                frmShowPayDetails window = new frmShowPayDetails();
                window.ShowData = personsConsumption;
                System.Drawing.Point p = new System.Drawing.Point(MousePosition.X, MousePosition.Y);
                window.Left = p.X - window.Width / 2;
                window.Top = p.Y - window.Height;
                window.Show();
            }
        }
Beispiel #2
0
        private void ShowCashier()
        {
            ConsumptionObj obj = cqControl.GetlvConsumption().GetCurrentObj();
            if (obj != null)
            {
                string Consumptionid = obj.Consumption.id;
                var jserConsumption = new JavaScriptSerializer();
                Consumption personsConsumption = GetConsumption(Consumptionid);

                frmShowPayDetails window = new frmShowPayDetails();
                window.ShowData = personsConsumption;
                System.Drawing.Point p = new System.Drawing.Point(MousePosition.X, MousePosition.Y);
                window.Left = p.X - window.Width / 2;
                window.Top = p.Y - window.Height;
                window.Show();
            }
        }