Ejemplo n.º 1
0
        private void touchPanel1_Press(object sender, EventArgs e)
        {
            try
            {
                frmConsumablesDetail consumablesDetail = new frmConsumablesDetail {
                    CID = lblID.BindDataValue.ToString()
                };
                Form.Show(consumablesDetail, (MobileForm sender1, object args) =>
                {
                    if (consumablesDetail.ShowResult == ShowResult.Yes)
                    {
                        frmConsumables consumables = (frmConsumables)Form;
                        consumables.Bind();
                    }
                });
//                Form.Show(consumablesDetail);
            }
            catch (Exception ex)
            {
                Form.Toast(ex.Message);
            }
        }