public EditPage(string pageName)
        {
            InitializeComponent();

            _dal      = new PagesDal(new LocalWikiStorage(), new DesktopHtmlWrapper());
            _pageName = pageName;

            Title              = Title + " " + _pageName;
            textBox1.Text      = _dal.GetTextOfPage(pageName);
            textBox1.AllowDrop = true;
        }
        public EditPage(string pageName)
        {
            InitializeComponent();

            _dal = new PagesDal(new LocalWikiStorage(), new DesktopHtmlWrapper());
            _pageName = pageName;

            Title = Title + " " + _pageName;
            textBox1.Text = _dal.GetTextOfPage(pageName);
            textBox1.AllowDrop = true;
        }
Beispiel #3
0
        public EditPage(string pageName)
        {
            InitializeComponent();

            mDal      = new PagesDal();
            mPageName = pageName;

            Title              = Title + " " + mPageName;
            textBox1.Text      = mDal.GetTextOfPage(pageName);
            textBox1.AllowDrop = true;
        }