Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asynchronous export add temmplates combo box #6

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
5d3689c
The templates comboBox was added to FormMain of Edit_In_the_Designer …
kenvnus Feb 19, 2020
312a4ed
Update Features.md
kenvnus Feb 20, 2020
5626cd3
Requirements for feature templates drop down list in Edit dashboard i…
kenvnus Feb 21, 2020
5d917ce
feature 1 drop down list on Edit Dash Board in Designer project
kenvnus Feb 23, 2020
c8ea568
Merge branch 'Edit-Dashboard-In-designer-Add-templates-drop-down-list…
kenvnus Feb 24, 2020
8c94819
Create backlog.md
kenvnus Feb 26, 2020
1f2336f
Update Features.md
kenvnus Mar 10, 2020
61ccb5f
issue 2 adding template to register data for dashboard template
kenvnus Mar 10, 2020
b5c31f7
Update Features.md
kenvnus Mar 12, 2020
5337749
Update backlog.md
kenvnus Mar 20, 2020
d30ba3f
user story 2, issue 2
kenvnus Mar 26, 2020
c30c457
Issue2 RegisterDashboard Project March25
kenvnus Mar 26, 2020
ce6d746
Added 2 more items (Financial and Fitness Stats to the comboBox) by a…
kenvnus Mar 27, 2020
1b984d6
Merge branch 'Edit-Dashboard-In-designer-Add-templates-drop-down-list…
kenvnus Mar 30, 2020
d1bff7d
Update Features.md
kenvnus Apr 2, 2020
38daf08
Update Features.md
kenvnus Apr 7, 2020
73f2034
Merge pull request #2 from kenvnus/Issue2_RegisterDashboard
kenvnus Apr 7, 2020
4971c3f
Update Features.md
kenvnus Apr 11, 2020
b9d2cc0
Update Features.md
kenvnus Apr 11, 2020
d01712c
The Asynchronous Export project only uses 1 Christmas template and 3 …
kenvnus Apr 19, 2020
9ab29d7
Merge branch 'Add-a-Custom-Function-adding-templates' into Asynchrono…
kenvnus Apr 19, 2020
82fb87b
issue4 add Word and HTML format type to export dashboard project
kenvnus Apr 19, 2020
41240b7
Adding new format types and new templates
kenvnus Apr 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .vs/WinForms Samples/v15/.suo
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,015 changes: 1,015 additions & 0 deletions .vs/config/applicationhost.config

Large diffs are not rendered by default.

