예제 #1
0
        private void btnAdd()
        {
            Frm¶ÅÀֺIJĵµ°¸Edit f = new Frm¶ÅÀֺIJĵµ°¸Edit();

            f.ShowDialog();

            btnSel();
        }
예제 #2
0
        private void btnEdit()
        {
            int iRow = 0;

            if (gridView1.FocusedRowHandle > 0)
            {
                iRow = gridView1.FocusedRowHandle;
            }

            string scInvCode = gridView1.GetRowCellValue(iRow, gridColcInvCode).ToString().Trim();

            Frm¶ÅÀֺIJĵµ°¸Edit f = new Frm¶ÅÀֺIJĵµ°¸Edit(scInvCode);

            f.ShowDialog();

            btnSel();
        }
예제 #3
0
        private void gridView1_DoubleClick(object sender, EventArgs e)
        {
            try
            {
                int iRow = 0;
                if (gridView1.FocusedRowHandle > 0)
                {
                    iRow = gridView1.FocusedRowHandle;
                }

                string scInvCode = gridView1.GetRowCellValue(iRow, gridColcInvCode).ToString().Trim();
                if (scInvCode != "")
                {
                    Frm¶ÅÀֺIJĵµ°¸Edit f = new Frm¶ÅÀֺIJĵµ°¸Edit(scInvCode);
                    f.ShowDialog();

                    btnSel();
                }
            }
            catch { }
        }