예제 #1
0
        public override ToolPart[] GetToolParts()
        {
            WebPartToolPart = new ToolPart[3];

            WebPartToolPart[0] = new ChartControlToolpartBase();
            WebPartToolPart[1] = new WebPartToolPart();
            WebPartToolPart[2] = new CustomPropertyToolPart();

            return(WebPartToolPart);
        }
예제 #2
0
        public override ToolPart[] GetToolParts()
        {
            ToolPart[] toolparts = new ToolPart[3];
            toolparts[0] = new ListSummaryToolpart();
            toolparts[1] = new WebPartToolPart();
            toolparts[2] = new CustomPropertyToolPart();


            return(toolparts);
        }
예제 #3
0
 public override ToolPart[] GetToolParts()
 {
     ToolPart[] toolparts = new ToolPart[3];
     WebPartToolPart wptp = new WebPartToolPart();
     CustomPropertyToolPart cptp = new CustomPropertyToolPart();
     ToolpartDropDownList ctp = new ToolpartDropDownList();
     toolparts[0] = wptp;
     toolparts[1] = cptp;
     toolparts[2] = ctp;
     return toolparts;
 }
예제 #4
0
 public override ToolPart[] GetToolParts()
 {
     var toolparts = new ToolPart[3];
     var wptp = new WebPartToolPart();
     var cptp = new CustomPropertyToolPart();
     var ctp = new DropDownList1();
     toolparts[0] = wptp;
     toolparts[1] = cptp;
     toolparts[2] = ctp;
     return toolparts;
 }
예제 #5
0
파일: QNadv.cs 프로젝트: bebikashg/ttqn
 public override ToolPart[] GetToolParts()
 {
     var toolparts = new ToolPart[3];
     var wptp = new WebPartToolPart();
     var cptp = new CustomPropertyToolPart();
     var ctp = new AdvDdl(QCID.ToString());
     toolparts[0] = wptp;
     toolparts[1] = cptp;
     toolparts[2] = ctp;
     return toolparts;
 }
예제 #6
0
 public override ToolPart[] GetToolParts()
 {
     ToolPart[] toolparts = new ToolPart[3];
     WebPartToolPart wptp = new WebPartToolPart();
     CustomPropertyToolPart cptp = new CustomPropertyToolPart();
     SelectNewsType ctp = new SelectNewsType();
     toolparts[0] = wptp;
     toolparts[1] = cptp;
     toolparts[2] = ctp;
     return toolparts;
 }
예제 #7
0
        public override ToolPart[] GetToolParts()
        {
            ToolPart[] toolparts = new ToolPart[3];
            toolparts[0] = new WebPartToolPart();
            toolparts[1] = new CustomPropertyToolPart();

            //Create a custom toolpart
            toolparts[2] = new SummaryRollupToolpart();

            return(toolparts);
        }
예제 #8
0
        public override ToolPart[] GetToolParts()
        {
            var toolparts = new ToolPart[3];
            var wptp      = new WebPartToolPart();
            var cptp      = new CustomPropertyToolPart();
            var ctp       = new AdvDdl(QCID.ToString());

            toolparts[0] = wptp;
            toolparts[1] = cptp;
            toolparts[2] = ctp;
            return(toolparts);
        }
예제 #9
0
        public override ToolPart[] GetToolParts()
        {
            ToolPart[]             allToolsParts     = new ToolPart[3];
            WebPartToolPart        standardToolParts = new WebPartToolPart();
            CustomPropertyToolPart customToolParts   = new CustomPropertyToolPart();

            allToolsParts[0] = standardToolParts;
            allToolsParts[1] = customToolParts;
            allToolsParts[2] = new SimpleListItemToolPart();

            return(allToolsParts);
        }
예제 #10
0
        public override ToolPart[] GetToolParts()
        {
            ToolPart[]             toolparts = new ToolPart[3];
            WebPartToolPart        wptp      = new WebPartToolPart();
            CustomPropertyToolPart cptp      = new CustomPropertyToolPart();
            SelectNewsType         ctp       = new SelectNewsType();

            toolparts[0] = wptp;
            toolparts[1] = cptp;
            toolparts[2] = ctp;
            return(toolparts);
        }
예제 #11
0
        public override ToolPart[] GetToolParts()
        {
            ToolPart[] allToolsParts = new ToolPart[3];
            WebPartToolPart standardToolParts = new WebPartToolPart();
            CustomPropertyToolPart customToolParts = new CustomPropertyToolPart();

            allToolsParts[0] = standardToolParts;
            allToolsParts[1] = customToolParts;
            allToolsParts[2] = new SimpleListToolPart();

            return allToolsParts;
        }
예제 #12
0
        public override ToolPart[] GetToolParts()
        {
            var toolparts = new ToolPart[3];
            var wptp      = new WebPartToolPart();
            var cptp      = new CustomPropertyToolPart();
            var ctp       = new DropDownList1();

            toolparts[0] = wptp;
            toolparts[1] = cptp;
            toolparts[2] = ctp;
            return(toolparts);
        }
예제 #13
0
        public override ToolPart[] GetToolParts()
        {
            ToolPart[]             toolparts = new ToolPart[3];
            WebPartToolPart        wptp      = new WebPartToolPart();
            CustomPropertyToolPart cptp      = new CustomPropertyToolPart();
            ToolpartDropDownList   ctp       = new ToolpartDropDownList();

            toolparts[0] = wptp;
            toolparts[1] = cptp;
            toolparts[2] = ctp;
            return(toolparts);
        }
