Exemplo n.º 1
0
        private void Add_Click(object sender, EventArgs e)
        {
            Add_Edit_Performance AddPerformance = new Add_Edit_Performance(1);

            AddPerformance.ShowDialog();
            this.Refresh();
        }
Exemplo n.º 2
0
 private void Edit_Click(object sender, EventArgs e)
 {
     if (this.PerformanceListView.SelectedRows.Count == 1)
     {
         Add_Edit_Performance EditPerformance = new Add_Edit_Performance(2);
         EditPerformance.SetDataBeforEdit(this.PerformanceListView, this.PerformanceListView.CurrentRow.Index);
         EditPerformance.ShowDialog();
         this.Refresh();
     }
     else
     {
         MessageBox.Show("Select ONE Record To Add");
     }
 }