Beispiel #1
0
        private void Image_Click()
        {
            FormWikiImages FormWI = new FormWikiImages();

            FormWI.ShowDialog();
            if (FormWI.DialogResult != DialogResult.OK)
            {
                return;
            }
            textContent.Paste("[[img:" + FormWI.SelectedImageName + "]]");
            //webBrowserWiki.AllowNavigation=true;
            //RefreshHtml();
        }
Beispiel #2
0
		private void Image_Click() {
			//if not using AtoZ folder, GetWikiPath with throw an exception, must be using AtoZ folder to use images in the wiki
			try {
				WikiPages.GetWikiPath();
			}
			catch(Exception ex) {
				MessageBox.Show(this,ex.Message);
				return;
			}
			FormWikiImages FormWI = new FormWikiImages();
			FormWI.ShowDialog();
			if(FormWI.DialogResult!=DialogResult.OK) {
				return;
			}
			textContent.Paste("[[img:"+FormWI.SelectedImageName+"]]");
			//webBrowserWiki.AllowNavigation=true;
			//RefreshHtml();
		}
		private void Image_Click() {
			FormWikiImages FormWI = new FormWikiImages();
			FormWI.ShowDialog();
			if(FormWI.DialogResult!=DialogResult.OK) {
				return;
			}
			textContent.Paste("[[img:"+FormWI.SelectedImageName+"]]");
			//webBrowserWiki.AllowNavigation=true;
			//RefreshHtml();
		}