예제 #14
0
        public override ToolPart[] GetToolParts()
        {
            ToolPart[] toolparts = new ToolPart[4];

            toolparts[0]             = new WebPartToolPart();
            toolparts[1]             = new ListReportViewToolPart();
            toolparts[1].ChromeState = PartChromeState.Minimized;
            toolparts[2]             = new ReportingServicesToolPart();
            toolparts[2].ChromeState = PartChromeState.Minimized;
            toolparts[3]             = new CustomPropertyToolPart();

            return(toolparts);
        }
예제 #15
0
        public override ToolPart[] GetToolParts()
        {
            ToolPart[] toolparts = new ToolPart[3];
            WebPartToolPart wp1 = new WebPartToolPart();
            CustomPropertyToolPart wp2 = new CustomPropertyToolPart();
            ToolPartCustom wp3 = new ToolPartCustom();

            wp1.Expand(WebPartToolPart.Categories.Appearance);
            toolparts[0] = wp1;
            toolparts[1] = wp2;
            toolparts[2] = wp3;

            return toolparts;
        }
예제 #16
0
        /// <summary>
        ///	This method gets the custom tool parts for this Web Part by overriding the
        ///	GetToolParts method of the WebPart base class. You must implement
        ///	custom tool parts in a separate class that derives from 
        ///	Microsoft.SharePoint.WebPartPages.ToolPart. 
        ///	</summary>
        ///<returns>An array of references to ToolPart objects.</returns>
        public override ToolPart[] GetToolParts()
        {
            ToolPart[] objToolParts = new ToolPart[3];
            WebPartToolPart objWPTP = new WebPartToolPart();
            CustomPropertyToolPart objCustomToolPart = new CustomPropertyToolPart();
            objToolParts[0] = objCustomToolPart;
            objToolParts[1] = objWPTP;
            objToolParts[2] = new CopyrightToolpart();

            objWPTP.Expand(Microsoft.SharePoint.WebPartPages.WebPartToolPart.Categories.Appearance);
            objCustomToolPart.Expand("User Control");

            return objToolParts;
        }
        public override ToolPart[] GetToolParts()
        {
            ToolPart[] allToolsParts = new ToolPart[3];
            try
            {
                WebPartToolPart standardToolParts = new WebPartToolPart();
                CustomPropertyToolPart customToolParts = new CustomPropertyToolPart();

                allToolsParts[0] = standardToolParts;
                allToolsParts[1] = customToolParts;
                allToolsParts[2] = new SimpleListToolPart();
            }
            catch (Exception ex)
            {
                LogEngine.Log(ex, "Accessible Lists");
            }

            return allToolsParts;
        }
        public override ToolPart[] GetToolParts()
        {
            try
            {
                ToolPart[]      toolparts       = new ToolPart[3];
                KWizComToolPart kwizcomToolPart = new KWizComToolPart();

                CustomPropertyToolPart custom = new CustomPropertyToolPart();
                WebPartToolPart        wptp   = new WebPartToolPart();

                toolparts[0] = kwizcomToolPart;
                toolparts[1] = custom;
                toolparts[2] = wptp;
                return(toolparts);
            }
            catch (Exception ex)
            { AddError(ex); }
            return(null);
        }
        /// <summary>
        /// Add a ListConnectionToolPart to enable users to easily select data sources.
        /// </summary>
        /// <returns></returns>
        public override ToolPart[] GetToolParts()
        {
            try
            {
                ToolPart[]             toolparts = new ToolPart[3];
                ListConnectionToolPart listConnectionToolPart = new ListConnectionToolPart();

                CustomPropertyToolPart custom = new CustomPropertyToolPart();
                WebPartToolPart        wptp   = new WebPartToolPart();

                toolparts[0] = listConnectionToolPart;
                toolparts[1] = wptp;
                toolparts[2] = custom;
                return(toolparts);
            }
            catch (Exception ex)
            { AddError(ex); }
            return(null);
        }
예제 #20
0
        public override ToolPart[] GetToolParts()
        {
            ToolPart[] allToolsParts = new ToolPart[3];
            try
            {
                WebPartToolPart        standardToolParts = new WebPartToolPart();
                CustomPropertyToolPart customToolParts   = new CustomPropertyToolPart();

                allToolsParts[0] = standardToolParts;
                allToolsParts[1] = customToolParts;
                allToolsParts[2] = new SimpleListToolPart();
            }
            catch (Exception ex)
            {
                LogEngine.Log(ex, "Accessible Lists");
            }

            return(allToolsParts);
        }
예제 #21
0
        /// <summary>
        /// Method retrievs the toolpart for the calendar
        /// </summary>
        /// <returns></returns>
        public override ToolPart[] GetToolParts()
        {
            ToolPart[] toolparts = new ToolPart[3];
            WebPartToolPart wptp = new WebPartToolPart();
            CustomPropertyToolPart custom = new CustomPropertyToolPart();
            toolparts[0] = custom;
            toolparts[1] = wptp;

            toolparts[2] = new NCMiniCalendarToolpart();

            return toolparts;
        }