예제 #1
0
        private void BtnNew_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
            FrmMatrRecAdd frm = new FrmMatrRecAdd(mposC, "");

            frm.StartPosition = FormStartPosition.CenterScreen;
            this.Hide();
            frm.ShowDialog(this);
            setGrfMatr();
            this.Show();
        }
예제 #2
0
        private void GrfMatr_DoubleClick(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
            if (grfMatr.Row <= 0)
            {
                return;
            }
            if (grfMatr.Col <= 0)
            {
                return;
            }
            String id = "";

            id = grfMatr[grfMatr.Row, colID].ToString();
            FrmMatrRecAdd frm = new FrmMatrRecAdd(mposC, id);

            frm.StartPosition = FormStartPosition.CenterScreen;
            this.Hide();
            frm.ShowDialog(this);
            this.Show();
            setGrfMatr();
        }