Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/reports@6388 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61pull/1/head
16 changed files with 134 additions and 94 deletions
@ -0,0 +1,51 @@
@@ -0,0 +1,51 @@
|
||||
/* |
||||
* Created by SharpDevelop. |
||||
* User: Peter Forstmeier |
||||
* Date: 08.08.2010 |
||||
* Time: 18:33 |
||||
* |
||||
* To change this template use Tools | Options | Coding | Edit Standard Headers. |
||||
*/ |
||||
|
||||
using System; |
||||
using System.ComponentModel; |
||||
using System.ComponentModel.Design; |
||||
|
||||
namespace ICSharpCode.Reports.Addin.Designer |
||||
{ |
||||
/// <summary>
|
||||
/// Description of GroupeHeaderDesigner.
|
||||
/// </summary>
|
||||
public class GroupHeaderDesigner:DataItemDesigner |
||||
{ |
||||
|
||||
private ISelectionService selectionService; |
||||
|
||||
public GroupHeaderDesigner() |
||||
{ |
||||
} |
||||
|
||||
public override void Initialize(IComponent component) |
||||
{ |
||||
base.Initialize(component); |
||||
} |
||||
|
||||
|
||||
|
||||
private void OnSelectionChanged(object sender, EventArgs e) |
||||
{ |
||||
Control.Invalidate( ); |
||||
} |
||||
|
||||
|
||||
private void GetService () |
||||
{ |
||||
selectionService = GetService(typeof(ISelectionService)) as ISelectionService; |
||||
if (selectionService != null) |
||||
{ |
||||
selectionService.SelectionChanged += OnSelectionChanged; |
||||
} |
||||
} |
||||
|
||||
} |
||||
} |
Loading…
Reference in new issue