Beispiel #1
0
        private void bbiNew_ItemClick(object sender, ItemClickEventArgs e)
        {
            var uc = new XtraFormAddUpdateContracts();

            if (uc.ShowDialog() == DialogResult.OK)
            {
            }

            LoadData();
        }
Beispiel #2
0
        private void Edit()
        {
            var con = gridView.GetFocusedRow() as Contract;

            var uc = new XtraFormAddUpdateContracts();

            uc.Pass(con, false);

            if (uc.ShowDialog() == DialogResult.OK)
            {
            }
        }
Beispiel #3
0
        private void barButtonItem1_ItemClick(object sender, ItemClickEventArgs e)
        {
            var con = gridView.GetFocusedRow() as Contract;

            var uc = new XtraFormAddUpdateContracts();

            uc.Pass(con, true);

            if (uc.ShowDialog() == DialogResult.OK)
            {
            }
        }