コード例 #1
0
        private void EditSB_Click(object sender, EventArgs e)
        {
            StructureObjectData form = new StructureObjectData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value));

            form.ShowDialog();
            FillGrid();
        }
コード例 #2
0
        private void NewSB_Click(object sender, EventArgs e)
        {
            StructureObjectData form = new StructureObjectData("new", null);

            form.ShowDialog();
            FillGrid();
        }