private void EditBtn_Click(object sender, EventArgs e) { if (ProgramListBox.SelectedIndex < 0) { return; } ProgramOpen PO = new ProgramOpen((string)ProgramListBox.SelectedItem, CallBackFunc); PO.Show(); }
private void AddBtn_Click(object sender, EventArgs e) { ProgramOpen PO = new ProgramOpen(CallBackFunc); PO.Show(); }