예제 #1
0
        protected void AddBubbleLink_Click(object sender, EventArgs e)
        {
            Guid       bubbleId   = new Guid(Request["BubbleId"]);
            Bubble     bubble     = BubbleLogic.GetBubble(bubbleId);
            BubbleLink bubbleLink = BubbleLogic.AddBubleLink(DaemonHttpContext.LoggedInParticipant, bubble);

            Response.Redirect(Request.Url.OriginalString);
        }
예제 #2
0
        protected void AddBubbleButton_Click(object sender, EventArgs e)
        {
            if (LocalProcessList.SelectedValue == null || LocalProcessList.SelectedValue == "")
            {
                return;
            }
            Guid         localProcessId = new Guid(LocalProcessList.SelectedValue);
            LocalProcess localProcess   = LocalProcessLogic.GetLocalProcess(localProcessId);
            Bubble       bubble         = BubbleLogic.AddBuble(DaemonHttpContext.LoggedInParticipant, localProcess);

            Response.Redirect(Request.Url.OriginalString);
        }
예제 #3
0
        protected void AddObjectButton_Click(object sender, EventArgs e)
        {
            if (ObjectTypeDropDownList.SelectedValue == null || ObjectTypeDropDownList.SelectedValue.Length == 0)
            {
                return;
            }
            if (BubbleDropDownList.SelectedValue == null || BubbleDropDownList.SelectedValue.Length == 0)
            {
                return;
            }
            ObjectType  objectType  = ObjectLogic.GetObjectType(new Guid(ObjectTypeDropDownList.SelectedValue));
            Bubble      bubble      = BubbleLogic.GetBubble(new Guid(BubbleDropDownList.SelectedValue));
            CloudObject cloudObject = ObjectLogic.AddObject(DaemonHttpContext.LoggedInParticipant, objectType, bubble);

            Response.Redirect(Request.Url.OriginalString);
        }