private void btnEdit_MouseUp(object sender, MouseButtonEventArgs e) { var image = (Image)sender; int id = Int32.Parse(image.ToolTip.ToString()); AddEvent addEventWindow = new AddEvent(id); addEventWindow.Show(); }
private void btnAdd_MouseUp(object sender, MouseButtonEventArgs e) { AddEvent addEventWindow = new AddEvent(); addEventWindow.Show(); }