private void lstProjBox_DoubleClick(object sender, EventArgs e) { ReqUI req = new ReqUI(); req.Text = lstProjBox.SelectedItem.ToString(); req.ShowDialog(); }
private void btSelect_Click(object sender, EventArgs e) { // persist the work item data details // var title = txtTitle.Text; //var details = new List<string>(); //details.Add(title); // save //var tw = new TextWriter(); //string path = @"D:\development\c# Projects\PMCS\PMCS\WorkItemDetails.txt"; //File.WriteAllLines(path, details.ToArray(), UTF8Encoding.Default); ReqUI req = new ReqUI(); req.Text = lstProjBox.SelectedItem.ToString(); req.ShowDialog(); }