92 changes: 46 additions & 46 deletions Add a Custom Function/Add a Custom Function.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,76 +33,76 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="LibExcel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.1.1\lib\net45\LibExcel.dll</HintPath>
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.2.1\lib\net45\LibExcel.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Base, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.1.1\lib\net45\Stimulsoft.Base.dll</HintPath>
<Reference Include="Stimulsoft.Base, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.2.1\lib\net45\Stimulsoft.Base.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Controls, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.1.1\lib\net45\Stimulsoft.Controls.dll</HintPath>
<Reference Include="Stimulsoft.Controls, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.2.1\lib\net45\Stimulsoft.Controls.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Controls.Win, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.1.1\lib\net45\Stimulsoft.Controls.Win.dll</HintPath>
<Reference Include="Stimulsoft.Controls.Win, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.2.1\lib\net45\Stimulsoft.Controls.Win.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Dashboard, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.1.1\lib\net45\Stimulsoft.Dashboard.dll</HintPath>
<Reference Include="Stimulsoft.Dashboard, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.2.1\lib\net45\Stimulsoft.Dashboard.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Dashboard.Design, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.1.1\lib\net45\Stimulsoft.Dashboard.Design.dll</HintPath>
<Reference Include="Stimulsoft.Dashboard.Design, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.2.1\lib\net45\Stimulsoft.Dashboard.Design.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Dashboard.Drawing, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.1.1\lib\net45\Stimulsoft.Dashboard.Drawing.dll</HintPath>
<Reference Include="Stimulsoft.Dashboard.Drawing, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.2.1\lib\net45\Stimulsoft.Dashboard.Drawing.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Dashboard.Drawing.Wpf, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.1.1\lib\net45\Stimulsoft.Dashboard.Drawing.Wpf.dll</HintPath>
<Reference Include="Stimulsoft.Dashboard.Drawing.Wpf, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.2.1\lib\net45\Stimulsoft.Dashboard.Drawing.Wpf.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Dashboard.Export, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.1.1\lib\net45\Stimulsoft.Dashboard.Export.dll</HintPath>
<Reference Include="Stimulsoft.Dashboard.Export, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.2.1\lib\net45\Stimulsoft.Dashboard.Export.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Dashboard.Viewer, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.1.1\lib\net45\Stimulsoft.Dashboard.Viewer.dll</HintPath>
<Reference Include="Stimulsoft.Dashboard.Viewer, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.2.1\lib\net45\Stimulsoft.Dashboard.Viewer.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Dashboard.Viewer.Wpf, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.1.1\lib\net45\Stimulsoft.Dashboard.Viewer.Wpf.dll</HintPath>
<Reference Include="Stimulsoft.Dashboard.Viewer.Wpf, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.2.1\lib\net45\Stimulsoft.Dashboard.Viewer.Wpf.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Data, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.1.1\lib\net45\Stimulsoft.Data.dll</HintPath>
<Reference Include="Stimulsoft.Data, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.2.1\lib\net45\Stimulsoft.Data.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Database, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.1.1\lib\net45\Stimulsoft.Database.dll</HintPath>
<Reference Include="Stimulsoft.Database, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.2.1\lib\net45\Stimulsoft.Database.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Design, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.1.1\lib\net45\Stimulsoft.Design.dll</HintPath>
<Reference Include="Stimulsoft.Design, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.2.1\lib\net45\Stimulsoft.Design.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Editor, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.1.1\lib\net45\Stimulsoft.Editor.dll</HintPath>
<Reference Include="Stimulsoft.Editor, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.2.1\lib\net45\Stimulsoft.Editor.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Map, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.1.1\lib\net45\Stimulsoft.Map.dll</HintPath>
<Reference Include="Stimulsoft.Map, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.2.1\lib\net45\Stimulsoft.Map.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Report, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.1.1\lib\net45\Stimulsoft.Report.dll</HintPath>
<Reference Include="Stimulsoft.Report, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.2.1\lib\net45\Stimulsoft.Report.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Report.Check, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.1.1\lib\net45\Stimulsoft.Report.Check.dll</HintPath>
<Reference Include="Stimulsoft.Report.Check, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.2.1\lib\net45\Stimulsoft.Report.Check.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Report.Design, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.1.1\lib\net45\Stimulsoft.Report.Design.dll</HintPath>
<Reference Include="Stimulsoft.Report.Design, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.2.1\lib\net45\Stimulsoft.Report.Design.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Report.Helper, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.1.1\lib\net45\Stimulsoft.Report.Helper.dll</HintPath>
<Reference Include="Stimulsoft.Report.Helper, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.2.1\lib\net45\Stimulsoft.Report.Helper.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Report.Web, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.1.1\lib\net45\Stimulsoft.Report.Web.dll</HintPath>
<Reference Include="Stimulsoft.Report.Web, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.2.1\lib\net45\Stimulsoft.Report.Web.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Report.Win, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.1.1\lib\net45\Stimulsoft.Report.Win.dll</HintPath>
<Reference Include="Stimulsoft.Report.Win, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Net.2020.2.1\lib\net45\Stimulsoft.Report.Win.dll</HintPath>
</Reference>
<Reference Include="Stimulsoft.Report.Wpf, Version=2020.1.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.1.1\lib\net45\Stimulsoft.Report.Wpf.dll</HintPath>
<Reference Include="Stimulsoft.Report.Wpf, Version=2020.2.1.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Dashboards.Win.2020.2.1\lib\net45\Stimulsoft.Report.Wpf.dll</HintPath>
</Reference>
<Reference Include="Svg, Version=2.4.3.29446, Culture=neutral, PublicKeyToken=12a0bac221edeae2, processorArchitecture=MSIL">
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.1.1\lib\net45\Svg.dll</HintPath>
<HintPath>..\packages\Stimulsoft.Reports.Engine.2020.2.1\lib\net45\Svg.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
35 changes: 30 additions & 5 deletions Add a Custom Function/FormMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 34 additions & 1 deletion Add a Custom Function/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System;
using System.Linq;
using System.Windows.Forms;
using System.Collections.Generic;

