Esempio n. 1
0
        private void editButton_Click(object sender, EventArgs e)
        {
            string     line   = gridView1.GetFocusedRowCellValue("LINE_NO").ToString();
            string     val    = cOUP_RESTextEdit.Text.TrimEnd();
            DigItmForm xform1 = new DigItmForm(val, context, line, username)
            {
            };

            xform1.Show();
        }
Esempio n. 2
0
        private void addButton_Click(object sender, EventArgs e)
        {
            string     coupm  = cOUP_MMComboBoxEdit.Text;
            string     coupy  = cOUP_YRSpinEdit.Text;
            string     coupc  = cOUP_CODTextEdit.Text;
            int        wtf    = gridView1.RowCount + 1;
            int        line   = wtf * 5;
            string     val    = cOUP_RESTextEdit.Text.TrimEnd();
            DigItmForm xform1 = new DigItmForm(val, context, line, username, coupm, coupy, coupc)
            {
            };

            xform1.Show();
        }