예제 #1
0
        public static void NoteEditDlg_Handler(NoteEditDlg dlg)
        {
            EnterText("txtNote", dlg, "sample text");
            ClickButton("btnAccept", dlg);

            Assert.AreEqual("sample text", dlg.NoteRecord.Lines.Text);
        }
예제 #2
0
        public override void Setup()
        {
            WFAppHost.ConfigureBootstrap(false);

            fBase       = new BaseWindowStub();
            fNoteRecord = new GDMNoteRecord(fBase.Context.Tree);

            fDialog            = new NoteEditDlg(fBase);
            fDialog.NoteRecord = fNoteRecord;
            fDialog.Show();
        }