public ModifyInfoForm(ClientSocket _clientsocket, string _id) : this() { clientsocket = _clientsocket; currentNurse = clientsocket.getNurse(_id); if (currentNurse == null) { MessageBox.Show("getNurse 에러"); return; } #region 콤보박스 셋팅 if (currentNurse.IsChiefNurse == true) //수간호사 일 경우 { comboBoxType.SelectedIndex = 0; } else { comboBoxType.SelectedIndex = 1; } if (currentNurse.Sex == SEX.Male) //남자일 경우 { comboBoxSex.SelectedIndex = 0; } else {//여자일 경우 comboBoxSex.SelectedIndex = 1; } textBoxName.Text = currentNurse.Name; textBoxID.Text = currentNurse.ID; textBoxPW.Text = textBoxPW2.Text = currentNurse.Password; textBoxLic.Text = currentNurse.LicenseNum; textBoxPh.Text = currentNurse.PhoneNum; #endregion }
public Find_Info(ClientSocket _clientsocket) : this() { clientsocket = _clientsocket; }
public ModifyPwForm(ClientSocket _clientsocket, Nurse _target) : this() { clientSocket = _clientsocket; target = _target; }
public CheckTableForm(ClientSocket _clientsocket) : this() { clientsocket = _clientsocket; }
public UI() { InitializeComponent(); clientSocket = new ClientSocket(); }
public ManageMemberForm(ClientSocket _clientsocket) : this() { clientsocket = _clientsocket; loadNurse(); }
public OffOptionForm(ClientSocket _clientsocket) : this() { clientsocket = _clientsocket; loadOption(); }
public NightShiftForm(ClientSocket _clientsocket, Option _option) : this() { this.option = _option; this.clientsocket = _clientsocket; }
public ApplyOff(ClientSocket clientsocket, string currentUserID) : this() { this.clientsocket = clientsocket; this.currentUserID = currentUserID; }