private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            if (G.Authority == "D")
            {
                return;
            }
            if (e.RowIndex < 0)
            {
                return;
            }
            if (e.ColumnIndex != 4)
            {
                return;
            }
            if (dataGridView1.Rows.GetLastRow(DataGridViewElementStates.Visible) == e.RowIndex)
            {
                return;
            }

            P1C04_MATERIAL_USE_SUB sub = new P1C04_MATERIAL_USE_SUB();

            sub.lblTitle.Text = sub.lblTitle.Text + "[수정]";
            sub.parentWin     = this;
            sub.ShowDialog();
        }
        private void pbAdd_Click(object sender, EventArgs e)
        {
            P1C04_MATERIAL_USE_SUB sub = new P1C04_MATERIAL_USE_SUB();

            sub.lblTitle.Text = sub.lblTitle.Text + "[추가]";
            sub.parentWin     = this;
            sub.ShowDialog();
        }