private void pbAdd_Click(object sender, EventArgs e)
        {
            P1B11_PURCHASE_TOLL_SUB sub = new P1B11_PURCHASE_TOLL_SUB();

            sub.lblTitle.Text = sub.lblTitle.Text + "[추가]";
            sub.parentWin     = this;
            sub.ShowDialog();
        }
        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            if (G.Authority == "D")
            {
                return;
            }
            if (e.RowIndex < 0)
            {
                return;
            }
            if (e.RowIndex == dataGridView1.RowCount - 1)
            {
                return;
            }

            dataGridView1.CurrentCell          = dataGridView1[e.ColumnIndex, e.RowIndex];
            dataGridView1.CurrentCell.Selected = true;

            if (e.ColumnIndex == 5)
            {
                P1B11_PURCHASE_TOLL_SUB sub = new P1B11_PURCHASE_TOLL_SUB();
                sub.lblTitle.Text = sub.lblTitle.Text + "[수정]";
                sub.parentWin     = this;
                sub.ShowDialog();
            }
            else if (e.ColumnIndex == 17)
            {
                P1B11_PURCHASE_TOLL_IN sub = new P1B11_PURCHASE_TOLL_IN();
                if (dataGridView1.Rows[e.RowIndex].Cells[18].Value.ToString() == "0")
                {
                    sub.lblTitle.Text = sub.lblTitle.Text + "[추가]";
                }
                else
                {
                    sub.lblTitle.Text = sub.lblTitle.Text + "[수정]";
                }
                sub.parentWin = this;
                sub.ShowDialog();
            }
        }