Exemple #1
0
        public override void Display(ControlViewModel obj)
        {
            var Label_OrderTitle = (Plugghest.Modules.UserControl.DisplayPlugg.Common.OrderTitle)LoadControl(Plugghest.Base2.UserControlRoot.Common.OrderTitle);

            Label_OrderTitle.Parent_Page   = obj._this.Page;
            Label_OrderTitle.ComponentType = obj.ComponentType;
            Label_OrderTitle.ComponentID   = obj.ComponentID; //comp != null ? comp.PluggComponentId : 0;
            Label_OrderTitle.UserID        = obj.UserID;
            Label_OrderTitle.Order         = obj.Order;
            Label_OrderTitle.TabID         = obj.TabID;
            //Label_OrderTitle.btnHandler += new Plugghest.Modules.UserControl.DisplayPlugg.Common.OrderTitle.OnButtonClick(WebUserControl1_btnHandler);
            obj._this.FindControl("divTitle").Controls.Add(Label_OrderTitle);

            var Label_Display = (Plugghest.Modules.UserControl.DisplayPlugg.Label.Display)LoadControl(Plugghest.Base2.UserControlRoot.Label.Display);

            Label_Display.Parent_Page = obj._this.Page;
            Label_Display.ComponentID = obj.ComponentID; //comp != null ? comp.PluggComponentId : 0;
            Label_Display.Order       = obj.Order;
            obj._this.FindControl("divTitle").Controls.Add(Label_Display);

            var Label_AddNewComponenet = (Plugghest.Modules.UserControl.DisplayPlugg.Common.AddNewComponent)LoadControl(Plugghest.Base2.UserControlRoot.Common.AddNewComponent);

            Label_AddNewComponenet.Parent_Page = obj._this.Page;
            Label_AddNewComponenet.Order       = obj.Order; //IntCompOrder;
            Label_AddNewComponenet.isLastComp  = obj.isLastComp;
            obj._this.FindControl("divTitle").Controls.Add(Label_AddNewComponenet);
        }
Exemple #2
0
        public override void Display(ControlViewModel obj)
        {
            var RichText_OrderTitle = (Plugghest.Modules.UserControl.DisplayPlugg.Common.OrderTitle)LoadControl(Plugghest.Base2.UserControlRoot.Common.OrderTitle);

            RichText_OrderTitle.Parent_Page   = obj._this.Page;
            RichText_OrderTitle.ComponentType = EComponentType.RichText;
            RichText_OrderTitle.ComponentID   = obj.ComponentID;
            RichText_OrderTitle.UserID        = obj.UserID;
            RichText_OrderTitle.Order         = obj.Order;
            RichText_OrderTitle.TabID         = obj.TabID;
            //RichText_OrderTitle.btnHandler += new Plugghest.Modules.UserControl.DisplayPlugg.Common.OrderTitle.OnButtonClick(WebUserControl1_btnHandler);
            obj._this.FindControl("divTitle").Controls.Add(RichText_OrderTitle);

            var RichText_Display = (Plugghest.Modules.UserControl.DisplayPlugg.RichText.Display)LoadControl(Plugghest.Base2.UserControlRoot.RichText.Display);

            RichText_Display.Parent_Page = obj._this.Page;
            RichText_Display.ComponentID = obj.ComponentID;
            RichText_Display.Order       = obj.Order;
            obj._this.FindControl("divTitle").Controls.Add(RichText_Display);

            var RichText_AddNewComponenet = (Plugghest.Modules.UserControl.DisplayPlugg.Common.AddNewComponent)LoadControl(Plugghest.Base2.UserControlRoot.Common.AddNewComponent);

            RichText_AddNewComponenet.Parent_Page = obj._this.Page;
            RichText_AddNewComponenet.Order       = obj.Order;
            RichText_AddNewComponenet.isLastComp  = obj.isLastComp;
            obj._this.FindControl("divTitle").Controls.Add(RichText_AddNewComponenet);
        }
