コード例 #1
0
 public WorkPlaceRegisterForm(WorkPlace addingWorkPlace, List <string> buildings)
 {
     building_ids    = buildings;
     IsFilled        = true;
     AddingWorkPlace = addingWorkPlace;
     InitializeComponent();
 }
コード例 #2
0
 public WorkPlaceRegisterForm(int id, List <string> buildings)
 {
     building_ids    = buildings;
     IsFilled        = false;
     AddingWorkPlace = new WorkPlace(id);
     InitializeComponent();
 }
コード例 #3
0
 private void btnSubmit_Click(object sender, EventArgs e)
 {
     AddingWorkPlace = new WorkPlace(int.Parse(txtBxId.Text), comboBxBuilding_id.SelectedItem.ToString(), txtBxPlace_id.Text);
 }