public ClassroomInfoItem(ClassroomInfoItem classroom)
 {
     Id          = classroom.Id;
     Title       = classroom.Title;
     Description = classroom.Description;
     OwnerEmail  = classroom.OwnerEmail;
     OwnerName   = classroom.OwnerName;
 }
Beispiel #2
0
        public ClassroomDetailsPage(ClassroomInfoItem classroom)
        {
            InitializeComponent();

            sts = new SendToServer(this);

            Title = "Classroom Details";

            if (classroom != null)
            {
                isNew                   = false;
                this.classroom          = classroom;
                Description_Editor.Text = classroom.Description;
                Title_Entry.Text        = classroom.Title;

                //ToolbarItems.Add(new ToolbarItem("Delete", "Trashcan_Icon", ToolbarItem_OnDelete, ToolbarItemOrder.Primary));
            }
            else
            {
                isNew = true;
            }
        }