Exemple #3
0
        public override void Display(ControlViewModel obj)
        {
            var Label_Display = (Plugghest.Modules.UserControl.DisplayPlugg.Label.Display)LoadControl(Plugghest.Base2.UserControlRoot.Label.Display);

            Label_Display.Parent_Page = obj._this.Page;
            Label_Display.ComponentID = obj.ComponentID; //comp != null ? comp.PluggComponentId : 0;
            Label_Display.Order       = obj.Order;
            obj._this.FindControl("divTitle").Controls.Add(Label_Display);
        }
Exemple #4
0
        public override void Display(ControlViewModel obj)
        {
            var RichText_Display = (Plugghest.Modules.UserControl.DisplayPlugg.RichText.Display)LoadControl(Plugghest.Base2.UserControlRoot.RichText.Display);

            RichText_Display.Parent_Page = obj._this.Page;
            RichText_Display.ComponentID = obj.ComponentID;
            RichText_Display.Order       = obj.Order;
            obj._this.FindControl("divTitle").Controls.Add(RichText_Display);
        }
Exemple #5
0
        public override void Edit2(ControlViewModel obj)
        {
            var Label_Edit2 = (Plugghest.Modules.UserControl.DisplayPlugg.Label.Edit2)LoadControl(Plugghest.Base2.UserControlRoot.Label.Edit2);

            Label_Edit2.Parent_Page = obj._this.Page;
            Label_Edit2.Order       = obj.Order;
            Label_Edit2.ComponentID = obj.ComponentID;
            obj._this.FindControl("divTitle").Controls.Add(Label_Edit2);
        }
Exemple #6
0
        public override void Display(ControlViewModel obj)
        {
            var YouTube_Display = (Plugghest.Modules.UserControl.DisplayPlugg.YouTube.Display)LoadControl(Plugghest.Base2.UserControlRoot.YouTube.Display);

            YouTube_Display.Parent_Page   = obj._this.Page;
            YouTube_Display.Parent_Page   = obj._this.Page;
            YouTube_Display.YTComponentId = obj.ComponentID;
            obj._this.FindControl("divTitle").Controls.Add(YouTube_Display);
        }
Exemple #7
0
        public override void Edit1(ControlViewModel obj)
        {
            var RichText_Edit1 = (Plugghest.Modules.UserControl.DisplayPlugg.RichText.Edit)LoadControl(Plugghest.Base2.UserControlRoot.RichText.Edit1);

            RichText_Edit1.Parent_Page   = obj._this.Page;
            RichText_Edit1.UserID        = obj.UserID;
            RichText_Edit1.Order         = obj.Order;
            RichText_Edit1.ComponentID   = obj.ComponentID;
            RichText_Edit1.ComponentType = obj.ComponentType;
            RichText_Edit1.TabID         = obj.TabID;
            obj._this.FindControl("divTitle").Controls.Add(RichText_Edit1);
        }
Exemple #8
0
        public override void Display(ControlViewModel obj)
        {
            var Latex_TranslationTitle = (Plugghest.Modules.UserControl.DisplayPlugg.RichText.TranslationTitle)LoadControl(Plugghest.Base2.UserControlRoot.RichText.TranslationTitle);

            Latex_TranslationTitle.Parent_Page   = obj._this.Page;
            Latex_TranslationTitle.ComponentType = obj.ComponentType;
            Latex_TranslationTitle.ComponentID   = obj.ComponentID;
            Latex_TranslationTitle.UserID        = obj.UserID;
            Latex_TranslationTitle.Order         = obj.Order;
            Latex_TranslationTitle.TabID         = obj.TabID;
            obj._this.FindControl("divTitle").Controls.Add(Latex_TranslationTitle);

            var RichText_Display = (Plugghest.Modules.UserControl.DisplayPlugg.RichText.Display)LoadControl(Plugghest.Base2.UserControlRoot.RichText.Display);

            RichText_Display.Parent_Page = obj._this.Page;
            RichText_Display.ComponentID = obj.ComponentID;
            RichText_Display.Order       = obj.Order;
            obj._this.FindControl("divTitle").Controls.Add(RichText_Display);
        }
 public abstract void Display(ControlViewModel obj);
