From 8bff9be4ee8c1fe855b082cc14e32c37178ba4db Mon Sep 17 00:00:00 2001 From: manu Date: Wed, 23 Oct 2013 19:32:25 +0000 Subject: [PATCH] suite --- DMX-2.0/SeqMacroUI.cs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/DMX-2.0/SeqMacroUI.cs b/DMX-2.0/SeqMacroUI.cs index 86caa4c..0778ffc 100644 --- a/DMX-2.0/SeqMacroUI.cs +++ b/DMX-2.0/SeqMacroUI.cs @@ -19,12 +19,8 @@ namespace DMX2 effetChange = true; } - public SeqMacroUI (SequenceurMacro s ) : base (s) + protected void ConstruitMatrice () { - this.Build (); - titreLabel.Text = s.Name; - sequenceur = s; - var idCol = new Gtk.TreeViewColumn (); var idCell = new Gtk.CellRendererText (); idCol.Title = "Num"; @@ -80,6 +76,15 @@ namespace DMX2 lsMatrice = new Gtk.ListStore(typeof (SequenceurMaitre.Ligne)); // a modifier this.MatriceUI.Model = lsMatrice; + } + + public SeqMacroUI (SequenceurMacro s ) : base (s) + { + this.Build (); + titreLabel.Text = s.Name; + sequenceur = s; + ConstruitMatrice (); + }