public TeNotesVc(FdoCache cache) : base(LayoutViewTarget.targetDraft, -1)
{
m_cache = cache;
m_wsDefault = cache.DefaultAnalWs;
m_tsStrFactory = cache.TsStrFactory;
m_scr = cache.LanguageProject.TranslatedScriptureOA;
m_scrBooks = new DBMultilingScrBooks(m_scr);
Image img = ResourceHelper.MinusBox;
m_picMinus = (IPicture)OLECvt.ToOLE_IPictureDisp(img);
//m_pixelHeights[m_picMinus] = img.Height;
m_picPlus = (IPicture)OLECvt.ToOLE_IPictureDisp(ResourceHelper.PlusBox);
m_picChooser = GetChooserImage();
//using (Form frm = new Form())
//using (Graphics g = frm.CreateGraphics())
// m_dpiY = (int)g.DpiY;
m_quoteLabel = MakeLabelFromStringID("kstidQuoteLabel");
m_detailsLabel = MakeLabelFromStringID("kstidDetailsLabel");
m_discussionLabel = MakeLabelFromStringID("kstidDiscussionLabel");
m_messageLabel = MakeLabelFromStringID("kstidMessageLabel");
m_suggestionLabel = MakeLabelFromStringID("kstidSuggestionLabel");
m_resolutionLabel = MakeLabelFromStringID("kstidResolutionLabel");
m_authorLabel = MakeLabelFromStringID("kstidAuthorLabel");
m_createdLabel = MakeLabelFromStringID("kstidCreatedLabel");
m_modifiedLabel = MakeLabelFromStringID("kstidModifiedLabel");
m_resolvedLabel = MakeLabelFromStringID("kstidResolvedLabel");
m_responseLabel = MakeLabelFromStringID("kstidResponseLabel");
ITsStrFactory strFactory = TsStrFactoryClass.Create();
m_tssEmpty = strFactory.MakeString(string.Empty, m_scr.Cache.DefaultUserWs);
}