This commit is contained in:
manu 2013-10-23 19:32:25 +00:00
parent 6cf4af9c58
commit 8bff9be4ee

View file

@ -19,12 +19,8 @@ namespace DMX2
effetChange = true; 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 idCol = new Gtk.TreeViewColumn ();
var idCell = new Gtk.CellRendererText (); var idCell = new Gtk.CellRendererText ();
idCol.Title = "Num"; idCol.Title = "Num";
@ -80,6 +76,15 @@ namespace DMX2
lsMatrice = new Gtk.ListStore(typeof (SequenceurMaitre.Ligne)); // a modifier lsMatrice = new Gtk.ListStore(typeof (SequenceurMaitre.Ligne)); // a modifier
this.MatriceUI.Model = lsMatrice; this.MatriceUI.Model = lsMatrice;
}
public SeqMacroUI (SequenceurMacro s ) : base (s)
{
this.Build ();
titreLabel.Text = s.Name;
sequenceur = s;
ConstruitMatrice ();
} }