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

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

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

            var uc = new XtraFormAddUpdateContracts();

            uc.Pass(con, false);

            if (uc.ShowDialog() == DialogResult.OK)
            {
            }
        }
예제 #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)
            {
            }
        }