Esempio n. 1
0
 private void buttonAddNote_Click(object sender, EventArgs e)
 {
     using (CreateNoteForm createNoteForm = new CreateNoteForm())
     {
         createNoteForm.Entity = this.entity;
         if (createNoteForm.ShowDialog() == DialogResult.OK)
         {
             this.changed = true;
             this.ReloadData();
         }
     }
 }
Esempio n. 2
0
 private void buttonAddNote_Click( object sender, EventArgs e )
 {
     using ( CreateNoteForm createNoteForm = new CreateNoteForm() )
     {
         createNoteForm.Entity = this.entity;
         if ( createNoteForm.ShowDialog() == DialogResult.OK )
         {
             this.changed = true;
             this.ReloadData();
         }
     }
 }