56 InitGridPositions(); |
56 InitGridPositions(); |
57 // Add handlers for Application activation events |
57 // Add handlers for Application activation events |
58 AddActivationHandlers(); |
58 AddActivationHandlers(); |
59 // Add credit text |
59 // Add credit text |
60 CreditsText1.Text = CreditsText2.Text = CreditsText3.Text = CreditsText4.Text = |
60 CreditsText1.Text = CreditsText2.Text = CreditsText3.Text = CreditsText4.Text = |
61 "MICROSOFT :\nPierre-Louis Xech\n\nEFREI :\nSantiago Aria\nRiley Ikni\nJonathan Pamphile\nAmine Tarari\n\nSTRATE COLLEGE :\nAnnabelle Eugénia\nHuieun Kim\nBaptiste Lanne\nIoana Ocnarescu\nVanessa Reiser\nDominique Sciamma\n\nINSTITUT DE RECHERCHE ET D'INNOVATION\nThibaut Cavalié\nYves-Marie Haussonne\nVincent Puig"; |
61 "MICROSOFT :\nPierre-Louis Xech\n\nEFREI :\nSantiago Arias\nRiley Ikni\nJonathan Pamphile\n\nSTRATE COLLEGE :\nAnnabelle Eugénia\nHuieun Kim\nBaptiste Lanne\nIoana Ocnarescu\nVanessa Reiser\nDominique Sciamma\n\nINSTITUT DE RECHERCHE ET D'INNOVATION\nThibaut Cavalié\nYves-Marie Haussonne\nVincent Puig"; |
62 } |
62 } |
63 #endregion |
63 #endregion |
64 |
64 |
65 #region Initialization |
65 #region Initialization |
66 |
66 |
640 new XAttribute("dur", annot.Dur), |
640 new XAttribute("dur", annot.Dur), |
641 new XAttribute("author", cut.Title), |
641 new XAttribute("author", cut.Title), |
642 new XAttribute("date", DateTime.Now.Day.ToString() + "/" + DateTime.Now.Month.ToString() + "/" + DateTime.Now.Year.ToString()), |
642 new XAttribute("date", DateTime.Now.Day.ToString() + "/" + DateTime.Now.Month.ToString() + "/" + DateTime.Now.Year.ToString()), |
643 new XAttribute("color", "0x" + annot.Color.ToString().Substring(3)), // Color.ToString() return #AARRGGBB and we keep only 0xRRGGBB |
643 new XAttribute("color", "0x" + annot.Color.ToString().Substring(3)), // Color.ToString() return #AARRGGBB and we keep only 0xRRGGBB |
644 new XAttribute("src", ""), |
644 new XAttribute("src", ""), |
645 new XElement("title", annot.GestureType), |
645 new XElement("title", String.Join(",", annot.GestureType.ToArray())), |
646 new XElement("abstract"), |
646 new XElement("abstract"), |
647 new XElement("audio"), |
647 new XElement("audio"), |
648 new XElement("tags"), |
648 new XElement("tags"), |
649 new XElement("gestureType", annot.GestureType))); |
649 new XElement("gestureType", String.Join(",", annot.GestureType.ToArray())))); |
650 } |
650 } |
651 annotContent.Add(cutNode); |
651 annotContent.Add(cutNode); |
652 } |
652 } |
653 |
653 |
654 d.Declaration = new XDeclaration("1.0", "utf-8", "true"); |
654 d.Declaration = new XDeclaration("1.0", "utf-8", "true"); |