private void txtContent_DoubleClick(object sender, EventArgs e) { ctf = new ContentFullScreen(); ctf.setInfo(currentInfo); ctf.ShowDialog(); if (ctf.isSaved) { txtContent.HtmlText = ctf.info.InfoContentHtml; } ctf.Dispose(); }
private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { ctf = new ContentFullScreen(); ctf.setInfo(currentInfo); ctf.ShowDialog(); if (ctf.isSaved) { txtContent.HtmlText = ctf.info.InfoContentHtml; } ctf.Dispose(); }