Пример #1
0
        public static void NewDiv(ClsCommand rb)
        {
            ClsDivs.NewDiv(rb.PageSet, rb.Page);

            // answer
            GlobalServerEvents.SendMessage(null, new ClsStringEventArgs(DataRequest(new ClsCommand(command: "Divs", pageSet: rb.PageSet, page: rb.Page))));
        }
Пример #2
0
        public static void NewDiv(ClsCommand rb)
        {
            int PageSetID = Convert.ToInt32(rb.PageSet);
            int PageID    = Convert.ToInt32(rb.Page);

            ClsDivs.NewDiv(PageSetID, PageID);

            // answer
            GlobalServerEvents.SendMessage(null, new ClsStringEventArgs(ClsRequests.DataRequest(new ClsCommand(command: "Divs", pageSet: rb.PageSet, page: rb.Page))));
        }