コード例 #1
0
        private void BuildChartLegendTabs()
        {
            this.Text = "Chart Legend Properties";

            XmlNode cNode = _Nodes[0];
            XmlNode lNode = _Draw.GetCreateNamedChildNode(cNode, "Legend");

            // Now we replace the node array with a new one containing only the legend
            _Nodes = new List <XmlNode>();
            _Nodes.Add(lNode);

            EnsureStyle();      // Make sure we have Style nodes

            // Chart Legend
            ChartLegendCtl clc = new ChartLegendCtl(_Draw, this._Nodes);

            AddTab("Legend", clc);

            // Style Text
            StyleTextCtl stc = new StyleTextCtl(_Draw, this._Nodes);

            AddTab("Text", stc);

            // Border tab
            StyleBorderCtl bc = new StyleBorderCtl(_Draw, null, this._Nodes);

            AddTab("Border", bc);

            // Style tab
            StyleCtl sc = new StyleCtl(_Draw, this._Nodes);

            AddTab("Style", sc);
        }
コード例 #2
0
        private void BuildChartLegendTabs()
        {
            Text = Strings.PropertyDialog_BuildChartLegendTabs_ChartLegendProperties;

            XmlNode cNode = _Nodes[0];
            XmlNode lNode = _Draw.GetCreateNamedChildNode(cNode, "Legend");

            // Now we replace the node array with a new one containing only the legend
            _Nodes = new List <XmlNode>();
            _Nodes.Add(lNode);

            EnsureStyle();      // Make sure we have Style nodes

            // Chart Legend
            var clc = new ChartLegendCtl(_Draw, _Nodes);

            AddTab(Strings.PropertyDialog_BuildChartLegendTabs_Legend, clc);

            // Style Text
            var stc = new StyleTextCtl(_Draw, _Nodes, this);

            AddTab(Strings.PropertyDialog_BuildReportItemTabs_Text, stc);

            // Border tab
            var bc = new StyleBorderCtl(_Draw, null, _Nodes);

            AddTab(Strings.PropertyDialog_BuildReportItemTabs_Border, bc);

            // Style tab
            var sc = new StyleCtl(_Draw, _Nodes);

            AddTab(Strings.PropertyDialog_BuildReportItemTabs_Style, sc);
        }
コード例 #3
0
        private void BuildChartLegendTabs()
        {
            Text = Strings.PropertyDialog_BuildChartLegendTabs_ChartLegendProperties;

            XmlNode cNode = _Nodes[0];
            XmlNode lNode = _Draw.GetCreateNamedChildNode(cNode, "Legend");

            // Now we replace the node array with a new one containing only the legend
            _Nodes = new List<XmlNode>();
            _Nodes.Add(lNode);

            EnsureStyle();	// Make sure we have Style nodes

            // Chart Legend
            var clc = new ChartLegendCtl(_Draw, _Nodes);
            AddTab(Strings.PropertyDialog_BuildChartLegendTabs_Legend, clc);

            // Style Text
            var stc = new StyleTextCtl(_Draw, _Nodes);
            AddTab(Strings.PropertyDialog_BuildReportItemTabs_Text, stc);

            // Border tab
            var bc = new StyleBorderCtl(_Draw, null, _Nodes);
			AddTab(Strings.PropertyDialog_BuildReportItemTabs_Border, bc);

            // Style tab
            var sc = new StyleCtl(_Draw, _Nodes);
			AddTab(Strings.PropertyDialog_BuildReportItemTabs_Style, sc);
        }
コード例 #4
0
		private void BuildChartLegendTabs()
		{
			this.Text = "Chart Legend Properties";

			XmlNode cNode = _Nodes[0];
			XmlNode lNode = _Draw.GetCreateNamedChildNode(cNode, "Legend");

			// Now we replace the node array with a new one containing only the legend
            _Nodes = new List<XmlNode>();
			_Nodes.Add(lNode);

			EnsureStyle();	// Make sure we have Style nodes

			// Chart Legend
			ChartLegendCtl clc = new ChartLegendCtl(_Draw, this._Nodes);
			AddTab("Legend", clc);

			// Style Text
			StyleTextCtl stc = new StyleTextCtl(_Draw, this._Nodes);
			AddTab("Text", stc);

			// Border tab
			StyleBorderCtl bc = new StyleBorderCtl(_Draw, this._Nodes);
			AddTab("Border", bc);

			// Style tab
			StyleCtl sc = new StyleCtl(_Draw, this._Nodes);
			AddTab("Style", sc);
		}