I have a button on header, when user clicks on it, it would be displaying Searchform(using line 1) and when user enters search criteria, and press Search, the second line will be calling… so I want to design a sequence diagram for this scenario… can anyone suggest how to draw this steps using sequence diagram?
var model = _userNotificationService.Show();
if (model.DialogResult != DialogResult.OK) return
var searchText = model.Firstname;