Пример #1
0
 private void tsAddNoteButton_Click(object sender, System.EventArgs e)
 {
     ApartmentNote apartmentNote = new ApartmentNote {
         ApartmentId = this.m_Apartment.Id
     };
     new ApartmenNoteAddForm(apartmentNote).ShowDialog();
     this.UpdateBindingSourceApartmentNotes();
 }
Пример #2
0
 public ApartmenNoteAddForm(ApartmentNote apartmentNote)
 {
     this.InitializeComponent();
     this.m_ApartmentNote = apartmentNote;
 }