示例#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();
        }
示例#2
0
文件: FormWikiEdit.cs 项目: mnisl/OD
		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();
		}
示例#3
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();
		}