private void gridNotes_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormProcCodeNoteEdit FormP = new FormProcCodeNoteEdit();

            FormP.NoteCur = NoteList[e.Row].Copy();
            FormP.ShowDialog();
            FillNotes();
        }
        private void butAddNote_Click(object sender, EventArgs e)
        {
            FormProcCodeNoteEdit FormP = new FormProcCodeNoteEdit();

            FormP.IsNew            = true;
            FormP.NoteCur          = new ProcCodeNote();
            FormP.NoteCur.CodeNum  = ProcCode.CodeNum;
            FormP.NoteCur.Note     = textNote.Text;
            FormP.NoteCur.ProcTime = strBTime.ToString();
            FormP.ShowDialog();
            FillNotes();
        }
Example #3
0
 private void gridNotes_CellDoubleClick(object sender,ODGridClickEventArgs e)
 {
     FormProcCodeNoteEdit FormP=new FormProcCodeNoteEdit();
     FormP.NoteCur=NoteList[e.Row].Copy();
     FormP.ShowDialog();
     FillNotes();
 }
Example #4
0
 private void butAddNote_Click(object sender,EventArgs e)
 {
     FormProcCodeNoteEdit FormP=new FormProcCodeNoteEdit();
     FormP.IsNew=true;
     FormP.NoteCur=new ProcCodeNote();
     FormP.NoteCur.CodeNum=ProcCode.CodeNum;
     FormP.NoteCur.Note=textNote.Text;
     FormP.NoteCur.ProcTime=strBTime.ToString();
     FormP.ShowDialog();
     FillNotes();
 }