Ejemplo n.º 1
0
        private void pbAdd_Click(object sender, EventArgs e)
        {
            P1A03_COMMON_SUB sub = new P1A03_COMMON_SUB();

            sub.lblTitle.Text = sub.lblTitle.Text + "[추가]";
            sub.kind          = lblSubject.Tag.ToString();
            sub.parentWin     = this;
            sub.ShowDialog();
        }
Ejemplo n.º 2
0
        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            if (G.Authority == "D")
            {
                return;
            }
            if (e.RowIndex < 0)
            {
                return;
            }
            if (e.ColumnIndex != 3)
            {
                return;
            }

            P1A03_COMMON_SUB sub = new P1A03_COMMON_SUB();

            sub.lblTitle.Text = sub.lblTitle.Text + "[수정]";
            sub.kind          = lblSubject.Tag.ToString();
            sub.parentWin     = this;
            sub.ShowDialog();
        }