public void EditBrigade()
 {
     if (this.SelectedBrigadeId != 0)
     {
         Brigade    brigade = Databases.Tables.Brigades[this.SelectedBrigadeId];
         frmBrigade form    = new frmBrigade(brigade);
         form.ShowDialog(this);
         Init();
     }
 }
 public void NewBrigade()
 {
     if (this.SelectedAreaId != 0)
     {
         Area       area = Databases.Tables.Areas[this.SelectedAreaId];
         frmBrigade form = new frmBrigade(area);
         form.ShowDialog(this);
         Init();
     }
 }