[longomatch] Use C# 3.0 properties
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Use C# 3.0 properties
- Date: Wed, 29 Sep 2010 20:46:22 +0000 (UTC)
commit c0a066b09e221246e8b29f09b845e2abdee4e176
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Sep 28 17:00:20 2010 +0200
Use C# 3.0 properties
LongoMatch/Gui/TreeView/PlayersTreeView.cs | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/LongoMatch/Gui/TreeView/PlayersTreeView.cs b/LongoMatch/Gui/TreeView/PlayersTreeView.cs
index 81c47fb..89f9ea7 100644
--- a/LongoMatch/Gui/TreeView/PlayersTreeView.cs
+++ b/LongoMatch/Gui/TreeView/PlayersTreeView.cs
@@ -35,7 +35,7 @@ namespace LongoMatch.Gui.Component
public PlayersTreeView() {
- team = Team.LOCAL;
+ this.Team = Team.LOCAL;
tag.Visible = false;
players.Visible = false;
delete.Visible = false;
@@ -43,12 +43,8 @@ namespace LongoMatch.Gui.Component
}
public Team Team {
- set {
- team = value;
- }
- get {
- return team ;
- }
+ set;
+ get;
}
new public TreeStore Model{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]