Example #1
0
 private void DeletePanel_Click(object sender, EventArgs e)
 {
     Console.WriteLine("Delete button clicked.");
     Delete_Clicked?.Invoke(Name);
 }
Example #2
0
 public void DeleteButtonClicked()
 {
     // Fire Delete_Clicked Event with the unique ID of the TabItem
     Delete_Clicked?.Invoke(this, new GeneratorTabItemDeletedEventArgs(ID));
 }