private void dgv_show()
        {
            dgv.Rows.Clear();
            var companyCode = companies[ComboShopName.SelectedIndex].Split(Constants.SplitChar)[0];

            if (companyCode == "")
            {
                MessageBox.Show("未定义连锁店铺,请先到连锁店铺定义!");
                return;
            }

            string errorDesc = "";
            var    comments  = ShopManagement.queryCommentByCompany(MainForm.ip, companyCode, out errorDesc);

            if (comments == null)
            {
                MessageBox.Show(errorDesc);
                return;
            }

            int i = 1;

            foreach (var comment in comments)
            {
                dgv.Rows.Add(i, comment.content, PCUtil.converJavaTimeToNetTime(comment.createTime).ToString("MM-dd HH:mm"));
                i++;
            }
        }
        private void dgv_show()
        {
            string errorDesc = "";
            var    comments  = ShopManagement.queryCommentByCompany(LogIn.connectionIP, LogIn.options.company_Code, out errorDesc);

            if (comments == null)
            {
                BathClass.printErrorMsg(errorDesc);
                return;
            }

            int i = 1;

            foreach (var comment in comments)
            {
                dgv.Rows.Add(i, comment.content, PCUtil.converJavaTimeToNetTime(comment.createTime).ToString("MM-dd HH:mm"));
                i++;
            }
        }