示例#1
0
        private void Dgv_DoubleClick(object sender, EventArgs e)
        {
            DXMouseEventArgs args = e as DXMouseEventArgs;
            GridView         view = sender as GridView;
            GridHitInfo      info = view.CalcHitInfo(args.Location);

            if (info.InRow || info.InRowCell)
            {
                Frm_CustomersSuppliers Frm = new Frm_CustomersSuppliers(Convert.ToInt32(view.GetFocusedRowCellValue(nameof(treasurys.id))));
                Frm.Show();
            }
        }
示例#2
0
        public override void New()
        {
            Frm_CustomersSuppliers Frm = new Frm_CustomersSuppliers(IsCustomer);

            Frm.Show();
        }