namespace Add_a_Custom_Function
{
Expand Down Expand Up @@ -31,6 +32,17 @@ public FormMain()
//Stimulsoft.Base.StiLicense.LoadFromFile("license.key");
//Stimulsoft.Base.StiLicense.LoadFromStream(stream);

var dict = new Dictionary<string, string>
{
{"Select a template",""},
{"Christmas","Dashboards\\Christmas.mrt"},
{"Exchange Tenders","Dashboards\\Exchange Tenders.mrt"},
{"Fast Food Lunch","Dashboards\\Fast Food Lunch.mrt"}
};
cmbTemplates.DataSource = new BindingSource(dict, null);
cmbTemplates.DisplayMember = "Key";
cmbTemplates.ValueMember = "Value";

AddCustomFunction();
}

Expand All @@ -46,12 +58,33 @@ private void AddCustomFunction()
new[] { "A set of values" }).UseFullPath = false;
}

///Modified by Ken Huynh, 4/19/2020, adding more templates and comboBox

private void buttonDesigner_Click(object sender, EventArgs e)
{
var report = StiReport.CreateNewDashboard();
report.Load("Dashboards\\Christmas.mrt");
if (cmbTemplates.SelectedValue != null)
{
string key = ((KeyValuePair<String, String>)cmbTemplates.SelectedItem).Key;
string value = ((KeyValuePair<String, String>)cmbTemplates.SelectedItem).Value;
//MessageBox.Show(key + " , " + value);
report.Load(value);
}
else
{
report.Load("Dashboards\\Christmas.mrt");
}

report.Design();
}

///Original code, Ken Huynh, 4/19/2020
//private void buttonDesigner_Click(object sender, EventArgs e)
//{
// var report = StiReport.CreateNewDashboard();
// report.Load("Dashboards\\Christmas.mrt");

// report.Design();
//}
}
}
5 changes: 5 additions & 0 deletions Add a Custom Function/Localization/en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@
<StripsEditorForm>Strips Editor Form</StripsEditorForm>
<Style>Style</Style>
<Treemap>Treemap</Treemap>
<Sunburst>Sunburst</Sunburst>
<Waterfall>Waterfall</Waterfall>
</Chart>
<CharterMapEditor>
<Characters>Characters</Characters>
Expand Down Expand Up @@ -3304,6 +3306,7 @@
<ZigZag>Zig Zag</ZigZag>
</PropertyHatchStyle>
<PropertyMain>
<ParetoSeriesColors>Pareto Series Colors</ParetoSeriesColors>
<AcceptsReturn>Accepts Return</AcceptsReturn>
<AcceptsTab>Accepts Tab</AcceptsTab>
<Actual>Actual</Actual>
Expand All @@ -3318,6 +3321,7 @@
<AllowApplyBrushNegative>Allow Apply Brush Negative</AllowApplyBrushNegative>
<AllowApplyColorNegative>Allow Apply Color Negative</AllowApplyColorNegative>
<AllowApplyStyle>Allow Apply Style</AllowApplyStyle>
<AllowApplyLineColor>Allow Apply Line Color</AllowApplyLineColor>
<AllowExpressions>Allow Expressions</AllowExpressions>
<AllowHtmlTags>Allow HTML Tags</AllowHtmlTags>
<AllowSeries>Allow Series</AllowSeries>
Expand Down Expand Up @@ -3697,6 +3701,7 @@
<IndividualColor>Individual Color</IndividualColor>
<InitBy>Init by</InitBy>
<InitialSelection>Initial Selection</InitialSelection>
<InitialSelectionSource>Initial Selection Source</InitialSelectionSource>
<Insert>Insert</Insert>
<Interaction>Interaction</Interaction>
<InterlacedBrush>Interlaced Brush</InterlacedBrush>
Expand Down
Loading