PC_Milestone_Form pcmf = new PC_Milestone_Form(); DialogResult res = pcmf.ShowDialog(); if (res == DialogResult.OK) { //add new milestone ProjectCommander.MilestoneItemRow row = projectCommander.MilestoneItem.NewRow() as ProjectCommander.MilestoneItemRow; row["Date"] = pcmf.textBox_Date.Text; row["Event"] = pcmf.textBox_Milestone.Text; row["project_ID"] = _projectID; projectCommander.MilestoneItem.AddMilestoneItemRow(row); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)