Пример #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();
        }