Ejemplo n.º 1
0
 public void Setup(NotesPanel view, string first, string last, string brief,
                   string full, string url, Vector3 loc,
                   System.DateTime post, System.DateTime refDate)
 {
     noteView = view;
     //Update variables
     m_first    = first;
     m_last     = last;
     m_brief    = brief;
     m_full     = full;
     m_url      = url;
     m_location = loc;
     m_posttime = post;
     m_reftime  = refDate;
     //Fill text fields
     nameText.text     = last + ", " + first;
     shortText.text    = brief;
     locationText.text = loc.ToString();
     postDateText.text = m_posttime.ToString("dd/MM/yyyy");
     refDateText.text  = m_reftime.ToString("dd/MM/yyyy");
 }