Esempio n. 1
0
 void EditNotesActivated(object sender, EventArgs e)
 {
     using (EditNotesDialog end = new EditNotesDialog(this))
     {
         end.ParentWindow = this.GdkWindow;
         end.Notes = SelectedInst.Notes;
         end.Response += (o, args) =>
         {
             if (args.ResponseId == ResponseType.Ok)
                 SelectedInst.Notes = end.Notes;
             end.Destroy();
         };
         end.Run();
     }
 }
Esempio n. 2
0
 void EditNotesActivated(object sender, EventArgs e)
 {
     EditNotesDialog end = new EditNotesDialog(SelectedInst, this);
     end.ParentWindow = this.GdkWindow;
     end.Run();
 }