private void AddUserLocationForm_Load(object sender, EventArgs e)
 {
     UserLocationCode_txt.Select();
     if (vo.UserLocationId > 0)
     {
         UserLocationCode_txt.Text = vo.UserLocationCode;
         UserLocationName_txt.Text = vo.UserLocationName;
     }
 }
Esempio n. 2
0
        private void Clear_btn_Click(object sender, EventArgs e)
        {
            UserLocationCode_txt.Text = string.Empty;

            UserLocationName_txt.Text = string.Empty;

            UserLocationDetails_dgv.DataSource = null;

            UserLocationCode_txt.Select();
        }
Esempio n. 3
0
        private void AddUserLocationForm_Load(object sender, EventArgs e)
        {
            UserLocationCode_txt.Select();
            if (vo.UserLocationId > 0)
            {
                UserLocationCode_txt.Text = vo.UserLocationCode;
                UserLocationName_txt.Text = vo.UserLocationName;
            }
            LocationVo Locationvo = (LocationVo)DefaultCbmInvoker.Invoke(new GetLocationMasterMntCbm(), new LocationVo());

            locationcode_cmb.DataSource    = Locationvo.LocationListVo;
            locationcode_cmb.DisplayMember = "LocationCode";
            locationcode_cmb.Text          = "";
        }