Esempio n. 1
0
        public static Group CreateGroup(string name, bool status = false)
        {
            TimeClass time  = new TimeClass(DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 1);
            Group     group = new Group(name, time);

            group.CoutPost                 = 0;
            group.groupItem.PostSpace      = 1;
            group.groupItem.WallId         = 0;
            group.groupItem.Public         = "";
            group.groupItem.ForPublic      = "";
            group.groupItem.ImageInPost    = 1;
            group.groupItem.Hesh           = "";
            group.groupItem.AutostartValue = false;
            group.groupItem.groupStatus    = status;

            return(group);
        }
Esempio n. 2
0
 public Group(string GroupName, TimeClass time)
 {
     this.GroupName = GroupName;
     this.time      = time;
 }