Last change
on this file since 1802 was
1530,
checked in by gkronber, 16 years ago
|
Moved source files of plugins Hive ... Visualization.Test into version-specific sub-folders. #576
|
File size:
548 bytes
|
Rev | Line | |
---|
[872] | 1 | using System.Drawing;
|
---|
[865] | 2 | using System.Windows.Forms;
|
---|
[1233] | 3 | using HeuristicLab.Visualization.Legend;
|
---|
[865] | 4 |
|
---|
| 5 | namespace HeuristicLab.Visualization.Test {
|
---|
| 6 | public partial class LegendForm : Form {
|
---|
| 7 | public LegendForm() {
|
---|
| 8 | InitializeComponent();
|
---|
[872] | 9 |
|
---|
| 10 | CreateLegendShape();
|
---|
[865] | 11 | }
|
---|
[872] | 12 |
|
---|
| 13 | private void CreateLegendShape() {
|
---|
[1195] | 14 | LegendShape ls = new LegendShape();
|
---|
[1048] | 15 | ls.AddLegendItem(new LegendItem("test", Color.Black, 5));
|
---|
| 16 | ls.AddLegendItem(new LegendItem("test2", Color.Red, 5));
|
---|
[872] | 17 |
|
---|
[1240] | 18 | canvasUI.Canvas.AddShape(ls);
|
---|
[872] | 19 | }
|
---|
[865] | 20 | }
|
---|
[872] | 21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.