Exemple #10
0
 public override void Display(ControlViewModel obj)
 {
     Console.WriteLine("Latex - II - Display");
 }
 public abstract void Edit2(ControlViewModel obj);
 public void RunComponentType(EComponentType _Type, ControlViewModel obj)
 {
     temp[_Type].Display(obj);
     temp[_Type].Edit1(obj);
     temp[_Type].Edit2(obj);
 }
        public override void Display(ControlViewModel obj)
        {
            var Label_TranslationTitle = (Plugghest.Modules.UserControl.DisplayPlugg.Label.TranslationTitle)LoadControl(Plugghest.Base2.UserControlRoot.Label.TranslationTitle);
            Label_TranslationTitle.Parent_Page = obj._this.Page;
            Label_TranslationTitle.ComponentType = obj.ComponentType;
            Label_TranslationTitle.ComponentID = obj.ComponentID;
            Label_TranslationTitle.UserID = obj.UserID;
            Label_TranslationTitle.Order = obj.Order;
            Label_TranslationTitle.TabID = obj.TabID;
            obj._this.FindControl("divTitle").Controls.Add(Label_TranslationTitle);

            var Label_Display = (Plugghest.Modules.UserControl.DisplayPlugg.Label.Display)LoadControl(Plugghest.Base2.UserControlRoot.Label.Display);
            Label_Display.Parent_Page = obj._this.Page;
            Label_Display.ComponentID = obj.ComponentID;
            Label_Display.Order = obj.Order;
            obj._this.FindControl("divTitle").Controls.Add(Label_Display);
        }
        public override void Display(ControlViewModel obj)
        {
            var Latex_OrderTitle = (Plugghest.Modules.UserControl.DisplayPlugg.Common.OrderTitle)LoadControl(Plugghest.Base2.UserControlRoot.Common.OrderTitle);
            Latex_OrderTitle.Parent_Page = obj._this.Page;
            Latex_OrderTitle.ComponentType = EComponentType.Latex;
            Latex_OrderTitle.ComponentID = obj.ComponentID;
            Latex_OrderTitle.UserID = obj.UserID;
            Latex_OrderTitle.Order = obj.Order;
            Latex_OrderTitle.TabID = obj.TabID;
            //Latex_OrderTitle.btnHandler += new Plugghest.Modules.UserControl.DisplayPlugg.Common.OrderTitle.OnButtonClick(WebUserControl1_btnHandler);
            obj._this.FindControl("divTitle").Controls.Add(Latex_OrderTitle);

            var Latex_Display = (Plugghest.Modules.UserControl.DisplayPlugg.Latex.Display)LoadControl(Plugghest.Base2.UserControlRoot.Latex.Display);
            Latex_Display.Parent_Page = obj._this.Page;
            Latex_Display.ComponentID = obj.ComponentID;
            Latex_Display.Order = obj.Order;
            obj._this.FindControl("divTitle").Controls.Add(Latex_Display);

            var Latex_AddNewComponenet = (Plugghest.Modules.UserControl.DisplayPlugg.Common.AddNewComponent)LoadControl(Plugghest.Base2.UserControlRoot.Common.AddNewComponent);
            Latex_AddNewComponenet.Parent_Page = obj._this.Page;
            Latex_AddNewComponenet.Order = obj.Order;
            Latex_AddNewComponenet.isLastComp = obj.isLastComp;
            obj._this.FindControl("divTitle").Controls.Add(Latex_AddNewComponenet);
        }
