Exemple #1
0
 public frmEM_Edit(Property_Employee tempfrm, string tempid)
 {
     InitializeComponent();
     emppk = tempid;
     clo   = tempfrm;
     con.empselected(emppk, lblset);
     txtEName.Text   = lblset[0];
     txtContact.Text = lblset[1];
     txtEmail.Text   = lblset[2];
     pics            = lblset[3];
     txtJobT.Text    = lblset[4];
     cboDept.Text    = lblset[5];
     if (lblset[3] != "N/U")
     {
         pbEmp.Image = new Bitmap(pics);
     }
 }
 public frmEM_Add(Property_Employee temp)
 {
     InitializeComponent();
     close = temp;
     cboDept.SelectedIndex = 0;
 }
Exemple #3
0
        private void button7_Click(object sender, EventArgs e)
        {
            Property_Employee wind = new Property_Employee();

            wind.ShowDialog();
        }