private void dataModificariToolStripMenuItem_Click(object sender, EventArgs e) { if (ListBox.SelectedIndex >= 0) { var date = new DateForm(ListBox.SelectedIndex, false, "Data ultimei modificarii.."); date.ShowDialog(); } }
private void dataAdaugariiToolStripMenuItem_Click(object sender, EventArgs e) { if (ListBox.SelectedIndex >= 0) { var date = new DateForm(ListBox.SelectedIndex, true, "Data adaugarii.."); date.ShowDialog(); } }