示例#1
0
        private void tbEdit_Click(object sender, EventArgs e)
        {
            var aebas = new AddEditBasement(Convert.ToInt32(bgBase.SelectedRows[0].Cells[0].Value), bgBase.SelectedRows[0].Cells[1].Value.ToString(), bgBase.SelectedRows[0].Cells[2].Value.ToString(), 0, Convert.ToInt32(bgBase.SelectedRows[0].Cells["needDate"].Value));

            aebas.ShowDialog();
            ini();
        }
示例#2
0
        private void btAddtoo_Click(object sender, EventArgs e)
        {
            var aebas = new AddEditBasement();

            aebas.ShowDialog();
            ini();
        }