private void toolAdd_Click(object sender, EventArgs e)
        {
            FormRetailUntreadGatherBillInput formRetailUntreadGatherBillInput = new FormRetailUntreadGatherBillInput();

            formRetailUntreadGatherBillInput.Tag   = "Add";
            formRetailUntreadGatherBillInput.Owner = this;
            formRetailUntreadGatherBillInput.ShowDialog();
        }
 private void toolAmend_Click(object sender, EventArgs e)
 {
     if (dgvUntreadGatherBill.RowCount > 0)
     {
         if (GlobalProperty.OperatorCode != dgvUntreadGatherBill.CurrentRow.Cells["OperatorCode"].Value.ToString())
         {
             MessageBox.Show("非本记录的录入人员,不许允许修改!", "软件提示");
             return;
         }
         FormRetailUntreadGatherBillInput formRetailUntreadGatherBillInput = new FormRetailUntreadGatherBillInput();
         formRetailUntreadGatherBillInput.Tag   = "Edit";
         formRetailUntreadGatherBillInput.Owner = this;
         formRetailUntreadGatherBillInput.ShowDialog();
     }
 }