357 lines
14 KiB
C#
357 lines
14 KiB
C#
|
|
// This file has been generated by the GUI designer. Do not modify.
|
|
namespace DMX2
|
|
{
|
|
public partial class EditionUnivers
|
|
{
|
|
private global::Gtk.UIManager UIManager;
|
|
|
|
private global::Gtk.HBox hbox2;
|
|
|
|
private global::Gtk.Label labelU;
|
|
|
|
private global::Gtk.ComboBox cbUnivers;
|
|
|
|
private global::Gtk.HBox hbox3;
|
|
|
|
private global::Gtk.Button btAdd;
|
|
|
|
private global::Gtk.Button btDel;
|
|
|
|
private global::Gtk.Button btReset;
|
|
|
|
private global::Gtk.Button btPatchDroit;
|
|
|
|
private global::Gtk.HSeparator hseparator1;
|
|
|
|
private global::Gtk.HBox hbox1;
|
|
|
|
private global::Gtk.ToggleButton btAllume;
|
|
|
|
private global::Gtk.SpinButton spinDimmer;
|
|
|
|
private global::Gtk.Label label6;
|
|
|
|
private global::Gtk.ComboBox cbCircuit;
|
|
|
|
private global::Gtk.ComboBox cbFT;
|
|
|
|
private global::Gtk.Label lbParam1;
|
|
|
|
private global::Gtk.Entry txtParam1;
|
|
|
|
private global::Gtk.Label lbParam2;
|
|
|
|
private global::Gtk.Entry txtParam2;
|
|
|
|
private global::Gtk.Notebook notebook1;
|
|
|
|
private global::Gtk.ScrolledWindow GtkScrolledWindow;
|
|
|
|
private global::Gtk.TreeView tvDimm;
|
|
|
|
private global::Gtk.Label label2;
|
|
|
|
private global::Gtk.ScrolledWindow GtkScrolledWindow1;
|
|
|
|
private global::Gtk.TreeView tvCircuits;
|
|
|
|
private global::Gtk.Label label5;
|
|
|
|
private global::Gtk.Button buttonCancel;
|
|
|
|
protected virtual void Build()
|
|
{
|
|
global::Stetic.Gui.Initialize(this);
|
|
// Widget DMX2.EditionUnivers
|
|
this.UIManager = new global::Gtk.UIManager();
|
|
global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
|
|
this.UIManager.InsertActionGroup(w1, 0);
|
|
this.AddAccelGroup(this.UIManager.AccelGroup);
|
|
this.Name = "DMX2.EditionUnivers";
|
|
this.TypeHint = ((global::Gdk.WindowTypeHint)(5));
|
|
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
|
|
// Internal child DMX2.EditionUnivers.VBox
|
|
global::Gtk.VBox w2 = this.VBox;
|
|
w2.Name = "dialog1_VBox";
|
|
w2.BorderWidth = ((uint)(2));
|
|
// Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
this.hbox2 = new global::Gtk.HBox();
|
|
this.hbox2.Name = "hbox2";
|
|
this.hbox2.Spacing = 6;
|
|
// Container child hbox2.Gtk.Box+BoxChild
|
|
this.labelU = new global::Gtk.Label();
|
|
this.labelU.Name = "labelU";
|
|
this.labelU.LabelProp = "Univers :";
|
|
this.hbox2.Add(this.labelU);
|
|
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelU]));
|
|
w3.Position = 0;
|
|
w3.Expand = false;
|
|
w3.Fill = false;
|
|
// Container child hbox2.Gtk.Box+BoxChild
|
|
this.cbUnivers = global::Gtk.ComboBox.NewText();
|
|
this.cbUnivers.Name = "cbUnivers";
|
|
this.hbox2.Add(this.cbUnivers);
|
|
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.cbUnivers]));
|
|
w4.Position = 1;
|
|
w4.Expand = false;
|
|
w4.Fill = false;
|
|
// Container child hbox2.Gtk.Box+BoxChild
|
|
this.hbox3 = new global::Gtk.HBox();
|
|
this.hbox3.Name = "hbox3";
|
|
this.hbox3.Spacing = 6;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btAdd = new global::Gtk.Button();
|
|
this.btAdd.CanFocus = true;
|
|
this.btAdd.Name = "btAdd";
|
|
this.btAdd.UseUnderline = true;
|
|
this.btAdd.Label = "Nouvel Univers";
|
|
global::Gtk.Image w5 = new global::Gtk.Image();
|
|
w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
|
|
this.btAdd.Image = w5;
|
|
this.hbox3.Add(this.btAdd);
|
|
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btAdd]));
|
|
w6.Position = 0;
|
|
w6.Expand = false;
|
|
w6.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btDel = new global::Gtk.Button();
|
|
this.btDel.Sensitive = false;
|
|
this.btDel.CanFocus = true;
|
|
this.btDel.Name = "btDel";
|
|
this.btDel.UseUnderline = true;
|
|
this.btDel.Label = "Supprimer";
|
|
global::Gtk.Image w7 = new global::Gtk.Image();
|
|
w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu);
|
|
this.btDel.Image = w7;
|
|
this.hbox3.Add(this.btDel);
|
|
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btDel]));
|
|
w8.Position = 1;
|
|
w8.Expand = false;
|
|
w8.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btReset = new global::Gtk.Button();
|
|
this.btReset.CanFocus = true;
|
|
this.btReset.Name = "btReset";
|
|
this.btReset.UseUnderline = true;
|
|
this.btReset.Label = "Réinitialiser";
|
|
global::Gtk.Image w9 = new global::Gtk.Image();
|
|
w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu);
|
|
this.btReset.Image = w9;
|
|
this.hbox3.Add(this.btReset);
|
|
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btReset]));
|
|
w10.PackType = ((global::Gtk.PackType)(1));
|
|
w10.Position = 3;
|
|
w10.Expand = false;
|
|
w10.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btPatchDroit = new global::Gtk.Button();
|
|
this.btPatchDroit.CanFocus = true;
|
|
this.btPatchDroit.Name = "btPatchDroit";
|
|
this.btPatchDroit.UseUnderline = true;
|
|
this.btPatchDroit.Label = "Patch Droit";
|
|
global::Gtk.Image w11 = new global::Gtk.Image();
|
|
w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-sort-ascending", global::Gtk.IconSize.Menu);
|
|
this.btPatchDroit.Image = w11;
|
|
this.hbox3.Add(this.btPatchDroit);
|
|
global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btPatchDroit]));
|
|
w12.PackType = ((global::Gtk.PackType)(1));
|
|
w12.Position = 4;
|
|
w12.Expand = false;
|
|
w12.Fill = false;
|
|
this.hbox2.Add(this.hbox3);
|
|
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hbox3]));
|
|
w13.Position = 2;
|
|
w2.Add(this.hbox2);
|
|
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(w2[this.hbox2]));
|
|
w14.Position = 0;
|
|
w14.Expand = false;
|
|
w14.Fill = false;
|
|
// Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
this.hseparator1 = new global::Gtk.HSeparator();
|
|
this.hseparator1.HeightRequest = 24;
|
|
this.hseparator1.Name = "hseparator1";
|
|
w2.Add(this.hseparator1);
|
|
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w2[this.hseparator1]));
|
|
w15.Position = 1;
|
|
w15.Expand = false;
|
|
w15.Fill = false;
|
|
// Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
this.hbox1 = new global::Gtk.HBox();
|
|
this.hbox1.Name = "hbox1";
|
|
this.hbox1.Spacing = 6;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.btAllume = new global::Gtk.ToggleButton();
|
|
this.btAllume.CanFocus = true;
|
|
this.btAllume.Name = "btAllume";
|
|
this.btAllume.UseUnderline = true;
|
|
this.btAllume.Label = "Allumer !";
|
|
global::Gtk.Image w16 = new global::Gtk.Image();
|
|
w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-find", global::Gtk.IconSize.Menu);
|
|
this.btAllume.Image = w16;
|
|
this.hbox1.Add(this.btAllume);
|
|
global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btAllume]));
|
|
w17.Position = 0;
|
|
w17.Expand = false;
|
|
w17.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.spinDimmer = new global::Gtk.SpinButton(1D, 512D, 1D);
|
|
this.spinDimmer.CanFocus = true;
|
|
this.spinDimmer.Name = "spinDimmer";
|
|
this.spinDimmer.Adjustment.PageIncrement = 10D;
|
|
this.spinDimmer.ClimbRate = 1D;
|
|
this.spinDimmer.Numeric = true;
|
|
this.spinDimmer.Value = 1D;
|
|
this.hbox1.Add(this.spinDimmer);
|
|
global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.spinDimmer]));
|
|
w18.Position = 1;
|
|
w18.Expand = false;
|
|
w18.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.label6 = new global::Gtk.Label();
|
|
this.label6.Name = "label6";
|
|
this.label6.LabelProp = "Circuit :";
|
|
this.hbox1.Add(this.label6);
|
|
global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label6]));
|
|
w19.Position = 2;
|
|
w19.Expand = false;
|
|
w19.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.cbCircuit = global::Gtk.ComboBox.NewText();
|
|
this.cbCircuit.Name = "cbCircuit";
|
|
this.hbox1.Add(this.cbCircuit);
|
|
global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.cbCircuit]));
|
|
w20.Position = 3;
|
|
w20.Expand = false;
|
|
w20.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.cbFT = global::Gtk.ComboBox.NewText();
|
|
this.cbFT.Name = "cbFT";
|
|
this.hbox1.Add(this.cbFT);
|
|
global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.cbFT]));
|
|
w21.Position = 4;
|
|
w21.Expand = false;
|
|
w21.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.lbParam1 = new global::Gtk.Label();
|
|
this.lbParam1.Name = "lbParam1";
|
|
this.lbParam1.LabelProp = "param 1";
|
|
this.hbox1.Add(this.lbParam1);
|
|
global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lbParam1]));
|
|
w22.Position = 5;
|
|
w22.Expand = false;
|
|
w22.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.txtParam1 = new global::Gtk.Entry();
|
|
this.txtParam1.CanFocus = true;
|
|
this.txtParam1.Name = "txtParam1";
|
|
this.txtParam1.IsEditable = true;
|
|
this.txtParam1.InvisibleChar = '•';
|
|
this.hbox1.Add(this.txtParam1);
|
|
global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.txtParam1]));
|
|
w23.Position = 6;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.lbParam2 = new global::Gtk.Label();
|
|
this.lbParam2.Name = "lbParam2";
|
|
this.lbParam2.LabelProp = "param2";
|
|
this.hbox1.Add(this.lbParam2);
|
|
global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lbParam2]));
|
|
w24.Position = 7;
|
|
w24.Expand = false;
|
|
w24.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.txtParam2 = new global::Gtk.Entry();
|
|
this.txtParam2.CanFocus = true;
|
|
this.txtParam2.Name = "txtParam2";
|
|
this.txtParam2.IsEditable = true;
|
|
this.txtParam2.InvisibleChar = '•';
|
|
this.hbox1.Add(this.txtParam2);
|
|
global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.txtParam2]));
|
|
w25.Position = 8;
|
|
w2.Add(this.hbox1);
|
|
global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(w2[this.hbox1]));
|
|
w26.Position = 2;
|
|
w26.Expand = false;
|
|
w26.Fill = false;
|
|
// Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
this.notebook1 = new global::Gtk.Notebook();
|
|
this.notebook1.CanFocus = true;
|
|
this.notebook1.Name = "notebook1";
|
|
this.notebook1.CurrentPage = 0;
|
|
// Container child notebook1.Gtk.Notebook+NotebookChild
|
|
this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
|
|
this.GtkScrolledWindow.Name = "GtkScrolledWindow";
|
|
this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
|
|
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
|
|
this.tvDimm = new global::Gtk.TreeView();
|
|
this.tvDimm.CanFocus = true;
|
|
this.tvDimm.Name = "tvDimm";
|
|
this.GtkScrolledWindow.Add(this.tvDimm);
|
|
this.notebook1.Add(this.GtkScrolledWindow);
|
|
// Notebook tab
|
|
this.label2 = new global::Gtk.Label();
|
|
this.label2.Name = "label2";
|
|
this.label2.LabelProp = "Patch";
|
|
this.notebook1.SetTabLabel(this.GtkScrolledWindow, this.label2);
|
|
this.label2.ShowAll();
|
|
// Container child notebook1.Gtk.Notebook+NotebookChild
|
|
this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow();
|
|
this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
|
|
this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
|
|
// Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
|
|
this.tvCircuits = new global::Gtk.TreeView();
|
|
this.tvCircuits.CanFocus = true;
|
|
this.tvCircuits.Name = "tvCircuits";
|
|
this.GtkScrolledWindow1.Add(this.tvCircuits);
|
|
this.notebook1.Add(this.GtkScrolledWindow1);
|
|
global::Gtk.Notebook.NotebookChild w30 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow1]));
|
|
w30.Position = 1;
|
|
// Notebook tab
|
|
this.label5 = new global::Gtk.Label();
|
|
this.label5.Name = "label5";
|
|
this.label5.LabelProp = "Patch Rapide";
|
|
this.notebook1.SetTabLabel(this.GtkScrolledWindow1, this.label5);
|
|
this.label5.ShowAll();
|
|
w2.Add(this.notebook1);
|
|
global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w2[this.notebook1]));
|
|
w31.Position = 3;
|
|
// Internal child DMX2.EditionUnivers.ActionArea
|
|
global::Gtk.HButtonBox w32 = this.ActionArea;
|
|
w32.Name = "dialog1_ActionArea";
|
|
w32.Spacing = 10;
|
|
w32.BorderWidth = ((uint)(5));
|
|
w32.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
|
|
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
|
|
this.buttonCancel = new global::Gtk.Button();
|
|
this.buttonCancel.CanDefault = true;
|
|
this.buttonCancel.CanFocus = true;
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.UseStock = true;
|
|
this.buttonCancel.UseUnderline = true;
|
|
this.buttonCancel.Label = "gtk-close";
|
|
this.AddActionWidget(this.buttonCancel, -7);
|
|
global::Gtk.ButtonBox.ButtonBoxChild w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32[this.buttonCancel]));
|
|
w33.Expand = false;
|
|
w33.Fill = false;
|
|
if ((this.Child != null))
|
|
{
|
|
this.Child.ShowAll();
|
|
}
|
|
this.DefaultWidth = 771;
|
|
this.DefaultHeight = 483;
|
|
this.Show();
|
|
this.cbUnivers.Changed += new global::System.EventHandler(this.OnCbUniversChanged);
|
|
this.btAdd.Clicked += new global::System.EventHandler(this.OnBtAddClicked);
|
|
this.btPatchDroit.Clicked += new global::System.EventHandler(this.OnBtPatchDroitClicked);
|
|
this.btReset.Clicked += new global::System.EventHandler(this.OnBtResetClicked);
|
|
this.btAllume.Clicked += new global::System.EventHandler(this.OnBtAllumeClicked);
|
|
this.spinDimmer.ValueChanged += new global::System.EventHandler(this.OnSpinDimmerValueChanged);
|
|
this.cbCircuit.Changed += new global::System.EventHandler(this.OnCbCircuitChanged);
|
|
this.cbFT.Changed += new global::System.EventHandler(this.OnCbFTChanged);
|
|
this.txtParam1.Changed += new global::System.EventHandler(this.OnTxtParam1Changed);
|
|
this.txtParam2.Changed += new global::System.EventHandler(this.OnTxtParam2Changed);
|
|
this.tvDimm.CursorChanged += new global::System.EventHandler(this.OnTvDimmCursorChanged);
|
|
this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked);
|
|
}
|
|
}
|
|
}
|