private void FillFormData(Guid?id)
        {
            try
            {
                LabDetailModel model = service.GetById(id.Value);
                if (model != null)
                {
                    LabDetailOperations frm = new LabDetailOperations(model.Id);
                    frm.txtFullName.Text    = model.Name;
                    frm.txtAddress.Text     = model.Address;
                    frm.txtPathalogist.Text = model.PathelogistName;
                    frm.txtPhoneNumber.Text = model.PhoneNumber;
                    frm.chkInHouse.Checked  = model.IsInHouse.HasValue ? model.IsInHouse.Value : false;
                    frm.ShowDialog();
                    if (isSubmited)
                    {
                        Search();
                    }

                    isSubmited = false;
                }
            }
            catch (Exception ex)
            {
                isSubmited = false;
                Utility.ErrorLog.Logging("Lab List", ex.Message.ToString(), ex.StackTrace.ToString());
            }
        }
        private void btnNew_Click(object sender, EventArgs e)
        {
            try
            {
                LabDetailOperations frm = new LabDetailOperations();
                frm.ShowDialog();

                if (isSubmited)
                {
                    Search();
                }

                isSubmited = false;
            }
            catch (Exception ex)
            {
                isSubmited = false;
                Utility.ErrorLog.Logging("Lab List", ex.Message.ToString(), ex.StackTrace.ToString());
            }
        }