Exemple #15
0
 public override void Edit2(ControlViewModel obj)
 {
     Console.WriteLine("Latex - II - Edit2");
 }
Exemple #16
0
 public void RunComponentType(EComponentType _Type, ControlViewModel obj)
 {
     temp[_Type].Display(obj);
     temp[_Type].Edit1(obj);
     temp[_Type].Edit2(obj);
 }
 public override void Display(ControlViewModel obj)
 {
     var YouTube_Display = (Plugghest.Modules.UserControl.DisplayPlugg.YouTube.Display)LoadControl(Plugghest.Base2.UserControlRoot.YouTube.Display);
     YouTube_Display.Parent_Page = obj._this.Page;
     YouTube_Display.Parent_Page = obj._this.Page;
     YouTube_Display.YTComponentId = obj.ComponentID;
     obj._this.FindControl("divTitle").Controls.Add(YouTube_Display);
 }
Exemple #18
0
 public override void Display(ControlViewModel obj)
 {
 }
 public override void Edit2(ControlViewModel obj)
 {
 }
 public override void Display(ControlViewModel obj)
 {
     var Latex_Display = (Plugghest.Modules.UserControl.DisplayPlugg.Latex.Display)LoadControl(Plugghest.Base2.UserControlRoot.Latex.Display);
     Latex_Display.Parent_Page = obj._this.Page;
     Latex_Display.ComponentID = obj.ComponentID;
     Latex_Display.Order = obj.Order;
     obj._this.FindControl("divTitle").Controls.Add(Latex_Display);
 }
 public override void Display(ControlViewModel obj)
 {
 }
 public override void Edit1(ControlViewModel obj)
 {
     var Latex_Edit1 = (Plugghest.Modules.UserControl.DisplayPlugg.Latex.Edit1)LoadControl(Plugghest.Base2.UserControlRoot.Latex.Edit1);
     Latex_Edit1.Parent_Page = obj._this.Page;
     Latex_Edit1.UserID = obj.UserID;
     Latex_Edit1.Order = obj.Order;
     Latex_Edit1.ComponentID = obj.ComponentID;
     Latex_Edit1.ComponentType = obj.ComponentType;
     Latex_Edit1.TabID = obj.TabID;
     obj._this.FindControl("divTitle").Controls.Add(Latex_Edit1);
 }
Exemple #23
0
 public abstract void Display(ControlViewModel obj);
 public override void Edit2(ControlViewModel obj)
 {
     Console.WriteLine("Latex - I - Edit2");
 }
Exemple #25
0
 public abstract void Edit2(ControlViewModel obj);
        private void LoadControl(int IntCompOrder, bool isLastComp, PluggComponent comp)
        {
            ControlViewModel viewModel = new ControlViewModel();
            viewModel.ComponentType = comp.ComponentType;
            viewModel.ComponentID = comp != null ? comp.PluggComponentId : 0;
            viewModel.UserID = this.UserId;
            viewModel.Order = IntCompOrder;
            viewModel.TabID = TabId;
            viewModel.isLastComp = isLastComp;
            viewModel._this = this;

            Control_Case _control = new Control_Case(this._Case);
            _control.RunComponentType(comp.ComponentType, viewModel);
        }
 public override void Edit2(ControlViewModel obj)
 {
     var Label_Edit2 = (Plugghest.Modules.UserControl.DisplayPlugg.Label.Edit2)LoadControl(Plugghest.Base2.UserControlRoot.Label.Edit2);
     Label_Edit2.Parent_Page = obj._this.Page;
     Label_Edit2.Order = obj.Order;
     Label_Edit2.ComponentID = obj.ComponentID;
     obj._this.FindControl("divTitle").Controls.Add(Label_Edit2);
 }
Exemple #28
0
 public override void Edit2(ControlViewModel obj)
 {
 }
 public override void Display(ControlViewModel obj)
 {
     Console.WriteLine("Latex - II - Display");
 }