예제 #1
0
파일: MainWindow.cs 프로젝트: moscrif/ide
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Updater");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.messageLabel = new global::Gtk.Label ();
     this.messageLabel.Name = "messageLabel";
     this.messageLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("label1");
     this.vbox2.Add (this.messageLabel);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.messageLabel]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progressBar = new global::Gtk.ProgressBar ();
     this.progressBar.Name = "progressBar";
     this.vbox2.Add (this.progressBar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressBar]));
     w2.Position = 1;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbuttonbox2 = new global::Gtk.HButtonBox ();
     this.hbuttonbox2.Name = "hbuttonbox2";
     this.hbuttonbox2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.btnQuit = new global::Gtk.Button ();
     this.btnQuit.CanFocus = true;
     this.btnQuit.Name = "btnQuit";
     this.btnQuit.UseUnderline = true;
     this.btnQuit.Label = global::Mono.Unix.Catalog.GetString ("_Ok");
     this.hbuttonbox2.Add (this.btnQuit);
     global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.btnQuit]));
     w3.Expand = false;
     w3.Fill = false;
     this.vbox2.Add (this.hbuttonbox2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbuttonbox2]));
     w4.PackType = ((global::Gtk.PackType)(1));
     w4.Position = 2;
     w4.Expand = false;
     w4.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 435;
     this.DefaultHeight = 119;
     this.btnQuit.Hide ();
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.btnQuit.Clicked += new global::System.EventHandler (this.OnButton2517Clicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget QSProjectsLib.CreatorProgress
     this.Name = "QSProjectsLib.CreatorProgress";
     this.Title = global::Mono.Unix.Catalog.GetString (" Подождите");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal = true;
     // Container child QSProjectsLib.CreatorProgress.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progressCreation = new global::Gtk.ProgressBar ();
     this.progressCreation.Name = "progressCreation";
     this.vbox2.Add (this.progressCreation);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressCreation]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 373;
     this.DefaultHeight = 6;
     this.Show ();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget DownloadProgressForm
     this.Name = "DownloadProgressForm";
     this.Title = "WakaTime | Downloading..";
     this.TypeHint = ((global::Gdk.WindowTypeHint)(4));
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth = ((uint)(4));
     this.DefaultWidth = 480;
     this.Gravity = ((global::Gdk.Gravity)(5));
     // Container child DownloadProgressForm.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.progressbar1 = new global::Gtk.ProgressBar ();
     this.progressbar1.Name = "progressbar1";
     this.progressbar1.PulseStep = 1;
     this.vbox1.Add (this.progressbar1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.progressbar1]));
     w1.PackType = ((global::Gtk.PackType)(1));
     w1.Position = 0;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultHeight = 75;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget ProgrammerGUI.DeviceWaiting
     this.Name = "ProgrammerGUI.DeviceWaiting";
     this.Title = global::Mono.Unix.Catalog.GetString ("Waiting for device...");
     this.WindowPosition = ((global::Gtk.WindowPosition)(3));
     this.Modal = true;
     this.Resizable = false;
     this.AllowGrow = false;
     // Internal child ProgrammerGUI.DeviceWaiting.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.lblWaiting = new global::Gtk.Label ();
     this.lblWaiting.Name = "lblWaiting";
     this.lblWaiting.LabelProp = global::Mono.Unix.Catalog.GetString ("label4");
     w1.Add (this.lblWaiting);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.lblWaiting]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.progressbar3 = new global::Gtk.ProgressBar ();
     this.progressbar3.Name = "progressbar3";
     this.progressbar3.Text = "";
     w1.Add (this.progressbar3);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.progressbar3]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Internal child ProgrammerGUI.DeviceWaiting.ActionArea
     global::Gtk.HButtonBox w4 = this.ActionArea;
     w4.Name = "dialog1_ActionArea";
     w4.Spacing = 10;
     w4.BorderWidth = ((uint)(5));
     w4.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-cancel";
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel]));
     w5.Expand = false;
     w5.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 400;
     this.DefaultHeight = 139;
     this.Show ();
 }
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget NanoByte.Common.Tasks.TaskRunDialog
			this.Name = "NanoByte.Common.Tasks.TaskRunDialog";
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			// Internal child NanoByte.Common.Tasks.TaskRunDialog.VBox
			global::Gtk.VBox w1 = this.VBox;
			w1.Name = "vBox";
			w1.BorderWidth = ((uint)(2));
			// Container child vBox.Gtk.Box+BoxChild
			this.vBoxInner = new global::Gtk.VBox ();
			this.vBoxInner.Name = "vBoxInner";
			this.vBoxInner.Spacing = 10;
			this.vBoxInner.BorderWidth = ((uint)(10));
			// Container child vBoxInner.Gtk.Box+BoxChild
			this.progressBarTask = new global::Gtk.ProgressBar ();
			this.progressBarTask.Name = "progressBarTask";
			this.vBoxInner.Add (this.progressBarTask);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vBoxInner [this.progressBarTask]));
			w2.Position = 0;
			// Container child vBoxInner.Gtk.Box+BoxChild
			this.labelTask = new global::Gtk.Label ();
			this.labelTask.Name = "labelTask";
			this.vBoxInner.Add (this.labelTask);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vBoxInner [this.labelTask]));
			w3.Position = 1;
			w1.Add (this.vBoxInner);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.vBoxInner]));
			w4.Position = 0;
			w4.Expand = false;
			w4.Fill = false;
			// Internal child NanoByte.Common.Tasks.TaskRunDialog.ActionArea
			global::Gtk.HButtonBox w5 = this.ActionArea;
			w5.Name = "actionArea";
			w5.Spacing = 10;
			w5.BorderWidth = ((uint)(5));
			w5.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// Container child 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-cancel";
			this.AddActionWidget (this.buttonCancel, -6);
			global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.buttonCancel]));
			w6.Expand = false;
			w6.Fill = false;
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 400;
			this.DefaultHeight = 150;
			this.Show ();
		}
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LongoMatch.Gui.Component.RenderingStateBar
     global::Stetic.BinContainer.Attach (this);
     this.Name = "LongoMatch.Gui.Component.RenderingStateBar";
     // Container child LongoMatch.Gui.Component.RenderingStateBar.Gtk.Container+ContainerChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.statebutton = new global::Gtk.Button ();
     this.statebutton.CanFocus = true;
     this.statebutton.Name = "statebutton";
     this.statebutton.UseUnderline = true;
     this.statebutton.Label = "";
     this.hbox1.Add (this.statebutton);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.statebutton]));
     w1.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressbar = new global::Gtk.ProgressBar ();
     this.progressbar.Name = "progressbar";
     this.hbox1.Add (this.progressbar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressbar]));
     w2.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.cancellbutton = new global::Gtk.Button ();
     this.cancellbutton.CanFocus = true;
     this.cancellbutton.Name = "cancellbutton";
     this.cancellbutton.UseUnderline = true;
     // Container child cancellbutton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w3 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w4 = new global::Gtk.HBox ();
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w5 = new global::Gtk.Image ();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     w4.Add (w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w7 = new global::Gtk.Label ();
     w4.Add (w7);
     w3.Add (w4);
     this.cancellbutton.Add (w3);
     this.hbox1.Add (this.cancellbutton);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.cancellbutton]));
     w11.Position = 2;
     w11.Expand = false;
     w11.Fill = false;
     this.Add (this.hbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.cancellbutton.Hide ();
     this.Hide ();
 }
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget XR.Baboon.SourceHeaderBlock
			global::Stetic.BinContainer.Attach (this);
			this.Name = "XR.Baboon.SourceHeaderBlock";
			// Container child XR.Baboon.SourceHeaderBlock.Gtk.Container+ContainerChild
			this.vbox1 = new global::Gtk.VBox ();
			this.vbox1.Name = "vbox1";
			this.vbox1.Spacing = 4;
			// Container child vbox1.Gtk.Box+BoxChild
			this.heading = new global::Gtk.Label ();
			this.heading.Name = "heading";
			this.heading.Xpad = 3;
			this.heading.Xalign = 0F;
			this.heading.LabelProp = global::Mono.Unix.Catalog.GetString ("<span size=\"large\">File.cs</span>");
			this.heading.UseMarkup = true;
			this.heading.Wrap = true;
			this.heading.Ellipsize = ((global::Pango.EllipsizeMode)(3));
			this.vbox1.Add (this.heading);
			global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.heading]));
			w1.Position = 0;
			w1.Expand = false;
			w1.Fill = false;
			w1.Padding = ((uint)(1));
			// Container child vbox1.Gtk.Box+BoxChild
			this.subheading = new global::Gtk.Label ();
			this.subheading.Name = "subheading";
			this.subheading.Xpad = 3;
			this.subheading.Xalign = 0F;
			this.subheading.LabelProp = global::Mono.Unix.Catalog.GetString ("subheading");
			this.subheading.Wrap = true;
			this.subheading.Ellipsize = ((global::Pango.EllipsizeMode)(3));
			this.vbox1.Add (this.subheading);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.subheading]));
			w2.Position = 1;
			w2.Expand = false;
			w2.Fill = false;
			// Container child vbox1.Gtk.Box+BoxChild
			this.percentage = new global::Gtk.ProgressBar ();
			this.percentage.Name = "percentage";
			this.percentage.Text = global::Mono.Unix.Catalog.GetString ("31%");
			this.percentage.Fraction = 0.31;
			this.vbox1.Add (this.percentage);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.percentage]));
			w3.Position = 2;
			w3.Expand = false;
			w3.Fill = false;
			w3.Padding = ((uint)(1));
			this.Add (this.vbox1);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.Hide ();
		}
예제 #8
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Pinta.ProgressDialog
     this.Name = "Pinta.ProgressDialog";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child Pinta.ProgressDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.label = new global::Gtk.Label();
     this.label.Name = "label";
     this.label.LabelProp = global::Mono.Unix.Catalog.GetString("label2");
     w1.Add(this.label);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.label]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.progress_bar = new global::Gtk.ProgressBar();
     this.progress_bar.Name = "progress_bar";
     w1.Add(this.progress_bar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.progress_bar]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Internal child Pinta.ProgressDialog.ActionArea
     global::Gtk.HButtonBox w4 = this.ActionArea;
     w4.Name = "dialog1_ActionArea";
     w4.Spacing = 10;
     w4.BorderWidth = ((uint)(5));
     w4.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-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel]));
     w5.Expand = false;
     w5.Fill = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 400;
     this.DefaultHeight = 114;
     this.Hide();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget QSOrmProject.Deletion.DeleteOperationDlg
     this.Name = "QSOrmProject.Deletion.DeleteOperationDlg";
     this.Title = global::Mono.Unix.Catalog.GetString ("Выполняем удаление");
     this.WindowPosition = ((global::Gtk.WindowPosition)(3));
     this.Modal = true;
     this.Gravity = ((global::Gdk.Gravity)(5));
     // Container child QSOrmProject.Deletion.DeleteOperationDlg.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.labelOperation = new global::Gtk.Label ();
     this.labelOperation.Name = "labelOperation";
     this.labelOperation.Xalign = 0F;
     this.labelOperation.LabelProp = global::Mono.Unix.Catalog.GetString ("label1");
     this.labelOperation.Ellipsize = ((global::Pango.EllipsizeMode)(3));
     this.vbox2.Add (this.labelOperation);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelOperation]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progressbarOperation = new global::Gtk.ProgressBar ();
     this.progressbarOperation.Name = "progressbarOperation";
     this.vbox2.Add (this.progressbarOperation);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressbarOperation]));
     w2.Position = 1;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseStock = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = "gtk-cancel";
     this.vbox2.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.buttonCancel]));
     w3.Position = 2;
     w3.Expand = false;
     w3.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 458;
     this.DefaultHeight = 80;
     this.Show ();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget QSProjectsLib.WaitOperationDlg
     this.Name = "QSProjectsLib.WaitOperationDlg";
     this.Title = global::Mono.Unix.Catalog.GetString ("Ждем-с...");
     this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((global::Gtk.WindowPosition)(3));
     this.Resizable = false;
     this.DestroyWithParent = true;
     this.SkipTaskbarHint = true;
     // Container child QSProjectsLib.WaitOperationDlg.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Пожалуйста, подождите.");
     this.label1.Justify = ((global::Gtk.Justification)(2));
     this.vbox2.Add (this.label1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.labelMsg = new global::Gtk.Label ();
     this.labelMsg.Name = "labelMsg";
     this.labelMsg.LabelProp = global::Mono.Unix.Catalog.GetString ("Выполняется длительная операция.");
     this.vbox2.Add (this.labelMsg);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelMsg]));
     w2.Position = 1;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progressbar1 = new global::Gtk.ProgressBar ();
     this.progressbar1.Name = "progressbar1";
     this.vbox2.Add (this.progressbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressbar1]));
     w3.Position = 2;
     w3.Expand = false;
     w3.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 322;
     this.DefaultHeight = 84;
     this.Show ();
 }
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget MonoDevelop.Ide.ProgressMonitoring.ProgressBarMonitor
			global::Stetic.BinContainer.Attach (this);
			this.Name = "MonoDevelop.Ide.ProgressMonitoring.ProgressBarMonitor";
			// Container child MonoDevelop.Ide.ProgressMonitoring.ProgressBarMonitor.Gtk.Container+ContainerChild
			this.hbox1 = new global::Gtk.HBox ();
			this.hbox1.Name = "hbox1";
			this.hbox1.Spacing = 3;
			// Container child hbox1.Gtk.Box+BoxChild
			this.progressBar = new global::Gtk.ProgressBar ();
			this.progressBar.Name = "progressBar";
			this.hbox1.Add (this.progressBar);
			global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressBar]));
			w1.Position = 0;
			// Container child hbox1.Gtk.Box+BoxChild
			this.buttonCancel = new global::Gtk.Button ();
			this.buttonCancel.CanFocus = true;
			this.buttonCancel.Name = "buttonCancel";
			this.buttonCancel.UseUnderline = true;
			this.buttonCancel.Relief = ((global::Gtk.ReliefStyle)(2));
			// Container child buttonCancel.Gtk.Container+ContainerChild
			global::Gtk.Alignment w2 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
			// Container child GtkAlignment.Gtk.Container+ContainerChild
			global::Gtk.HBox w3 = new global::Gtk.HBox ();
			w3.Spacing = 2;
			// Container child GtkHBox.Gtk.Container+ContainerChild
			global::Gtk.Image w4 = new global::Gtk.Image ();
			w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
			w3.Add (w4);
			// Container child GtkHBox.Gtk.Container+ContainerChild
			global::Gtk.Label w6 = new global::Gtk.Label ();
			w3.Add (w6);
			w2.Add (w3);
			this.buttonCancel.Add (w2);
			this.hbox1.Add (this.buttonCancel);
			global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel]));
			w10.Position = 1;
			w10.Expand = false;
			w10.Fill = false;
			this.Add (this.hbox1);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.Hide ();
		}
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Gtktester.Downloader
     this.Name = "Gtktester.Downloader";
     this.Title = "Downloader";
     this.Icon = global::Gdk.Pixbuf.LoadFromResource ("Gtktester.Icons.PNG.32.png");
     this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Modal = true;
     this.Resizable = false;
     this.AllowGrow = false;
     // Container child Gtktester.Downloader.Gtk.Container+ContainerChild
     this.fixed1 = new global::Gtk.Fixed ();
     this.fixed1.Name = "fixed1";
     this.fixed1.HasWindow = false;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.progressbar1 = new global::Gtk.ProgressBar ();
     this.progressbar1.WidthRequest = 470;
     this.progressbar1.Name = "progressbar1";
     this.progressbar1.Text = "0kb/100kb";
     this.fixed1.Add (this.progressbar1);
     global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.progressbar1]));
     w1.X = 20;
     w1.Y = 61;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.speedLabel = new global::Gtk.Label ();
     this.speedLabel.WidthRequest = 467;
     this.speedLabel.Name = "speedLabel";
     this.speedLabel.LabelProp = "0 Mb/s";
     this.fixed1.Add (this.speedLabel);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.speedLabel]));
     w2.X = 21;
     w2.Y = 88;
     this.Add (this.fixed1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 512;
     this.DefaultHeight = 150;
     this.Show ();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LongoMatch.Gui.Dialog.BusyDialog
     this.Name = "LongoMatch.Gui.Dialog.BusyDialog";
     this.Title = "";
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal = true;
     this.Resizable = false;
     this.AllowGrow = false;
     this.Gravity = ((global::Gdk.Gravity)(5));
     this.SkipPagerHint = true;
     this.SkipTaskbarHint = true;
     // Container child LongoMatch.Gui.Dialog.BusyDialog.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.messagelabel = new global::Gtk.Label ();
     this.messagelabel.Name = "messagelabel";
     this.vbox2.Add (this.messagelabel);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.messagelabel]));
     w1.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progressbar1 = new global::Gtk.ProgressBar ();
     this.progressbar1.Name = "progressbar1";
     this.vbox2.Add (this.progressbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressbar1]));
     w2.Position = 1;
     w2.Expand = false;
     w2.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 295;
     this.DefaultHeight = 95;
     this.Show ();
 }
예제 #14
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MP3Tagger.ProgressBarWindow
     this.Name = "MP3Tagger.ProgressBarWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Please wait ...");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MP3Tagger.ProgressBarWindow.Gtk.Container+ContainerChild
     this.@fixed = new global::Gtk.Fixed ();
     [email protected] = 50;
     [email protected] = "fixed";
     [email protected] = false;
     // Container child fixed.Gtk.Fixed+FixedChild
     this.progressBar = new global::Gtk.ProgressBar ();
     this.progressBar.WidthRequest = 320;
     this.progressBar.Name = "progressBar";
     this.progressBar.Text = "";
     this.progressBar.PulseStep = 0.01D;
     [email protected] (this.progressBar);
     global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.@fixed [this.progressBar]));
     w1.X = 16;
     w1.Y = 32;
     // Container child fixed.Gtk.Fixed+FixedChild
     this.label = new global::Gtk.Label ();
     this.label.Name = "label";
     this.label.LabelProp = global::Mono.Unix.Catalog.GetString ("Title");
     [email protected] (this.label);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.@fixed [this.label]));
     w2.X = 14;
     w2.Y = 7;
     this.Add (this.@fixed);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 366;
     this.DefaultHeight = 99;
     this.Show ();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LapseStudioGtkUI.MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.MenuAction = new global::Gtk.Action ("MenuAction", "Menu", null, null);
     this.MenuAction.ShortLabel = "Menu";
     w1.Add (this.MenuAction, null);
     this.newAction = new global::Gtk.Action ("newAction", "New Project", null, "gtk-new");
     this.newAction.ShortLabel = "New Project";
     w1.Add (this.newAction, null);
     this.openAction = new global::Gtk.Action ("openAction", "Open Project", null, "gtk-open");
     this.openAction.ShortLabel = "Open Project";
     w1.Add (this.openAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", "Save Project", null, "gtk-save");
     this.saveAction.ShortLabel = "Save Project";
     w1.Add (this.saveAction, null);
     this.saveAsAction = new global::Gtk.Action ("saveAsAction", "Save Project As", null, "gtk-save-as");
     this.saveAsAction.ShortLabel = "Save Project As";
     w1.Add (this.saveAsAction, null);
     this.quitAction = new global::Gtk.Action ("quitAction", "Quit", null, "gtk-quit");
     this.quitAction.ShortLabel = "Quit";
     w1.Add (this.quitAction, null);
     this.SettingsAction = new global::Gtk.Action ("SettingsAction", "Settings", null, null);
     this.SettingsAction.ShortLabel = "Settings";
     w1.Add (this.SettingsAction, null);
     this.preferencesAction = new global::Gtk.Action ("preferencesAction", "General Settings", null, "gtk-preferences");
     this.preferencesAction.ShortLabel = "General Settings";
     w1.Add (this.preferencesAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", "Help", null, null);
     this.HelpAction.ShortLabel = "Help";
     w1.Add (this.HelpAction, null);
     this.helpAction = new global::Gtk.Action ("helpAction", "Help", null, "gtk-help");
     this.helpAction.ShortLabel = "Help";
     w1.Add (this.helpAction, null);
     this.aboutAction = new global::Gtk.Action ("aboutAction", "About", null, "gtk-about");
     this.aboutAction.ShortLabel = "About";
     w1.Add (this.aboutAction, null);
     this.AddAction = new global::Gtk.Action ("AddAction", null, "Add Frames", "Add");
     w1.Add (this.AddAction, null);
     this.CalculateAction = new global::Gtk.Action ("CalculateAction", null, "Calculate Brightnes", "Calculate");
     w1.Add (this.CalculateAction, null);
     this.ReloadAction = new global::Gtk.Action ("ReloadAction", null, "Reload XMP", "Reload");
     w1.Add (this.ReloadAction, null);
     this.SaveAction = new global::Gtk.Action ("SaveAction", null, "Process Frames", "Save");
     w1.Add (this.SaveAction, null);
     this.CancelAction = new global::Gtk.Action ("CancelAction", null, "Cancel", "Cancel");
     w1.Add (this.CancelAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "LapseStudioGtkUI.MainWindow";
     this.Title = "LapseStudio";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child LapseStudioGtkUI.MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString (@"<ui><menubar name='MainMenuBar'><menu name='MenuAction' action='MenuAction'><menuitem name='newAction' action='newAction'/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.MainMenuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/MainMenuBar")));
     this.MainMenuBar.Name = "MainMenuBar";
     this.vbox1.Add (this.MainMenuBar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainMenuBar]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString (@"<ui><toolbar name='MainToolBar'><toolitem name='AddAction' action='AddAction'/><toolitem name='CalculateAction' action='CalculateAction'/><toolitem name='ReloadAction' action='ReloadAction'/><toolitem name='SaveAction' action='SaveAction'/><toolitem name='CancelAction' action='CancelAction'/></toolbar></ui>");
     this.MainToolBar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/MainToolBar")));
     this.MainToolBar.Name = "MainToolBar";
     this.MainToolBar.ShowArrow = false;
     this.MainToolBar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.MainToolBar.IconSize = ((global::Gtk.IconSize)(3));
     this.vbox1.Add (this.MainToolBar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainToolBar]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.MainNotebook = new global::Gtk.Notebook ();
     this.MainNotebook.CanFocus = true;
     this.MainNotebook.Name = "MainNotebook";
     this.MainNotebook.CurrentPage = 0;
     // Container child MainNotebook.Gtk.Notebook+NotebookChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.FileTree = new global::Gtk.TreeView ();
     this.FileTree.CanFocus = true;
     this.FileTree.Name = "FileTree";
     this.GtkScrolledWindow.Add (this.FileTree);
     this.hbox2.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow]));
     w5.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.ThumbViewList = new global::Gtk.Image ();
     this.ThumbViewList.WidthRequest = 160;
     this.ThumbViewList.HeightRequest = 120;
     this.ThumbViewList.Name = "ThumbViewList";
     this.vbox2.Add (this.ThumbViewList);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ThumbViewList]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.fixed2 = new global::Gtk.Fixed ();
     this.fixed2.Name = "fixed2";
     this.fixed2.HasWindow = false;
     this.vbox2.Add (this.fixed2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.fixed2]));
     w7.Position = 1;
     this.hbox2.Add (this.vbox2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     this.MainNotebook.Add (this.hbox2);
     // Notebook tab
     this.TabPageLabel1 = new global::Gtk.Label ();
     this.TabPageLabel1.Name = "TabPageLabel1";
     this.TabPageLabel1.LabelProp = "Files";
     this.MainNotebook.SetTabLabel (this.hbox2, this.TabPageLabel1);
     this.TabPageLabel1.ShowAll ();
     // Container child MainNotebook.Gtk.Notebook+NotebookChild
     this.fixed3 = new global::Gtk.Fixed ();
     this.fixed3.Name = "fixed3";
     this.fixed3.HasWindow = false;
     this.MainNotebook.Add (this.fixed3);
     global::Gtk.Notebook.NotebookChild w10 = ((global::Gtk.Notebook.NotebookChild)(this.MainNotebook [this.fixed3]));
     w10.Position = 1;
     // Notebook tab
     this.TabPageLabel2 = new global::Gtk.Label ();
     this.TabPageLabel2.Name = "TabPageLabel2";
     this.TabPageLabel2.LabelProp = "Calculation";
     this.MainNotebook.SetTabLabel (this.fixed3, this.TabPageLabel2);
     this.TabPageLabel2.ShowAll ();
     // Container child MainNotebook.Gtk.Notebook+NotebookChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.YToStartButton = new global::Gtk.Button ();
     this.YToStartButton.WidthRequest = 75;
     this.YToStartButton.CanFocus = true;
     this.YToStartButton.Name = "YToStartButton";
     this.YToStartButton.UseUnderline = true;
     this.YToStartButton.Label = "Y To Start";
     this.vbox4.Add (this.YToStartButton);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.YToStartButton]));
     w11.Position = 0;
     w11.Expand = false;
     w11.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.AlignXButton = new global::Gtk.Button ();
     this.AlignXButton.WidthRequest = 75;
     this.AlignXButton.CanFocus = true;
     this.AlignXButton.Name = "AlignXButton";
     this.AlignXButton.UseUnderline = true;
     this.AlignXButton.Label = "Align X";
     this.vbox4.Add (this.AlignXButton);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.AlignXButton]));
     w12.Position = 1;
     w12.Expand = false;
     w12.Fill = false;
     this.hbox4.Add (this.vbox4);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox4]));
     w13.Position = 0;
     w13.Expand = false;
     w13.Fill = false;
     w13.Padding = ((uint)(2));
     // Container child hbox4.Gtk.Box+BoxChild
     this.vbox5 = new global::Gtk.VBox ();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.YToEndButton = new global::Gtk.Button ();
     this.YToEndButton.WidthRequest = 75;
     this.YToEndButton.CanFocus = true;
     this.YToEndButton.Name = "YToEndButton";
     this.YToEndButton.UseUnderline = true;
     this.YToEndButton.Label = "Y To End";
     this.vbox5.Add (this.YToEndButton);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.YToEndButton]));
     w14.Position = 0;
     w14.Expand = false;
     w14.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.ResetGraphButton = new global::Gtk.Button ();
     this.ResetGraphButton.WidthRequest = 75;
     this.ResetGraphButton.CanFocus = true;
     this.ResetGraphButton.Name = "ResetGraphButton";
     this.ResetGraphButton.UseUnderline = true;
     this.ResetGraphButton.Label = "Reset";
     this.vbox5.Add (this.ResetGraphButton);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.ResetGraphButton]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     this.hbox4.Add (this.vbox5);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox5]));
     w16.Position = 1;
     w16.Expand = false;
     w16.Fill = false;
     this.vbox3.Add (this.hbox4);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
     w17.Position = 0;
     w17.Expand = false;
     w17.Fill = false;
     w17.Padding = ((uint)(3));
     // Container child vbox3.Gtk.Box+BoxChild
     this.ThumbViewGraph = new global::Gtk.Image ();
     this.ThumbViewGraph.WidthRequest = 160;
     this.ThumbViewGraph.HeightRequest = 120;
     this.ThumbViewGraph.Name = "ThumbViewGraph";
     this.vbox3.Add (this.ThumbViewGraph);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbViewGraph]));
     w18.Position = 1;
     w18.Expand = false;
     w18.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.FrameSelectScale = new global::Gtk.HScale (null);
     this.FrameSelectScale.CanFocus = true;
     this.FrameSelectScale.Name = "FrameSelectScale";
     this.FrameSelectScale.Adjustment.Upper = 100D;
     this.FrameSelectScale.Adjustment.PageIncrement = 10D;
     this.FrameSelectScale.Adjustment.StepIncrement = 1D;
     this.FrameSelectScale.DrawValue = true;
     this.FrameSelectScale.Digits = 0;
     this.FrameSelectScale.ValuePos = ((global::Gtk.PositionType)(3));
     this.vbox3.Add (this.FrameSelectScale);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.FrameSelectScale]));
     w19.Position = 2;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.ThumbEditButton = new global::Gtk.Button ();
     this.ThumbEditButton.Sensitive = false;
     this.ThumbEditButton.CanFocus = true;
     this.ThumbEditButton.Name = "ThumbEditButton";
     this.ThumbEditButton.UseUnderline = true;
     this.ThumbEditButton.Label = "Edit Thumbs";
     this.vbox3.Add (this.ThumbEditButton);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbEditButton]));
     w20.Position = 3;
     w20.Expand = false;
     w20.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.ThumbEditView = new global::Gtk.Image ();
     this.ThumbEditView.WidthRequest = 160;
     this.ThumbEditView.HeightRequest = 120;
     this.ThumbEditView.Name = "ThumbEditView";
     this.vbox3.Add (this.ThumbEditView);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbEditView]));
     w21.Position = 4;
     w21.Expand = false;
     w21.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.BrightnessScale = new global::Gtk.HScale (null);
     this.BrightnessScale.Sensitive = false;
     this.BrightnessScale.CanFocus = true;
     this.BrightnessScale.Name = "BrightnessScale";
     this.BrightnessScale.Adjustment.Lower = -100D;
     this.BrightnessScale.Adjustment.Upper = 100D;
     this.BrightnessScale.Adjustment.PageIncrement = 10D;
     this.BrightnessScale.Adjustment.StepIncrement = 1D;
     this.BrightnessScale.DrawValue = true;
     this.BrightnessScale.Digits = 0;
     this.BrightnessScale.ValuePos = ((global::Gtk.PositionType)(3));
     this.vbox3.Add (this.BrightnessScale);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.BrightnessScale]));
     w22.Position = 5;
     w22.Expand = false;
     w22.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.fixed4 = new global::Gtk.Fixed ();
     this.fixed4.Name = "fixed4";
     this.fixed4.HasWindow = false;
     this.vbox3.Add (this.fixed4);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed4]));
     w23.Position = 6;
     this.hbox3.Add (this.vbox3);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3]));
     w24.Position = 0;
     w24.Expand = false;
     w24.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.MainGraph = new global::LapseStudioGtkUI.Graph ();
     this.MainGraph.Events = ((global::Gdk.EventMask)(256));
     this.MainGraph.Name = "MainGraph";
     this.hbox3.Add (this.MainGraph);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.MainGraph]));
     w25.Position = 1;
     this.MainNotebook.Add (this.hbox3);
     global::Gtk.Notebook.NotebookChild w26 = ((global::Gtk.Notebook.NotebookChild)(this.MainNotebook [this.hbox3]));
     w26.Position = 2;
     // Notebook tab
     this.TabPageLabel3 = new global::Gtk.Label ();
     this.TabPageLabel3.Name = "TabPageLabel3";
     this.TabPageLabel3.LabelProp = "Graph";
     this.MainNotebook.SetTabLabel (this.hbox3, this.TabPageLabel3);
     this.TabPageLabel3.ShowAll ();
     this.vbox1.Add (this.MainNotebook);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainNotebook]));
     w27.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.MainProgressBar = new global::Gtk.ProgressBar ();
     this.MainProgressBar.WidthRequest = 160;
     this.MainProgressBar.Name = "MainProgressBar";
     this.hbox1.Add (this.MainProgressBar);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.MainProgressBar]));
     w28.Position = 0;
     w28.Expand = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.StatusLabel = new global::Gtk.Label ();
     this.StatusLabel.Name = "StatusLabel";
     this.StatusLabel.LabelProp = "Everything ok";
     this.hbox1.Add (this.StatusLabel);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.StatusLabel]));
     w29.Position = 1;
     w29.Expand = false;
     w29.Fill = false;
     w29.Padding = ((uint)(20));
     // Container child hbox1.Gtk.Box+BoxChild
     this.fixed1 = new global::Gtk.Fixed ();
     this.fixed1.Name = "fixed1";
     this.fixed1.HasWindow = false;
     this.hbox1.Add (this.fixed1);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixed1]));
     w30.Position = 2;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w31.Position = 3;
     w31.Expand = false;
     w31.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 816;
     this.DefaultHeight = 662;
     this.Show ();
     this.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnExposeEvent);
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated);
     this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
     this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
     this.saveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated);
     this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated);
     this.preferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated);
     this.helpAction.Activated += new global::System.EventHandler (this.OnHelpActionActivated);
     this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated);
     this.AddAction.Activated += new global::System.EventHandler (this.OnAddActionActivated);
     this.CalculateAction.Activated += new global::System.EventHandler (this.OnCalculateActionActivated);
     this.ReloadAction.Activated += new global::System.EventHandler (this.OnReloadActionActivated);
     this.SaveAction.Activated += new global::System.EventHandler (this.OnProcessActionActivated);
     this.CancelAction.Activated += new global::System.EventHandler (this.OnCancelActionActivated);
     this.YToStartButton.Clicked += new global::System.EventHandler (this.OnYToStartButtonClicked);
     this.AlignXButton.Clicked += new global::System.EventHandler (this.OnAlignXButtonClicked);
     this.YToEndButton.Clicked += new global::System.EventHandler (this.OnYToEndButtonClicked);
     this.ResetGraphButton.Clicked += new global::System.EventHandler (this.OnResetGraphButtonClicked);
     this.FrameSelectScale.ValueChanged += new global::System.EventHandler (this.OnFrameSelectScaleValueChanged);
     this.BrightnessScale.ValueChanged += new global::System.EventHandler (this.OnBrightnessScaleValueChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.Views.Users.UserSettingsView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.Views.Users.UserSettingsView";
     // Container child Vodovoz.Views.Users.UserSettingsView.Gtk.Container+ContainerChild
     this.vbox4             = new global::Gtk.VBox();
     this.vbox4.Name        = "vbox4";
     this.vbox4.Spacing     = 6;
     this.vbox4.BorderWidth = ((uint)(6));
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gamma.GtkWidgets.yButton();
     this.buttonSave.CanFocus     = true;
     this.buttonSave.Name         = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Сохранить");
     this.hbox5.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonSave]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonCancel              = new global::Gamma.GtkWidgets.yButton();
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = global::Mono.Unix.Catalog.GetString("Отменить");
     this.hbox5.Add(this.buttonCancel);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.buttonCancel]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     this.vbox4.Add(this.hbox5);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox5]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hseparator1      = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.vbox4.Add(this.hseparator1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hseparator1]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.tableWriteoff               = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
     this.tableWriteoff.Name          = "tableWriteoff";
     this.tableWriteoff.RowSpacing    = ((uint)(6));
     this.tableWriteoff.ColumnSpacing = ((uint)(6));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Склад по умолчанию:");
     this.tableWriteoff.Add(this.label4);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.label4]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.yentryrefWarehouse        = new global::Gamma.Widgets.yEntryReference();
     this.yentryrefWarehouse.Events = ((global::Gdk.EventMask)(256));
     this.yentryrefWarehouse.Name   = "yentryrefWarehouse";
     this.tableWriteoff.Add(this.yentryrefWarehouse);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yentryrefWarehouse]));
     w6.LeftAttach  = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.XOptions    = ((global::Gtk.AttachOptions)(4));
     w6.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.yenumcomboDefaultCategory      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboDefaultCategory.Name = "yenumcomboDefaultCategory";
     this.yenumcomboDefaultCategory.ShowSpecialStateAll = false;
     this.yenumcomboDefaultCategory.ShowSpecialStateNot = true;
     this.yenumcomboDefaultCategory.UseShortTitle       = false;
     this.yenumcomboDefaultCategory.DefaultFirst        = false;
     this.tableWriteoff.Add(this.yenumcomboDefaultCategory);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.yenumcomboDefaultCategory]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child tableWriteoff.Gtk.Table+TableChild
     this.ylabel1           = new global::Gamma.GtkWidgets.yLabel();
     this.ylabel1.Name      = "ylabel1";
     this.ylabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Продажа по умолчанию:");
     this.tableWriteoff.Add(this.ylabel1);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableWriteoff[this.ylabel1]));
     w8.TopAttach    = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.hbox6.Add(this.tableWriteoff);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.tableWriteoff]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.vbox7         = new global::Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.frame1            = new global::Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment2             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name        = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vbox8         = new global::Gtk.VBox();
     this.vbox8.Name    = "vbox8";
     this.vbox8.Spacing = 6;
     // Container child vbox8.Gtk.Box+BoxChild
     this.ycheckbuttonDelivery               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckbuttonDelivery.CanFocus      = true;
     this.ycheckbuttonDelivery.Name          = "ycheckbuttonDelivery";
     this.ycheckbuttonDelivery.Label         = global::Mono.Unix.Catalog.GetString("Доставка");
     this.ycheckbuttonDelivery.DrawIndicator = true;
     this.ycheckbuttonDelivery.UseUnderline  = true;
     this.vbox8.Add(this.ycheckbuttonDelivery);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.ycheckbuttonDelivery]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox8.Gtk.Box+BoxChild
     this.ycheckbuttonService               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckbuttonService.CanFocus      = true;
     this.ycheckbuttonService.Name          = "ycheckbuttonService";
     this.ycheckbuttonService.Label         = global::Mono.Unix.Catalog.GetString("Сервисное обслуживание");
     this.ycheckbuttonService.DrawIndicator = true;
     this.ycheckbuttonService.UseUnderline  = true;
     this.vbox8.Add(this.ycheckbuttonService);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.ycheckbuttonService]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox8.Gtk.Box+BoxChild
     this.ycheckbuttonChainStore               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckbuttonChainStore.CanFocus      = true;
     this.ycheckbuttonChainStore.Name          = "ycheckbuttonChainStore";
     this.ycheckbuttonChainStore.Label         = global::Mono.Unix.Catalog.GetString("Сетевые магазины");
     this.ycheckbuttonChainStore.DrawIndicator = true;
     this.ycheckbuttonChainStore.UseUnderline  = true;
     this.vbox8.Add(this.ycheckbuttonChainStore);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.ycheckbuttonChainStore]));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     this.GtkAlignment2.Add(this.vbox8);
     this.frame1.Add(this.GtkAlignment2);
     this.GtkLabel5           = new global::Gtk.Label();
     this.GtkLabel5.Name      = "GtkLabel5";
     this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Фильтр в журнале МЛ</b>");
     this.GtkLabel5.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel5;
     this.vbox7.Add(this.frame1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.frame1]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.complaintsFrame            = new global::Gtk.Frame();
     this.complaintsFrame.Name       = "complaintsFrame";
     this.complaintsFrame.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child complaintsFrame.Gtk.Container+ContainerChild
     this.GtkAlignment3             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment3.Name        = "GtkAlignment3";
     this.GtkAlignment3.LeftPadding = ((uint)(12));
     // Container child GtkAlignment3.Gtk.Container+ContainerChild
     this.vbox9         = new global::Gtk.VBox();
     this.vbox9.Name    = "vbox9";
     this.vbox9.Spacing = 6;
     // Container child vbox9.Gtk.Box+BoxChild
     this.ycheckbuttonUse               = new global::Gamma.GtkWidgets.yCheckButton();
     this.ycheckbuttonUse.CanFocus      = true;
     this.ycheckbuttonUse.Name          = "ycheckbuttonUse";
     this.ycheckbuttonUse.Label         = global::Mono.Unix.Catalog.GetString("Подразделение сотрудника по умолчанию");
     this.ycheckbuttonUse.DrawIndicator = true;
     this.ycheckbuttonUse.UseUnderline  = true;
     this.vbox9.Add(this.ycheckbuttonUse);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.ycheckbuttonUse]));
     w16.Position = 0;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child vbox9.Gtk.Box+BoxChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Подразделение:");
     this.vbox9.Add(this.label5);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.label5]));
     w17.Position = 1;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child vbox9.Gtk.Box+BoxChild
     this.yentrySubdivision                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.yentrySubdivision.Events           = ((global::Gdk.EventMask)(256));
     this.yentrySubdivision.Name             = "yentrySubdivision";
     this.yentrySubdivision.CanEditReference = false;
     this.vbox9.Add(this.yentrySubdivision);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.yentrySubdivision]));
     w18.Position = 2;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child vbox9.Gtk.Box+BoxChild
     this.labelStatus           = new global::Gamma.GtkWidgets.yLabel();
     this.labelStatus.Name      = "labelStatus";
     this.labelStatus.Xalign    = 1F;
     this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Статуc по умолчанию:");
     this.vbox9.Add(this.labelStatus);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.labelStatus]));
     w19.Position = 3;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child vbox9.Gtk.Box+BoxChild
     this.yenumcomboStatus      = new global::Gamma.Widgets.yEnumComboBox();
     this.yenumcomboStatus.Name = "yenumcomboStatus";
     this.yenumcomboStatus.ShowSpecialStateAll = false;
     this.yenumcomboStatus.ShowSpecialStateNot = false;
     this.yenumcomboStatus.UseShortTitle       = false;
     this.yenumcomboStatus.DefaultFirst        = false;
     this.vbox9.Add(this.yenumcomboStatus);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.yenumcomboStatus]));
     w20.Position = 4;
     w20.Expand   = false;
     w20.Fill     = false;
     this.GtkAlignment3.Add(this.vbox9);
     this.complaintsFrame.Add(this.GtkAlignment3);
     this.GtkLabel10                  = new global::Gtk.Label();
     this.GtkLabel10.Name             = "GtkLabel10";
     this.GtkLabel10.LabelProp        = global::Mono.Unix.Catalog.GetString("<b>Рекламации</b>");
     this.GtkLabel10.UseMarkup        = true;
     this.complaintsFrame.LabelWidget = this.GtkLabel10;
     this.vbox7.Add(this.complaintsFrame);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.complaintsFrame]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.frame2            = new global::Gtk.Frame();
     this.frame2.Name       = "frame2";
     this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment7             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment7.Name        = "GtkAlignment7";
     this.GtkAlignment7.LeftPadding = ((uint)(12));
     // Container child GtkAlignment7.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Фильтр в  отчете по оплатам:");
     this.vbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label2]));
     w24.Position = 0;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.entryCounterparty                  = new global::QS.Widgets.GtkUI.EntityViewModelEntry();
     this.entryCounterparty.Events           = ((global::Gdk.EventMask)(256));
     this.entryCounterparty.Name             = "entryCounterparty";
     this.entryCounterparty.CanEditReference = true;
     this.vbox2.Add(this.entryCounterparty);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.entryCounterparty]));
     w25.Position = 1;
     w25.Expand   = false;
     w25.Fill     = false;
     this.GtkAlignment7.Add(this.vbox2);
     this.frame2.Add(this.GtkAlignment7);
     this.GtkLabel14           = new global::Gtk.Label();
     this.GtkLabel14.Name      = "GtkLabel14";
     this.GtkLabel14.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Настройка для розницы</b>");
     this.GtkLabel14.UseMarkup = true;
     this.frame2.LabelWidget   = this.GtkLabel14;
     this.vbox7.Add(this.frame2);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.frame2]));
     w28.Position = 2;
     w28.Expand   = false;
     w28.Fill     = false;
     this.hbox6.Add(this.vbox7);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.vbox7]));
     w29.Position = 1;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.frameSortingCashInfo            = new global::Gtk.Frame();
     this.frameSortingCashInfo.Name       = "frameSortingCashInfo";
     this.frameSortingCashInfo.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child frameSortingCashInfo.Gtk.Container+ContainerChild
     this.GtkAlignment11               = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment11.Name          = "GtkAlignment11";
     this.GtkAlignment11.LeftPadding   = ((uint)(12));
     this.GtkAlignment11.RightPadding  = ((uint)(2));
     this.GtkAlignment11.BottomPadding = ((uint)(2));
     // Container child GtkAlignment11.Gtk.Container+ContainerChild
     this.hboxCashInfoSorting         = new global::Gamma.GtkWidgets.yHBox();
     this.hboxCashInfoSorting.Name    = "hboxCashInfoSorting";
     this.hboxCashInfoSorting.Spacing = 6;
     // Container child hboxCashInfoSorting.Gtk.Box+BoxChild
     this.vboxSortingCashInfo         = new global::Gamma.GtkWidgets.yVBox();
     this.vboxSortingCashInfo.Name    = "vboxSortingCashInfo";
     this.vboxSortingCashInfo.Spacing = 6;
     // Container child vboxSortingCashInfo.Gtk.Box+BoxChild
     this.labelSortingCashInfoTitle           = new global::Gamma.GtkWidgets.yLabel();
     this.labelSortingCashInfoTitle.Name      = "labelSortingCashInfoTitle";
     this.labelSortingCashInfoTitle.LabelProp = global::Mono.Unix.Catalog.GetString("<b>></b> Укажите порядок сортировки,\nмышью перетаскивая элементы\n<b>></b> После с" +
                                                                                    "охранения настроек необходимо\nоткрепить панель с балансом касс и\nпереоткрыть жур" +
                                                                                    "нал кассовых документов");
     this.labelSortingCashInfoTitle.UseMarkup = true;
     this.vboxSortingCashInfo.Add(this.labelSortingCashInfoTitle);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vboxSortingCashInfo[this.labelSortingCashInfoTitle]));
     w30.Position = 0;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vboxSortingCashInfo.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeViewSubdivisionsToSort             = new global::Gamma.GtkWidgets.yTreeView();
     this.treeViewSubdivisionsToSort.CanFocus    = true;
     this.treeViewSubdivisionsToSort.Name        = "treeViewSubdivisionsToSort";
     this.treeViewSubdivisionsToSort.Reorderable = true;
     this.GtkScrolledWindow.Add(this.treeViewSubdivisionsToSort);
     this.vboxSortingCashInfo.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vboxSortingCashInfo[this.GtkScrolledWindow]));
     w32.Position = 1;
     this.hboxCashInfoSorting.Add(this.vboxSortingCashInfo);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hboxCashInfoSorting[this.vboxSortingCashInfo]));
     w33.Position = 0;
     w33.Expand   = false;
     w33.Fill     = false;
     this.GtkAlignment11.Add(this.hboxCashInfoSorting);
     this.frameSortingCashInfo.Add(this.GtkAlignment11);
     this.GtkLabel15                       = new global::Gtk.Label();
     this.GtkLabel15.Name                  = "GtkLabel15";
     this.GtkLabel15.LabelProp             = global::Mono.Unix.Catalog.GetString("<b>Сортировка панели \"Остатки по кассам\"</b>");
     this.GtkLabel15.UseMarkup             = true;
     this.frameSortingCashInfo.LabelWidget = this.GtkLabel15;
     this.hbox6.Add(this.frameSortingCashInfo);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.frameSortingCashInfo]));
     w36.Position = 2;
     w36.Expand   = false;
     w36.Fill     = false;
     this.vbox4.Add(this.hbox6);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox6]));
     w37.Position = 2;
     w37.Expand   = false;
     w37.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.vboxUpdateFixedPrices         = new global::Gamma.GtkWidgets.yVBox();
     this.vboxUpdateFixedPrices.Name    = "vboxUpdateFixedPrices";
     this.vboxUpdateFixedPrices.Spacing = 6;
     // Container child vboxUpdateFixedPrices.Gtk.Box+BoxChild
     this.lblUpdateFixedPricesTitle           = new global::Gamma.GtkWidgets.yLabel();
     this.lblUpdateFixedPricesTitle.Name      = "lblUpdateFixedPricesTitle";
     this.lblUpdateFixedPricesTitle.Xalign    = 0F;
     this.lblUpdateFixedPricesTitle.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Обновление фиксы</b>");
     this.lblUpdateFixedPricesTitle.UseMarkup = true;
     this.vboxUpdateFixedPrices.Add(this.lblUpdateFixedPricesTitle);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vboxUpdateFixedPrices[this.lblUpdateFixedPricesTitle]));
     w38.Position = 0;
     w38.Expand   = false;
     w38.Fill     = false;
     // Container child vboxUpdateFixedPrices.Gtk.Box+BoxChild
     this.hboxUpdateFixedPrices         = new global::Gamma.GtkWidgets.yHBox();
     this.hboxUpdateFixedPrices.Name    = "hboxUpdateFixedPrices";
     this.hboxUpdateFixedPrices.Spacing = 6;
     // Container child hboxUpdateFixedPrices.Gtk.Box+BoxChild
     this.lblIncrementFixedPrices           = new global::Gamma.GtkWidgets.yLabel();
     this.lblIncrementFixedPrices.Name      = "lblIncrementFixedPrices";
     this.lblIncrementFixedPrices.LabelProp = global::Mono.Unix.Catalog.GetString("Увеличить фиксу на:");
     this.hboxUpdateFixedPrices.Add(this.lblIncrementFixedPrices);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hboxUpdateFixedPrices[this.lblIncrementFixedPrices]));
     w39.Position = 0;
     w39.Expand   = false;
     w39.Fill     = false;
     // Container child hboxUpdateFixedPrices.Gtk.Box+BoxChild
     this.spinBtnIncrementFixedPrices          = new global::Gamma.GtkWidgets.ySpinButton(0D, 100D, 1D);
     this.spinBtnIncrementFixedPrices.CanFocus = true;
     this.spinBtnIncrementFixedPrices.Name     = "spinBtnIncrementFixedPrices";
     this.spinBtnIncrementFixedPrices.Adjustment.PageIncrement = 10D;
     this.spinBtnIncrementFixedPrices.ClimbRate      = 1D;
     this.spinBtnIncrementFixedPrices.Numeric        = true;
     this.spinBtnIncrementFixedPrices.Value          = 20D;
     this.spinBtnIncrementFixedPrices.ValueAsDecimal = 0m;
     this.spinBtnIncrementFixedPrices.ValueAsInt     = 0;
     this.hboxUpdateFixedPrices.Add(this.spinBtnIncrementFixedPrices);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hboxUpdateFixedPrices[this.spinBtnIncrementFixedPrices]));
     w40.Position = 1;
     w40.Expand   = false;
     w40.Fill     = false;
     // Container child hboxUpdateFixedPrices.Gtk.Box+BoxChild
     this.btnUpdateFixedPrices              = new global::Gamma.GtkWidgets.yButton();
     this.btnUpdateFixedPrices.CanFocus     = true;
     this.btnUpdateFixedPrices.Name         = "btnUpdateFixedPrices";
     this.btnUpdateFixedPrices.UseUnderline = true;
     this.btnUpdateFixedPrices.Label        = global::Mono.Unix.Catalog.GetString("Обновить фиксу");
     this.hboxUpdateFixedPrices.Add(this.btnUpdateFixedPrices);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hboxUpdateFixedPrices[this.btnUpdateFixedPrices]));
     w41.Position = 2;
     w41.Expand   = false;
     w41.Fill     = false;
     // Container child hboxUpdateFixedPrices.Gtk.Box+BoxChild
     this.updateFixedPricesProgress      = new global::Gtk.ProgressBar();
     this.updateFixedPricesProgress.Name = "updateFixedPricesProgress";
     this.hboxUpdateFixedPrices.Add(this.updateFixedPricesProgress);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hboxUpdateFixedPrices[this.updateFixedPricesProgress]));
     w42.Position = 3;
     this.vboxUpdateFixedPrices.Add(this.hboxUpdateFixedPrices);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vboxUpdateFixedPrices[this.hboxUpdateFixedPrices]));
     w43.Position = 1;
     w43.Expand   = false;
     w43.Fill     = false;
     this.vbox4.Add(this.vboxUpdateFixedPrices);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.vboxUpdateFixedPrices]));
     w44.Position = 3;
     w44.Expand   = false;
     w44.Fill     = false;
     this.Add(this.vbox4);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
예제 #17
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.dndAction            = new global::Gtk.Action("dndAction", global::Mono.Unix.Catalog.GetString("Arquivo"), null, "gtk-dnd");
     this.dndAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Arquivo");
     w1.Add(this.dndAction, null);
     this.newAction            = new global::Gtk.Action("newAction", global::Mono.Unix.Catalog.GetString("Novo Arquivo"), null, "gtk-new");
     this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New");
     w1.Add(this.newAction, null);
     this.editAction            = new global::Gtk.Action("editAction", global::Mono.Unix.Catalog.GetString("Abrir..."), null, "gtk-edit");
     this.editAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open");
     w1.Add(this.editAction, null);
     this.saveAction            = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("Salvar"), null, "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save");
     w1.Add(this.saveAction, null);
     this.saveAsAction            = new global::Gtk.Action("saveAsAction", global::Mono.Unix.Catalog.GetString("Salvar Como..."), null, "gtk-save-as");
     this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save as");
     w1.Add(this.saveAsAction, null);
     this.mediaPlayAction            = new global::Gtk.Action("mediaPlayAction", global::Mono.Unix.Catalog.GetString("Simulação"), null, "gtk-media-play");
     this.mediaPlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Simulação");
     w1.Add(this.mediaPlayAction, null);
     this.directoryAction            = new global::Gtk.Action("directoryAction", global::Mono.Unix.Catalog.GetString("Exportar"), null, "gtk-directory");
     this.directoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportar");
     w1.Add(this.directoryAction, null);
     this.PNGAction            = new global::Gtk.Action("PNGAction", global::Mono.Unix.Catalog.GetString(".PNG"), null, null);
     this.PNGAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG");
     w1.Add(this.PNGAction, null);
     this.SVGAction            = new global::Gtk.Action("SVGAction", global::Mono.Unix.Catalog.GetString(".SVG"), null, null);
     this.SVGAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG");
     w1.Add(this.SVGAction, null);
     this.LogLogAction            = new global::Gtk.Action("LogLogAction", global::Mono.Unix.Catalog.GetString("Log: .log"), null, null);
     this.LogLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".json");
     w1.Add(this.LogLogAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Fechar"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fechar");
     w1.Add(this.quitAction, null);
     this.LogTxtAction            = new global::Gtk.Action("LogTxtAction", global::Mono.Unix.Catalog.GetString("Log: .txt"), null, null);
     this.LogTxtAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Log .txt");
     w1.Add(this.LogTxtAction, null);
     this.orientationPortraitAction            = new global::Gtk.Action("orientationPortraitAction", global::Mono.Unix.Catalog.GetString("Importar"), null, "gtk-orientation-portrait");
     this.orientationPortraitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Importar");
     w1.Add(this.orientationPortraitAction, null);
     this.LogLogAction1            = new global::Gtk.Action("LogLogAction1", global::Mono.Unix.Catalog.GetString("Log: .log"), null, null);
     this.LogLogAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Log .json");
     w1.Add(this.LogLogAction1, null);
     this.CompatibilidadeAction            = new global::Gtk.Action("CompatibilidadeAction", global::Mono.Unix.Catalog.GetString("Compatibilidade"), null, null);
     this.CompatibilidadeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Compatibilidade");
     w1.Add(this.CompatibilidadeAction, null);
     this.TxtParaJsonAction            = new global::Gtk.Action("TxtParaJsonAction", global::Mono.Unix.Catalog.GetString(".txt para .json"), null, null);
     this.TxtParaJsonAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".txt para .json");
     w1.Add(this.TxtParaJsonAction, null);
     this.findAndReplaceAction            = new global::Gtk.Action("findAndReplaceAction", global::Mono.Unix.Catalog.GetString("Compatibilidade"), null, "gtk-find-and-replace");
     this.findAndReplaceAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Compatibilidade");
     w1.Add(this.findAndReplaceAction, null);
     this.convertAction            = new global::Gtk.Action("convertAction", global::Mono.Unix.Catalog.GetString("TXT para PRB"), null, "gtk-convert");
     this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("TXT para PRB");
     w1.Add(this.convertAction, null);
     this.FCFSAction            = new global::Gtk.Action("FCFSAction", global::Mono.Unix.Catalog.GetString("FCFS"), null, null);
     this.FCFSAction.ShortLabel = global::Mono.Unix.Catalog.GetString("FCFS");
     w1.Add(this.FCFSAction, null);
     this.PNGAction1            = new global::Gtk.Action("PNGAction1", global::Mono.Unix.Catalog.GetString(".PNG"), null, null);
     this.PNGAction1.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG");
     w1.Add(this.PNGAction1, null);
     this.SVGAction1            = new global::Gtk.Action("SVGAction1", global::Mono.Unix.Catalog.GetString(".SVG"), null, null);
     this.SVGAction1.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG");
     w1.Add(this.SVGAction1, null);
     this.FCFSAction1            = new global::Gtk.Action("FCFSAction1", global::Mono.Unix.Catalog.GetString("FCFS"), null, null);
     this.FCFSAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("FCFS");
     w1.Add(this.FCFSAction1, null);
     this.SJFAction            = new global::Gtk.Action("SJFAction", global::Mono.Unix.Catalog.GetString("SJF"), null, null);
     this.SJFAction.ShortLabel = global::Mono.Unix.Catalog.GetString("SJF");
     w1.Add(this.SJFAction, null);
     this.RRAction            = new global::Gtk.Action("RRAction", global::Mono.Unix.Catalog.GetString("RR"), null, null);
     this.RRAction.ShortLabel = global::Mono.Unix.Catalog.GetString("RR");
     w1.Add(this.RRAction, null);
     this.PNGAction2            = new global::Gtk.Action("PNGAction2", global::Mono.Unix.Catalog.GetString(".PNG"), null, null);
     this.PNGAction2.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG");
     w1.Add(this.PNGAction2, null);
     this.SVGAction2            = new global::Gtk.Action("SVGAction2", global::Mono.Unix.Catalog.GetString(".SVG"), null, null);
     this.SVGAction2.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG");
     w1.Add(this.SVGAction2, null);
     this.PNGAction3            = new global::Gtk.Action("PNGAction3", global::Mono.Unix.Catalog.GetString(".PNG"), null, null);
     this.PNGAction3.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG");
     w1.Add(this.PNGAction3, null);
     this.SVGAction3            = new global::Gtk.Action("SVGAction3", global::Mono.Unix.Catalog.GetString(".SVG"), null, null);
     this.SVGAction3.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG");
     w1.Add(this.SVGAction3, null);
     this.PNGAction4            = new global::Gtk.Action("PNGAction4", global::Mono.Unix.Catalog.GetString(".PNG"), null, null);
     this.PNGAction4.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG");
     w1.Add(this.PNGAction4, null);
     this.SVGAction4            = new global::Gtk.Action("SVGAction4", global::Mono.Unix.Catalog.GetString(".SVG"), null, null);
     this.SVGAction4.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG");
     w1.Add(this.SVGAction4, null);
     this.TodosAction            = new global::Gtk.Action("TodosAction", global::Mono.Unix.Catalog.GetString("Todos"), null, null);
     this.TodosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Todos");
     w1.Add(this.TodosAction, null);
     this.PNGAction5            = new global::Gtk.Action("PNGAction5", global::Mono.Unix.Catalog.GetString(".PNG"), null, null);
     this.PNGAction5.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG");
     w1.Add(this.PNGAction5, null);
     this.SVGAction5            = new global::Gtk.Action("SVGAction5", global::Mono.Unix.Catalog.GetString(".SVG"), null, null);
     this.SVGAction5.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG");
     w1.Add(this.SVGAction5, null);
     this.BenchmarkAction            = new global::Gtk.Action("BenchmarkAction", global::Mono.Unix.Catalog.GetString("Benchmark"), null, null);
     this.BenchmarkAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Comparação");
     w1.Add(this.BenchmarkAction, null);
     this.PNGAction6            = new global::Gtk.Action("PNGAction6", global::Mono.Unix.Catalog.GetString(".PNG"), null, null);
     this.PNGAction6.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG");
     w1.Add(this.PNGAction6, null);
     this.SVGAction6            = new global::Gtk.Action("SVGAction6", global::Mono.Unix.Catalog.GetString(".SVG"), null, null);
     this.SVGAction6.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG");
     w1.Add(this.SVGAction6, null);
     this.dialogQuestionAction            = new global::Gtk.Action("dialogQuestionAction", global::Mono.Unix.Catalog.GetString("Ajuda"), null, "gtk-dialog-question");
     this.dialogQuestionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ajuda");
     w1.Add(this.dialogQuestionAction, null);
     this.dialogInfoAction            = new global::Gtk.Action("dialogInfoAction", global::Mono.Unix.Catalog.GetString("Sobre"), null, "gtk-dialog-info");
     this.dialogInfoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Sobre");
     w1.Add(this.dialogInfoAction, null);
     this.AjudaAction1            = new global::Gtk.Action("AjudaAction1", global::Mono.Unix.Catalog.GetString("Ajuda"), null, null);
     this.AjudaAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Ajuda");
     w1.Add(this.AjudaAction1, null);
     this.connectAction            = new global::Gtk.Action("connectAction", global::Mono.Unix.Catalog.GetString("Documentação"), null, "gtk-connect");
     this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ajuda");
     w1.Add(this.connectAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Scheduler#");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("SchedulerSharp.icon512.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.DefaultWidth   = 800;
     this.DefaultHeight  = 600;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name=\'menubar3\'><menu name=\'dndAction\' action=\'dndAction\'><menuitem " +
                                    "name=\'newAction\' action=\'newAction\'/><menuitem name=\'editAction\' action=\'editAct" +
                                    "ion\'/><menuitem name=\'saveAction\' action=\'saveAction\'/><menuitem name=\'saveAsAct" +
                                    "ion\' action=\'saveAsAction\'/><menuitem name=\'quitAction\' action=\'quitAction\'/></m" +
                                    "enu><menu name=\'mediaPlayAction\' action=\'mediaPlayAction\'><menu name=\'directoryA" +
                                    "ction\' action=\'directoryAction\'><menu name=\'FCFSAction1\' action=\'FCFSAction1\'><m" +
                                    "enuitem name=\'PNGAction2\' action=\'PNGAction2\'/><menuitem name=\'SVGAction2\' actio" +
                                    "n=\'SVGAction2\'/></menu><menu name=\'SJFAction\' action=\'SJFAction\'><menuitem name=" +
                                    "\'PNGAction3\' action=\'PNGAction3\'/><menuitem name=\'SVGAction3\' action=\'SVGAction3" +
                                    "\'/></menu><menu name=\'RRAction\' action=\'RRAction\'><menuitem name=\'PNGAction4\' ac" +
                                    "tion=\'PNGAction4\'/><menuitem name=\'SVGAction4\' action=\'SVGAction4\'/></menu><menu" +
                                    " name=\'BenchmarkAction\' action=\'BenchmarkAction\'><menuitem name=\'PNGAction6\' act" +
                                    "ion=\'PNGAction6\'/><menuitem name=\'SVGAction6\' action=\'SVGAction6\'/></menu><menu " +
                                    "name=\'TodosAction\' action=\'TodosAction\'><menuitem name=\'PNGAction5\' action=\'PNGA" +
                                    "ction5\'/><menuitem name=\'SVGAction5\' action=\'SVGAction5\'/></menu><menuitem name=" +
                                    "\'LogLogAction\' action=\'LogLogAction\'/><menuitem name=\'LogTxtAction\' action=\'LogT" +
                                    "xtAction\'/></menu><menu name=\'orientationPortraitAction\' action=\'orientationPort" +
                                    "raitAction\'><menuitem name=\'LogLogAction1\' action=\'LogLogAction1\'/></menu></menu" +
                                    "><menu name=\'findAndReplaceAction\' action=\'findAndReplaceAction\'><menuitem name=" +
                                    "\'convertAction\' action=\'convertAction\'/></menu><menu name=\'dialogQuestionAction\'" +
                                    " action=\'dialogQuestionAction\'><menuitem name=\'connectAction\' action=\'connectAct" +
                                    "ion\'/><menuitem name=\'dialogInfoAction\' action=\'dialogInfoAction\'/></menu></menu" +
                                    "bar></ui>");
     this.menubar3      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar3")));
     this.menubar3.Name = "menubar3";
     this.vbox1.Add(this.menubar3);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar3]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.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.simulatorBox         = new global::Gtk.VBox();
     this.simulatorBox.Name    = "simulatorBox";
     this.simulatorBox.Spacing = 6;
     // Container child simulatorBox.Gtk.Box+BoxChild
     this.menuBox         = new global::Gtk.HBox();
     this.menuBox.Name    = "menuBox";
     this.menuBox.Spacing = 6;
     // Container child menuBox.Gtk.Box+BoxChild
     this.SchedulerCombobox = global::Gtk.ComboBox.NewText();
     this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("FCFS"));
     this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("SJF"));
     this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("RR"));
     this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("Benchmark"));
     this.SchedulerCombobox.WidthRequest = 160;
     this.SchedulerCombobox.Name         = "SchedulerCombobox";
     this.SchedulerCombobox.Active       = 0;
     this.menuBox.Add(this.SchedulerCombobox);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.menuBox[this.SchedulerCombobox]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child menuBox.Gtk.Box+BoxChild
     this.directoryEntry      = global::Gtk.ComboBox.NewText();
     this.directoryEntry.Name = "directoryEntry";
     this.menuBox.Add(this.directoryEntry);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.menuBox[this.directoryEntry]));
     w4.Position = 1;
     this.simulatorBox.Add(this.menuBox);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.menuBox]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child simulatorBox.Gtk.Box+BoxChild
     this.quantumBox         = new global::Gtk.HBox();
     this.quantumBox.Name    = "quantumBox";
     this.quantumBox.Spacing = 6;
     // Container child quantumBox.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Quantum");
     this.label1.Justify   = ((global::Gtk.Justification)(2));
     this.quantumBox.Add(this.label1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.quantumBox[this.label1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child quantumBox.Gtk.Box+BoxChild
     this.quantumScale                          = new global::Gtk.HScale(null);
     this.quantumScale.CanFocus                 = true;
     this.quantumScale.Name                     = "quantumScale";
     this.quantumScale.Adjustment.Lower         = 1D;
     this.quantumScale.Adjustment.Upper         = 100D;
     this.quantumScale.Adjustment.PageIncrement = 10D;
     this.quantumScale.Adjustment.StepIncrement = 1D;
     this.quantumScale.Adjustment.Value         = 1D;
     this.quantumScale.DrawValue                = true;
     this.quantumScale.Digits                   = 0;
     this.quantumScale.ValuePos                 = ((global::Gtk.PositionType)(1));
     this.quantumBox.Add(this.quantumScale);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.quantumBox[this.quantumScale]));
     w7.Position = 1;
     this.simulatorBox.Add(this.quantumBox);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.quantumBox]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child simulatorBox.Gtk.Box+BoxChild
     this.plotBox          = new global::Gtk.HPaned();
     this.plotBox.CanFocus = true;
     this.plotBox.Name     = "plotBox";
     this.plotBox.Position = 328;
     this.simulatorBox.Add(this.plotBox);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.plotBox]));
     w9.Position = 2;
     // Container child simulatorBox.Gtk.Box+BoxChild
     this.mediaBox         = new global::Gtk.HBox();
     this.mediaBox.Name    = "mediaBox";
     this.mediaBox.Spacing = 6;
     // Container child mediaBox.Gtk.Box+BoxChild
     this.previewButton              = new global::Gtk.Button();
     this.previewButton.CanFocus     = true;
     this.previewButton.Name         = "previewButton";
     this.previewButton.UseUnderline = true;
     this.previewButton.Label        = global::Mono.Unix.Catalog.GetString("Retroceder");
     global::Gtk.Image w10 = new global::Gtk.Image();
     w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-previous", global::Gtk.IconSize.Button);
     this.previewButton.Image = w10;
     this.mediaBox.Add(this.previewButton);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.previewButton]));
     w11.Position = 0;
     // Container child mediaBox.Gtk.Box+BoxChild
     this.pauseButton              = new global::Gtk.Button();
     this.pauseButton.CanFocus     = true;
     this.pauseButton.Name         = "pauseButton";
     this.pauseButton.UseUnderline = true;
     this.pauseButton.Label        = global::Mono.Unix.Catalog.GetString("Pausa/Continue");
     global::Gtk.Image w12 = new global::Gtk.Image();
     w12.Pixbuf             = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-pause", global::Gtk.IconSize.Button);
     this.pauseButton.Image = w12;
     this.mediaBox.Add(this.pauseButton);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.pauseButton]));
     w13.Position = 1;
     // Container child mediaBox.Gtk.Box+BoxChild
     this.playButton              = new global::Gtk.Button();
     this.playButton.CanFocus     = true;
     this.playButton.Name         = "playButton";
     this.playButton.UseUnderline = true;
     this.playButton.Label        = global::Mono.Unix.Catalog.GetString("Iniciar");
     global::Gtk.Image w14 = new global::Gtk.Image();
     w14.Pixbuf            = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-play", global::Gtk.IconSize.Button);
     this.playButton.Image = w14;
     this.mediaBox.Add(this.playButton);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.playButton]));
     w15.Position = 2;
     // Container child mediaBox.Gtk.Box+BoxChild
     this.nextButton              = new global::Gtk.Button();
     this.nextButton.CanFocus     = true;
     this.nextButton.Name         = "nextButton";
     this.nextButton.UseUnderline = true;
     this.nextButton.Label        = global::Mono.Unix.Catalog.GetString("Avançar");
     global::Gtk.Image w16 = new global::Gtk.Image();
     w16.Pixbuf            = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-next", global::Gtk.IconSize.Button);
     this.nextButton.Image = w16;
     this.mediaBox.Add(this.nextButton);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.nextButton]));
     w17.Position = 3;
     this.simulatorBox.Add(this.mediaBox);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.mediaBox]));
     w18.Position = 3;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child simulatorBox.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressFCFS      = new global::Gtk.ProgressBar();
     this.progressFCFS.Name = "progressFCFS";
     this.progressFCFS.Text = global::Mono.Unix.Catalog.GetString("FCFS");
     this.hbox1.Add(this.progressFCFS);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.progressFCFS]));
     w19.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressSJF      = new global::Gtk.ProgressBar();
     this.progressSJF.Name = "progressSJF";
     this.progressSJF.Text = global::Mono.Unix.Catalog.GetString("SJF");
     this.hbox1.Add(this.progressSJF);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.progressSJF]));
     w20.Position = 1;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressRR      = new global::Gtk.ProgressBar();
     this.progressRR.Name = "progressRR";
     this.progressRR.Text = global::Mono.Unix.Catalog.GetString("RR");
     this.hbox1.Add(this.progressRR);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.progressRR]));
     w21.Position = 2;
     this.simulatorBox.Add(this.hbox1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.hbox1]));
     w22.PackType = ((global::Gtk.PackType)(1));
     w22.Position = 4;
     w22.Expand   = false;
     w22.Fill     = false;
     this.notebook1.Add(this.simulatorBox);
     // Notebook tab
     this.simuPageText           = new global::Gtk.Label();
     this.simuPageText.Name      = "simuPageText";
     this.simuPageText.LabelProp = global::Mono.Unix.Catalog.GetString("Simulação");
     this.notebook1.SetTabLabel(this.simulatorBox, this.simuPageText);
     this.simuPageText.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.creatorBox         = new global::Gtk.VBox();
     this.creatorBox.Name    = "creatorBox";
     this.creatorBox.Spacing = 6;
     // Container child creatorBox.Gtk.Box+BoxChild
     this.cMenuBox         = new global::Gtk.HBox();
     this.cMenuBox.Name    = "cMenuBox";
     this.cMenuBox.Spacing = 6;
     // Container child cMenuBox.Gtk.Box+BoxChild
     this.dirCreatorEntry      = global::Gtk.ComboBox.NewText();
     this.dirCreatorEntry.Name = "dirCreatorEntry";
     this.cMenuBox.Add(this.dirCreatorEntry);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.cMenuBox[this.dirCreatorEntry]));
     w24.Position = 0;
     this.creatorBox.Add(this.cMenuBox);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.creatorBox[this.cMenuBox]));
     w25.Position = 0;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child creatorBox.Gtk.Box+BoxChild
     this.scrolledWindow            = new global::Gtk.ScrolledWindow();
     this.scrolledWindow.CanFocus   = true;
     this.scrolledWindow.Name       = "scrolledWindow";
     this.scrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     this.creatorBox.Add(this.scrolledWindow);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.creatorBox[this.scrolledWindow]));
     w26.Position = 1;
     // Container child creatorBox.Gtk.Box+BoxChild
     this.settingsBox         = new global::Gtk.HBox();
     this.settingsBox.Name    = "settingsBox";
     this.settingsBox.Spacing = 6;
     // Container child settingsBox.Gtk.Box+BoxChild
     this.addCreatorButton              = new global::Gtk.Button();
     this.addCreatorButton.CanFocus     = true;
     this.addCreatorButton.Name         = "addCreatorButton";
     this.addCreatorButton.UseUnderline = true;
     this.addCreatorButton.Label        = global::Mono.Unix.Catalog.GetString("Adicionar");
     global::Gtk.Image w27 = new global::Gtk.Image();
     w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Button);
     this.addCreatorButton.Image = w27;
     this.settingsBox.Add(this.addCreatorButton);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.settingsBox[this.addCreatorButton]));
     w28.Position = 0;
     // Container child settingsBox.Gtk.Box+BoxChild
     this.removeCreatorButton              = new global::Gtk.Button();
     this.removeCreatorButton.CanFocus     = true;
     this.removeCreatorButton.Name         = "removeCreatorButton";
     this.removeCreatorButton.UseUnderline = true;
     this.removeCreatorButton.Label        = global::Mono.Unix.Catalog.GetString("Remover");
     global::Gtk.Image w29 = new global::Gtk.Image();
     w29.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_delete", global::Gtk.IconSize.Button);
     this.removeCreatorButton.Image = w29;
     this.settingsBox.Add(this.removeCreatorButton);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.settingsBox[this.removeCreatorButton]));
     w30.Position = 1;
     this.creatorBox.Add(this.settingsBox);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.creatorBox[this.settingsBox]));
     w31.Position = 2;
     w31.Expand   = false;
     w31.Fill     = false;
     this.notebook1.Add(this.creatorBox);
     global::Gtk.Notebook.NotebookChild w32 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.creatorBox]));
     w32.Position = 1;
     // Notebook tab
     this.creationPageText           = new global::Gtk.Label();
     this.creationPageText.Name      = "creationPageText";
     this.creationPageText.LabelProp = global::Mono.Unix.Catalog.GetString("Criação");
     this.notebook1.SetTabLabel(this.creatorBox, this.creationPageText);
     this.creationPageText.ShowAll();
     this.vbox1.Add(this.notebook1);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebook1]));
     w33.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.DeleteEvent                 += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.newAction.Activated         += new global::System.EventHandler(this.NewEvent);
     this.editAction.Activated        += new global::System.EventHandler(this.EditButtonEvent);
     this.saveAction.Activated        += new global::System.EventHandler(this.SaveEvent);
     this.saveAsAction.Activated      += new global::System.EventHandler(this.SaveAsEvent);
     this.LogLogAction.Activated      += new global::System.EventHandler(this.LogJsonEvent);
     this.quitAction.Activated        += new global::System.EventHandler(this.CloseEvent);
     this.LogTxtAction.Activated      += new global::System.EventHandler(this.LogTxtEvent);
     this.LogLogAction1.Activated     += new global::System.EventHandler(this.OnOpenLogJson);
     this.convertAction.Activated     += new global::System.EventHandler(this.TxtToPRBEvent);
     this.PNGAction2.Activated        += new global::System.EventHandler(this.ExportFCFSPNG);
     this.SVGAction2.Activated        += new global::System.EventHandler(this.ExportFCFSSVG);
     this.PNGAction3.Activated        += new global::System.EventHandler(this.ExportSJFPNG);
     this.SVGAction3.Activated        += new global::System.EventHandler(this.ExportSJFSVG);
     this.PNGAction4.Activated        += new global::System.EventHandler(this.ExportRRPNG);
     this.SVGAction4.Activated        += new global::System.EventHandler(this.ExportRRSVG);
     this.PNGAction5.Activated        += new global::System.EventHandler(this.ExportALLPNG);
     this.SVGAction5.Activated        += new global::System.EventHandler(this.ExportALLSVG);
     this.PNGAction6.Activated        += new global::System.EventHandler(this.ExportComparePNG);
     this.SVGAction6.Activated        += new global::System.EventHandler(this.ExportCompareSVG);
     this.dialogInfoAction.Activated  += new global::System.EventHandler(this.AboutWindowOpen);
     this.connectAction.Activated     += new global::System.EventHandler(this.HelpEvent);
     this.SchedulerCombobox.Changed   += new global::System.EventHandler(this.OnSelectScheduler);
     this.directoryEntry.Changed      += new global::System.EventHandler(this.OnChangeDirEntry);
     this.quantumScale.ValueChanged   += new global::System.EventHandler(this.OnQuantumChange);
     this.previewButton.Clicked       += new global::System.EventHandler(this.PreviewEvent);
     this.pauseButton.Clicked         += new global::System.EventHandler(this.PauseEvent);
     this.playButton.Clicked          += new global::System.EventHandler(this.PlayEvent);
     this.nextButton.Clicked          += new global::System.EventHandler(this.NextEvent);
     this.dirCreatorEntry.Changed     += new global::System.EventHandler(this.OnChangeDirEntry);
     this.addCreatorButton.Clicked    += new global::System.EventHandler(this.AddCreationEvent);
     this.removeCreatorButton.Clicked += new global::System.EventHandler(this.RemoveCreationEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.Gettext.POEditorWidget
     Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
     this.UIManager.InsertActionGroup(w2, 0);
     this.Name = "MonoDevelop.Gettext.POEditorWidget";
     // Container child MonoDevelop.Gettext.POEditorWidget.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.notebookPages             = new global::Gtk.Notebook();
     this.notebookPages.CanFocus    = true;
     this.notebookPages.Name        = "notebookPages";
     this.notebookPages.CurrentPage = 0;
     this.notebookPages.ShowBorder  = false;
     this.notebookPages.ShowTabs    = false;
     // Container child notebookPages.Gtk.Notebook+NotebookChild
     this.vbox7         = new global::Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label2              = new global::Gtk.Label();
     this.label2.Name         = "label2";
     this.label2.LabelProp    = global::Mono.Unix.Catalog.GetString("_Filter:");
     this.label2.UseUnderline = true;
     this.hbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.searchEntryFilter      = new global::MonoDevelop.Components.SearchEntry();
     this.searchEntryFilter.Name = "searchEntryFilter";
     this.searchEntryFilter.ForceFilterButtonVisible = false;
     this.searchEntryFilter.HasFrame       = false;
     this.searchEntryFilter.RoundedShape   = false;
     this.searchEntryFilter.IsCheckMenu    = false;
     this.searchEntryFilter.ActiveFilterID = 0;
     this.searchEntryFilter.Ready          = false;
     this.searchEntryFilter.HasFocus       = false;
     this.hbox2.Add(this.searchEntryFilter);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.searchEntryFilter]));
     w4.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.togglebuttonOk              = new global::Gtk.ToggleButton();
     this.togglebuttonOk.CanFocus     = true;
     this.togglebuttonOk.Name         = "togglebuttonOk";
     this.togglebuttonOk.UseUnderline = true;
     this.togglebuttonOk.Label        = global::Mono.Unix.Catalog.GetString("Valid");
     global::Gtk.Image w5 = new global::Gtk.Image();
     w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("silk_accept.png");
     this.togglebuttonOk.Image = w5;
     this.hbox2.Add(this.togglebuttonOk);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonOk]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.togglebuttonMissing              = new global::Gtk.ToggleButton();
     this.togglebuttonMissing.CanFocus     = true;
     this.togglebuttonMissing.Name         = "togglebuttonMissing";
     this.togglebuttonMissing.UseUnderline = true;
     this.togglebuttonMissing.Label        = global::Mono.Unix.Catalog.GetString("Missing");
     global::Gtk.Image w7 = new global::Gtk.Image();
     w7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("silk_exclamation.png");
     this.togglebuttonMissing.Image = w7;
     this.hbox2.Add(this.togglebuttonMissing);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonMissing]));
     w8.Position = 3;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.togglebuttonFuzzy              = new global::Gtk.ToggleButton();
     this.togglebuttonFuzzy.CanFocus     = true;
     this.togglebuttonFuzzy.Name         = "togglebuttonFuzzy";
     this.togglebuttonFuzzy.UseUnderline = true;
     this.togglebuttonFuzzy.Label        = global::Mono.Unix.Catalog.GetString("Fuzzy");
     global::Gtk.Image w9 = new global::Gtk.Image();
     w9.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("silk_error.png");
     this.togglebuttonFuzzy.Image = w9;
     this.hbox2.Add(this.togglebuttonFuzzy);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.togglebuttonFuzzy]));
     w10.Position = 4;
     w10.Expand   = false;
     w10.Fill     = false;
     this.vbox7.Add(this.hbox2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox2]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.vpaned2          = new global::Gtk.VPaned();
     this.vpaned2.CanFocus = true;
     this.vpaned2.Name     = "vpaned2";
     this.vpaned2.Position = 186;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.scrolledwindow1            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.treeviewEntries          = new global::Gtk.TreeView();
     this.treeviewEntries.CanFocus = true;
     this.treeviewEntries.Name     = "treeviewEntries";
     this.scrolledwindow1.Add(this.treeviewEntries);
     this.vpaned2.Add(this.scrolledwindow1);
     global::Gtk.Paned.PanedChild w13 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.scrolledwindow1]));
     w13.Resize = false;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.table1               = new global::Gtk.Table(((uint)(2)), ((uint)(2)), true);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label6              = new global::Gtk.Label();
     this.label6.Name         = "label6";
     this.label6.Xalign       = 0F;
     this.label6.LabelProp    = global::Mono.Unix.Catalog.GetString("_Comments:");
     this.label6.UseUnderline = true;
     this.vbox3.Add(this.label6);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label6]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.scrolledwindow3            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow3.CanFocus   = true;
     this.scrolledwindow3.Name       = "scrolledwindow3";
     this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow3.Gtk.Container+ContainerChild
     this.textviewComments            = new global::Gtk.TextView();
     this.textviewComments.CanFocus   = true;
     this.textviewComments.Name       = "textviewComments";
     this.textviewComments.AcceptsTab = false;
     this.scrolledwindow3.Add(this.textviewComments);
     this.vbox3.Add(this.scrolledwindow3);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindow3]));
     w16.Position = 1;
     this.table1.Add(this.vbox3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox3]));
     w17.TopAttach    = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.LeftAttach   = ((uint)(1));
     w17.RightAttach  = ((uint)(2));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.label7              = new global::Gtk.Label();
     this.label7.Name         = "label7";
     this.label7.Xalign       = 0F;
     this.label7.LabelProp    = global::Mono.Unix.Catalog.GetString("_Translated (msgstr):");
     this.label7.UseUnderline = true;
     this.vbox4.Add(this.label7);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label7]));
     w18.Position = 0;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.notebookTranslated             = new global::Gtk.Notebook();
     this.notebookTranslated.CanFocus    = true;
     this.notebookTranslated.Name        = "notebookTranslated";
     this.notebookTranslated.CurrentPage = 0;
     // Notebook tab
     global::Gtk.Label w19 = new global::Gtk.Label();
     w19.Visible = true;
     this.notebookTranslated.Add(w19);
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebookTranslated.SetTabLabel(w19, this.label1);
     this.label1.ShowAll();
     this.vbox4.Add(this.notebookTranslated);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.notebookTranslated]));
     w20.Position = 1;
     this.table1.Add(this.vbox4);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox4]));
     w21.TopAttach    = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Original (msgid):");
     this.hbox3.Add(this.label8);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label8]));
     w22.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.checkbuttonWhiteSpaces               = new global::Gtk.CheckButton();
     this.checkbuttonWhiteSpaces.CanFocus      = true;
     this.checkbuttonWhiteSpaces.Name          = "checkbuttonWhiteSpaces";
     this.checkbuttonWhiteSpaces.Label         = global::Mono.Unix.Catalog.GetString("S_how whitespaces");
     this.checkbuttonWhiteSpaces.DrawIndicator = true;
     this.checkbuttonWhiteSpaces.UseUnderline  = true;
     this.hbox3.Add(this.checkbuttonWhiteSpaces);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.checkbuttonWhiteSpaces]));
     w23.Position = 1;
     w23.Expand   = false;
     this.vbox5.Add(this.hbox3);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox3]));
     w24.Position = 0;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.scrolledwindowOriginal            = new global::Gtk.ScrolledWindow();
     this.scrolledwindowOriginal.CanFocus   = true;
     this.scrolledwindowOriginal.Name       = "scrolledwindowOriginal";
     this.scrolledwindowOriginal.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vbox5.Add(this.scrolledwindowOriginal);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.scrolledwindowOriginal]));
     w25.Position = 1;
     // Container child vbox5.Gtk.Box+BoxChild
     this.vbox8         = new global::Gtk.VBox();
     this.vbox8.Name    = "vbox8";
     this.vbox8.Spacing = 6;
     // Container child vbox8.Gtk.Box+BoxChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 0F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Original plural (msgid_plural):");
     this.vbox8.Add(this.label9);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label9]));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child vbox8.Gtk.Box+BoxChild
     this.scrolledwindowPlural            = new global::Gtk.ScrolledWindow();
     this.scrolledwindowPlural.CanFocus   = true;
     this.scrolledwindowPlural.Name       = "scrolledwindowPlural";
     this.scrolledwindowPlural.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vbox8.Add(this.scrolledwindowPlural);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.scrolledwindowPlural]));
     w27.Position = 1;
     this.vbox5.Add(this.vbox8);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vbox8]));
     w28.Position = 2;
     this.table1.Add(this.vbox5);
     // Container child table1.Gtk.Table+TableChild
     this.vbox6         = new global::Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label4              = new global::Gtk.Label();
     this.label4.Name         = "label4";
     this.label4.Xalign       = 0F;
     this.label4.LabelProp    = global::Mono.Unix.Catalog.GetString("F_ound in:");
     this.label4.UseUnderline = true;
     this.vbox6.Add(this.label4);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label4]));
     w30.Position = 0;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.scrolledwindow2            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus   = true;
     this.scrolledwindow2.Name       = "scrolledwindow2";
     this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.treeviewFoundIn          = new global::Gtk.TreeView();
     this.treeviewFoundIn.CanFocus = true;
     this.treeviewFoundIn.Name     = "treeviewFoundIn";
     this.scrolledwindow2.Add(this.treeviewFoundIn);
     this.vbox6.Add(this.scrolledwindow2);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.scrolledwindow2]));
     w32.Position = 1;
     this.table1.Add(this.vbox6);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox6]));
     w33.LeftAttach  = ((uint)(1));
     w33.RightAttach = ((uint)(2));
     w33.XOptions    = ((global::Gtk.AttachOptions)(4));
     w33.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vpaned2.Add(this.table1);
     global::Gtk.Paned.PanedChild w34 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.table1]));
     w34.Resize = false;
     this.vbox7.Add(this.vpaned2);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.vpaned2]));
     w35.Position = 1;
     this.notebookPages.Add(this.vbox7);
     // Notebook tab
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebookPages.SetTabLabel(this.vbox7, this.label5);
     this.label5.ShowAll();
     this.vbox2.Add(this.notebookPages);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebookPages]));
     w37.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbarPages'/></ui>");
     this.toolbarPages              = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbarPages")));
     this.toolbarPages.Name         = "toolbarPages";
     this.toolbarPages.ShowArrow    = false;
     this.toolbarPages.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
     this.toolbarPages.IconSize     = ((global::Gtk.IconSize)(3));
     this.hbox1.Add(this.toolbarPages);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbarPages]));
     w38.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressbar1      = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.hbox1.Add(this.progressbar1);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressbar1]));
     w39.Position = 1;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w40.Position = 1;
     w40.Expand   = false;
     w40.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     w1.SetUiManager(UIManager);
     this.label6.MnemonicWidget = this.textviewComments;
     this.label7.MnemonicWidget = this.notebookTranslated;
     this.label4.MnemonicWidget = this.treeviewFoundIn;
     this.Show();
 }
예제 #19
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget QS.Journal.GtkUI.JournalView
     global::Stetic.BinContainer.Attach(this);
     this.Name = "QS.Journal.GtkUI.JournalView";
     // Container child QS.Journal.GtkUI.JournalView.Gtk.Container+ContainerChild
     this.vboxMain         = new global::Gtk.VBox();
     this.vboxMain.Name    = "vboxMain";
     this.vboxMain.Spacing = 6;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.hboxButtons         = new global::Gtk.HBox();
     this.hboxButtons.Name    = "hboxButtons";
     this.hboxButtons.Spacing = 6;
     // Container child hboxButtons.Gtk.Box+BoxChild
     this.checkShowFilter               = new global::Gtk.CheckButton();
     this.checkShowFilter.CanFocus      = true;
     this.checkShowFilter.Name          = "checkShowFilter";
     this.checkShowFilter.Label         = global::Mono.Unix.Catalog.GetString("Фильтр");
     this.checkShowFilter.DrawIndicator = false;
     this.checkShowFilter.UseUnderline  = true;
     this.hboxButtons.Add(this.checkShowFilter);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxButtons[this.checkShowFilter]));
     w1.PackType = ((global::Gtk.PackType)(1));
     w1.Position = 2;
     w1.Expand   = false;
     // Container child hboxButtons.Gtk.Box+BoxChild
     this.buttonRefresh              = new global::Gtk.Button();
     this.buttonRefresh.CanFocus     = true;
     this.buttonRefresh.Name         = "buttonRefresh";
     this.buttonRefresh.UseUnderline = true;
     this.buttonRefresh.Label        = global::Mono.Unix.Catalog.GetString("Обновить");
     global::Gtk.Image w2 = new global::Gtk.Image();
     w2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu);
     this.buttonRefresh.Image = w2;
     this.hboxButtons.Add(this.buttonRefresh);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxButtons[this.buttonRefresh]));
     w3.PackType = ((global::Gtk.PackType)(1));
     w3.Position = 3;
     w3.Expand   = false;
     w3.Fill     = false;
     this.vboxMain.Add(this.hboxButtons);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxButtons]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.hboxFilter         = new global::Gtk.HBox();
     this.hboxFilter.Name    = "hboxFilter";
     this.hboxFilter.Spacing = 6;
     this.vboxMain.Add(this.hboxFilter);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxFilter]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.hboxSearch         = new global::Gtk.HBox();
     this.hboxSearch.Name    = "hboxSearch";
     this.hboxSearch.Spacing = 6;
     this.vboxMain.Add(this.hboxSearch);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hboxSearch]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.tableview          = new global::Gamma.GtkWidgets.yTreeView();
     this.tableview.CanFocus = true;
     this.tableview.Name     = "tableview";
     this.GtkScrolledWindow.Add(this.tableview);
     this.vboxMain.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.GtkScrolledWindow]));
     w8.Position = 3;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.progressbarLoading      = new global::Gtk.ProgressBar();
     this.progressbarLoading.Name = "progressbarLoading";
     this.vboxMain.Add(this.progressbarLoading);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.progressbarLoading]));
     w9.Position = 4;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vboxMain.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.labelFooter                = new global::Gtk.Label();
     this.labelFooter.Name           = "labelFooter";
     this.labelFooter.Xpad           = 6;
     this.labelFooter.Xalign         = 1F;
     this.labelFooter.LabelProp      = global::Mono.Unix.Catalog.GetString("####");
     this.labelFooter.SingleLineMode = true;
     this.hbox1.Add(this.labelFooter);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelFooter]));
     w10.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.hbox1.Add(this.vseparator1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.eventboxTotalRow        = new global::Gtk.EventBox();
     this.eventboxTotalRow.Events = ((global::Gdk.EventMask)(256));
     this.eventboxTotalRow.Name   = "eventboxTotalRow";
     // Container child eventboxTotalRow.Gtk.Container+ContainerChild
     this.labelTotalRow           = new global::Gamma.GtkWidgets.yLabel();
     this.labelTotalRow.Name      = "labelTotalRow";
     this.labelTotalRow.LabelProp = global::Mono.Unix.Catalog.GetString("∑");
     this.labelTotalRow.UseMarkup = true;
     this.eventboxTotalRow.Add(this.labelTotalRow);
     this.hbox1.Add(this.eventboxTotalRow);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.eventboxTotalRow]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vboxMain.Add(this.hbox1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.hbox1]));
     w14.Position = 5;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Add(this.vboxMain);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.checkShowFilter.Hide();
     this.progressbarLoading.Hide();
     this.Hide();
     this.eventboxTotalRow.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnEventboxTotalRowButtonPressEvent);
 }
예제 #20
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget process_manager.ControlPanel
     this.WidthRequest   = 450;
     this.HeightRequest  = 430;
     this.Name           = "process_manager.ControlPanel";
     this.Title          = global::Mono.Unix.Catalog.GetString("Process Manager");
     this.WindowPosition = ((global::Gtk.WindowPosition)(3));
     this.Resizable      = false;
     // Container child process_manager.ControlPanel.Gtk.Container+ContainerChild
     this.fixed1 = new global::Gtk.Fixed();
     this.fixed1.WidthRequest  = 500;
     this.fixed1.HeightRequest = 500;
     this.fixed1.HasWindow     = false;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.btnP2 = new global::Gtk.Button();
     global::Gtk.Tooltips w1 = new Gtk.Tooltips();
     w1.SetTip(this.btnP2, "P2\nExecution time: 20s\nSize: 100MB", "P2\nExecution time: 20s\nSize: 100MB");
     this.btnP2.CanFocus     = true;
     this.btnP2.Name         = "btnP2";
     this.btnP2.UseStock     = true;
     this.btnP2.UseUnderline = true;
     this.btnP2.Label        = "P2";
     this.fixed1.Add(this.btnP2);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnP2]));
     w2.X = 36;
     w2.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.btnP4 = new global::Gtk.Button();
     w1.SetTip(this.btnP4, "P4\nExecution time: 22s\nSize: 110MB", "P4\nExecution time: 22s\nSize: 110MB");
     this.btnP4.CanFocus     = true;
     this.btnP4.Name         = "btnP4";
     this.btnP4.UseStock     = true;
     this.btnP4.UseUnderline = true;
     this.btnP4.Label        = "P4";
     this.fixed1.Add(this.btnP4);
     global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnP4]));
     w3.X = 102;
     w3.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.btnP5 = new global::Gtk.Button();
     w1.SetTip(this.btnP5, "P5\nExecution time: 19s\nSize: 98MB", "P5\nExecution time: 19s\nSize: 98MB");
     this.btnP5.CanFocus     = true;
     this.btnP5.Name         = "btnP5";
     this.btnP5.UseStock     = true;
     this.btnP5.UseUnderline = true;
     this.btnP5.Label        = "P5";
     this.fixed1.Add(this.btnP5);
     global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnP5]));
     w4.X = 136;
     w4.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.btnP6 = new global::Gtk.Button();
     w1.SetTip(this.btnP6, "P6\nExecution time: 18s\nSize: 93MB", "P6\nExecution time: 18s\nSize: 93MB");
     this.btnP6.CanFocus     = true;
     this.btnP6.Name         = "btnP6";
     this.btnP6.UseStock     = true;
     this.btnP6.UseUnderline = true;
     this.btnP6.Label        = "P6";
     this.fixed1.Add(this.btnP6);
     global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnP6]));
     w5.X = 169;
     w5.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.btnP8 = new global::Gtk.Button();
     w1.SetTip(this.btnP8, "P8\nExecution time: 26s\nSize: 128MB", "P8\nExecution time: 26s\nSize: 128MB");
     this.btnP8.CanFocus     = true;
     this.btnP8.Name         = "btnP8";
     this.btnP8.UseStock     = true;
     this.btnP8.UseUnderline = true;
     this.btnP8.Label        = "P8";
     this.fixed1.Add(this.btnP8);
     global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnP8]));
     w6.X = 234;
     w6.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.btnP7 = new global::Gtk.Button();
     w1.SetTip(this.btnP7, "P7\nExecution time: 25s\nSize: 125MB", "P7\nExecution time: 25s\nSize: 125MB");
     this.btnP7.CanFocus     = true;
     this.btnP7.Name         = "btnP7";
     this.btnP7.UseStock     = true;
     this.btnP7.UseUnderline = true;
     this.btnP7.Label        = "P7";
     this.fixed1.Add(this.btnP7);
     global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnP7]));
     w7.X = 201;
     w7.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.btnP1 = new global::Gtk.Button();
     w1.SetTip(this.btnP1, "P1\nExecution time: 23s\nSize: 118MB", "P1\nExecution time: 23s\nSize: 118MB");
     this.btnP1.CanFocus     = true;
     this.btnP1.Name         = "btnP1";
     this.btnP1.UseStock     = true;
     this.btnP1.UseUnderline = true;
     this.btnP1.Label        = "P1";
     this.fixed1.Add(this.btnP1);
     global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnP1]));
     w8.X = 3;
     w8.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.btnP3 = new global::Gtk.Button();
     w1.SetTip(this.btnP3, "P3\nExecution time: 21s\nSize: 105MB", "P3\nExecution time: 21s\nSize: 105MB");
     this.btnP3.CanFocus     = true;
     this.btnP3.Name         = "btnP3";
     this.btnP3.UseStock     = true;
     this.btnP3.UseUnderline = true;
     this.btnP3.Label        = "P3";
     this.fixed1.Add(this.btnP3);
     global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnP3]));
     w9.X = 69;
     w9.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.CPU = new global::Gtk.ProgressBar();
     this.CPU.WidthRequest  = 100;
     this.CPU.HeightRequest = 100;
     this.CPU.Name          = "CPU";
     this.CPU.Orientation   = ((global::Gtk.ProgressBarOrientation)(2));
     this.CPU.Text          = global::Mono.Unix.Catalog.GetString("CPU");
     this.fixed1.Add(this.CPU);
     global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.CPU]));
     w10.X = 317;
     w10.Y = 137;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.frmQuantum            = new global::Gtk.Frame();
     this.frmQuantum.Name       = "frmQuantum";
     this.frmQuantum.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frmQuantum.Gtk.Container+ContainerChild
     this.GtkAlignment             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.quantum          = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.quantum.CanFocus = true;
     this.quantum.Name     = "quantum";
     this.quantum.Adjustment.PageIncrement = 10D;
     this.quantum.ClimbRate = 1D;
     this.quantum.Numeric   = true;
     this.quantum.Value     = 10D;
     this.GtkAlignment.Add(this.quantum);
     this.frmQuantum.Add(this.GtkAlignment);
     this.GtkLabel8              = new global::Gtk.Label();
     this.GtkLabel8.Name         = "GtkLabel8";
     this.GtkLabel8.LabelProp    = global::Mono.Unix.Catalog.GetString("<b>Quantum</b>");
     this.GtkLabel8.UseMarkup    = true;
     this.frmQuantum.LabelWidget = this.GtkLabel8;
     this.fixed1.Add(this.frmQuantum);
     global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.frmQuantum]));
     w13.X = 342;
     w13.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.frmRAM            = new global::Gtk.Frame();
     this.frmRAM.Name       = "frmRAM";
     this.frmRAM.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frmRAM.Gtk.Container+ContainerChild
     this.GtkAlignment1             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name        = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.GtkScrolledWindow                  = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name             = "GtkScrolledWindow";
     this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
     this.GtkScrolledWindow.ShadowType       = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.RAM = new global::Gtk.TreeView();
     this.RAM.WidthRequest  = 200;
     this.RAM.HeightRequest = 209;
     this.RAM.CanFocus      = true;
     this.RAM.Name          = "RAM";
     this.RAM.EnableSearch  = false;
     this.RAM.RulesHint     = true;
     this.GtkScrolledWindow.Add(this.RAM);
     this.GtkAlignment1.Add(this.GtkScrolledWindow);
     this.frmRAM.Add(this.GtkAlignment1);
     this.lblRAM             = new global::Gtk.Label();
     this.lblRAM.Name        = "lblRAM";
     this.lblRAM.LabelProp   = global::Mono.Unix.Catalog.GetString("<b>RAM</b>");
     this.lblRAM.UseMarkup   = true;
     this.frmRAM.LabelWidget = this.lblRAM;
     this.fixed1.Add(this.frmRAM);
     global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.frmRAM]));
     w17.X = 26;
     w17.Y = 57;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.RAMSpace = new global::Gtk.ProgressBar();
     w1.SetTip(this.RAMSpace, "Used Memory", "Used Memory");
     this.RAMSpace.WidthRequest  = 202;
     this.RAMSpace.HeightRequest = 15;
     this.RAMSpace.Name          = "RAMSpace";
     this.RAMSpace.Text          = global::Mono.Unix.Catalog.GetString("0/820 (1024) MB");
     this.RAMSpace.Fraction      = 0.2D;
     this.fixed1.Add(this.RAMSpace);
     global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.RAMSpace]));
     w18.X = 40;
     w18.Y = 285;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.frmSwap            = new global::Gtk.Frame();
     this.frmSwap.Name       = "frmSwap";
     this.frmSwap.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frmSwap.Gtk.Container+ContainerChild
     this.GtkAlignment2             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name        = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.Swap = new global::Gtk.TreeView();
     this.Swap.WidthRequest  = 200;
     this.Swap.HeightRequest = 50;
     this.Swap.CanFocus      = true;
     this.Swap.Name          = "Swap";
     this.GtkScrolledWindow1.Add(this.Swap);
     this.GtkAlignment2.Add(this.GtkScrolledWindow1);
     this.frmSwap.Add(this.GtkAlignment2);
     this.GtkLabel9           = new global::Gtk.Label();
     this.GtkLabel9.Name      = "GtkLabel9";
     this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Swap Area</b>");
     this.GtkLabel9.UseMarkup = true;
     this.frmSwap.LabelWidget = this.GtkLabel9;
     this.fixed1.Add(this.frmSwap);
     global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.frmSwap]));
     w22.X = 26;
     w22.Y = 317;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.cnclP2 = new global::Gtk.Button();
     w1.SetTip(this.cnclP2, "P2\nExecution time: 20s\nSize: 100MB", "P2\nExecution time: 20s\nSize: 100MB");
     this.cnclP2.CanFocus     = true;
     this.cnclP2.Name         = "cnclP2";
     this.cnclP2.UseUnderline = true;
     global::Gtk.Image w23 = new global::Gtk.Image();
     w23.Pixbuf        = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.cnclP2.Image = w23;
     this.fixed1.Add(this.cnclP2);
     global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.cnclP2]));
     w24.X = 36;
     w24.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.cnclP3 = new global::Gtk.Button();
     w1.SetTip(this.cnclP3, "P3\nExecution time: 21s\nSize: 105MB", "P3\nExecution time: 21s\nSize: 105MB");
     this.cnclP3.CanFocus     = true;
     this.cnclP3.Name         = "cnclP3";
     this.cnclP3.UseUnderline = true;
     global::Gtk.Image w25 = new global::Gtk.Image();
     w25.Pixbuf        = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.cnclP3.Image = w25;
     this.fixed1.Add(this.cnclP3);
     global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.cnclP3]));
     w26.X = 69;
     w26.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.cnclP4 = new global::Gtk.Button();
     w1.SetTip(this.cnclP4, "P4\nExecution time: 22s\nSize: 110MB", "P4\nExecution time: 22s\nSize: 110MB");
     this.cnclP4.CanFocus = true;
     this.cnclP4.Name     = "cnclP4";
     global::Gtk.Image w27 = new global::Gtk.Image();
     w27.Pixbuf        = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.cnclP4.Image = w27;
     this.fixed1.Add(this.cnclP4);
     global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.cnclP4]));
     w28.X = 102;
     w28.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.cnclP1 = new global::Gtk.Button();
     w1.SetTip(this.cnclP1, "P1\nExecution time: 23s\nSize: 118MB", "P1\nExecution time: 23s\nSize: 118MB");
     this.cnclP1.CanFocus = true;
     this.cnclP1.Name     = "cnclP1";
     global::Gtk.Image w29 = new global::Gtk.Image();
     w29.Pixbuf        = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.cnclP1.Image = w29;
     this.fixed1.Add(this.cnclP1);
     global::Gtk.Fixed.FixedChild w30 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.cnclP1]));
     w30.X = 3;
     w30.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.cnclP5 = new global::Gtk.Button();
     w1.SetTip(this.cnclP5, "P5\nExecution time: 19s\nSize: 98MB", "P5\nExecution time: 19s\nSize: 98MB");
     this.cnclP5.CanFocus = true;
     this.cnclP5.Name     = "cnclP5";
     global::Gtk.Image w31 = new global::Gtk.Image();
     w31.Pixbuf        = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.cnclP5.Image = w31;
     this.fixed1.Add(this.cnclP5);
     global::Gtk.Fixed.FixedChild w32 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.cnclP5]));
     w32.X = 136;
     w32.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.cnclP6 = new global::Gtk.Button();
     w1.SetTip(this.cnclP6, "P6\nExecution time: 18s\nSize: 93MB", "P6\nExecution time: 18s\nSize: 93MB");
     this.cnclP6.CanFocus = true;
     this.cnclP6.Name     = "cnclP6";
     global::Gtk.Image w33 = new global::Gtk.Image();
     w33.Pixbuf        = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.cnclP6.Image = w33;
     this.fixed1.Add(this.cnclP6);
     global::Gtk.Fixed.FixedChild w34 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.cnclP6]));
     w34.X = 169;
     w34.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.cnclP7 = new global::Gtk.Button();
     w1.SetTip(this.cnclP7, "P7\nExecution time: 25s\nSize: 125MB", "P7\nExecution time: 25s\nSize: 125MB");
     this.cnclP7.CanFocus = true;
     this.cnclP7.Name     = "cnclP7";
     global::Gtk.Image w35 = new global::Gtk.Image();
     w35.Pixbuf        = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.cnclP7.Image = w35;
     this.fixed1.Add(this.cnclP7);
     global::Gtk.Fixed.FixedChild w36 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.cnclP7]));
     w36.X = 201;
     w36.Y = 3;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.cnclP8 = new global::Gtk.Button();
     w1.SetTip(this.cnclP8, "P8\nExecution time: 26s\nSize: 128MB", "P8\nExecution time: 26s\nSize: 128MB");
     this.cnclP8.CanFocus = true;
     this.cnclP8.Name     = "cnclP8";
     global::Gtk.Image w37 = new global::Gtk.Image();
     w37.Pixbuf        = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu);
     this.cnclP8.Image = w37;
     this.fixed1.Add(this.cnclP8);
     global::Gtk.Fixed.FixedChild w38 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.cnclP8]));
     w38.X = 234;
     w38.Y = 3;
     this.Add(this.fixed1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 500;
     this.DefaultHeight = 500;
     this.frmQuantum.Hide();
     this.cnclP2.Hide();
     this.cnclP3.Hide();
     this.cnclP4.Hide();
     this.cnclP1.Hide();
     this.cnclP5.Hide();
     this.cnclP6.Hide();
     this.cnclP7.Hide();
     this.cnclP8.Hide();
     this.Show();
     this.DeleteEvent    += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.btnP2.Clicked  += new global::System.EventHandler(this.OnBtnP2Clicked);
     this.btnP4.Clicked  += new global::System.EventHandler(this.OnBtnP4Clicked);
     this.btnP5.Clicked  += new global::System.EventHandler(this.OnBtnP5Clicked);
     this.btnP6.Clicked  += new global::System.EventHandler(this.OnBtnP6Clicked);
     this.btnP8.Clicked  += new global::System.EventHandler(this.OnBtnP8Clicked);
     this.btnP7.Clicked  += new global::System.EventHandler(this.OnBtnP7Clicked);
     this.btnP1.Clicked  += new global::System.EventHandler(this.OnBtnP1Clicked);
     this.btnP3.Clicked  += new global::System.EventHandler(this.OnBtnP3Clicked);
     this.cnclP2.Clicked += new global::System.EventHandler(this.OnCnclP2Clicked);
     this.cnclP3.Clicked += new global::System.EventHandler(this.OnCnclP3Clicked);
     this.cnclP4.Clicked += new global::System.EventHandler(this.OnCnclP4Clicked);
     this.cnclP1.Clicked += new global::System.EventHandler(this.OnCnclP1Clicked);
     this.cnclP5.Clicked += new global::System.EventHandler(this.OnCnclP5Clicked);
     this.cnclP6.Clicked += new global::System.EventHandler(this.OnCnclP6Clicked);
     this.cnclP7.Clicked += new global::System.EventHandler(this.OnCnclP7Clicked);
     this.cnclP8.Clicked += new global::System.EventHandler(this.OnCnclP8Clicked);
 }
예제 #21
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget ScorpioConversion.FormMain
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.ToolsAction            = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("工具"), null, null);
     this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("工具");
     w1.Add(this.ToolsAction, null);
     this.applyAction            = new global::Gtk.Action("applyAction", global::Mono.Unix.Catalog.GetString("TinyPNG"), null, "gtk-apply");
     this.applyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("TinyPNG");
     w1.Add(this.applyAction, null);
     this.TinyPNGAction            = new global::Gtk.Action("TinyPNGAction", global::Mono.Unix.Catalog.GetString("TinyPNG"), null, null);
     this.TinyPNGAction.ShortLabel = global::Mono.Unix.Catalog.GetString("TinyPNG");
     w1.Add(this.TinyPNGAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "ScorpioConversion.FormMain";
     this.Title          = global::Mono.Unix.Catalog.GetString("转换工具");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Role           = "\n";
     // Container child ScorpioConversion.FormMain.Gtk.Container+ContainerChild
     this.MenuVBox         = new global::Gtk.VBox();
     this.MenuVBox.Name    = "MenuVBox";
     this.MenuVBox.Spacing = 6;
     // Container child MenuVBox.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name=\'menubar2\'><menu name=\'ToolsAction\' action=\'ToolsAction\'><menui" +
                                    "tem name=\'TinyPNGAction\' action=\'TinyPNGAction\'/></menu></menubar></ui>");
     this.menubar2      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.MenuVBox.Add(this.menubar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.MenuVBox [this.menubar2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child MenuVBox.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     global::Gtk.Viewport w3 = new global::Gtk.Viewport();
     w3.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.MainHBox          = new global::Gtk.HBox();
     this.MainHBox.CanFocus = true;
     this.MainHBox.Name     = "MainHBox";
     this.MainHBox.Spacing  = 10;
     // Container child MainHBox.Gtk.Box+BoxChild
     this.scrolledwindow1            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     global::Gtk.Viewport w4 = new global::Gtk.Viewport();
     w4.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport1.Gtk.Container+ContainerChild
     this.alignment3      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment3.Name = "alignment3";
     // Container child alignment3.Gtk.Container+ContainerChild
     this.SettingVBox         = new global::Gtk.VBox();
     this.SettingVBox.Name    = "SettingVBox";
     this.SettingVBox.Spacing = 6;
     // Container child SettingVBox.Gtk.Box+BoxChild
     this.ToggleCode              = new global::Gtk.ToggleButton();
     this.ToggleCode.CanFocus     = true;
     this.ToggleCode.Name         = "ToggleCode";
     this.ToggleCode.UseUnderline = true;
     this.ToggleCode.Xalign       = 0F;
     this.ToggleCode.Label        = global::Mono.Unix.Catalog.GetString("导出设置");
     this.SettingVBox.Add(this.ToggleCode);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.SettingVBox [this.ToggleCode]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child SettingVBox.Gtk.Box+BoxChild
     this.CodeBox         = new global::Gtk.VBox();
     this.CodeBox.Name    = "CodeBox";
     this.CodeBox.Spacing = 6;
     this.SettingVBox.Add(this.CodeBox);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.SettingVBox [this.CodeBox]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Padding  = ((uint)(2));
     // Container child SettingVBox.Gtk.Box+BoxChild
     this.ToggleLanguage              = new global::Gtk.ToggleButton();
     this.ToggleLanguage.CanFocus     = true;
     this.ToggleLanguage.Name         = "ToggleLanguage";
     this.ToggleLanguage.UseUnderline = true;
     this.ToggleLanguage.Xalign       = 0F;
     this.ToggleLanguage.Label        = global::Mono.Unix.Catalog.GetString("多国语言设置");
     this.SettingVBox.Add(this.ToggleLanguage);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.SettingVBox [this.ToggleLanguage]));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child SettingVBox.Gtk.Box+BoxChild
     this.LanguageBox         = new global::Gtk.VBox();
     this.LanguageBox.Name    = "LanguageBox";
     this.LanguageBox.Spacing = 6;
     // Container child LanguageBox.Gtk.Box+BoxChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label8 = new global::Gtk.Label();
     this.label8.WidthRequest = 120;
     this.label8.Name         = "label8";
     this.label8.Xalign       = 0.15F;
     this.label8.LabelProp    = global::Mono.Unix.Catalog.GetString("多国语言列表");
     this.hbox1.Add(this.label8);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label8]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.textBoxAllLanguages               = new global::Gtk.Entry();
     this.textBoxAllLanguages.CanFocus      = true;
     this.textBoxAllLanguages.Name          = "textBoxAllLanguages";
     this.textBoxAllLanguages.IsEditable    = true;
     this.textBoxAllLanguages.InvisibleChar = '●';
     this.hbox1.Add(this.textBoxAllLanguages);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.textBoxAllLanguages]));
     w9.Position = 1;
     this.vbox4.Add(this.hbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox1]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox10         = new global::Gtk.HBox();
     this.hbox10.Name    = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.label9 = new global::Gtk.Label();
     this.label9.WidthRequest = 120;
     this.label9.Name         = "label9";
     this.label9.Xalign       = 0.15F;
     this.label9.LabelProp    = global::Mono.Unix.Catalog.GetString("翻译表生成目录");
     this.hbox10.Add(this.label9);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.label9]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.textBoxTranslation               = new global::Gtk.Entry();
     this.textBoxTranslation.CanFocus      = true;
     this.textBoxTranslation.Name          = "textBoxTranslation";
     this.textBoxTranslation.IsEditable    = true;
     this.textBoxTranslation.InvisibleChar = '●';
     this.hbox10.Add(this.textBoxTranslation);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.textBoxTranslation]));
     w12.Position = 1;
     this.vbox4.Add(this.hbox10);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox10]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox11         = new global::Gtk.HBox();
     this.hbox11.Name    = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.label10 = new global::Gtk.Label();
     this.label10.WidthRequest = 120;
     this.label10.Name         = "label10";
     this.label10.Xalign       = 0.15F;
     this.label10.LabelProp    = global::Mono.Unix.Catalog.GetString("Language表生成目录");
     this.hbox11.Add(this.label10);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.label10]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox11.Gtk.Box+BoxChild
     this.textBoxLanguage               = new global::Gtk.Entry();
     this.textBoxLanguage.CanFocus      = true;
     this.textBoxLanguage.Name          = "textBoxLanguage";
     this.textBoxLanguage.IsEditable    = true;
     this.textBoxLanguage.InvisibleChar = '●';
     this.hbox11.Add(this.textBoxLanguage);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.textBoxLanguage]));
     w15.Position = 1;
     this.vbox4.Add(this.hbox11);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox11]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     this.LanguageBox.Add(this.vbox4);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.LanguageBox [this.vbox4]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     this.SettingVBox.Add(this.LanguageBox);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.SettingVBox [this.LanguageBox]));
     w18.Position = 3;
     w18.Expand   = false;
     // Container child SettingVBox.Gtk.Box+BoxChild
     this.ToggleSpawn              = new global::Gtk.ToggleButton();
     this.ToggleSpawn.CanFocus     = true;
     this.ToggleSpawn.Name         = "ToggleSpawn";
     this.ToggleSpawn.UseUnderline = true;
     this.ToggleSpawn.Xalign       = 0F;
     this.ToggleSpawn.Label        = global::Mono.Unix.Catalog.GetString("其他设置");
     this.SettingVBox.Add(this.ToggleSpawn);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.SettingVBox [this.ToggleSpawn]));
     w19.Position = 4;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child SettingVBox.Gtk.Box+BoxChild
     this.SpawnBox         = new global::Gtk.VBox();
     this.SpawnBox.Name    = "SpawnBox";
     this.SpawnBox.Spacing = 6;
     // Container child SpawnBox.Gtk.Box+BoxChild
     this.vbox6         = new global::Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox12         = new global::Gtk.HBox();
     this.hbox12.Name    = "hbox12";
     this.hbox12.Spacing = 6;
     // Container child hbox12.Gtk.Box+BoxChild
     this.label11 = new global::Gtk.Label();
     this.label11.WidthRequest = 120;
     this.label11.Name         = "label11";
     this.label11.Xalign       = 0.15F;
     this.label11.LabelProp    = global::Mono.Unix.Catalog.GetString("关键字列表");
     this.hbox12.Add(this.label11);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.label11]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child hbox12.Gtk.Box+BoxChild
     this.textBoxSpawns               = new global::Gtk.Entry();
     this.textBoxSpawns.CanFocus      = true;
     this.textBoxSpawns.Name          = "textBoxSpawns";
     this.textBoxSpawns.IsEditable    = true;
     this.textBoxSpawns.InvisibleChar = '●';
     this.hbox12.Add(this.textBoxSpawns);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.textBoxSpawns]));
     w21.Position = 1;
     this.vbox6.Add(this.hbox12);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox12]));
     w22.Position = 0;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox13         = new global::Gtk.HBox();
     this.hbox13.Name    = "hbox13";
     this.hbox13.Spacing = 6;
     // Container child hbox13.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("PackageName");
     this.hbox13.Add(this.label1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.label1]));
     w23.Position = 0;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hbox13.Gtk.Box+BoxChild
     this.textBoxPackage               = new global::Gtk.Entry();
     this.textBoxPackage.CanFocus      = true;
     this.textBoxPackage.Name          = "textBoxPackage";
     this.textBoxPackage.Text          = global::Mono.Unix.Catalog.GetString("PackageName");
     this.textBoxPackage.IsEditable    = true;
     this.textBoxPackage.InvisibleChar = '●';
     this.hbox13.Add(this.textBoxPackage);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.textBoxPackage]));
     w24.Position = 1;
     this.vbox6.Add(this.hbox13);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox13]));
     w25.Position = 1;
     w25.Expand   = false;
     w25.Fill     = false;
     this.SpawnBox.Add(this.vbox6);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.SpawnBox [this.vbox6]));
     w26.Position = 0;
     this.SettingVBox.Add(this.SpawnBox);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.SettingVBox [this.SpawnBox]));
     w27.Position = 5;
     w27.Expand   = false;
     this.alignment3.Add(this.SettingVBox);
     w4.Add(this.alignment3);
     this.scrolledwindow1.Add(w4);
     this.MainHBox.Add(this.scrolledwindow1);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.MainHBox [this.scrolledwindow1]));
     w31.Position = 0;
     // Container child MainHBox.Gtk.Box+BoxChild
     this.vbox14         = new global::Gtk.VBox();
     this.vbox14.Name    = "vbox14";
     this.vbox14.Spacing = 6;
     // Container child vbox14.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.getManager               = new global::Gtk.CheckButton();
     this.getManager.CanFocus      = true;
     this.getManager.Name          = "getManager";
     this.getManager.Label         = global::Mono.Unix.Catalog.GetString("生成Manager");
     this.getManager.DrawIndicator = true;
     this.getManager.UseUnderline  = true;
     this.hbox3.Add(this.getManager);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.getManager]));
     w32.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.Language               = new global::Gtk.CheckButton();
     this.Language.CanFocus      = true;
     this.Language.Name          = "Language";
     this.Language.Label         = global::Mono.Unix.Catalog.GetString("生成多国语言");
     this.Language.DrawIndicator = true;
     this.Language.UseUnderline  = true;
     this.hbox3.Add(this.Language);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.Language]));
     w33.Position = 1;
     // Container child hbox3.Gtk.Box+BoxChild
     this.refreshNote               = new global::Gtk.CheckButton();
     this.refreshNote.CanFocus      = true;
     this.refreshNote.Name          = "refreshNote";
     this.refreshNote.Label         = global::Mono.Unix.Catalog.GetString("刷新表注释(必须关闭Excel)");
     this.refreshNote.DrawIndicator = true;
     this.refreshNote.UseUnderline  = true;
     this.hbox3.Add(this.refreshNote);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.refreshNote]));
     w34.Position = 2;
     // Container child hbox3.Gtk.Box+BoxChild
     this.buttonRefreshLanguage              = new global::Gtk.Button();
     this.buttonRefreshLanguage.CanFocus     = true;
     this.buttonRefreshLanguage.Name         = "buttonRefreshLanguage";
     this.buttonRefreshLanguage.UseUnderline = true;
     this.buttonRefreshLanguage.Label        = global::Mono.Unix.Catalog.GetString("刷新多国语言表");
     this.hbox3.Add(this.buttonRefreshLanguage);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonRefreshLanguage]));
     w35.Position = 3;
     w35.Expand   = false;
     w35.Fill     = false;
     this.vbox14.Add(this.hbox3);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.hbox3]));
     w36.Position = 0;
     w36.Expand   = false;
     w36.Fill     = false;
     // Container child vbox14.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("选择配置路径");
     this.hbox4.Add(this.label2);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label2]));
     w37.Position = 0;
     w37.Expand   = false;
     w37.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.textTableConfig               = new global::Gtk.Entry();
     this.textTableConfig.CanFocus      = true;
     this.textTableConfig.Name          = "textTableConfig";
     this.textTableConfig.IsEditable    = true;
     this.textTableConfig.InvisibleChar = '●';
     this.hbox4.Add(this.textTableConfig);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.textTableConfig]));
     w38.Position = 1;
     this.vbox14.Add(this.hbox4);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.hbox4]));
     w39.Position = 1;
     w39.Expand   = false;
     w39.Fill     = false;
     // Container child vbox14.Gtk.Box+BoxChild
     this.hbox5         = new global::Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("选择要转换的文件夹");
     this.hbox5.Add(this.label3);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label3]));
     w40.Position = 0;
     w40.Expand   = false;
     w40.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.textTableFolder               = new global::Gtk.Entry();
     this.textTableFolder.CanFocus      = true;
     this.textTableFolder.Name          = "textTableFolder";
     this.textTableFolder.IsEditable    = true;
     this.textTableFolder.InvisibleChar = '●';
     this.hbox5.Add(this.textTableFolder);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.textTableFolder]));
     w41.Position = 1;
     // Container child hbox5.Gtk.Box+BoxChild
     this.buttonTransformFolder              = new global::Gtk.Button();
     this.buttonTransformFolder.CanFocus     = true;
     this.buttonTransformFolder.Name         = "buttonTransformFolder";
     this.buttonTransformFolder.UseUnderline = true;
     this.buttonTransformFolder.Label        = global::Mono.Unix.Catalog.GetString("转换");
     this.hbox5.Add(this.buttonTransformFolder);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonTransformFolder]));
     w42.Position = 2;
     this.vbox14.Add(this.hbox5);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.hbox5]));
     w43.Position = 2;
     w43.Expand   = false;
     w43.Fill     = false;
     // Container child vbox14.Gtk.Box+BoxChild
     this.hbox6         = new global::Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("选择要转换的文件");
     this.hbox6.Add(this.label4);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label4]));
     w44.Position = 0;
     w44.Expand   = false;
     w44.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.textTransformFiles               = new global::Gtk.Entry();
     this.textTransformFiles.CanFocus      = true;
     this.textTransformFiles.Name          = "textTransformFiles";
     this.textTransformFiles.IsEditable    = true;
     this.textTransformFiles.InvisibleChar = '●';
     this.hbox6.Add(this.textTransformFiles);
     global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.textTransformFiles]));
     w45.Position = 1;
     // Container child hbox6.Gtk.Box+BoxChild
     this.selectTransformFiles              = new global::Gtk.Button();
     this.selectTransformFiles.CanFocus     = true;
     this.selectTransformFiles.Name         = "selectTransformFiles";
     this.selectTransformFiles.UseUnderline = true;
     this.selectTransformFiles.Label        = global::Mono.Unix.Catalog.GetString("选择");
     this.hbox6.Add(this.selectTransformFiles);
     global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.selectTransformFiles]));
     w46.Position = 2;
     // Container child hbox6.Gtk.Box+BoxChild
     this.buttonTransform              = new global::Gtk.Button();
     this.buttonTransform.CanFocus     = true;
     this.buttonTransform.Name         = "buttonTransform";
     this.buttonTransform.UseUnderline = true;
     this.buttonTransform.Label        = global::Mono.Unix.Catalog.GetString("转换");
     this.hbox6.Add(this.buttonTransform);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.buttonTransform]));
     w47.Position = 3;
     this.vbox14.Add(this.hbox6);
     global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.hbox6]));
     w48.Position = 3;
     w48.Expand   = false;
     w48.Fill     = false;
     // Container child vbox14.Gtk.Box+BoxChild
     this.hbox7         = new global::Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("选择要反转的文件");
     this.hbox7.Add(this.label5);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label5]));
     w49.Position = 0;
     w49.Expand   = false;
     w49.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.textRollbackFiles               = new global::Gtk.Entry();
     this.textRollbackFiles.CanFocus      = true;
     this.textRollbackFiles.Name          = "textRollbackFiles";
     this.textRollbackFiles.IsEditable    = true;
     this.textRollbackFiles.InvisibleChar = '●';
     this.hbox7.Add(this.textRollbackFiles);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.textRollbackFiles]));
     w50.Position = 1;
     // Container child hbox7.Gtk.Box+BoxChild
     this.selectRollbackFiles              = new global::Gtk.Button();
     this.selectRollbackFiles.CanFocus     = true;
     this.selectRollbackFiles.Name         = "selectRollbackFiles";
     this.selectRollbackFiles.UseUnderline = true;
     this.selectRollbackFiles.Label        = global::Mono.Unix.Catalog.GetString("选择");
     this.hbox7.Add(this.selectRollbackFiles);
     global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.selectRollbackFiles]));
     w51.Position = 2;
     // Container child hbox7.Gtk.Box+BoxChild
     this.buttonRollback              = new global::Gtk.Button();
     this.buttonRollback.CanFocus     = true;
     this.buttonRollback.Name         = "buttonRollback";
     this.buttonRollback.UseUnderline = true;
     this.buttonRollback.Label        = global::Mono.Unix.Catalog.GetString("转换");
     this.hbox7.Add(this.buttonRollback);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonRollback]));
     w52.Position = 3;
     this.vbox14.Add(this.hbox7);
     global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.hbox7]));
     w53.Position = 4;
     w53.Expand   = false;
     w53.Fill     = false;
     // Container child vbox14.Gtk.Box+BoxChild
     this.hbox8         = new global::Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("选择协议路径");
     this.hbox8.Add(this.label6);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.label6]));
     w54.Position = 0;
     w54.Expand   = false;
     w54.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.textMessage               = new global::Gtk.Entry();
     this.textMessage.CanFocus      = true;
     this.textMessage.Name          = "textMessage";
     this.textMessage.IsEditable    = true;
     this.textMessage.InvisibleChar = '●';
     this.hbox8.Add(this.textMessage);
     global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.textMessage]));
     w55.Position = 1;
     // Container child hbox8.Gtk.Box+BoxChild
     this.buttonMessage              = new global::Gtk.Button();
     this.buttonMessage.CanFocus     = true;
     this.buttonMessage.Name         = "buttonMessage";
     this.buttonMessage.UseUnderline = true;
     this.buttonMessage.Label        = global::Mono.Unix.Catalog.GetString("转换");
     this.hbox8.Add(this.buttonMessage);
     global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.buttonMessage]));
     w56.Position = 2;
     this.vbox14.Add(this.hbox8);
     global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.hbox8]));
     w57.Position = 5;
     w57.Expand   = false;
     w57.Fill     = false;
     // Container child vbox14.Gtk.Box+BoxChild
     this.hbox9         = new global::Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("选择数据库配置路径");
     this.hbox9.Add(this.label7);
     global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label7]));
     w58.Position = 0;
     w58.Expand   = false;
     w58.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.textDatabaseConfig               = new global::Gtk.Entry();
     this.textDatabaseConfig.CanFocus      = true;
     this.textDatabaseConfig.Name          = "textDatabaseConfig";
     this.textDatabaseConfig.IsEditable    = true;
     this.textDatabaseConfig.InvisibleChar = '●';
     this.hbox9.Add(this.textDatabaseConfig);
     global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.textDatabaseConfig]));
     w59.Position = 1;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonDatabase              = new global::Gtk.Button();
     this.buttonDatabase.CanFocus     = true;
     this.buttonDatabase.Name         = "buttonDatabase";
     this.buttonDatabase.UseUnderline = true;
     this.buttonDatabase.Label        = global::Mono.Unix.Catalog.GetString("转换");
     this.hbox9.Add(this.buttonDatabase);
     global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonDatabase]));
     w60.Position = 2;
     this.vbox14.Add(this.hbox9);
     global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.hbox9]));
     w61.Position = 6;
     w61.Expand   = false;
     w61.Fill     = false;
     // Container child vbox14.Gtk.Box+BoxChild
     this.progressBar      = new global::Gtk.ProgressBar();
     this.progressBar.Name = "progressBar";
     this.progressBar.Text = "";
     this.vbox14.Add(this.progressBar);
     global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.progressBar]));
     w62.Position = 7;
     w62.Expand   = false;
     w62.Fill     = false;
     // Container child vbox14.Gtk.Box+BoxChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.richTextBoxLog          = new global::Gtk.TextView();
     this.richTextBoxLog.CanFocus = true;
     this.richTextBoxLog.Name     = "richTextBoxLog";
     this.GtkScrolledWindow1.Add(this.richTextBoxLog);
     this.vbox14.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.GtkScrolledWindow1]));
     w64.Position = 8;
     this.MainHBox.Add(this.vbox14);
     global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.MainHBox [this.vbox14]));
     w65.Position = 1;
     w3.Add(this.MainHBox);
     this.GtkScrolledWindow.Add(w3);
     this.MenuVBox.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.MenuVBox [this.GtkScrolledWindow]));
     w68.Position = 1;
     this.Add(this.MenuVBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 994;
     this.DefaultHeight = 481;
     this.Show();
     this.DeleteEvent                   += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.TinyPNGAction.Activated       += new global::System.EventHandler(this.OnClickTinyPNG);
     this.ToggleCode.Toggled            += new global::System.EventHandler(this.OnToggleCode);
     this.ToggleLanguage.Toggled        += new global::System.EventHandler(this.OnToggleLanguage);
     this.ToggleSpawn.Toggled           += new global::System.EventHandler(this.OnToggleSpawn);
     this.buttonTransformFolder.Clicked += new global::System.EventHandler(this.buttonTransformFolder_Click);
     this.selectTransformFiles.Clicked  += new global::System.EventHandler(this.selectTransformFiles_Click);
     this.buttonTransform.Clicked       += new global::System.EventHandler(this.buttonTransform_Click);
     this.selectRollbackFiles.Clicked   += new global::System.EventHandler(this.selectRollbackFiles_Click);
     this.buttonRollback.Clicked        += new global::System.EventHandler(this.buttonRollback_Click);
     this.buttonMessage.Clicked         += new global::System.EventHandler(this.buttonMessage_Click);
     this.buttonDatabase.Clicked        += new global::System.EventHandler(this.buttonDatabase_Click);
 }
예제 #22
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MassDNS");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(6));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Username:"******"entryUsername";
     this.entryUsername.IsEditable    = true;
     this.entryUsername.InvisibleChar = '●';
     this.hbox2.Add(this.entryUsername);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entryUsername]));
     w2.Position = 1;
     this.vbox2.Add(this.hbox2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Password:"******"entryPassword";
     this.entryPassword.IsEditable    = true;
     this.entryPassword.Visibility    = false;
     this.entryPassword.InvisibleChar = '●';
     this.hbox3.Add(this.entryPassword);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entryPassword]));
     w5.Position = 1;
     this.vbox2.Add(this.hbox3);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("IP:");
     this.hbox4.Add(this.label3);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label3]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.entryIP               = new global::Gtk.Entry();
     this.entryIP.CanFocus      = true;
     this.entryIP.Name          = "entryIP";
     this.entryIP.IsEditable    = true;
     this.entryIP.InvisibleChar = '●';
     this.hbox4.Add(this.entryIP);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.entryIP]));
     w8.Position = 1;
     this.vbox2.Add(this.hbox4);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     this.vbox1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox62         = new global::Gtk.HBox();
     this.hbox62.Name    = "hbox62";
     this.hbox62.Spacing = 6;
     // Container child hbox62.Gtk.Box+BoxChild
     this.vbox8         = new global::Gtk.VBox();
     this.vbox8.Name    = "vbox8";
     this.vbox8.Spacing = 6;
     this.hbox62.Add(this.vbox8);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox62 [this.vbox8]));
     w11.Position = 0;
     // Container child hbox62.Gtk.Box+BoxChild
     this.vbox7         = new global::Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.radiobuttonDelegation               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Delegation"));
     this.radiobuttonDelegation.CanFocus      = true;
     this.radiobuttonDelegation.Name          = "radiobuttonDelegation";
     this.radiobuttonDelegation.DrawIndicator = true;
     this.radiobuttonDelegation.UseUnderline  = true;
     this.radiobuttonDelegation.Group         = new global::GLib.SList(global::System.IntPtr.Zero);
     this.vbox7.Add(this.radiobuttonDelegation);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.radiobuttonDelegation]));
     w12.Position = 0;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.radiobuttonDetails               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Details"));
     this.radiobuttonDetails.CanFocus      = true;
     this.radiobuttonDetails.Name          = "radiobuttonDetails";
     this.radiobuttonDetails.DrawIndicator = true;
     this.radiobuttonDetails.UseUnderline  = true;
     this.radiobuttonDetails.Group         = this.radiobuttonDelegation.Group;
     this.vbox7.Add(this.radiobuttonDetails);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.radiobuttonDetails]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     this.hbox62.Add(this.vbox7);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox62 [this.vbox7]));
     w14.Position = 1;
     // Container child hbox62.Gtk.Box+BoxChild
     this.vbox6         = new global::Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.radiobuttonCreate               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Create"));
     this.radiobuttonCreate.CanFocus      = true;
     this.radiobuttonCreate.Name          = "radiobuttonCreate";
     this.radiobuttonCreate.DrawIndicator = true;
     this.radiobuttonCreate.UseUnderline  = true;
     this.radiobuttonCreate.Group         = this.radiobuttonDelegation.Group;
     this.vbox6.Add(this.radiobuttonCreate);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.radiobuttonCreate]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.radiobuttonDelete               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Delete"));
     this.radiobuttonDelete.CanFocus      = true;
     this.radiobuttonDelete.Name          = "radiobuttonDelete";
     this.radiobuttonDelete.DrawIndicator = true;
     this.radiobuttonDelete.UseUnderline  = true;
     this.radiobuttonDelete.Group         = this.radiobuttonDelegation.Group;
     this.vbox6.Add(this.radiobuttonDelete);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.radiobuttonDelete]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     this.hbox62.Add(this.vbox6);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox62 [this.vbox6]));
     w17.Position = 2;
     this.vbox4.Add(this.hbox62);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox62]));
     w18.Position = 0;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textviewHostnames             = new global::Gtk.TextView();
     this.textviewHostnames.Buffer.Text = "Input Hostnames on new lines";
     this.textviewHostnames.CanFocus    = true;
     this.textviewHostnames.Name        = "textviewHostnames";
     this.GtkScrolledWindow.Add(this.textviewHostnames);
     this.vbox4.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow]));
     w20.Position = 1;
     this.vbox1.Add(this.vbox4);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox4]));
     w21.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Returned from API");
     this.vbox5.Add(this.label7);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.label7]));
     w22.Position = 0;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.textviewAPIReturn          = new global::Gtk.TextView();
     this.textviewAPIReturn.CanFocus = true;
     this.textviewAPIReturn.Name     = "textviewAPIReturn";
     this.textviewAPIReturn.Editable = false;
     this.GtkScrolledWindow1.Add(this.textviewAPIReturn);
     this.vbox5.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow1]));
     w24.Position = 1;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox19         = new global::Gtk.HBox();
     this.hbox19.Name    = "hbox19";
     this.hbox19.Spacing = 6;
     // Container child hbox19.Gtk.Box+BoxChild
     this.buttonPark              = new global::Gtk.Button();
     this.buttonPark.CanFocus     = true;
     this.buttonPark.Name         = "buttonPark";
     this.buttonPark.UseUnderline = true;
     this.buttonPark.Label        = global::Mono.Unix.Catalog.GetString("Do Things");
     this.hbox19.Add(this.buttonPark);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox19 [this.buttonPark]));
     w25.Position = 0;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child hbox19.Gtk.Box+BoxChild
     this.buttonClear              = new global::Gtk.Button();
     this.buttonClear.CanFocus     = true;
     this.buttonClear.Name         = "buttonClear";
     this.buttonClear.UseUnderline = true;
     this.buttonClear.Label        = global::Mono.Unix.Catalog.GetString("Clear");
     this.hbox19.Add(this.buttonClear);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox19 [this.buttonClear]));
     w26.Position = 1;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child hbox19.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressbar1      = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.hbox1.Add(this.progressbar1);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressbar1]));
     w27.Position = 0;
     this.hbox19.Add(this.hbox1);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox19 [this.hbox1]));
     w28.Position = 2;
     this.vbox5.Add(this.hbox19);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox19]));
     w29.Position = 2;
     w29.Expand   = false;
     w29.Fill     = false;
     this.vbox1.Add(this.vbox5);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox5]));
     w30.Position = 2;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 500;
     this.DefaultHeight = 477;
     this.label3.Hide();
     this.entryIP.Hide();
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.radiobuttonDelegation.Clicked += new global::System.EventHandler(this.radiobuttonDelegationClicked);
     this.radiobuttonDetails.Clicked    += new global::System.EventHandler(this.radiobuttonDetailsClicked);
     this.radiobuttonCreate.Clicked     += new global::System.EventHandler(this.radiobuttonCreateClicked);
     this.radiobuttonDelete.Clicked     += new global::System.EventHandler(this.radiobuttonDeleteClicked);
     this.buttonPark.Clicked            += new global::System.EventHandler(this.buttonClickedPark);
     this.buttonClear.Clicked           += new global::System.EventHandler(this.buttonClickedClear);
 }
예제 #23
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget iMetaGui.ExportingDialog
     this.Name           = "iMetaGui.ExportingDialog";
     this.Title          = global::Mono.Unix.Catalog.GetString("Export Collection Catalog");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal          = true;
     this.Resizable      = false;
     this.AllowGrow      = false;
     this.Gravity        = ((global::Gdk.Gravity)(5));
     // Internal child iMetaGui.ExportingDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 2;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Please specify the directory to export your collection catalog to. ");
     this.vbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.filechooserbutton1      = new global::Gtk.FileChooserButton(global::Mono.Unix.Catalog.GetString("Select A File"), ((global::Gtk.FileChooserAction)(2)));
     this.filechooserbutton1.Name = "filechooserbutton1";
     this.vbox2.Add(this.filechooserbutton1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.filechooserbutton1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     this.notebook1.Add(this.vbox2);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebook1.SetTabLabel(this.vbox2, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Exporting collection catalog, please wait.");
     this.vbox3.Add(this.label4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label4]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.pbarExporting      = new global::Gtk.ProgressBar();
     this.pbarExporting.Name = "pbarExporting";
     this.vbox3.Add(this.pbarExporting);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.pbarExporting]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     this.notebook1.Add(this.vbox3);
     global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox3]));
     w7.Position = 1;
     // Notebook tab
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("page2");
     this.notebook1.SetTabLabel(this.vbox3, this.label3);
     this.label3.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Successfully exported collection catalog.");
     this.label7.Justify   = ((global::Gtk.Justification)(2));
     this.notebook1.Add(this.label7);
     global::Gtk.Notebook.NotebookChild w8 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.label7]));
     w8.Position = 2;
     // Notebook tab
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("page3");
     this.notebook1.SetTabLabel(this.label7, this.label5);
     this.label5.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Failed to export collection catalog.  \r\nPlease check disk space and write permiss" +
                                                                 "ions to export location."
                                                                 );
     this.label8.Justify = ((global::Gtk.Justification)(2));
     this.notebook1.Add(this.label8);
     global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.label8]));
     w9.Position = 3;
     // Notebook tab
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("page4");
     this.notebook1.SetTabLabel(this.label8, this.label6);
     this.label6.ShowAll();
     w1.Add(this.notebook1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1 [this.notebook1]));
     w10.Position = 0;
     // Internal child iMetaGui.ExportingDialog.ActionArea
     global::Gtk.HButtonBox w11 = this.ActionArea;
     w11.Name        = "dialog1_ActionArea";
     w11.Spacing     = 10;
     w11.BorderWidth = ((uint)(5));
     w11.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-cancel";
     w11.Add(this.buttonCancel);
     global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11 [this.buttonCancel]));
     w12.Expand = false;
     w12.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new global::Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     w11.Add(this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11 [this.buttonOk]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 188;
     this.Show();
 }
예제 #24
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget CmisSync.Widgets.TransmissionWidget
     global::Stetic.BinContainer.Attach(this);
     this.CanFocus = true;
     this.Name     = "CmisSync.Widgets.TransmissionWidget";
     // Container child CmisSync.Widgets.TransmissionWidget.Gtk.Container+ContainerChild
     this.eventBox          = new global::Gtk.EventBox();
     this.eventBox.CanFocus = true;
     this.eventBox.Name     = "eventBox";
     // Container child eventBox.Gtk.Container+ContainerChild
     this.mainBox          = new global::Gtk.HBox();
     this.mainBox.CanFocus = true;
     this.mainBox.Name     = "mainBox";
     this.mainBox.Spacing  = 6;
     // Container child mainBox.Gtk.Box+BoxChild
     this.fileTypeImage        = new global::Gtk.Image();
     this.fileTypeImage.Name   = "fileTypeImage";
     this.fileTypeImage.Xalign = 0F;
     this.mainBox.Add(this.fileTypeImage);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.mainBox [this.fileTypeImage]));
     w1.Position = 0;
     w1.Expand   = false;
     // Container child mainBox.Gtk.Box+BoxChild
     this.midbox         = new global::Gtk.VBox();
     this.midbox.Name    = "midbox";
     this.midbox.Spacing = 6;
     // Container child midbox.Gtk.Box+BoxChild
     this.fileNameLabel            = new global::Gtk.Label();
     this.fileNameLabel.Name       = "fileNameLabel";
     this.fileNameLabel.Xalign     = 0F;
     this.fileNameLabel.Selectable = true;
     this.midbox.Add(this.fileNameLabel);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.midbox [this.fileNameLabel]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child midbox.Gtk.Box+BoxChild
     this.transmissionProgressBar      = new global::Gtk.ProgressBar();
     this.transmissionProgressBar.Name = "transmissionProgressBar";
     this.midbox.Add(this.transmissionProgressBar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.midbox [this.transmissionProgressBar]));
     w3.Position = 1;
     w3.Fill     = false;
     // Container child midbox.Gtk.Box+BoxChild
     this.statusBox         = new global::Gtk.HBox();
     this.statusBox.Name    = "statusBox";
     this.statusBox.Spacing = 10;
     // Container child statusBox.Gtk.Box+BoxChild
     this.statusDetailsLabel                = new global::Gtk.Label();
     this.statusDetailsLabel.Sensitive      = false;
     this.statusDetailsLabel.Name           = "statusDetailsLabel";
     this.statusDetailsLabel.Xalign         = 0F;
     this.statusDetailsLabel.UseMarkup      = true;
     this.statusDetailsLabel.Selectable     = true;
     this.statusDetailsLabel.SingleLineMode = true;
     this.statusBox.Add(this.statusDetailsLabel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.statusBox [this.statusDetailsLabel]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child statusBox.Gtk.Box+BoxChild
     this.bandwidthLabel           = new global::Gtk.Label();
     this.bandwidthLabel.Sensitive = false;
     this.bandwidthLabel.Name      = "bandwidthLabel";
     this.bandwidthLabel.UseMarkup = true;
     this.statusBox.Add(this.bandwidthLabel);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.statusBox [this.bandwidthLabel]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child statusBox.Gtk.Box+BoxChild
     this.repoLabel           = new global::Gtk.Label();
     this.repoLabel.Sensitive = false;
     this.repoLabel.Name      = "repoLabel";
     this.repoLabel.Xalign    = 0F;
     this.repoLabel.UseMarkup = true;
     this.statusBox.Add(this.repoLabel);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.statusBox [this.repoLabel]));
     w6.Position = 3;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child statusBox.Gtk.Box+BoxChild
     this.lastModificationLabel           = new global::Gtk.Label();
     this.lastModificationLabel.Sensitive = false;
     this.lastModificationLabel.Name      = "lastModificationLabel";
     this.lastModificationLabel.Xalign    = 0F;
     this.lastModificationLabel.UseMarkup = true;
     this.statusBox.Add(this.lastModificationLabel);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.statusBox [this.lastModificationLabel]));
     w7.PackType = ((global::Gtk.PackType)(1));
     w7.Position = 5;
     w7.Expand   = false;
     w7.Fill     = false;
     this.midbox.Add(this.statusBox);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.midbox [this.statusBox]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     this.mainBox.Add(this.midbox);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.mainBox [this.midbox]));
     w9.Position = 1;
     // Container child mainBox.Gtk.Box+BoxChild
     this.openFileInFolderButton              = new global::Gtk.Button();
     this.openFileInFolderButton.Name         = "openFileInFolderButton";
     this.openFileInFolderButton.UseStock     = true;
     this.openFileInFolderButton.UseUnderline = true;
     this.openFileInFolderButton.FocusOnClick = false;
     this.openFileInFolderButton.Relief       = ((global::Gtk.ReliefStyle)(2));
     this.openFileInFolderButton.Label        = "gtk-open";
     this.mainBox.Add(this.openFileInFolderButton);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.mainBox [this.openFileInFolderButton]));
     w10.Position = 2;
     w10.Expand   = false;
     w10.Fill     = false;
     this.eventBox.Add(this.mainBox);
     this.Add(this.eventBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
 }
예제 #25
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 1;
     this.notebook1.ShowBorder  = false;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vboxMovies         = new global::Gtk.VBox();
     this.vboxMovies.Name    = "vboxMovies";
     this.vboxMovies.Spacing = 6;
     // Container child vboxMovies.Gtk.Box+BoxChild
     this..AddUiFromString("<ui><toolbar name=\'tlbMovies\'><toolitem/><toolitem/><toolitem/><toolitem/><toolit" +
                           "em/><toolitem/></toolbar></ui>");
     this.tlbMovies           = ((global::Gtk.Toolbar)(this..GetWidget("/tlbMovies")));
     this.tlbMovies.Name      = "tlbMovies";
     this.tlbMovies.ShowArrow = false;
     this.tlbMovies.IconSize  = ((global::Gtk.IconSize)(4));
     this.vboxMovies.Add(this.tlbMovies);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vboxMovies[this.tlbMovies]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vboxMovies.Gtk.Box+BoxChild
     this.scrolledwindow1            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.ivwMovies          = new global::Gtk.IconView();
     this.ivwMovies.CanFocus = true;
     this.ivwMovies.Name     = "ivwMovies";
     this.scrolledwindow1.Add(this.ivwMovies);
     this.vboxMovies.Add(this.scrolledwindow1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxMovies[this.scrolledwindow1]));
     w3.Position = 1;
     // Container child vboxMovies.Gtk.Box+BoxChild
     this.sbarMovies         = new global::Gtk.Statusbar();
     this.sbarMovies.Name    = "sbarMovies";
     this.sbarMovies.Spacing = 6;
     this.vboxMovies.Add(this.sbarMovies);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxMovies[this.sbarMovies]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     this.notebook1.Add(this.vboxMovies);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Movies");
     this.notebook1.SetTabLabel(this.vboxMovies, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vboxTvShows      = new global::Gtk.VBox();
     this.vboxTvShows.Name = "vboxTvShows";
     // Container child vboxTvShows.Gtk.Box+BoxChild
     this..AddUiFromString("<ui><toolbar name=\'toolbar3\'><toolitem/><toolitem/><toolitem/></toolbar></ui>");
     this.toolbar3           = ((global::Gtk.Toolbar)(this..GetWidget("/toolbar3")));
     this.toolbar3.Name      = "toolbar3";
     this.toolbar3.ShowArrow = false;
     this.vboxTvShows.Add(this.toolbar3);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxTvShows[this.toolbar3]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vboxTvShows.Gtk.Box+BoxChild
     this.scrollTvShows            = new global::Gtk.ScrolledWindow();
     this.scrollTvShows.CanFocus   = true;
     this.scrollTvShows.Name       = "scrollTvShows";
     this.scrollTvShows.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrollTvShows.Gtk.Container+ContainerChild
     this.ivwTvShows          = new global::Gtk.IconView();
     this.ivwTvShows.CanFocus = true;
     this.ivwTvShows.Name     = "ivwTvShows";
     this.scrollTvShows.Add(this.ivwTvShows);
     this.vboxTvShows.Add(this.scrollTvShows);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxTvShows[this.scrollTvShows]));
     w8.Position = 1;
     // Container child vboxTvShows.Gtk.Box+BoxChild
     this.statusbar2         = new global::Gtk.Statusbar();
     this.statusbar2.Name    = "statusbar2";
     this.statusbar2.Spacing = 2;
     // Container child statusbar2.Gtk.Box+BoxChild
     this.prgTvShows      = new global::Gtk.ProgressBar();
     this.prgTvShows.Name = "prgTvShows";
     this.statusbar2.Add(this.prgTvShows);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.statusbar2[this.prgTvShows]));
     w9.Position = 2;
     this.vboxTvShows.Add(this.statusbar2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxTvShows[this.statusbar2]));
     w10.Position = 2;
     w10.Expand   = false;
     w10.Fill     = false;
     this.notebook1.Add(this.vboxTvShows);
     global::Gtk.Notebook.NotebookChild w11 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxTvShows]));
     w11.Position = 1;
     // Notebook tab
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("TV Shows");
     this.notebook1.SetTabLabel(this.vboxTvShows, this.label2);
     this.label2.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.scrolledwindow2            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus   = true;
     this.scrolledwindow2.Name       = "scrolledwindow2";
     this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.txtLog          = new global::Gtk.TextView();
     this.txtLog.CanFocus = true;
     this.txtLog.Name     = "txtLog";
     this.scrolledwindow2.Add(this.txtLog);
     this.notebook1.Add(this.scrolledwindow2);
     global::Gtk.Notebook.NotebookChild w13 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.scrolledwindow2]));
     w13.Position = 2;
     // Notebook tab
     this.lblLog           = new global::Gtk.Label();
     this.lblLog.Name      = "lblLog";
     this.lblLog.LabelProp = global::Mono.Unix.Catalog.GetString("page3");
     this.notebook1.SetTabLabel(this.scrolledwindow2, this.lblLog);
     this.lblLog.ShowAll();
     this.Add(this.notebook1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 867;
     this.DefaultHeight = 542;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
예제 #26
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Vodovoz.LoadFrom1cDlg
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Vodovoz.LoadFrom1cDlg";
     // Container child Vodovoz.LoadFrom1cDlg.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.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.table1               = new global::Gtk.Table(((uint)(13)), ((uint)(4)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth   = ((uint)(27));
     // Container child table1.Gtk.Table+TableChild
     this.filechooserXML      = new global::Gtk.FileChooserButton(global::Mono.Unix.Catalog.GetString("Выберите XML файл с данными из 1с"), ((global::Gtk.FileChooserAction)(0)));
     this.filechooserXML.Name = "filechooserXML";
     this.table1.Add(this.filechooserXML);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.filechooserXML]));
     w1.LeftAttach  = ((uint)(1));
     w1.RightAttach = ((uint)(4));
     w1.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonLoad              = new global::Gtk.Button();
     this.buttonLoad.Sensitive    = false;
     this.buttonLoad.CanFocus     = true;
     this.buttonLoad.Name         = "buttonLoad";
     this.buttonLoad.UseUnderline = true;
     this.buttonLoad.BorderWidth  = ((uint)(18));
     this.buttonLoad.Label        = global::Mono.Unix.Catalog.GetString("Прочитать");
     this.hbox1.Add(this.buttonLoad);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonLoad]));
     w2.Position = 0;
     w2.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonCreate              = new global::Gtk.Button();
     this.buttonCreate.Sensitive    = false;
     this.buttonCreate.CanFocus     = true;
     this.buttonCreate.Name         = "buttonCreate";
     this.buttonCreate.UseUnderline = true;
     this.buttonCreate.BorderWidth  = ((uint)(18));
     this.buttonCreate.Label        = global::Mono.Unix.Catalog.GetString("Создать");
     this.hbox1.Add(this.buttonCreate);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonCreate]));
     w3.Position = 1;
     w3.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonSave              = new global::Gtk.Button();
     this.buttonSave.Sensitive    = false;
     this.buttonSave.CanFocus     = true;
     this.buttonSave.Name         = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.BorderWidth  = ((uint)(18));
     this.buttonSave.Label        = global::Mono.Unix.Catalog.GetString("Применить");
     this.hbox1.Add(this.buttonSave);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSave]));
     w4.Position = 2;
     w4.Fill     = false;
     this.table1.Add(this.hbox1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox1]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.RightAttach  = ((uint)(2));
     w5.XOptions     = ((global::Gtk.AttachOptions)(0));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Файл для загрузка:");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Загружено номенклатуры:");
     this.table1.Add(this.label10);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label10]));
     w7.TopAttach    = ((uint)(10));
     w7.BottomAttach = ((uint)(11));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.Xalign    = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Загружено заказов:");
     this.table1.Add(this.label11);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label11]));
     w8.TopAttach    = ((uint)(11));
     w8.BottomAttach = ((uint)(12));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label12           = new global::Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.Xalign    = 1F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Новых контрагентов:");
     this.table1.Add(this.label12);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label12]));
     w9.TopAttach    = ((uint)(4));
     w9.BottomAttach = ((uint)(5));
     w9.LeftAttach   = ((uint)(2));
     w9.RightAttach  = ((uint)(3));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label13           = new global::Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.Xalign    = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Новых номенклатур:");
     this.table1.Add(this.label13);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label13]));
     w10.TopAttach    = ((uint)(5));
     w10.BottomAttach = ((uint)(6));
     w10.LeftAttach   = ((uint)(2));
     w10.RightAttach  = ((uint)(3));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label14           = new global::Gtk.Label();
     this.label14.Name      = "label14";
     this.label14.Xalign    = 1F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Новых заказов:");
     this.table1.Add(this.label14);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label14]));
     w11.TopAttach    = ((uint)(6));
     w11.BottomAttach = ((uint)(7));
     w11.LeftAttach   = ((uint)(2));
     w11.RightAttach  = ((uint)(3));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label15           = new global::Gtk.Label();
     this.label15.Name      = "label15";
     this.label15.Xalign    = 1F;
     this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Новых адресов:");
     this.table1.Add(this.label15);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label15]));
     w12.TopAttach    = ((uint)(7));
     w12.BottomAttach = ((uint)(8));
     w12.LeftAttach   = ((uint)(2));
     w12.RightAttach  = ((uint)(3));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label16           = new global::Gtk.Label();
     this.label16.Name      = "label16";
     this.label16.Xalign    = 1F;
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("Изменено контрагентов:");
     this.table1.Add(this.label16);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label16]));
     w13.TopAttach    = ((uint)(8));
     w13.BottomAttach = ((uint)(9));
     w13.LeftAttach   = ((uint)(2));
     w13.RightAttach  = ((uint)(3));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label18           = new global::Gtk.Label();
     this.label18.Name      = "label18";
     this.label18.Xalign    = 1F;
     this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Изменено заказов:");
     this.table1.Add(this.label18);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label18]));
     w14.TopAttach    = ((uint)(9));
     w14.BottomAttach = ((uint)(10));
     w14.LeftAttach   = ((uint)(2));
     w14.RightAttach  = ((uint)(3));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагентов загружено:");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w15.TopAttach    = ((uint)(3));
     w15.BottomAttach = ((uint)(4));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label22           = new global::Gtk.Label();
     this.label22.Name      = "label22";
     this.label22.Xalign    = 1F;
     this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Пропущено заказов:");
     this.table1.Add(this.label22);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label22]));
     w16.TopAttach    = ((uint)(12));
     w16.BottomAttach = ((uint)(13));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Контрагентов пропущено:");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w17.TopAttach    = ((uint)(4));
     w17.BottomAttach = ((uint)(5));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Счетов привязаных к контрагенту:");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
     w18.TopAttach    = ((uint)(7));
     w18.BottomAttach = ((uint)(8));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Загружено расчетных счетов:");
     this.table1.Add(this.label5);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
     w19.TopAttach    = ((uint)(5));
     w19.BottomAttach = ((uint)(6));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Заказы пропавшие из загрузки:");
     this.table1.Add(this.label6);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label6]));
     w20.TopAttach    = ((uint)(10));
     w20.BottomAttach = ((uint)(11));
     w20.LeftAttach   = ((uint)(2));
     w20.RightAttach  = ((uint)(3));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Загружено банков:");
     this.table1.Add(this.label7);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label7]));
     w21.TopAttach    = ((uint)(8));
     w21.BottomAttach = ((uint)(9));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Из них несуществующих:");
     this.table1.Add(this.label8);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.label8]));
     w22.TopAttach    = ((uint)(9));
     w22.BottomAttach = ((uint)(10));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Из них в несуществующих банках:");
     this.table1.Add(this.label9);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.label9]));
     w23.TopAttach    = ((uint)(6));
     w23.BottomAttach = ((uint)(7));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelCounterpartiesChanged           = new global::Gtk.Label();
     this.labelCounterpartiesChanged.Name      = "labelCounterpartiesChanged";
     this.labelCounterpartiesChanged.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelCounterpartiesChanged);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.labelCounterpartiesChanged]));
     w24.TopAttach    = ((uint)(8));
     w24.BottomAttach = ((uint)(9));
     w24.LeftAttach   = ((uint)(3));
     w24.RightAttach  = ((uint)(4));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelInactiveAccounts           = new global::Gtk.Label();
     this.labelInactiveAccounts.Name      = "labelInactiveAccounts";
     this.labelInactiveAccounts.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelInactiveAccounts);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.labelInactiveAccounts]));
     w25.TopAttach    = ((uint)(6));
     w25.BottomAttach = ((uint)(7));
     w25.LeftAttach   = ((uint)(1));
     w25.RightAttach  = ((uint)(2));
     w25.XOptions     = ((global::Gtk.AttachOptions)(4));
     w25.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelInactiveBanks           = new global::Gtk.Label();
     this.labelInactiveBanks.Name      = "labelInactiveBanks";
     this.labelInactiveBanks.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelInactiveBanks);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1[this.labelInactiveBanks]));
     w26.TopAttach    = ((uint)(9));
     w26.BottomAttach = ((uint)(10));
     w26.LeftAttach   = ((uint)(1));
     w26.RightAttach  = ((uint)(2));
     w26.XOptions     = ((global::Gtk.AttachOptions)(4));
     w26.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelLinkedAccount           = new global::Gtk.Label();
     this.labelLinkedAccount.Name      = "labelLinkedAccount";
     this.labelLinkedAccount.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelLinkedAccount);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1[this.labelLinkedAccount]));
     w27.TopAttach    = ((uint)(7));
     w27.BottomAttach = ((uint)(8));
     w27.LeftAttach   = ((uint)(1));
     w27.RightAttach  = ((uint)(2));
     w27.XOptions     = ((global::Gtk.AttachOptions)(4));
     w27.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelLostOrders           = new global::Gtk.Label();
     this.labelLostOrders.Name      = "labelLostOrders";
     this.labelLostOrders.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelLostOrders);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.labelLostOrders]));
     w28.TopAttach    = ((uint)(10));
     w28.BottomAttach = ((uint)(11));
     w28.LeftAttach   = ((uint)(3));
     w28.RightAttach  = ((uint)(4));
     w28.XOptions     = ((global::Gtk.AttachOptions)(4));
     w28.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelNewAddresses           = new global::Gtk.Label();
     this.labelNewAddresses.Name      = "labelNewAddresses";
     this.labelNewAddresses.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelNewAddresses);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1[this.labelNewAddresses]));
     w29.TopAttach    = ((uint)(7));
     w29.BottomAttach = ((uint)(8));
     w29.LeftAttach   = ((uint)(3));
     w29.RightAttach  = ((uint)(4));
     w29.XOptions     = ((global::Gtk.AttachOptions)(4));
     w29.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelNewCounterparties           = new global::Gtk.Label();
     this.labelNewCounterparties.Name      = "labelNewCounterparties";
     this.labelNewCounterparties.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelNewCounterparties);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1[this.labelNewCounterparties]));
     w30.TopAttach    = ((uint)(4));
     w30.BottomAttach = ((uint)(5));
     w30.LeftAttach   = ((uint)(3));
     w30.RightAttach  = ((uint)(4));
     w30.XOptions     = ((global::Gtk.AttachOptions)(4));
     w30.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelNewNomenclatures           = new global::Gtk.Label();
     this.labelNewNomenclatures.Name      = "labelNewNomenclatures";
     this.labelNewNomenclatures.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelNewNomenclatures);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.labelNewNomenclatures]));
     w31.TopAttach    = ((uint)(5));
     w31.BottomAttach = ((uint)(6));
     w31.LeftAttach   = ((uint)(3));
     w31.RightAttach  = ((uint)(4));
     w31.XOptions     = ((global::Gtk.AttachOptions)(4));
     w31.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelNewOrders           = new global::Gtk.Label();
     this.labelNewOrders.Name      = "labelNewOrders";
     this.labelNewOrders.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelNewOrders);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.labelNewOrders]));
     w32.TopAttach    = ((uint)(6));
     w32.BottomAttach = ((uint)(7));
     w32.LeftAttach   = ((uint)(3));
     w32.RightAttach  = ((uint)(4));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelOrdersChanged           = new global::Gtk.Label();
     this.labelOrdersChanged.Name      = "labelOrdersChanged";
     this.labelOrdersChanged.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelOrdersChanged);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.labelOrdersChanged]));
     w33.TopAttach    = ((uint)(9));
     w33.BottomAttach = ((uint)(10));
     w33.LeftAttach   = ((uint)(3));
     w33.RightAttach  = ((uint)(4));
     w33.XOptions     = ((global::Gtk.AttachOptions)(4));
     w33.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelReadedAccounts           = new global::Gtk.Label();
     this.labelReadedAccounts.Name      = "labelReadedAccounts";
     this.labelReadedAccounts.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelReadedAccounts);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.labelReadedAccounts]));
     w34.TopAttach    = ((uint)(5));
     w34.BottomAttach = ((uint)(6));
     w34.LeftAttach   = ((uint)(1));
     w34.RightAttach  = ((uint)(2));
     w34.XOptions     = ((global::Gtk.AttachOptions)(4));
     w34.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelReadedNomenclatures           = new global::Gtk.Label();
     this.labelReadedNomenclatures.Name      = "labelReadedNomenclatures";
     this.labelReadedNomenclatures.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelReadedNomenclatures);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1[this.labelReadedNomenclatures]));
     w35.TopAttach    = ((uint)(10));
     w35.BottomAttach = ((uint)(11));
     w35.LeftAttach   = ((uint)(1));
     w35.RightAttach  = ((uint)(2));
     w35.XOptions     = ((global::Gtk.AttachOptions)(4));
     w35.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelReadedOrders           = new global::Gtk.Label();
     this.labelReadedOrders.Name      = "labelReadedOrders";
     this.labelReadedOrders.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelReadedOrders);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1[this.labelReadedOrders]));
     w36.TopAttach    = ((uint)(11));
     w36.BottomAttach = ((uint)(12));
     w36.LeftAttach   = ((uint)(1));
     w36.RightAttach  = ((uint)(2));
     w36.XOptions     = ((global::Gtk.AttachOptions)(4));
     w36.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelSkipedCounterparty           = new global::Gtk.Label();
     this.labelSkipedCounterparty.Name      = "labelSkipedCounterparty";
     this.labelSkipedCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelSkipedCounterparty);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1[this.labelSkipedCounterparty]));
     w37.TopAttach    = ((uint)(4));
     w37.BottomAttach = ((uint)(5));
     w37.LeftAttach   = ((uint)(1));
     w37.RightAttach  = ((uint)(2));
     w37.XOptions     = ((global::Gtk.AttachOptions)(4));
     w37.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelSkipedOrdres           = new global::Gtk.Label();
     this.labelSkipedOrdres.Name      = "labelSkipedOrdres";
     this.labelSkipedOrdres.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelSkipedOrdres);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1[this.labelSkipedOrdres]));
     w38.TopAttach    = ((uint)(12));
     w38.BottomAttach = ((uint)(13));
     w38.LeftAttach   = ((uint)(1));
     w38.RightAttach  = ((uint)(2));
     w38.XOptions     = ((global::Gtk.AttachOptions)(4));
     w38.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelTotalBanks           = new global::Gtk.Label();
     this.labelTotalBanks.Name      = "labelTotalBanks";
     this.labelTotalBanks.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelTotalBanks);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1[this.labelTotalBanks]));
     w39.TopAttach    = ((uint)(8));
     w39.BottomAttach = ((uint)(9));
     w39.LeftAttach   = ((uint)(1));
     w39.RightAttach  = ((uint)(2));
     w39.XOptions     = ((global::Gtk.AttachOptions)(4));
     w39.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelTotalCounterparty           = new global::Gtk.Label();
     this.labelTotalCounterparty.Name      = "labelTotalCounterparty";
     this.labelTotalCounterparty.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.table1.Add(this.labelTotalCounterparty);
     global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1[this.labelTotalCounterparty]));
     w40.TopAttach    = ((uint)(3));
     w40.BottomAttach = ((uint)(4));
     w40.LeftAttach   = ((uint)(1));
     w40.RightAttach  = ((uint)(2));
     w40.XOptions     = ((global::Gtk.AttachOptions)(4));
     w40.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.progressbar      = new global::Gtk.ProgressBar();
     this.progressbar.Name = "progressbar";
     this.table1.Add(this.progressbar);
     global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar]));
     w41.TopAttach    = ((uint)(2));
     w41.BottomAttach = ((uint)(3));
     w41.RightAttach  = ((uint)(4));
     w41.XOptions     = ((global::Gtk.AttachOptions)(4));
     w41.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.checkOnlyAddress               = new global::Gtk.CheckButton();
     this.checkOnlyAddress.Sensitive     = false;
     this.checkOnlyAddress.CanFocus      = true;
     this.checkOnlyAddress.Name          = "checkOnlyAddress";
     this.checkOnlyAddress.Label         = global::Mono.Unix.Catalog.GetString("Сохранять только адреса");
     this.checkOnlyAddress.DrawIndicator = true;
     this.checkOnlyAddress.UseUnderline  = true;
     this.vbox1.Add(this.checkOnlyAddress);
     global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.checkOnlyAddress]));
     w42.Position = 0;
     w42.Expand   = false;
     w42.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.checkRewrite               = new global::Gtk.CheckButton();
     this.checkRewrite.Sensitive     = false;
     this.checkRewrite.CanFocus      = true;
     this.checkRewrite.Name          = "checkRewrite";
     this.checkRewrite.Label         = global::Mono.Unix.Catalog.GetString("Перезаписывать");
     this.checkRewrite.DrawIndicator = true;
     this.checkRewrite.UseUnderline  = true;
     this.vbox1.Add(this.checkRewrite);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.checkRewrite]));
     w43.Position = 1;
     w43.Expand   = false;
     w43.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.checkSkipCounterparties               = new global::Gtk.CheckButton();
     this.checkSkipCounterparties.CanFocus      = true;
     this.checkSkipCounterparties.Name          = "checkSkipCounterparties";
     this.checkSkipCounterparties.Label         = global::Mono.Unix.Catalog.GetString("Пропускать контрагентов");
     this.checkSkipCounterparties.DrawIndicator = true;
     this.checkSkipCounterparties.UseUnderline  = true;
     this.vbox1.Add(this.checkSkipCounterparties);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.checkSkipCounterparties]));
     w44.Position = 2;
     w44.Expand   = false;
     w44.Fill     = false;
     this.table1.Add(this.vbox1);
     global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox1]));
     w45.TopAttach    = ((uint)(1));
     w45.BottomAttach = ((uint)(2));
     w45.LeftAttach   = ((uint)(2));
     w45.RightAttach  = ((uint)(4));
     w45.XOptions     = ((global::Gtk.AttachOptions)(4));
     w45.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.notebook1.Add(this.table1);
     // Notebook tab
     this.label17           = new global::Gtk.Label();
     this.label17.Name      = "label17";
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("Загрузка");
     this.notebook1.SetTabLabel(this.table1, this.label17);
     this.label17.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vboxChanges         = new global::Gtk.VBox();
     this.vboxChanges.Name    = "vboxChanges";
     this.vboxChanges.Spacing = 6;
     // Container child vboxChanges.Gtk.Box+BoxChild
     this.label20           = new global::Gtk.Label();
     this.label20.Name      = "label20";
     this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Объекты изменились");
     this.vboxChanges.Add(this.label20);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vboxChanges[this.label20]));
     w47.Position = 0;
     w47.Expand   = false;
     w47.Fill     = false;
     // Container child vboxChanges.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytreeEntites          = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeEntites.CanFocus = true;
     this.ytreeEntites.Name     = "ytreeEntites";
     this.GtkScrolledWindow.Add(this.ytreeEntites);
     this.vboxChanges.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vboxChanges[this.GtkScrolledWindow]));
     w49.Position = 1;
     // Container child vboxChanges.Gtk.Box+BoxChild
     this.label21           = new global::Gtk.Label();
     this.label21.Name      = "label21";
     this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Что изменилось");
     this.vboxChanges.Add(this.label21);
     global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vboxChanges[this.label21]));
     w50.Position = 2;
     w50.Expand   = false;
     w50.Fill     = false;
     // Container child vboxChanges.Gtk.Box+BoxChild
     this.GtkScrolledWindow1            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.ytreeChanges          = new global::Gamma.GtkWidgets.yTreeView();
     this.ytreeChanges.CanFocus = true;
     this.ytreeChanges.Name     = "ytreeChanges";
     this.GtkScrolledWindow1.Add(this.ytreeChanges);
     this.vboxChanges.Add(this.GtkScrolledWindow1);
     global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vboxChanges[this.GtkScrolledWindow1]));
     w52.Position = 3;
     this.notebook1.Add(this.vboxChanges);
     global::Gtk.Notebook.NotebookChild w53 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxChanges]));
     w53.Position = 1;
     // Notebook tab
     this.label19           = new global::Gtk.Label();
     this.label19.Name      = "label19";
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Изменения");
     this.notebook1.SetTabLabel(this.vboxChanges, this.label19);
     this.label19.ShowAll();
     this.vbox2.Add(this.notebook1);
     global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1]));
     w54.Position = 0;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.buttonLoad.Clicked              += new global::System.EventHandler(this.OnButtonLoadClicked);
     this.buttonCreate.Clicked            += new global::System.EventHandler(this.OnButtonCreateClicked);
     this.buttonSave.Clicked              += new global::System.EventHandler(this.OnButtonSaveClicked);
     this.filechooserXML.SelectionChanged += new global::System.EventHandler(this.OnFilechooserXMLSelectionChanged);
 }
예제 #27
0
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget MPfm.GTK.SyncMenuWindow
			this.Name = "MPfm.GTK.SyncMenuWindow";
			this.Title = global::Mono.Unix.Catalog.GetString ("SyncMenuWindow");
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			// Container child MPfm.GTK.SyncMenuWindow.Gtk.Container+ContainerChild
			this.vbox2 = new global::Gtk.VBox ();
			this.vbox2.Name = "vbox2";
			this.vbox2.Spacing = 4;
			this.vbox2.BorderWidth = ((uint)(8));
			// Container child vbox2.Gtk.Box+BoxChild
			this.hbox3 = new global::Gtk.HBox ();
			this.hbox3.Name = "hbox3";
			this.hbox3.Spacing = 6;
			// Container child hbox3.Gtk.Box+BoxChild
			this.vbox4 = new global::Gtk.VBox ();
			this.vbox4.Name = "vbox4";
			this.vbox4.Spacing = 6;
			// Container child vbox4.Gtk.Box+BoxChild
			this.lblTitle = new global::Gtk.Label ();
			this.lblTitle.Name = "lblTitle";
			this.lblTitle.Xalign = 0F;
			this.lblTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Sync library with");
			this.vbox4.Add (this.lblTitle);
			global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblTitle]));
			w1.Position = 0;
			w1.Expand = false;
			w1.Fill = false;
			// Container child vbox4.Gtk.Box+BoxChild
			this.lblSubtitle = new global::Gtk.Label ();
			this.lblSubtitle.Name = "lblSubtitle";
			this.lblSubtitle.Xalign = 0F;
			this.lblSubtitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Choose audio files to sync");
			this.vbox4.Add (this.lblSubtitle);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblSubtitle]));
			w2.Position = 1;
			w2.Expand = false;
			w2.Fill = false;
			this.hbox3.Add (this.vbox4);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4]));
			w3.Position = 0;
			this.vbox2.Add (this.hbox3);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
			w4.Position = 0;
			w4.Expand = false;
			w4.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.lblLoading = new global::Gtk.Label ();
			this.lblLoading.Name = "lblLoading";
			this.lblLoading.LabelProp = global::Mono.Unix.Catalog.GetString ("Loading...");
			this.vbox2.Add (this.lblLoading);
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblLoading]));
			w5.Position = 1;
			w5.Expand = false;
			w5.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.progressBar = new global::Gtk.ProgressBar ();
			this.progressBar.Name = "progressBar";
			this.vbox2.Add (this.progressBar);
			global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressBar]));
			w6.Position = 2;
			w6.Expand = false;
			w6.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.hpaned1 = new global::Gtk.HPaned ();
			this.hpaned1.CanFocus = true;
			this.hpaned1.Name = "hpaned1";
			this.hpaned1.Position = 331;
			// Container child hpaned1.Gtk.Paned+PanedChild
			this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
			this.GtkScrolledWindow.Name = "GtkScrolledWindow";
			this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
			this.treeView = new global::Gtk.TreeView ();
			this.treeView.CanFocus = true;
			this.treeView.Name = "treeView";
			this.GtkScrolledWindow.Add (this.treeView);
			this.hpaned1.Add (this.GtkScrolledWindow);
			global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow]));
			w8.Resize = false;
			// Container child hpaned1.Gtk.Paned+PanedChild
			this.hbox1 = new global::Gtk.HBox ();
			this.hbox1.Name = "hbox1";
			this.hbox1.Spacing = 6;
			// Container child hbox1.Gtk.Box+BoxChild
			this.vbox1 = new global::Gtk.VBox ();
			this.vbox1.Name = "vbox1";
			this.vbox1.Spacing = 6;
			// Container child vbox1.Gtk.Box+BoxChild
			this.alignment2 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
			this.alignment2.Name = "alignment2";
			this.vbox1.Add (this.alignment2);
			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment2]));
			w9.Position = 0;
			// Container child vbox1.Gtk.Box+BoxChild
			this.btnAdd = new global::Gtk.Button ();
			this.btnAdd.CanFocus = true;
			this.btnAdd.Name = "btnAdd";
			this.btnAdd.UseUnderline = true;
			this.btnAdd.Label = global::Mono.Unix.Catalog.GetString (">");
			this.vbox1.Add (this.btnAdd);
			global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.btnAdd]));
			w10.Position = 1;
			w10.Expand = false;
			w10.Fill = false;
			// Container child vbox1.Gtk.Box+BoxChild
			this.btnRemove = new global::Gtk.Button ();
			this.btnRemove.CanFocus = true;
			this.btnRemove.Name = "btnRemove";
			this.btnRemove.UseUnderline = true;
			this.btnRemove.Label = global::Mono.Unix.Catalog.GetString ("<");
			this.vbox1.Add (this.btnRemove);
			global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.btnRemove]));
			w11.Position = 2;
			w11.Expand = false;
			w11.Fill = false;
			// Container child vbox1.Gtk.Box+BoxChild
			this.btnAddAll = new global::Gtk.Button ();
			this.btnAddAll.CanFocus = true;
			this.btnAddAll.Name = "btnAddAll";
			this.btnAddAll.UseUnderline = true;
			this.btnAddAll.Label = global::Mono.Unix.Catalog.GetString (">>");
			this.vbox1.Add (this.btnAddAll);
			global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.btnAddAll]));
			w12.Position = 3;
			w12.Expand = false;
			w12.Fill = false;
			// Container child vbox1.Gtk.Box+BoxChild
			this.btnRemoveAll = new global::Gtk.Button ();
			this.btnRemoveAll.CanFocus = true;
			this.btnRemoveAll.Name = "btnRemoveAll";
			this.btnRemoveAll.UseUnderline = true;
			this.btnRemoveAll.Label = global::Mono.Unix.Catalog.GetString ("<<");
			this.vbox1.Add (this.btnRemoveAll);
			global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.btnRemoveAll]));
			w13.Position = 4;
			w13.Expand = false;
			w13.Fill = false;
			// Container child vbox1.Gtk.Box+BoxChild
			this.alignment3 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
			this.alignment3.Name = "alignment3";
			// Container child alignment3.Gtk.Container+ContainerChild
			this.alignment4 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
			this.alignment4.Name = "alignment4";
			this.alignment3.Add (this.alignment4);
			this.vbox1.Add (this.alignment3);
			global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment3]));
			w15.Position = 5;
			this.hbox1.Add (this.vbox1);
			global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox1]));
			w16.Position = 0;
			w16.Expand = false;
			w16.Fill = false;
			// Container child hbox1.Gtk.Box+BoxChild
			this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
			this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
			this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
			this.treeViewSelection = new global::Gtk.TreeView ();
			this.treeViewSelection.CanFocus = true;
			this.treeViewSelection.Name = "treeViewSelection";
			this.GtkScrolledWindow1.Add (this.treeViewSelection);
			this.hbox1.Add (this.GtkScrolledWindow1);
			global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow1]));
			w18.Position = 1;
			this.hpaned1.Add (this.hbox1);
			this.vbox2.Add (this.hpaned1);
			global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1]));
			w20.Position = 3;
			// Container child vbox2.Gtk.Box+BoxChild
			this.hbox2 = new global::Gtk.HBox ();
			this.hbox2.Name = "hbox2";
			this.hbox2.Spacing = 6;
			// Container child hbox2.Gtk.Box+BoxChild
			this.vbox3 = new global::Gtk.VBox ();
			this.vbox3.Name = "vbox3";
			this.vbox3.Spacing = 6;
			// Container child vbox3.Gtk.Box+BoxChild
			this.lblTotal = new global::Gtk.Label ();
			this.lblTotal.Name = "lblTotal";
			this.lblTotal.Xalign = 0F;
			this.lblTotal.LabelProp = global::Mono.Unix.Catalog.GetString ("Total: 0 files (0.0 MB)");
			this.vbox3.Add (this.lblTotal);
			global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lblTotal]));
			w21.Position = 0;
			w21.Expand = false;
			w21.Fill = false;
			// Container child vbox3.Gtk.Box+BoxChild
			this.lblFreeSpace = new global::Gtk.Label ();
			this.lblFreeSpace.Name = "lblFreeSpace";
			this.lblFreeSpace.Xalign = 0F;
			this.lblFreeSpace.LabelProp = global::Mono.Unix.Catalog.GetString ("Free space: 3204.3 MB");
			this.vbox3.Add (this.lblFreeSpace);
			global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lblFreeSpace]));
			w22.Position = 1;
			w22.Expand = false;
			w22.Fill = false;
			this.hbox2.Add (this.vbox3);
			global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3]));
			w23.Position = 0;
			// Container child hbox2.Gtk.Box+BoxChild
			this.btnSync = new global::Gtk.Button ();
			this.btnSync.CanFocus = true;
			this.btnSync.Name = "btnSync";
			this.btnSync.UseUnderline = true;
			this.btnSync.Label = global::Mono.Unix.Catalog.GetString ("Sync");
			global::Gtk.Image w24 = new global::Gtk.Image ();
			w24.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Menu);
			this.btnSync.Image = w24;
			this.hbox2.Add (this.btnSync);
			global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnSync]));
			w25.Position = 1;
			w25.Expand = false;
			w25.Fill = false;
			this.vbox2.Add (this.hbox2);
			global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
			w26.Position = 4;
			w26.Expand = false;
			w26.Fill = false;
			this.Add (this.vbox2);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 640;
			this.DefaultHeight = 485;
			this.Show ();
			this.treeView.RowExpanded += new global::Gtk.RowExpandedHandler (this.OnTreeViewRowExpanded);
			this.btnAdd.Clicked += new global::System.EventHandler (this.OnClickAdd);
			this.btnRemove.Clicked += new global::System.EventHandler (this.OnClickRemove);
			this.btnAddAll.Clicked += new global::System.EventHandler (this.OnClickAddAll);
			this.btnRemoveAll.Clicked += new global::System.EventHandler (this.OnClickRemoveAll);
			this.treeViewSelection.RowExpanded += new global::Gtk.RowExpandedHandler (this.OnTreeViewRowExpanded);
			this.btnSync.Clicked += new global::System.EventHandler (this.OnClickSync);
		}
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget MonoDevelop.Ide.Gui.Dialogs.ProgressDialog
			this.Name = "MonoDevelop.Ide.Gui.Dialogs.ProgressDialog";
			this.Title = "";
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			this.Modal = true;
			// Internal child MonoDevelop.Ide.Gui.Dialogs.ProgressDialog.VBox
			global::Gtk.VBox w1 = this.VBox;
			w1.Name = "dialog1_VBox";
			w1.BorderWidth = ((uint)(2));
			// Container child dialog1_VBox.Gtk.Box+BoxChild
			this.vbox2 = new global::Gtk.VBox ();
			this.vbox2.Name = "vbox2";
			this.vbox2.Spacing = 6;
			this.vbox2.BorderWidth = ((uint)(12));
			// Container child vbox2.Gtk.Box+BoxChild
			this.label = new global::Gtk.Label ();
			this.label.Name = "label";
			this.label.Xalign = 0F;
			this.label.LabelProp = "label";
			this.vbox2.Add (this.label);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label]));
			w2.Position = 0;
			w2.Expand = false;
			w2.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.hbox1 = new global::Gtk.HBox ();
			this.hbox1.Name = "hbox1";
			this.hbox1.Spacing = 6;
			// Container child hbox1.Gtk.Box+BoxChild
			this.progressBar = new global::Gtk.ProgressBar ();
			this.progressBar.Name = "progressBar";
			this.hbox1.Add (this.progressBar);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressBar]));
			w3.Position = 0;
			// Container child hbox1.Gtk.Box+BoxChild
			this.btnCancel = new global::Gtk.Button ();
			this.btnCancel.CanDefault = true;
			this.btnCancel.CanFocus = true;
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.UseStock = true;
			this.btnCancel.UseUnderline = true;
			this.btnCancel.Label = "gtk-cancel";
			this.hbox1.Add (this.btnCancel);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnCancel]));
			w4.Position = 1;
			w4.Expand = false;
			w4.Fill = false;
			// Container child hbox1.Gtk.Box+BoxChild
			this.btnClose = new global::Gtk.Button ();
			this.btnClose.CanDefault = true;
			this.btnClose.CanFocus = true;
			this.btnClose.Name = "btnClose";
			this.btnClose.UseStock = true;
			this.btnClose.UseUnderline = true;
			this.btnClose.Label = "gtk-close";
			this.hbox1.Add (this.btnClose);
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnClose]));
			w5.Position = 2;
			w5.Expand = false;
			w5.Fill = false;
			this.vbox2.Add (this.hbox1);
			global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
			w6.Position = 1;
			w6.Expand = false;
			w6.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.expander = new global::Gtk.Expander (null);
			this.expander.CanFocus = true;
			this.expander.Name = "expander";
			// Container child expander.Gtk.Container+ContainerChild
			this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
			this.GtkScrolledWindow.HeightRequest = 250;
			this.GtkScrolledWindow.Name = "GtkScrolledWindow";
			this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
			this.detailsTextView = new global::Gtk.TextView ();
			this.detailsTextView.CanFocus = true;
			this.detailsTextView.Name = "detailsTextView";
			this.GtkScrolledWindow.Add (this.detailsTextView);
			this.expander.Add (this.GtkScrolledWindow);
			this.expanderLabel = new global::Gtk.Label ();
			this.expanderLabel.Name = "expanderLabel";
			this.expanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Details");
			this.expanderLabel.UseUnderline = true;
			this.expander.LabelWidget = this.expanderLabel;
			this.vbox2.Add (this.expander);
			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander]));
			w9.Position = 2;
			w1.Add (this.vbox2);
			global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
			w10.Position = 0;
			// Internal child MonoDevelop.Ide.Gui.Dialogs.ProgressDialog.ActionArea
			global::Gtk.HButtonBox w11 = this.ActionArea;
			w11.Name = "dialog1_ActionArea";
			w11.Spacing = 10;
			w11.BorderWidth = ((uint)(5));
			w11.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.button103 = new global::Gtk.Button ();
			this.button103.CanFocus = true;
			this.button103.Name = "button103";
			this.button103.UseUnderline = true;
			this.button103.Label = global::Mono.Unix.Catalog.GetString ("GtkButton");
			this.AddActionWidget (this.button103, 0);
			global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11 [this.button103]));
			w12.Expand = false;
			w12.Fill = false;
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 544;
			this.DefaultHeight = 170;
			this.btnClose.Hide ();
			w11.Hide ();
			this.Hide ();
			this.btnCancel.Clicked += new global::System.EventHandler (this.OnBtnCancelClicked);
			this.btnClose.Clicked += new global::System.EventHandler (this.OnBtnCloseClicked);
			this.expander.Activated += new global::System.EventHandler (this.OnExpander1Activated);
		}
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget bazar.ContractsProlongation
     this.Name = "bazar.ContractsProlongation";
     this.Title = global::Mono.Unix.Catalog.GetString ("Обработка договоров");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child bazar.ContractsProlongation.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.notebookMain = new global::Gtk.Notebook ();
     this.notebookMain.CanFocus = true;
     this.notebookMain.Name = "notebookMain";
     this.notebookMain.CurrentPage = 0;
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.dateFrom = new global::QSWidgetLib.DatePicker ();
     this.dateFrom.Sensitive = false;
     this.dateFrom.Events = ((global::Gdk.EventMask)(256));
     this.dateFrom.Name = "dateFrom";
     this.dateFrom.Date = new global::System.DateTime (0);
     this.dateFrom.IsEditable = true;
     this.dateFrom.AutoSeparation = true;
     this.table1.Add (this.dateFrom);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateFrom]));
     w2.TopAttach = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dateTo = new global::QSWidgetLib.DatePicker ();
     this.dateTo.Sensitive = false;
     this.dateTo.Events = ((global::Gdk.EventMask)(256));
     this.dateTo.Name = "dateTo";
     this.dateTo.Date = new global::System.DateTime (0);
     this.dateTo.IsEditable = true;
     this.dateTo.AutoSeparation = true;
     this.table1.Add (this.dateTo);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.dateTo]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach = ((uint)(3));
     w3.RightAttach = ((uint)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("-");
     this.table1.Add (this.label1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w4.TopAttach = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach = ((uint)(2));
     w4.RightAttach = ((uint)(3));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.radiobuttonActiveOnly = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Только активные"));
     this.radiobuttonActiveOnly.CanFocus = true;
     this.radiobuttonActiveOnly.Name = "radiobuttonActiveOnly";
     this.radiobuttonActiveOnly.Active = true;
     this.radiobuttonActiveOnly.DrawIndicator = true;
     this.radiobuttonActiveOnly.UseUnderline = true;
     this.radiobuttonActiveOnly.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.table1.Add (this.radiobuttonActiveOnly);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.radiobuttonActiveOnly]));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.radiobuttonDates = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Дата окончания в диапазоне:"));
     this.radiobuttonDates.CanFocus = true;
     this.radiobuttonDates.Name = "radiobuttonDates";
     this.radiobuttonDates.DrawIndicator = true;
     this.radiobuttonDates.UseUnderline = true;
     this.radiobuttonDates.Group = this.radiobuttonActiveOnly.Group;
     this.table1.Add (this.radiobuttonDates);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.radiobuttonDates]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add (this.table1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hseparator1 = new global::Gtk.HSeparator ();
     this.hseparator1.Name = "hseparator1";
     this.vbox2.Add (this.hseparator1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator1]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.checkAll = new global::Gtk.CheckButton ();
     this.checkAll.CanFocus = true;
     this.checkAll.Name = "checkAll";
     this.checkAll.Label = global::Mono.Unix.Catalog.GetString ("Выбрать все");
     this.checkAll.DrawIndicator = true;
     this.checkAll.UseUnderline = true;
     this.hbox3.Add (this.checkAll);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.checkAll]));
     w9.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Поиск:");
     this.hbox3.Add (this.label4);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label4]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.entrySearch = new global::Gtk.Entry ();
     this.entrySearch.CanFocus = true;
     this.entrySearch.Name = "entrySearch";
     this.entrySearch.IsEditable = true;
     this.entrySearch.InvisibleChar = '●';
     this.hbox3.Add (this.entrySearch);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entrySearch]));
     w11.Position = 2;
     this.vbox2.Add (this.hbox3);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
     w12.Position = 2;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeviewContracts = new global::Gtk.TreeView ();
     this.treeviewContracts.CanFocus = true;
     this.treeviewContracts.Name = "treeviewContracts";
     this.GtkScrolledWindow.Add (this.treeviewContracts);
     this.vbox2.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
     w14.Position = 3;
     this.notebookMain.Add (this.vbox2);
     // Notebook tab
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Выборка");
     this.notebookMain.SetTabLabel (this.vbox2, this.label2);
     this.label2.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Метод обработки договоров</b>");
     this.label5.UseMarkup = true;
     this.vbox3.Add (this.label5);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label5]));
     w16.Position = 0;
     w16.Expand = false;
     w16.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.radioCopyMode = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Копирование"));
     this.radioCopyMode.CanFocus = true;
     this.radioCopyMode.Name = "radioCopyMode";
     this.radioCopyMode.Active = true;
     this.radioCopyMode.DrawIndicator = true;
     this.radioCopyMode.UseUnderline = true;
     this.radioCopyMode.Group = new global::GLib.SList (global::System.IntPtr.Zero);
     this.hbox4.Add (this.radioCopyMode);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.radioCopyMode]));
     w17.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.radioChangeMode = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Изменение"));
     this.radioChangeMode.CanFocus = true;
     this.radioChangeMode.Name = "radioChangeMode";
     this.radioChangeMode.DrawIndicator = true;
     this.radioChangeMode.UseUnderline = true;
     this.radioChangeMode.Group = this.radioCopyMode.Group;
     this.hbox4.Add (this.radioChangeMode);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.radioChangeMode]));
     w18.Position = 1;
     this.vbox3.Add (this.hbox4);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
     w19.Position = 1;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Изменения в данных</b>");
     this.label6.UseMarkup = true;
     this.vbox3.Add (this.label6);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label6]));
     w20.Position = 2;
     w20.Expand = false;
     w20.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.checkEnd = new global::Gtk.CheckButton ();
     this.checkEnd.CanFocus = true;
     this.checkEnd.Name = "checkEnd";
     this.checkEnd.Label = global::Mono.Unix.Catalog.GetString ("Дата окончания аренды");
     this.checkEnd.DrawIndicator = true;
     this.checkEnd.UseUnderline = true;
     this.table2.Add (this.checkEnd);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkEnd]));
     w21.TopAttach = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.checkSign = new global::Gtk.CheckButton ();
     this.checkSign.CanFocus = true;
     this.checkSign.Name = "checkSign";
     this.checkSign.Label = global::Mono.Unix.Catalog.GetString ("Дата подписания");
     this.checkSign.DrawIndicator = true;
     this.checkSign.UseUnderline = true;
     this.table2.Add (this.checkSign);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkSign]));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.checkStart = new global::Gtk.CheckButton ();
     this.checkStart.CanFocus = true;
     this.checkStart.Name = "checkStart";
     this.checkStart.Label = global::Mono.Unix.Catalog.GetString ("Дата начала аренды");
     this.checkStart.DrawIndicator = true;
     this.checkStart.UseUnderline = true;
     this.table2.Add (this.checkStart);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkStart]));
     w23.TopAttach = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.dateEnd = new global::QSWidgetLib.DatePicker ();
     this.dateEnd.Sensitive = false;
     this.dateEnd.Events = ((global::Gdk.EventMask)(256));
     this.dateEnd.Name = "dateEnd";
     this.dateEnd.Date = new global::System.DateTime (0);
     this.dateEnd.IsEditable = true;
     this.dateEnd.AutoSeparation = true;
     this.table2.Add (this.dateEnd);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.dateEnd]));
     w24.TopAttach = ((uint)(2));
     w24.BottomAttach = ((uint)(3));
     w24.LeftAttach = ((uint)(1));
     w24.RightAttach = ((uint)(2));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.dateSign = new global::QSWidgetLib.DatePicker ();
     this.dateSign.Sensitive = false;
     this.dateSign.Events = ((global::Gdk.EventMask)(256));
     this.dateSign.Name = "dateSign";
     this.dateSign.Date = new global::System.DateTime (0);
     this.dateSign.IsEditable = true;
     this.dateSign.AutoSeparation = true;
     this.table2.Add (this.dateSign);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.dateSign]));
     w25.LeftAttach = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.dateStart = new global::QSWidgetLib.DatePicker ();
     this.dateStart.Sensitive = false;
     this.dateStart.Events = ((global::Gdk.EventMask)(256));
     this.dateStart.Name = "dateStart";
     this.dateStart.Date = new global::System.DateTime (0);
     this.dateStart.IsEditable = true;
     this.dateStart.AutoSeparation = true;
     this.table2.Add (this.dateStart);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.dateStart]));
     w26.TopAttach = ((uint)(1));
     w26.BottomAttach = ((uint)(2));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.table2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table2]));
     w27.Position = 3;
     w27.Expand = false;
     w27.Fill = false;
     this.notebookMain.Add (this.vbox3);
     global::Gtk.Notebook.NotebookChild w28 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vbox3]));
     w28.Position = 1;
     // Notebook tab
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Действия");
     this.notebookMain.SetTabLabel (this.vbox3, this.label3);
     this.label3.ShowAll ();
     w1.Add (this.notebookMain);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(w1 [this.notebookMain]));
     w29.Position = 0;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.labelInfo = new global::Gtk.Label ();
     this.labelInfo.Name = "labelInfo";
     this.labelInfo.LabelProp = global::Mono.Unix.Catalog.GetString ("Договоров не выбрано.");
     this.labelInfo.UseMarkup = true;
     this.labelInfo.Justify = ((global::Gtk.Justification)(2));
     w1.Add (this.labelInfo);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(w1 [this.labelInfo]));
     w30.Position = 1;
     w30.Expand = false;
     w30.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.progressbarMain = new global::Gtk.ProgressBar ();
     this.progressbarMain.Name = "progressbarMain";
     w1.Add (this.progressbarMain);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w1 [this.progressbarMain]));
     w31.Position = 2;
     w31.Expand = false;
     w31.Fill = false;
     // Internal child bazar.ContractsProlongation.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-cancel";
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonCancel]));
     w33.Expand = false;
     w33.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new global::Gtk.Button ();
     this.buttonOk.Sensitive = false;
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget (this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w34 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonOk]));
     w34.Position = 1;
     w34.Expand = false;
     w34.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 713;
     this.DefaultHeight = 466;
     this.Show ();
     this.radiobuttonDates.Clicked += new global::System.EventHandler (this.OnRadiobuttonDatesClicked);
     this.radiobuttonActiveOnly.Clicked += new global::System.EventHandler (this.OnRadiobuttonActiveOnlyClicked);
     this.dateTo.DateChanged += new global::System.EventHandler (this.OnDateToDateChanged);
     this.dateFrom.DateChanged += new global::System.EventHandler (this.OnDateFromDateChanged);
     this.checkAll.Clicked += new global::System.EventHandler (this.OnCheckAllClicked);
     this.entrySearch.Changed += new global::System.EventHandler (this.OnEntrySearchChanged);
     this.radioCopyMode.Toggled += new global::System.EventHandler (this.OnRadioCopyModeToggled);
     this.dateStart.DateChanged += new global::System.EventHandler (this.OnDateStartDateChanged);
     this.dateSign.DateChanged += new global::System.EventHandler (this.OnDateSignDateChanged);
     this.dateEnd.DateChanged += new global::System.EventHandler (this.OnDateEndDateChanged);
     this.checkStart.Clicked += new global::System.EventHandler (this.OnCheckStartClicked);
     this.checkSign.Clicked += new global::System.EventHandler (this.OnCheckSignClicked);
     this.checkEnd.Clicked += new global::System.EventHandler (this.OnCheckEndClicked);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
예제 #30
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.File            = new global::Gtk.Action("File", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.File.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.File, null);
     this.quit            = new global::Gtk.Action("quit", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quit.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quit, null);
     this.Compare            = new global::Gtk.Action("Compare", global::Mono.Unix.Catalog.GetString("_Compare"), null, null);
     this.Compare.ShortLabel = global::Mono.Unix.Catalog.GetString("Compare");
     w1.Add(this.Compare, null);
     this.Custom            = new global::Gtk.Action("Custom", global::Mono.Unix.Catalog.GetString("Custom..."), null, null);
     this.Custom.ShortLabel = global::Mono.Unix.Catalog.GetString("Custom...");
     w1.Add(this.Custom, null);
     this.a            = new global::Gtk.Action("a", global::Mono.Unix.Catalog.GetString("a"), null, null);
     this.a.ShortLabel = global::Mono.Unix.Catalog.GetString("a");
     w1.Add(this.a, null);
     this.b            = new global::Gtk.Action("b", global::Mono.Unix.Catalog.GetString("b"), null, null);
     this.b.ShortLabel = global::Mono.Unix.Catalog.GetString("b");
     w1.Add(this.b, null);
     this.View            = new global::Gtk.Action("View", global::Mono.Unix.Catalog.GetString("_View"), null, null);
     this.View.ShortLabel = global::Mono.Unix.Catalog.GetString("View");
     w1.Add(this.View, null);
     this.ShowMissing            = new global::Gtk.ToggleAction("ShowMissing", global::Mono.Unix.Catalog.GetString("Show missing"), null, null);
     this.ShowMissing.Active     = true;
     this.ShowMissing.ShortLabel = global::Mono.Unix.Catalog.GetString("Show missing");
     w1.Add(this.ShowMissing, null);
     this.ShowExtra            = new global::Gtk.ToggleAction("ShowExtra", global::Mono.Unix.Catalog.GetString("Show extra"), null, null);
     this.ShowExtra.Active     = true;
     this.ShowExtra.ShortLabel = global::Mono.Unix.Catalog.GetString("Show extra");
     w1.Add(this.ShowExtra, null);
     this.ShowPresent            = new global::Gtk.ToggleAction("ShowPresent", global::Mono.Unix.Catalog.GetString("Show present"), null, null);
     this.ShowPresent.Active     = true;
     this.ShowPresent.ShortLabel = global::Mono.Unix.Catalog.GetString("Show present");
     w1.Add(this.ShowPresent, null);
     this.ShowErrors            = new global::Gtk.ToggleAction("ShowErrors", global::Mono.Unix.Catalog.GetString("Show errors"), null, null);
     this.ShowErrors.Active     = true;
     this.ShowErrors.ShortLabel = global::Mono.Unix.Catalog.GetString("Show errors");
     w1.Add(this.ShowErrors, null);
     this.Refresh            = new global::Gtk.Action("Refresh", global::Mono.Unix.Catalog.GetString("Refresh"), null, "gtk-refresh");
     this.Refresh.ShortLabel = global::Mono.Unix.Catalog.GetString("Refresh");
     w1.Add(this.Refresh, "<Control>r");
     this.ShowTodo            = new global::Gtk.ToggleAction("ShowTodo", global::Mono.Unix.Catalog.GetString("Show Todo"), null, null);
     this.ShowTodo.Active     = true;
     this.ShowTodo.ShortLabel = global::Mono.Unix.Catalog.GetString("Show Todo");
     w1.Add(this.ShowTodo, null);
     this.RecentComparisonsAction            = new global::Gtk.Action("RecentComparisonsAction", global::Mono.Unix.Catalog.GetString("Recent Comparisons"), null, null);
     this.RecentComparisonsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Recent Comparisons");
     w1.Add(this.RecentComparisonsAction, null);
     this.ShowNotImplemented            = new global::Gtk.ToggleAction("ShowNotImplemented", global::Mono.Unix.Catalog.GetString("Show NotImplemented"), null, null);
     this.ShowNotImplemented.Active     = true;
     this.ShowNotImplemented.ShortLabel = global::Mono.Unix.Catalog.GetString("Show NotImplemented");
     w1.Add(this.ShowNotImplemented, null);
     this.ToggleRowExpansionAction            = new global::Gtk.Action("ToggleRowExpansionAction", global::Mono.Unix.Catalog.GetString("Toggle Row Expansion"), null, null);
     this.ToggleRowExpansionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Toggle Row Expansion");
     w1.Add(this.ToggleRowExpansionAction, "<Mod2>space");
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("GUI CorCompare");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='File' action='File'><separator/><menuitem name='Refresh' action='Refresh'/><separator/><menuitem name='quit' action='quit'/></menu><menu name='Compare' action='Compare'><menuitem name='Custom' action='Custom'/></menu><menu name='View' action='View'><menuitem name='ShowErrors' action='ShowErrors'/><menuitem name='ShowMissing' action='ShowMissing'/><menuitem name='ShowNotImplemented' action='ShowNotImplemented'/><menuitem name='ShowExtra' action='ShowExtra'/><menuitem name='ShowTodo' action='ShowTodo'/><menuitem name='ShowPresent' action='ShowPresent'/><separator/><menuitem name='ToggleRowExpansionAction' action='ToggleRowExpansionAction'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook1             = new global::Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 1;
     this.notebook1.ShowBorder  = false;
     this.notebook1.ShowTabs    = false;
     // 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.tree          = new global::Gtk.TreeView();
     this.tree.CanFocus = true;
     this.tree.Name     = "tree";
     this.GtkScrolledWindow.Add(this.tree);
     this.notebook1.Add(this.GtkScrolledWindow);
     // Notebook tab
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1");
     this.notebook1.SetTabLabel(this.GtkScrolledWindow, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xpad      = 20;
     this.label3.Ypad      = 20;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("This tool allows you to compare the API of assemblies.\n\nTo initiate a comparison, use the \"Compare\" menu and use one of the presets based on the assemblies you  have installed on your system and some popular profiles, or use \"Custom\" to define your own comparison");
     this.label3.Wrap      = true;
     this.notebook1.Add(this.label3);
     global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.label3]));
     w5.Position = 1;
     // Notebook tab
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("page2");
     this.notebook1.SetTabLabel(this.label3, this.label2);
     this.label2.ShowAll();
     this.vbox1.Add(this.notebook1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1]));
     w6.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.AdditionalInfoWindow            = new global::Gtk.ScrolledWindow();
     this.AdditionalInfoWindow.Name       = "AdditionalInfoWindow";
     this.AdditionalInfoWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child AdditionalInfoWindow.Gtk.Container+ContainerChild
     this.AdditionalInfoText          = new global::Gtk.TextView();
     this.AdditionalInfoText.CanFocus = true;
     this.AdditionalInfoText.Name     = "AdditionalInfoText";
     this.AdditionalInfoText.Editable = false;
     this.AdditionalInfoWindow.Add(this.AdditionalInfoText);
     this.vbox1.Add(this.AdditionalInfoWindow);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.AdditionalInfoWindow]));
     w8.Position = 2;
     w8.Expand   = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.expander1          = new global::Gtk.Expander(null);
     this.expander1.CanFocus = true;
     this.expander1.Name     = "expander1";
     // Container child expander1.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(3)), ((uint)(5)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Missing");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach   = ((uint)(3));
     w9.RightAttach  = ((uint)(4));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("TODO");
     this.table1.Add(this.label5);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w10.TopAttach    = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Extra");
     this.table1.Add(this.label6);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w11.TopAttach    = ((uint)(2));
     w11.BottomAttach = ((uint)(3));
     w11.LeftAttach   = ((uint)(3));
     w11.RightAttach  = ((uint)(4));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Not implemented");
     this.table1.Add(this.label7);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("No errors");
     this.label8.Justify   = ((global::Gtk.Justification)(2));
     this.table1.Add(this.label8);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Error");
     this.table1.Add(this.label9);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9]));
     w14.LeftAttach  = ((uint)(3));
     w14.RightAttach = ((uint)(4));
     w14.XOptions    = ((global::Gtk.AttachOptions)(4));
     w14.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.legendImageError      = new global::Gtk.Image();
     this.legendImageError.Name = "legendImageError";
     this.table1.Add(this.legendImageError);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageError]));
     w15.LeftAttach  = ((uint)(4));
     w15.RightAttach = ((uint)(5));
     w15.XOptions    = ((global::Gtk.AttachOptions)(4));
     w15.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.legendImageExtra      = new global::Gtk.Image();
     this.legendImageExtra.Name = "legendImageExtra";
     this.table1.Add(this.legendImageExtra);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageExtra]));
     w16.TopAttach    = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach   = ((uint)(4));
     w16.RightAttach  = ((uint)(5));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.legendImageMissing      = new global::Gtk.Image();
     this.legendImageMissing.Name = "legendImageMissing";
     this.table1.Add(this.legendImageMissing);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageMissing]));
     w17.TopAttach    = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.LeftAttach   = ((uint)(4));
     w17.RightAttach  = ((uint)(5));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.legendImageNIEX      = new global::Gtk.Image();
     this.legendImageNIEX.Name = "legendImageNIEX";
     this.table1.Add(this.legendImageNIEX);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageNIEX]));
     w18.TopAttach    = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach   = ((uint)(1));
     w18.RightAttach  = ((uint)(2));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.legendImageOK      = new global::Gtk.Image();
     this.legendImageOK.Name = "legendImageOK";
     this.table1.Add(this.legendImageOK);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageOK]));
     w19.LeftAttach  = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions    = ((global::Gtk.AttachOptions)(4));
     w19.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.legendImageTODO      = new global::Gtk.Image();
     this.legendImageTODO.Name = "legendImageTODO";
     this.table1.Add(this.legendImageTODO);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.legendImageTODO]));
     w20.TopAttach    = ((uint)(2));
     w20.BottomAttach = ((uint)(3));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vseparator1      = new global::Gtk.VSeparator();
     this.vseparator1.Name = "vseparator1";
     this.table1.Add(this.vseparator1);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.vseparator1]));
     w21.LeftAttach  = ((uint)(2));
     w21.RightAttach = ((uint)(3));
     w21.XOptions    = ((global::Gtk.AttachOptions)(4));
     w21.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vseparator2      = new global::Gtk.VSeparator();
     this.vseparator2.Name = "vseparator2";
     this.table1.Add(this.vseparator2);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.vseparator2]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach   = ((uint)(2));
     w22.RightAttach  = ((uint)(3));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vseparator3      = new global::Gtk.VSeparator();
     this.vseparator3.Name = "vseparator3";
     this.table1.Add(this.vseparator3);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.vseparator3]));
     w23.TopAttach    = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.LeftAttach   = ((uint)(2));
     w23.RightAttach  = ((uint)(3));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.expander1.Add(this.table1);
     this.GtkLabel4              = new global::Gtk.Label();
     this.GtkLabel4.Name         = "GtkLabel4";
     this.GtkLabel4.LabelProp    = global::Mono.Unix.Catalog.GetString("Legend");
     this.GtkLabel4.UseUnderline = true;
     this.expander1.LabelWidget  = this.GtkLabel4;
     this.vbox1.Add(this.expander1);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.expander1]));
     w25.Position = 3;
     w25.Expand   = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.progressbar1      = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.statusbar1.Add(this.progressbar1);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1]));
     w26.Position = 2;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w27.Position = 4;
     w27.Expand   = false;
     w27.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 648;
     this.DefaultHeight = 759;
     this.AdditionalInfoWindow.Hide();
     this.Show();
     this.DeleteEvent                        += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.quit.Activated                     += new global::System.EventHandler(this.OnQuitActivated);
     this.Custom.Activated                   += new global::System.EventHandler(this.OnCustomActivated);
     this.ShowMissing.Toggled                += new global::System.EventHandler(this.OnShowMissingToggled);
     this.ShowExtra.Toggled                  += new global::System.EventHandler(this.OnShowExtraToggled);
     this.ShowPresent.Toggled                += new global::System.EventHandler(this.OnShowPresentToggled);
     this.ShowErrors.Toggled                 += new global::System.EventHandler(this.OnShowErrorsToggled);
     this.Refresh.Activated                  += new global::System.EventHandler(this.OnRefreshActivated);
     this.ShowTodo.Toggled                   += new global::System.EventHandler(this.OnShowTodoToggled);
     this.ShowNotImplemented.Toggled         += new global::System.EventHandler(this.OnShowNotImplementedToggled);
     this.ToggleRowExpansionAction.Activated += new global::System.EventHandler(this.OnToggleRowExpansion);
 }
예제 #31
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget ToonBoomExportGUI.ProjectWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.OptionsAction            = new global::Gtk.Action("OptionsAction", global::Mono.Unix.Catalog.GetString("Options"), null, null);
     this.OptionsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Options");
     w1.Add(this.OptionsAction, null);
     this.SetBinaryLocationAction            = new global::Gtk.Action("SetBinaryLocationAction", global::Mono.Unix.Catalog.GetString("Set Binary Location..."), null, null);
     this.SetBinaryLocationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Set Binary Location...");
     w1.Add(this.SetBinaryLocationAction, null);
     this.NewProjectAction            = new global::Gtk.Action("NewProjectAction", global::Mono.Unix.Catalog.GetString("_New Project..."), null, null);
     this.NewProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New Project...");
     w1.Add(this.NewProjectAction, null);
     this.OpenProjectAction            = new global::Gtk.Action("OpenProjectAction", global::Mono.Unix.Catalog.GetString("_Open Project..."), null, null);
     this.OpenProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open Project...");
     w1.Add(this.OpenProjectAction, null);
     this.SaveProjectAction            = new global::Gtk.Action("SaveProjectAction", global::Mono.Unix.Catalog.GetString("_Save Project"), null, null);
     this.SaveProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save Project");
     w1.Add(this.SaveProjectAction, null);
     this.SaveProjectAsAction            = new global::Gtk.Action("SaveProjectAsAction", global::Mono.Unix.Catalog.GetString("Save Project _as..."), null, null);
     this.SaveProjectAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save Project _as...");
     w1.Add(this.SaveProjectAsAction, null);
     this.ExitAction            = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, null);
     this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit");
     w1.Add(this.ExitAction, null);
     this.ToolsAction            = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("Tools"), null, null);
     this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tools");
     w1.Add(this.ToolsAction, null);
     this.UTransformAction            = new global::Gtk.Action("UTransformAction", global::Mono.Unix.Catalog.GetString("UTransform"), null, null);
     this.UTransformAction.ShortLabel = global::Mono.Unix.Catalog.GetString("UTransform");
     w1.Add(this.UTransformAction, null);
     this.Tvg2XmlAction            = new global::Gtk.Action("Tvg2XmlAction", global::Mono.Unix.Catalog.GetString("Tvg2Xml"), null, null);
     this.Tvg2XmlAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tvg2Xml");
     w1.Add(this.Tvg2XmlAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "ToonBoomExportGUI.ProjectWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("ProjectWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child ToonBoomExportGUI.ProjectWindow.Gtk.Container+ContainerChild
     this.Root         = new global::Gtk.VBox();
     this.Root.Name    = "Root";
     this.Root.Spacing = 6;
     // Container child Root.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menuitem name='NewProjectAction' action='NewProjectAction'/><separator/><menuitem name='OpenProjectAction' action='OpenProjectAction'/><separator/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='SaveProjectAsAction' action='SaveProjectAsAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='OptionsAction' action='OptionsAction'><menuitem name='SetBinaryLocationAction' action='SetBinaryLocationAction'/></menu></menubar></ui>");
     this.menubar2      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2")));
     this.menubar2.Name = "menubar2";
     this.Root.Add(this.menubar2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.Root[this.menubar2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child Root.Gtk.Box+BoxChild
     this.hbuttonbox3             = new global::Gtk.HButtonBox();
     this.hbuttonbox3.Name        = "hbuttonbox3";
     this.hbuttonbox3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.AddXStageButton              = new global::Gtk.Button();
     this.AddXStageButton.CanFocus     = true;
     this.AddXStageButton.Name         = "AddXStageButton";
     this.AddXStageButton.UseUnderline = true;
     this.AddXStageButton.Label        = global::Mono.Unix.Catalog.GetString("Add XStage File...");
     global::Gtk.Image w3 = new global::Gtk.Image();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
     this.AddXStageButton.Image = w3;
     this.hbuttonbox3.Add(this.AddXStageButton);
     global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.AddXStageButton]));
     w4.Expand = false;
     w4.Fill   = false;
     this.Root.Add(this.hbuttonbox3);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.Root[this.hbuttonbox3]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child Root.Gtk.Box+BoxChild
     this.notebook3             = new global::Gtk.Notebook();
     this.notebook3.CanFocus    = true;
     this.notebook3.Name        = "notebook3";
     this.notebook3.CurrentPage = 0;
     // Container child notebook3.Gtk.Notebook+NotebookChild
     this.ElementsPanel             = new global::Gtk.VPaned();
     this.ElementsPanel.CanFocus    = true;
     this.ElementsPanel.Name        = "ElementsPanel";
     this.ElementsPanel.Position    = 249;
     this.ElementsPanel.BorderWidth = ((uint)(9));
     // Container child ElementsPanel.Gtk.Paned+PanedChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.Notebook             = new global::Gtk.Notebook();
     this.Notebook.CanFocus    = true;
     this.Notebook.Name        = "Notebook";
     this.Notebook.CurrentPage = 0;
     // Notebook tab
     global::Gtk.Label w6 = new global::Gtk.Label();
     w6.Visible = true;
     this.Notebook.Add(w6);
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Placeholder");
     this.Notebook.SetTabLabel(w6, this.label5);
     this.label5.ShowAll();
     this.vbox5.Add(this.Notebook);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.Notebook]));
     w7.Position = 0;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hseparator2      = new global::Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     this.vbox5.Add(this.hseparator2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hseparator2]));
     w8.PackType = ((global::Gtk.PackType)(1));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     this.ElementsPanel.Add(this.vbox5);
     global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.ElementsPanel[this.vbox5]));
     w9.Resize = false;
     // Container child ElementsPanel.Gtk.Paned+PanedChild
     this.vbox7         = new global::Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hseparator3      = new global::Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     this.vbox7.Add(this.hseparator3);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hseparator3]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbuttonbox5             = new global::Gtk.HButtonBox();
     this.hbuttonbox5.Name        = "hbuttonbox5";
     this.hbuttonbox5.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
     // Container child hbuttonbox5.Gtk.ButtonBox+ButtonBoxChild
     this.NewExportListButton              = new global::Gtk.Button();
     this.NewExportListButton.CanFocus     = true;
     this.NewExportListButton.Name         = "NewExportListButton";
     this.NewExportListButton.UseUnderline = true;
     this.NewExportListButton.Label        = global::Mono.Unix.Catalog.GetString("Create Export List...");
     global::Gtk.Image w11 = new global::Gtk.Image();
     w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Menu);
     this.NewExportListButton.Image = w11;
     this.hbuttonbox5.Add(this.NewExportListButton);
     global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox5[this.NewExportListButton]));
     w12.Expand = false;
     w12.Fill   = false;
     this.vbox7.Add(this.hbuttonbox5);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbuttonbox5]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.NotebookExport             = new global::Gtk.Notebook();
     this.NotebookExport.CanFocus    = true;
     this.NotebookExport.Name        = "NotebookExport";
     this.NotebookExport.CurrentPage = 0;
     // Notebook tab
     global::Gtk.Label w14 = new global::Gtk.Label();
     w14.Visible = true;
     this.NotebookExport.Add(w14);
     this.label13           = new global::Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Placeholder");
     this.NotebookExport.SetTabLabel(w14, this.label13);
     this.label13.ShowAll();
     this.vbox7.Add(this.NotebookExport);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.NotebookExport]));
     w15.Position = 2;
     this.ElementsPanel.Add(this.vbox7);
     this.notebook3.Add(this.ElementsPanel);
     // Notebook tab
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Elements");
     this.notebook3.SetTabLabel(this.ElementsPanel, this.label3);
     this.label3.ShowAll();
     this.Root.Add(this.notebook3);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.Root[this.notebook3]));
     w18.Position = 2;
     // Container child Root.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.BuildButton              = new global::Gtk.Button();
     this.BuildButton.CanFocus     = true;
     this.BuildButton.Name         = "BuildButton";
     this.BuildButton.UseUnderline = true;
     this.BuildButton.Label        = global::Mono.Unix.Catalog.GetString("Build All");
     this.hbox1.Add(this.BuildButton);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.BuildButton]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.BuildObsolete              = new global::Gtk.ToggleButton();
     this.BuildObsolete.CanFocus     = true;
     this.BuildObsolete.Name         = "BuildObsolete";
     this.BuildObsolete.UseUnderline = true;
     this.BuildObsolete.Label        = global::Mono.Unix.Catalog.GetString("Build Obsolete");
     this.hbox1.Add(this.BuildObsolete);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.BuildObsolete]));
     w20.Position = 1;
     w20.Expand   = false;
     w20.Fill     = false;
     this.Root.Add(this.hbox1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.Root[this.hbox1]));
     w21.Position = 3;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child Root.Gtk.Box+BoxChild
     this.ProgressWidget          = new global::Gtk.ProgressBar();
     this.ProgressWidget.Name     = "ProgressWidget";
     this.ProgressWidget.Text     = global::Mono.Unix.Catalog.GetString("0 / 100 jobs");
     this.ProgressWidget.Fraction = 1D;
     this.Root.Add(this.ProgressWidget);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.Root[this.ProgressWidget]));
     w22.Position = 4;
     w22.Expand   = false;
     w22.Fill     = false;
     this.Add(this.Root);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1201;
     this.DefaultHeight = 709;
     this.Show();
 }
예제 #32
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File");
     w1.Add (this.FileAction, null);
     this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("_Open"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open");
     w1.Add (this.openAction, null);
     this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit");
     w1.Add (this.quitAction, null);
     this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("_View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View");
     w1.Add (this.ViewAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help");
     w1.Add (this.HelpAction, null);
     this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about");
     this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About");
     w1.Add (this.aboutAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("_Save XML"), null, "gtk-save");
     this.saveAction.Sensitive = false;
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save XML");
     w1.Add (this.saveAction, null);
     this.iconsAction = new global::Gtk.ToggleAction ("iconsAction", global::Mono.Unix.Catalog.GetString ("Icons"), null, null);
     this.iconsAction.Sensitive = false;
     this.iconsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Icons");
     w1.Add (this.iconsAction, "<Control>i");
     this.exportAsAction = new global::Gtk.Action ("exportAsAction", global::Mono.Unix.Catalog.GetString ("_Export As"), null, null);
     this.exportAsAction.Sensitive = false;
     this.exportAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Export As");
     w1.Add (this.exportAsAction, null);
     this.exportAsRRAction = new global::Gtk.Action ("exportAsRRAction", global::Mono.Unix.Catalog.GetString ("RomRaider Def XML"), null, "gtk-save-as");
     this.exportAsRRAction.Sensitive = false;
     this.exportAsRRAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("RomRaider Def XML");
     w1.Add (this.exportAsRRAction, null);
     this.plotExternalAction = new global::Gtk.Action ("plotExternalAction", global::Mono.Unix.Catalog.GetString ("_Plot External (gnuplot)"), null, null);
     this.plotExternalAction.Sensitive = false;
     this.plotExternalAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Plot");
     w1.Add (this.plotExternalAction, "<Control>p");
     this.checksumWindowAction = new global::Gtk.Action ("checksumWindowAction", global::Mono.Unix.Catalog.GetString ("Checksum Window"), null, null);
     this.checksumWindowAction.Sensitive = false;
     this.checksumWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Checksum Window");
     w1.Add (this.checksumWindowAction, null);
     this.statisticsWindowAction = new global::Gtk.Action ("statisticsWindowAction", global::Mono.Unix.Catalog.GetString ("Statistics Window"), null, null);
     this.statisticsWindowAction.Sensitive = false;
     this.statisticsWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Statistics Window");
     w1.Add (this.statisticsWindowAction, null);
     this.PlotAction = new global::Gtk.Action ("PlotAction", global::Mono.Unix.Catalog.GetString ("_Plot"), null, null);
     this.PlotAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Plot");
     w1.Add (this.PlotAction, null);
     this.createSVGFileAction = new global::Gtk.Action ("createSVGFileAction", global::Mono.Unix.Catalog.GetString ("Create SVG File"), null, null);
     this.createSVGFileAction.Sensitive = false;
     this.createSVGFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Create SVG File");
     w1.Add (this.createSVGFileAction, null);
     this.visualizationAction = new global::Gtk.Action ("visualizationAction", global::Mono.Unix.Catalog.GetString ("Visualization"), null, "gtk-refresh");
     this.visualizationAction.Sensitive = false;
     this.visualizationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visualization");
     w1.Add (this.visualizationAction, "<Control>space");
     this.DataAction = new global::Gtk.Action ("DataAction", global::Mono.Unix.Catalog.GetString ("_Data"), null, null);
     this.DataAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Data");
     w1.Add (this.DataAction, null);
     this.exportTableAsCSVAction = new global::Gtk.Action ("exportTableAsCSVAction", global::Mono.Unix.Catalog.GetString ("Export Table as CSV"), null, null);
     this.exportTableAsCSVAction.Sensitive = false;
     this.exportTableAsCSVAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Table as CSV");
     w1.Add (this.exportTableAsCSVAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("ScoobyRom");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.AllowShrink = true;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><separator/><menu name='exportAsAction' action='exportAsAction'><menuitem name='exportAsRRAction' action='exportAsRRAction'/></menu><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='visualizationAction' action='visualizationAction'/><menuitem name='iconsAction' action='iconsAction'/><menuitem name='checksumWindowAction' action='checksumWindowAction'/><menuitem name='statisticsWindowAction' action='statisticsWindowAction'/></menu><menu name='PlotAction' action='PlotAction'><menuitem name='plotExternalAction' action='plotExternalAction'/><menuitem name='createSVGFileAction' action='createSVGFileAction'/></menu><menu name='DataAction' action='DataAction'><menuitem name='exportTableAsCSVAction' action='exportTableAsCSVAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook1 = new global::Gtk.Notebook ();
     this.notebook1.CanFocus = true;
     this.notebook1.Name = "notebook1";
     this.notebook1.CurrentPage = 1;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vpaned2D = new global::Gtk.VPaned ();
     this.vpaned2D.CanFocus = true;
     this.vpaned2D.Name = "vpaned2D";
     this.vpaned2D.Position = 200;
     // Container child vpaned2D.Gtk.Paned+PanedChild
     this.GtkScrolledWindowTV2D = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindowTV2D.Name = "GtkScrolledWindowTV2D";
     this.GtkScrolledWindowTV2D.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindowTV2D.Gtk.Container+ContainerChild
     this.treeview2D = new global::Gtk.TreeView ();
     this.treeview2D.CanFocus = true;
     this.treeview2D.Name = "treeview2D";
     this.GtkScrolledWindowTV2D.Add (this.treeview2D);
     this.vpaned2D.Add (this.GtkScrolledWindowTV2D);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2D [this.GtkScrolledWindowTV2D]));
     w4.Resize = false;
     w4.Shrink = false;
     this.notebook1.Add (this.vpaned2D);
     // Notebook tab
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("2D Tables");
     this.notebook1.SetTabLabel (this.vpaned2D, this.label1);
     this.label1.ShowAll ();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vpaned3D = new global::Gtk.VPaned ();
     this.vpaned3D.CanFocus = true;
     this.vpaned3D.Name = "vpaned3D";
     this.vpaned3D.Position = 200;
     // Container child vpaned3D.Gtk.Paned+PanedChild
     this.ScrolledWindowTV3D = new global::Gtk.ScrolledWindow ();
     this.ScrolledWindowTV3D.Name = "ScrolledWindowTV3D";
     this.ScrolledWindowTV3D.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child ScrolledWindowTV3D.Gtk.Container+ContainerChild
     this.treeview3D = new global::Gtk.TreeView ();
     this.treeview3D.CanFocus = true;
     this.treeview3D.Name = "treeview3D";
     this.ScrolledWindowTV3D.Add (this.treeview3D);
     this.vpaned3D.Add (this.ScrolledWindowTV3D);
     global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.ScrolledWindowTV3D]));
     w7.Resize = false;
     w7.Shrink = false;
     // Container child vpaned3D.Gtk.Paned+PanedChild
     this.scrolledwindowTable3D = new global::Gtk.ScrolledWindow ();
     this.scrolledwindowTable3D.CanFocus = true;
     this.scrolledwindowTable3D.Name = "scrolledwindowTable3D";
     this.scrolledwindowTable3D.ShadowType = ((global::Gtk.ShadowType)(1));
     this.vpaned3D.Add (this.scrolledwindowTable3D);
     global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.scrolledwindowTable3D]));
     w8.Resize = false;
     w8.Shrink = false;
     this.notebook1.Add (this.vpaned3D);
     global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vpaned3D]));
     w9.Position = 1;
     // Notebook tab
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("3D Tables");
     this.notebook1.SetTabLabel (this.vpaned3D, this.label2);
     this.label2.ShowAll ();
     this.vbox1.Add (this.notebook1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1]));
     w10.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     // Container child statusbar1.Gtk.Box+BoxChild
     this.progressbar1 = new global::Gtk.ProgressBar ();
     this.progressbar1.Name = "progressbar1";
     this.statusbar1.Add (this.progressbar1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1]));
     w11.Position = 2;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w12.PackType = ((global::Gtk.PackType)(1));
     w12.Position = 2;
     w12.Expand = false;
     w12.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 938;
     this.DefaultHeight = 702;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
     this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated);
     this.aboutAction.Activated += new global::System.EventHandler (this.OnAbout);
     this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
     this.iconsAction.Activated += new global::System.EventHandler (this.OnIconsActionActivated);
     this.exportAsRRAction.Activated += new global::System.EventHandler (this.OnExportAsRRActionActivated);
     this.plotExternalAction.Activated += new global::System.EventHandler (this.OnPlotActionActivated);
     this.checksumWindowAction.Activated += new global::System.EventHandler (this.OnROMChecksumsActionActivated);
     this.statisticsWindowAction.Activated += new global::System.EventHandler (this.OnStatisticsWindowActionActivated);
     this.createSVGFileAction.Activated += new global::System.EventHandler (this.OnCreateSVGFileActionActivated);
     this.visualizationAction.Activated += new global::System.EventHandler (this.OnVisualizationAction);
     this.exportTableAsCSVAction.Activated += new global::System.EventHandler (this.OnExportTableAsCSVActionActivated);
     this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage);
 }
예제 #33
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = "File";
     w1.Add(this.FileAction, null);
     this.SettingsAction            = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null);
     this.SettingsAction.ShortLabel = "Settings";
     w1.Add(this.SettingsAction, null);
     this.QuitAction            = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("Quit"), null, null);
     this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit");
     w1.Add(this.QuitAction, null);
     this.ReloadPluginsAction            = new global::Gtk.Action("ReloadPluginsAction", global::Mono.Unix.Catalog.GetString("Reload Plugins"), null, null);
     this.ReloadPluginsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Reload Plugins");
     w1.Add(this.ReloadPluginsAction, null);
     this.ReloadAction            = new global::Gtk.Action("ReloadAction", global::Mono.Unix.Catalog.GetString("Reload"), global::Mono.Unix.Catalog.GetString("Reloads all Carriers, Rules and Zones."), "refresh");
     this.ReloadAction.ShortLabel = "Reload Plugins";
     w1.Add(this.ReloadAction, null);
     this.QuitAction1            = new global::Gtk.Action("QuitAction1", global::Mono.Unix.Catalog.GetString("Quit"), global::Mono.Unix.Catalog.GetString("Exit UberDespatch."), "quit");
     this.QuitAction1.ShortLabel = "Quit";
     w1.Add(this.QuitAction1, null);
     this.GeneralAction            = new global::Gtk.Action("GeneralAction", global::Mono.Unix.Catalog.GetString("General"), global::Mono.Unix.Catalog.GetString("Configure UberDespatch (folder paths, logging, etc)."), "settings");
     this.GeneralAction.ShortLabel = "General";
     w1.Add(this.GeneralAction, null);
     this.CarriersAction            = new global::Gtk.Action("CarriersAction", global::Mono.Unix.Catalog.GetString("Carriers"), global::Mono.Unix.Catalog.GetString("Open the configuration menus for loaded carriers."), "plugin");
     this.CarriersAction.ShortLabel = "Configure Carriers";
     w1.Add(this.CarriersAction, null);
     this.printAction = new global::Gtk.Action("printAction", global::Mono.Unix.Catalog.GetString("Printer Manager"), global::Mono.Unix.Catalog.GetString("Opens the Printer Manager which can be used to setup printer profiles to corrospo" +
                                                                                                                                                          "nd to the printers set by rules this includes the default printing settings."), "gtk-print");
     this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Printer Manager");
     w1.Add(this.printAction, null);
     this.openAction            = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("Open Archive Folder"), global::Mono.Unix.Catalog.GetString("Open the order archive folder."), "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open Archive Folder");
     w1.Add(this.openAction, null);
     this.editAction = new global::Gtk.Action("editAction", global::Mono.Unix.Catalog.GetString("Rules"), global::Mono.Unix.Catalog.GetString("Set the local paths or remote URLs for rule information, this includes zones, lab" +
                                                                                                                                              "els, alerts, etc."), "gtk-edit");
     this.editAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Rules");
     w1.Add(this.editAction, null);
     this.WMSAction            = new global::Gtk.Action("WMSAction", global::Mono.Unix.Catalog.GetString("WMS"), global::Mono.Unix.Catalog.GetString("Open the Warehouse Management System settings."), "plugin");
     this.WMSAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Configure Warehouse Management System");
     w1.Add(this.WMSAction, null);
     this.OpenOrderAction            = new global::Gtk.Action("OpenOrderAction", global::Mono.Unix.Catalog.GetString("Open Order"), global::Mono.Unix.Catalog.GetString("Open an order from file such as an old archived order."), "gtk-open");
     this.OpenOrderAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open Order");
     w1.Add(this.OpenOrderAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("UberDespatch");
     this.Icon           = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./icon.png"));
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.WindowLayout         = new global::Gtk.VBox();
     this.WindowLayout.Name    = "WindowLayout";
     this.WindowLayout.Spacing = 6;
     // Container child WindowLayout.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='MainMenu'><menu name='FileAction' action='FileAction'><menuitem name='ReloadAction' action='ReloadAction'/><menuitem name='openAction' action='openAction'/><menuitem name='OpenOrderAction' action='OpenOrderAction'/><separator/><menuitem name='QuitAction1' action='QuitAction1'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='GeneralAction' action='GeneralAction'/><menuitem name='printAction' action='printAction'/><menuitem name='editAction' action='editAction'/><separator/><menuitem name='WMSAction' action='WMSAction'/><menuitem name='CarriersAction' action='CarriersAction'/></menu></menubar></ui>");
     this.MainMenu      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/MainMenu")));
     this.MainMenu.Name = "MainMenu";
     this.WindowLayout.Add(this.MainMenu);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.WindowLayout[this.MainMenu]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child WindowLayout.Gtk.Box+BoxChild
     this.MainLayout         = new global::Gtk.HBox();
     this.MainLayout.Name    = "MainLayout";
     this.MainLayout.Spacing = 6;
     // Container child MainLayout.Gtk.Box+BoxChild
     this.ActivityLayout         = new global::Gtk.VBox();
     this.ActivityLayout.Name    = "ActivityLayout";
     this.ActivityLayout.Spacing = 6;
     // Container child ActivityLayout.Gtk.Box+BoxChild
     this.DetailsLayout         = new global::Gtk.VBox();
     this.DetailsLayout.Name    = "DetailsLayout";
     this.DetailsLayout.Spacing = 6;
     // Container child DetailsLayout.Gtk.Box+BoxChild
     this.StatusLayout         = new global::Gtk.VBox();
     this.StatusLayout.Name    = "StatusLayout";
     this.StatusLayout.Spacing = 6;
     // Container child StatusLayout.Gtk.Box+BoxChild
     this.StatusIndicatorsLayout         = new global::Gtk.HBox();
     this.StatusIndicatorsLayout.Name    = "StatusIndicatorsLayout";
     this.StatusIndicatorsLayout.Spacing = 6;
     // Container child StatusIndicatorsLayout.Gtk.Box+BoxChild
     this.ProcessStatusLayout         = new global::Gtk.VBox();
     this.ProcessStatusLayout.Name    = "ProcessStatusLayout";
     this.ProcessStatusLayout.Spacing = 6;
     // Container child ProcessStatusLayout.Gtk.Box+BoxChild
     this.ProcessStatusImage = new global::Gtk.Image();
     this.ProcessStatusImage.TooltipMarkup = "Order process status.";
     this.ProcessStatusImage.WidthRequest  = 150;
     this.ProcessStatusImage.HeightRequest = 50;
     this.ProcessStatusImage.Name          = "ProcessStatusImage";
     this.ProcessStatusImage.Pixbuf        = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icons/png/execute.png"));
     this.ProcessStatusLayout.Add(this.ProcessStatusImage);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.ProcessStatusLayout[this.ProcessStatusImage]));
     w3.Position = 0;
     // Container child ProcessStatusLayout.Gtk.Box+BoxChild
     this.ProcessStatusLabel = new global::Gtk.Label();
     this.ProcessStatusLabel.TooltipMarkup  = "Order process status.";
     this.ProcessStatusLabel.WidthRequest   = 150;
     this.ProcessStatusLabel.Name           = "ProcessStatusLabel";
     this.ProcessStatusLabel.LabelProp      = "Starting Up...";
     this.ProcessStatusLabel.UseMarkup      = true;
     this.ProcessStatusLabel.Justify        = ((global::Gtk.Justification)(2));
     this.ProcessStatusLabel.SingleLineMode = true;
     this.ProcessStatusLayout.Add(this.ProcessStatusLabel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.ProcessStatusLayout[this.ProcessStatusLabel]));
     w4.Position = 1;
     this.StatusIndicatorsLayout.Add(this.ProcessStatusLayout);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.StatusIndicatorsLayout[this.ProcessStatusLayout]));
     w5.Position = 0;
     // Container child StatusIndicatorsLayout.Gtk.Box+BoxChild
     this.APIStatusLayout         = new global::Gtk.VBox();
     this.APIStatusLayout.Name    = "APIStatusLayout";
     this.APIStatusLayout.Spacing = 6;
     // Container child APIStatusLayout.Gtk.Box+BoxChild
     this.APIStatusImage = new global::Gtk.Image();
     this.APIStatusImage.TooltipMarkup = "PeopleVox API connection status.";
     this.APIStatusImage.WidthRequest  = 150;
     this.APIStatusImage.HeightRequest = 50;
     this.APIStatusImage.Name          = "APIStatusImage";
     this.APIStatusImage.Pixbuf        = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icons/png/refresh.png"));
     this.APIStatusLayout.Add(this.APIStatusImage);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.APIStatusLayout[this.APIStatusImage]));
     w6.Position = 0;
     // Container child APIStatusLayout.Gtk.Box+BoxChild
     this.APIStatusLabel = new global::Gtk.Label();
     this.APIStatusLabel.TooltipMarkup  = "PeopleVox API connection status.";
     this.APIStatusLabel.WidthRequest   = 150;
     this.APIStatusLabel.Name           = "APIStatusLabel";
     this.APIStatusLabel.LabelProp      = "WMS: Connecting";
     this.APIStatusLabel.UseMarkup      = true;
     this.APIStatusLabel.Justify        = ((global::Gtk.Justification)(2));
     this.APIStatusLabel.SingleLineMode = true;
     this.APIStatusLayout.Add(this.APIStatusLabel);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.APIStatusLayout[this.APIStatusLabel]));
     w7.Position = 1;
     this.StatusIndicatorsLayout.Add(this.APIStatusLayout);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.StatusIndicatorsLayout[this.APIStatusLayout]));
     w8.Position = 1;
     this.StatusLayout.Add(this.StatusIndicatorsLayout);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.StatusLayout[this.StatusIndicatorsLayout]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child StatusLayout.Gtk.Box+BoxChild
     this.StatusProgress = new global::Gtk.ProgressBar();
     this.StatusProgress.TooltipMarkup = "Current action progress.";
     this.StatusProgress.HeightRequest = 1;
     this.StatusProgress.Name          = "StatusProgress";
     this.StatusLayout.Add(this.StatusProgress);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.StatusLayout[this.StatusProgress]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.DetailsLayout.Add(this.StatusLayout);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.DetailsLayout[this.StatusLayout]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child DetailsLayout.Gtk.Box+BoxChild
     this.ControlsLayout         = new global::Gtk.VBox();
     this.ControlsLayout.Name    = "ControlsLayout";
     this.ControlsLayout.Spacing = 6;
     // Container child ControlsLayout.Gtk.Box+BoxChild
     this.OrderControlsLayout         = new global::Gtk.HBox();
     this.OrderControlsLayout.Name    = "OrderControlsLayout";
     this.OrderControlsLayout.Spacing = 6;
     // Container child OrderControlsLayout.Gtk.Box+BoxChild
     this.AutoCheckButton = new global::Gtk.ToggleButton();
     this.AutoCheckButton.TooltipMarkup = "When enabled, UberDespatch will automatically check for a new order every few sec" +
                                          "onds.";
     this.AutoCheckButton.WidthRequest  = 150;
     this.AutoCheckButton.HeightRequest = 40;
     this.AutoCheckButton.CanFocus      = true;
     this.AutoCheckButton.Name          = "AutoCheckButton";
     this.AutoCheckButton.UseUnderline  = true;
     this.AutoCheckButton.Label         = "Auto Check (Off)";
     global::Gtk.Image w12 = new global::Gtk.Image();
     w12.Pixbuf = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icons/png/no-small.png"));
     this.AutoCheckButton.Image = w12;
     this.OrderControlsLayout.Add(this.AutoCheckButton);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.OrderControlsLayout[this.AutoCheckButton]));
     w13.Position = 0;
     // Container child OrderControlsLayout.Gtk.Box+BoxChild
     this.AutoSendButton = new global::Gtk.ToggleButton();
     this.AutoSendButton.TooltipMarkup = "When enabled, ever order will be flagged for edit.";
     this.AutoSendButton.WidthRequest  = 150;
     this.AutoSendButton.HeightRequest = 40;
     this.AutoSendButton.CanFocus      = true;
     this.AutoSendButton.Name          = "AutoSendButton";
     this.AutoSendButton.UseUnderline  = true;
     this.AutoSendButton.Label         = "Auto Send (On)";
     global::Gtk.Image w14 = new global::Gtk.Image();
     w14.Pixbuf = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icons/png/edit-small.png"));
     this.AutoSendButton.Image = w14;
     this.OrderControlsLayout.Add(this.AutoSendButton);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.OrderControlsLayout[this.AutoSendButton]));
     w15.Position = 1;
     this.ControlsLayout.Add(this.OrderControlsLayout);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.ControlsLayout[this.OrderControlsLayout]));
     w16.Position = 0;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child ControlsLayout.Gtk.Box+BoxChild
     this.AdvancedControlsLayout         = new global::Gtk.HBox();
     this.AdvancedControlsLayout.Name    = "AdvancedControlsLayout";
     this.AdvancedControlsLayout.Spacing = 6;
     // Container child AdvancedControlsLayout.Gtk.Box+BoxChild
     this.ManualCheckButton = new global::Gtk.Button();
     this.ManualCheckButton.TooltipMarkup = "Click to search for a new order right now.";
     this.ManualCheckButton.WidthRequest  = 150;
     this.ManualCheckButton.HeightRequest = 40;
     this.ManualCheckButton.CanFocus      = true;
     this.ManualCheckButton.Name          = "ManualCheckButton";
     this.ManualCheckButton.UseUnderline  = true;
     this.ManualCheckButton.Label         = "Manual Check";
     global::Gtk.Image w17 = new global::Gtk.Image();
     w17.Pixbuf = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icons/png/find-small.png"));
     this.ManualCheckButton.Image = w17;
     this.AdvancedControlsLayout.Add(this.ManualCheckButton);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.AdvancedControlsLayout[this.ManualCheckButton]));
     w18.Position = 0;
     // Container child AdvancedControlsLayout.Gtk.Box+BoxChild
     this.RepeatOrderButton = new global::Gtk.Button();
     this.RepeatOrderButton.TooltipMarkup = "Repeats the last order that was successful, failed or skipped. This can be used w" +
                                            "ith Inspection enabled to correct orders that have failed.";
     this.RepeatOrderButton.WidthRequest  = 150;
     this.RepeatOrderButton.HeightRequest = 40;
     this.RepeatOrderButton.CanFocus      = true;
     this.RepeatOrderButton.Name          = "RepeatOrderButton";
     this.RepeatOrderButton.UseUnderline  = true;
     this.RepeatOrderButton.Label         = "Repeat Order";
     global::Gtk.Image w19 = new global::Gtk.Image();
     w19.Pixbuf = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icons/png/refresh-small.png"));
     this.RepeatOrderButton.Image = w19;
     this.AdvancedControlsLayout.Add(this.RepeatOrderButton);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.AdvancedControlsLayout[this.RepeatOrderButton]));
     w20.Position = 1;
     this.ControlsLayout.Add(this.AdvancedControlsLayout);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.ControlsLayout[this.AdvancedControlsLayout]));
     w21.Position = 1;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child ControlsLayout.Gtk.Box+BoxChild
     this.InspectControlsLayout         = new global::Gtk.HBox();
     this.InspectControlsLayout.Name    = "InspectControlsLayout";
     this.InspectControlsLayout.Spacing = 6;
     // Container child InspectControlsLayout.Gtk.Box+BoxChild
     this.SkipOrderButton = new global::Gtk.Button();
     this.SkipOrderButton.TooltipMarkup = "Use to skip the current problematic order, the skipped order will be archived.";
     this.SkipOrderButton.WidthRequest  = 150;
     this.SkipOrderButton.HeightRequest = 40;
     this.SkipOrderButton.CanFocus      = true;
     this.SkipOrderButton.Name          = "SkipOrderButton";
     this.SkipOrderButton.UseUnderline  = true;
     this.SkipOrderButton.Label         = "Skip Order";
     global::Gtk.Image w22 = new global::Gtk.Image();
     w22.Pixbuf = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icons/png/skip-small.png"));
     this.SkipOrderButton.Image = w22;
     this.InspectControlsLayout.Add(this.SkipOrderButton);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.InspectControlsLayout[this.SkipOrderButton]));
     w23.Position = 0;
     // Container child InspectControlsLayout.Gtk.Box+BoxChild
     this.SendOrderButton = new global::Gtk.Button();
     this.SendOrderButton.TooltipMarkup = "Send the current order (only needed when editing orders).";
     this.SendOrderButton.WidthRequest  = 150;
     this.SendOrderButton.HeightRequest = 40;
     this.SendOrderButton.CanFocus      = true;
     this.SendOrderButton.Name          = "SendOrderButton";
     this.SendOrderButton.UseUnderline  = true;
     this.SendOrderButton.Label         = "Send Order";
     global::Gtk.Image w24 = new global::Gtk.Image();
     w24.Pixbuf = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icons/png/play-small.png"));
     this.SendOrderButton.Image = w24;
     this.InspectControlsLayout.Add(this.SendOrderButton);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.InspectControlsLayout[this.SendOrderButton]));
     w25.Position = 1;
     this.ControlsLayout.Add(this.InspectControlsLayout);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.ControlsLayout[this.InspectControlsLayout]));
     w26.Position = 2;
     w26.Expand   = false;
     w26.Fill     = false;
     this.DetailsLayout.Add(this.ControlsLayout);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.DetailsLayout[this.ControlsLayout]));
     w27.Position = 1;
     w27.Expand   = false;
     w27.Fill     = false;
     this.ActivityLayout.Add(this.DetailsLayout);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.ActivityLayout[this.DetailsLayout]));
     w28.Position = 0;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child ActivityLayout.Gtk.Box+BoxChild
     this.LogScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.LogScrolledWindow.Name       = "LogScrolledWindow";
     this.LogScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child LogScrolledWindow.Gtk.Container+ContainerChild
     this.LogTextView = new global::Gtk.TextView();
     this.LogTextView.WidthRequest  = 500;
     this.LogTextView.HeightRequest = 300;
     this.LogTextView.CanFocus      = true;
     this.LogTextView.Name          = "LogTextView";
     this.LogTextView.Editable      = false;
     this.LogTextView.WrapMode      = ((global::Gtk.WrapMode)(2));
     this.LogTextView.LeftMargin    = 4;
     this.LogTextView.RightMargin   = 4;
     this.LogScrolledWindow.Add(this.LogTextView);
     this.ActivityLayout.Add(this.LogScrolledWindow);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.ActivityLayout[this.LogScrolledWindow]));
     w30.Position = 1;
     this.MainLayout.Add(this.ActivityLayout);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.MainLayout[this.ActivityLayout]));
     w31.Position = 0;
     w31.Expand   = false;
     w31.Fill     = false;
     // Container child MainLayout.Gtk.Box+BoxChild
     this.OrderEditorLayout         = new global::Gtk.VBox();
     this.OrderEditorLayout.Name    = "OrderEditorLayout";
     this.OrderEditorLayout.Spacing = 6;
     // Container child OrderEditorLayout.Gtk.Box+BoxChild
     this.OrderHighlightLayout         = new global::Gtk.HBox();
     this.OrderHighlightLayout.Name    = "OrderHighlightLayout";
     this.OrderHighlightLayout.Spacing = 6;
     // Container child OrderHighlightLayout.Gtk.Box+BoxChild
     this.OrderNumberLabel = new global::Gtk.Label();
     this.OrderNumberLabel.TooltipMarkup  = "PeopleVox API connection status.";
     this.OrderNumberLabel.WidthRequest   = 150;
     this.OrderNumberLabel.Name           = "OrderNumberLabel";
     this.OrderNumberLabel.UseMarkup      = true;
     this.OrderNumberLabel.Justify        = ((global::Gtk.Justification)(2));
     this.OrderNumberLabel.SingleLineMode = true;
     this.OrderHighlightLayout.Add(this.OrderNumberLabel);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.OrderHighlightLayout[this.OrderNumberLabel]));
     w32.Position = 0;
     // Container child OrderHighlightLayout.Gtk.Box+BoxChild
     this.OrderEmailLabel = new global::Gtk.Label();
     this.OrderEmailLabel.TooltipMarkup  = "Order process status.";
     this.OrderEmailLabel.WidthRequest   = 150;
     this.OrderEmailLabel.Name           = "OrderEmailLabel";
     this.OrderEmailLabel.UseMarkup      = true;
     this.OrderEmailLabel.Justify        = ((global::Gtk.Justification)(2));
     this.OrderEmailLabel.SingleLineMode = true;
     this.OrderHighlightLayout.Add(this.OrderEmailLabel);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.OrderHighlightLayout[this.OrderEmailLabel]));
     w33.Position = 1;
     this.OrderEditorLayout.Add(this.OrderHighlightLayout);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.OrderEditorLayout[this.OrderHighlightLayout]));
     w34.Position = 0;
     w34.Expand   = false;
     w34.Fill     = false;
     // Container child OrderEditorLayout.Gtk.Box+BoxChild
     this.OrderEditorScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.OrderEditorScrolledWindow.Name       = "OrderEditorScrolledWindow";
     this.OrderEditorScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child OrderEditorScrolledWindow.Gtk.Container+ContainerChild
     this.OrderTableTreeview = new global::Gtk.TreeView();
     this.OrderTableTreeview.WidthRequest   = 450;
     this.OrderTableTreeview.CanFocus       = true;
     this.OrderTableTreeview.Name           = "OrderTableTreeview";
     this.OrderTableTreeview.HeadersVisible = false;
     this.OrderTableTreeview.HoverSelection = true;
     this.OrderEditorScrolledWindow.Add(this.OrderTableTreeview);
     this.OrderEditorLayout.Add(this.OrderEditorScrolledWindow);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.OrderEditorLayout[this.OrderEditorScrolledWindow]));
     w36.Position = 1;
     this.MainLayout.Add(this.OrderEditorLayout);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.MainLayout[this.OrderEditorLayout]));
     w37.Position = 1;
     this.WindowLayout.Add(this.MainLayout);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.WindowLayout[this.MainLayout]));
     w38.Position = 1;
     this.Add(this.WindowLayout);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 988;
     this.DefaultHeight = 590;
     this.Show();
     this.DeleteEvent                += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.ReloadAction.Activated     += new global::System.EventHandler(this.OnReloadActivated);
     this.QuitAction1.Activated      += new global::System.EventHandler(this.OnQuitActionActivated);
     this.GeneralAction.Activated    += new global::System.EventHandler(this.OnOptionsActionActivated);
     this.CarriersAction.Activated   += new global::System.EventHandler(this.OnCarriersActionActivated);
     this.printAction.Activated      += new global::System.EventHandler(this.OnPrinterActionActivated);
     this.openAction.Activated       += new global::System.EventHandler(this.OnOpenArchiveActivated);
     this.editAction.Activated       += new global::System.EventHandler(this.OnRulesActionActivated);
     this.WMSAction.Activated        += new global::System.EventHandler(this.OnWMSActionActivated);
     this.OpenOrderAction.Activated  += new global::System.EventHandler(this.OnOpenOrderActivated);
     this.AutoCheckButton.Toggled    += new global::System.EventHandler(this.OnAutoCheckButtonReleased);
     this.AutoSendButton.Toggled     += new global::System.EventHandler(this.OnAutoSendButtonReleased);
     this.ManualCheckButton.Released += new global::System.EventHandler(this.OnManualCheckButtonReleased);
     this.RepeatOrderButton.Released += new global::System.EventHandler(this.OnRepeatOrderButtonReleased);
     this.SkipOrderButton.Released   += new global::System.EventHandler(this.OnSkipOrderButtonReleased);
     this.SendOrderButton.Released   += new global::System.EventHandler(this.OnSendOrderButtonReleased);
 }
예제 #34
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.WidthRequest = 350;
     this.Name = "MainWindow";
     this.Title = "MainWindow";
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Resizable = false;
     this.DefaultWidth = 350;
     this.DefaultHeight = 150;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.WidthRequest = 300;
     this.vbox1.HeightRequest = 100;
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     this.vbox1.BorderWidth = ((uint)(15));
     // Container child vbox1.Gtk.Box+BoxChild
     this.btnRow = new global::Gtk.Table (((uint)(1)), ((uint)(3)), false);
     this.btnRow.Name = "btnRow";
     this.btnRow.RowSpacing = ((uint)(6));
     this.btnRow.ColumnSpacing = ((uint)(6));
     // Container child btnRow.Gtk.Table+TableChild
     this.btnResolve = new global::Gtk.Button ();
     this.btnResolve.CanFocus = true;
     this.btnResolve.Name = "btnResolve";
     this.btnResolve.UseUnderline = true;
     this.btnResolve.Label = "Show Unresolved";
     this.btnRow.Add (this.btnResolve);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.btnRow [this.btnResolve]));
     w1.LeftAttach = ((uint)(1));
     w1.RightAttach = ((uint)(2));
     w1.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child btnRow.Gtk.Table+TableChild
     this.btnScanStart = new global::Gtk.Button ();
     this.btnScanStart.Sensitive = false;
     this.btnScanStart.CanFocus = true;
     this.btnScanStart.Name = "btnScanStart";
     this.btnScanStart.UseUnderline = true;
     this.btnScanStart.Label = "Start Scanning";
     this.btnRow.Add (this.btnScanStart);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.btnRow [this.btnScanStart]));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.btnRow);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.btnRow]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.lbDetect = new global::Gtk.Label ();
     this.lbDetect.Name = "lbDetect";
     this.lbDetect.LabelProp = "Detection";
     this.table2.Add (this.lbDetect);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.lbDetect]));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lbTransmit = new global::Gtk.Label ();
     this.lbTransmit.Name = "lbTransmit";
     this.lbTransmit.LabelProp = "Transmission";
     this.table2.Add (this.lbTransmit);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.lbTransmit]));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.pbDetect = new global::Gtk.ProgressBar ();
     this.pbDetect.Name = "pbDetect";
     this.table2.Add (this.pbDetect);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.pbDetect]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.pbTransmit = new global::Gtk.ProgressBar ();
     this.pbTransmit.Name = "pbTransmit";
     this.table2.Add (this.pbTransmit);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.pbTransmit]));
     w7.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.table2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table2]));
     w8.PackType = ((global::Gtk.PackType)(1));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null))
         this.Child.ShowAll();
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.btnResolve.Clicked += new global::System.EventHandler (this.BeginResolution);
 }
예제 #35
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget ocmgtk.FieldNotesProgress
     this.WidthRequest    = 450;
     this.Name            = "ocmgtk.FieldNotesProgress";
     this.Title           = global::Mono.Unix.Catalog.GetString("Receiving Field Notes");
     this.TypeHint        = ((global::Gdk.WindowTypeHint)(1));
     this.WindowPosition  = ((global::Gtk.WindowPosition)(4));
     this.Modal           = true;
     this.BorderWidth     = ((uint)(6));
     this.Resizable       = false;
     this.AllowGrow       = false;
     this.SkipPagerHint   = true;
     this.SkipTaskbarHint = true;
     // Internal child ocmgtk.FieldNotesProgress.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("<big><b>Receiving Field Notes</b></big>");
     this.label2.UseMarkup = true;
     this.vbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.loadProgress      = new global::Gtk.ProgressBar();
     this.loadProgress.Name = "loadProgress";
     this.vbox2.Add(this.loadProgress);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.loadProgress]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.statusLabel           = new global::Gtk.Label();
     this.statusLabel.Name      = "statusLabel";
     this.statusLabel.Xalign    = 0F;
     this.statusLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<i>Initializing</i>");
     this.statusLabel.UseMarkup = true;
     this.vbox2.Add(this.statusLabel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusLabel]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     w1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Internal child ocmgtk.FieldNotesProgress.ActionArea
     global::Gtk.HButtonBox w6 = this.ActionArea;
     w6.Name        = "dialog1_ActionArea";
     w6.Spacing     = 10;
     w6.BorderWidth = ((uint)(5));
     w6.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-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonCancel]));
     w7.Expand = false;
     w7.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonView              = new global::Gtk.Button();
     this.buttonView.CanFocus     = true;
     this.buttonView.Name         = "buttonView";
     this.buttonView.UseUnderline = true;
     this.buttonView.Label        = global::Mono.Unix.Catalog.GetString("View Field Notes...");
     this.AddActionWidget(this.buttonView, 0);
     global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonView]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonClose              = new global::Gtk.Button();
     this.buttonClose.CanDefault   = true;
     this.buttonClose.CanFocus     = true;
     this.buttonClose.Name         = "buttonClose";
     this.buttonClose.UseStock     = true;
     this.buttonClose.UseUnderline = true;
     this.buttonClose.Label        = "gtk-close";
     this.AddActionWidget(this.buttonClose, -7);
     global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonClose]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 462;
     this.DefaultHeight = 150;
     this.buttonView.Hide();
     this.buttonClose.Hide();
     this.Show();
     this.buttonCancel.Clicked += new global::System.EventHandler(this.OnCancelClick);
     this.buttonView.Clicked   += new global::System.EventHandler(this.OnViewClick);
     this.buttonClose.Clicked  += new global::System.EventHandler(this.OnCloseClick);
 }
예제 #36
0
	protected virtual void Build ()
	{
		global::Stetic.Gui.Initialize (this);
		// Widget DeSERtMain
		this.UIManager = new global::Gtk.UIManager ();
		global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
		this.MenuAction = new global::Gtk.Action ("MenuAction", global::Mono.Unix.Catalog.GetString ("Menu"), null, null);
		this.MenuAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Menu");
		w1.Add (this.MenuAction, null);
		this.SettingsAction = new global::Gtk.Action ("SettingsAction", global::Mono.Unix.Catalog.GetString ("Settings"), null, null);
		this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings");
		w1.Add (this.SettingsAction, null);
		this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null);
		this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
		w1.Add (this.AboutAction, null);
		this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
		this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
		w1.Add (this.HelpAction, null);
		this.newAction = new global::Gtk.Action ("newAction", global::Mono.Unix.Catalog.GetString ("New Project"), null, "gtk-new");
		this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Project");
		w1.Add (this.newAction, null);
		this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("Save Project"), null, "gtk-save");
		this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save Project");
		w1.Add (this.saveAction, null);
		this.saveAsAction = new global::Gtk.Action ("saveAsAction", global::Mono.Unix.Catalog.GetString ("Save Project To"), null, "gtk-save-as");
		this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save Project To");
		w1.Add (this.saveAsAction, null);
		this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Open Project"), null, "gtk-open");
		this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open Project");
		w1.Add (this.openAction, null);
		this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, "gtk-quit");
		this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit");
		w1.Add (this.quitAction, null);
		this.helpAction = new global::Gtk.Action ("helpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, "gtk-help");
		this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
		w1.Add (this.helpAction, null);
		this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about");
		this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About");
		w1.Add (this.aboutAction, null);
		this.preferencesAction = new global::Gtk.Action ("preferencesAction", global::Mono.Unix.Catalog.GetString ("Settings"), null, "gtk-preferences");
		this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings");
		w1.Add (this.preferencesAction, null);
		this.ExtrasAction = new global::Gtk.Action ("ExtrasAction", global::Mono.Unix.Catalog.GetString ("Extras"), null, null);
		this.ExtrasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Extras");
		w1.Add (this.ExtrasAction, null);
		this.CreateFilterAction = new global::Gtk.Action ("CreateFilterAction", global::Mono.Unix.Catalog.GetString ("Create Filter"), null, null);
		this.CreateFilterAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add Filter");
		w1.Add (this.CreateFilterAction, null);
		this.UIManager.InsertActionGroup (w1, 0);
		this.AddAccelGroup (this.UIManager.AccelGroup);
		this.WidthRequest = 910;
		this.HeightRequest = 520;
		this.Name = "DeSERtMain";
		this.Title = global::Mono.Unix.Catalog.GetString ("DeSERt");
		this.Icon = global::Gdk.Pixbuf.LoadFromResource ("DeSERt.DeSERt-Icon.ico");
		this.WindowPosition = ((global::Gtk.WindowPosition)(4));
		this.Resizable = false;
		this.AllowGrow = false;
		this.DefaultWidth = 900;
		this.DefaultHeight = 500;
		// Container child DeSERtMain.Gtk.Container+ContainerChild
		this.BG = new global::Gtk.Fixed ();
		this.BG.Name = "BG";
		this.BG.HasWindow = false;
		// Container child BG.Gtk.Fixed+FixedChild
		this.UIManager.AddUiFromString (@"<ui><menubar name='Menu'><menu name='MenuAction' action='MenuAction'><menuitem name='newAction' action='newAction'/><separator/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='preferencesAction' action='preferencesAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='ExtrasAction' action='ExtrasAction'><menuitem name='CreateFilterAction' action='CreateFilterAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>");
		this.Menu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/Menu")));
		this.Menu.WidthRequest = 920;
		this.Menu.Name = "Menu";
		this.BG.Add (this.Menu);
		// Container child BG.Gtk.Fixed+FixedChild
		this.MainNotebook = new global::Gtk.Notebook ();
		this.MainNotebook.WidthRequest = 900;
		this.MainNotebook.HeightRequest = 450;
		this.MainNotebook.CanFocus = true;
		this.MainNotebook.Name = "MainNotebook";
		this.MainNotebook.CurrentPage = 1;
		// Container child MainNotebook.Gtk.Notebook+NotebookChild
		this.BGLoading = new global::Gtk.Fixed ();
		this.BGLoading.Name = "BGLoading";
		this.BGLoading.HasWindow = false;
		// Container child BGLoading.Gtk.Fixed+FixedChild
		this.ValueTableScroll = new global::Gtk.ScrolledWindow ();
		this.ValueTableScroll.WidthRequest = 650;
		this.ValueTableScroll.HeightRequest = 400;
		this.ValueTableScroll.Name = "ValueTableScroll";
		this.ValueTableScroll.ShadowType = ((global::Gtk.ShadowType)(1));
		// Container child ValueTableScroll.Gtk.Container+ContainerChild
		this.ValueTable = new global::Gtk.TreeView ();
		this.ValueTable.CanFocus = true;
		this.ValueTable.Name = "ValueTable";
		this.ValueTable.EnableSearch = false;
		this.ValueTableScroll.Add (this.ValueTable);
		this.BGLoading.Add (this.ValueTableScroll);
		global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.BGLoading [this.ValueTableScroll]));
		w4.X = 235;
		w4.Y = 10;
		// Container child BGLoading.Gtk.Fixed+FixedChild
		this.ImageOpenButton = new global::Gtk.Button ();
		this.ImageOpenButton.WidthRequest = 150;
		this.ImageOpenButton.HeightRequest = 35;
		this.ImageOpenButton.CanFocus = true;
		this.ImageOpenButton.Name = "ImageOpenButton";
		this.ImageOpenButton.UseUnderline = true;
		// Container child ImageOpenButton.Gtk.Container+ContainerChild
		global::Gtk.Alignment w5 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
		// Container child GtkAlignment.Gtk.Container+ContainerChild
		global::Gtk.HBox w6 = new global::Gtk.HBox ();
		w6.Spacing = 2;
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Image w7 = new global::Gtk.Image ();
		w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu);
		w6.Add (w7);
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Label w9 = new global::Gtk.Label ();
		w9.LabelProp = global::Mono.Unix.Catalog.GetString ("Add Image(s)");
		w9.UseUnderline = true;
		w6.Add (w9);
		w5.Add (w6);
		this.ImageOpenButton.Add (w5);
		this.BGLoading.Add (this.ImageOpenButton);
		global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.BGLoading [this.ImageOpenButton]));
		w13.X = 40;
		w13.Y = 30;
		// Container child BGLoading.Gtk.Fixed+FixedChild
		this.ProcOpenButton = new global::Gtk.Button ();
		this.ProcOpenButton.WidthRequest = 150;
		this.ProcOpenButton.HeightRequest = 35;
		this.ProcOpenButton.CanFocus = true;
		this.ProcOpenButton.Name = "ProcOpenButton";
		this.ProcOpenButton.UseUnderline = true;
		// Container child ProcOpenButton.Gtk.Container+ContainerChild
		global::Gtk.Alignment w14 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
		// Container child GtkAlignment.Gtk.Container+ContainerChild
		global::Gtk.HBox w15 = new global::Gtk.HBox ();
		w15.Spacing = 2;
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Image w16 = new global::Gtk.Image ();
		w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu);
		w15.Add (w16);
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Label w18 = new global::Gtk.Label ();
		w18.LabelProp = global::Mono.Unix.Catalog.GetString ("Open PP3");
		w18.UseUnderline = true;
		w15.Add (w18);
		w14.Add (w15);
		this.ProcOpenButton.Add (w14);
		this.BGLoading.Add (this.ProcOpenButton);
		global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.BGLoading [this.ProcOpenButton]));
		w22.X = 40;
		w22.Y = 80;
		// Container child BGLoading.Gtk.Fixed+FixedChild
		this.CalculateButton = new global::Gtk.Button ();
		this.CalculateButton.WidthRequest = 180;
		this.CalculateButton.HeightRequest = 30;
		this.CalculateButton.CanFocus = true;
		this.CalculateButton.Name = "CalculateButton";
		this.CalculateButton.UseUnderline = true;
		// Container child CalculateButton.Gtk.Container+ContainerChild
		global::Gtk.Alignment w23 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
		// Container child GtkAlignment.Gtk.Container+ContainerChild
		global::Gtk.HBox w24 = new global::Gtk.HBox ();
		w24.Spacing = 2;
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Image w25 = new global::Gtk.Image ();
		w25.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-execute", global::Gtk.IconSize.Menu);
		w24.Add (w25);
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Label w27 = new global::Gtk.Label ();
		w27.LabelProp = global::Mono.Unix.Catalog.GetString ("Calculate Brightness");
		w27.UseUnderline = true;
		w24.Add (w27);
		w23.Add (w24);
		this.CalculateButton.Add (w23);
		this.BGLoading.Add (this.CalculateButton);
		global::Gtk.Fixed.FixedChild w31 = ((global::Gtk.Fixed.FixedChild)(this.BGLoading [this.CalculateButton]));
		w31.X = 25;
		w31.Y = 325;
		// Container child BGLoading.Gtk.Fixed+FixedChild
		this.PreviewImg = new global::Gtk.Image ();
		this.PreviewImg.WidthRequest = 160;
		this.PreviewImg.HeightRequest = 120;
		this.PreviewImg.Name = "PreviewImg";
		this.BGLoading.Add (this.PreviewImg);
		global::Gtk.Fixed.FixedChild w32 = ((global::Gtk.Fixed.FixedChild)(this.BGLoading [this.PreviewImg]));
		w32.X = 35;
		w32.Y = 175;
		this.MainNotebook.Add (this.BGLoading);
		// Notebook tab
		this.label2 = new global::Gtk.Label ();
		this.label2.Name = "label2";
		this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Loading");
		this.MainNotebook.SetTabLabel (this.BGLoading, this.label2);
		this.label2.ShowAll ();
		// Container child MainNotebook.Gtk.Notebook+NotebookChild
		this.EditingBG = new global::Gtk.Fixed ();
		this.EditingBG.Name = "EditingBG";
		this.EditingBG.HasWindow = false;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.XValBox = new global::Gtk.Entry ();
		this.XValBox.WidthRequest = 60;
		this.XValBox.CanFocus = true;
		this.XValBox.Name = "XValBox";
		this.XValBox.Text = global::Mono.Unix.Catalog.GetString ("0");
		this.XValBox.IsEditable = true;
		this.XValBox.InvisibleChar = '?';
		this.EditingBG.Add (this.XValBox);
		global::Gtk.Fixed.FixedChild w34 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.XValBox]));
		w34.X = 110;
		w34.Y = 350;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.YValBox = new global::Gtk.Entry ();
		this.YValBox.WidthRequest = 60;
		this.YValBox.CanFocus = true;
		this.YValBox.Name = "YValBox";
		this.YValBox.Text = global::Mono.Unix.Catalog.GetString ("0");
		this.YValBox.IsEditable = true;
		this.YValBox.InvisibleChar = '?';
		this.EditingBG.Add (this.YValBox);
		global::Gtk.Fixed.FixedChild w35 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.YValBox]));
		w35.X = 110;
		w35.Y = 380;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.Ylabel = new global::Gtk.Label ();
		this.Ylabel.Name = "Ylabel";
		this.Ylabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Y:");
		this.EditingBG.Add (this.Ylabel);
		global::Gtk.Fixed.FixedChild w36 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.Ylabel]));
		w36.X = 90;
		w36.Y = 385;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.Xlabel = new global::Gtk.Label ();
		this.Xlabel.Name = "Xlabel";
		this.Xlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("X:");
		this.EditingBG.Add (this.Xlabel);
		global::Gtk.Fixed.FixedChild w37 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.Xlabel]));
		w37.X = 90;
		w37.Y = 355;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.GraphEvents = new global::Gtk.EventBox ();
		this.GraphEvents.WidthRequest = 700;
		this.GraphEvents.HeightRequest = 400;
		this.GraphEvents.Name = "GraphEvents";
		// Container child GraphEvents.Gtk.Container+ContainerChild
		this.GraphArea = new global::Gtk.Image ();
		this.GraphArea.Name = "GraphArea";
		this.GraphEvents.Add (this.GraphArea);
		this.EditingBG.Add (this.GraphEvents);
		global::Gtk.Fixed.FixedChild w39 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.GraphEvents]));
		w39.X = 185;
		w39.Y = 10;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.CurveSelectBox = global::Gtk.ComboBox.NewText ();
		this.CurveSelectBox.WidthRequest = 150;
		this.CurveSelectBox.Name = "CurveSelectBox";
		this.EditingBG.Add (this.CurveSelectBox);
		global::Gtk.Fixed.FixedChild w40 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.CurveSelectBox]));
		w40.X = 15;
		w40.Y = 20;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.BrScale = new global::Gtk.HScale (null);
		this.BrScale.WidthRequest = 160;
		this.BrScale.CanFocus = true;
		this.BrScale.Name = "BrScale";
		this.BrScale.Adjustment.Lower = -300D;
		this.BrScale.Adjustment.Upper = 400D;
		this.BrScale.Adjustment.PageIncrement = 5D;
		this.BrScale.Adjustment.StepIncrement = 1D;
		this.BrScale.Adjustment.Value = 100D;
		this.BrScale.DrawValue = false;
		this.BrScale.Digits = 2;
		this.BrScale.ValuePos = ((global::Gtk.PositionType)(2));
		this.EditingBG.Add (this.BrScale);
		global::Gtk.Fixed.FixedChild w41 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.BrScale]));
		w41.X = 10;
		w41.Y = 85;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.EndToStartButton = new global::Gtk.Button ();
		this.EndToStartButton.WidthRequest = 75;
		this.EndToStartButton.HeightRequest = 20;
		this.EndToStartButton.CanFocus = true;
		this.EndToStartButton.Name = "EndToStartButton";
		this.EndToStartButton.UseUnderline = true;
		this.EndToStartButton.Label = global::Mono.Unix.Catalog.GetString ("End = Start");
		this.EditingBG.Add (this.EndToStartButton);
		global::Gtk.Fixed.FixedChild w42 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.EndToStartButton]));
		w42.X = 10;
		w42.Y = 140;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.StartToEndButton = new global::Gtk.Button ();
		this.StartToEndButton.WidthRequest = 75;
		this.StartToEndButton.HeightRequest = 20;
		this.StartToEndButton.CanFocus = true;
		this.StartToEndButton.Name = "StartToEndButton";
		this.StartToEndButton.UseUnderline = true;
		this.StartToEndButton.Label = global::Mono.Unix.Catalog.GetString ("Start = End");
		this.EditingBG.Add (this.StartToEndButton);
		global::Gtk.Fixed.FixedChild w43 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.StartToEndButton]));
		w43.X = 95;
		w43.Y = 140;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.ResetCurveButton = new global::Gtk.Button ();
		this.ResetCurveButton.WidthRequest = 75;
		this.ResetCurveButton.HeightRequest = 20;
		this.ResetCurveButton.CanFocus = true;
		this.ResetCurveButton.Name = "ResetCurveButton";
		this.ResetCurveButton.UseUnderline = true;
		this.ResetCurveButton.Label = global::Mono.Unix.Catalog.GetString ("Reset Curve");
		this.EditingBG.Add (this.ResetCurveButton);
		global::Gtk.Fixed.FixedChild w44 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.ResetCurveButton]));
		w44.X = 10;
		w44.Y = 170;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.label3 = new global::Gtk.Label ();
		this.label3.Name = "label3";
		this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Brightness Scale:");
		this.EditingBG.Add (this.label3);
		global::Gtk.Fixed.FixedChild w45 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.label3]));
		w45.X = 5;
		w45.Y = 65;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.BrScaleEntry = new global::Gtk.Entry ();
		this.BrScaleEntry.WidthRequest = 60;
		this.BrScaleEntry.CanFocus = true;
		this.BrScaleEntry.Name = "BrScaleEntry";
		this.BrScaleEntry.Text = global::Mono.Unix.Catalog.GetString ("100,00");
		this.BrScaleEntry.IsEditable = true;
		this.BrScaleEntry.InvisibleChar = '?';
		this.EditingBG.Add (this.BrScaleEntry);
		global::Gtk.Fixed.FixedChild w46 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.BrScaleEntry]));
		w46.X = 105;
		w46.Y = 55;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.label4 = new global::Gtk.Label ();
		this.label4.Name = "label4";
		this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Startindex:");
		this.EditingBG.Add (this.label4);
		global::Gtk.Fixed.FixedChild w47 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.label4]));
		w47.X = 55;
		w47.Y = 255;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.PreviewRenderButton = new global::Gtk.Button ();
		this.PreviewRenderButton.WidthRequest = 160;
		this.PreviewRenderButton.CanFocus = true;
		this.PreviewRenderButton.Name = "PreviewRenderButton";
		this.PreviewRenderButton.UseUnderline = true;
		// Container child PreviewRenderButton.Gtk.Container+ContainerChild
		global::Gtk.Alignment w48 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
		// Container child GtkAlignment.Gtk.Container+ContainerChild
		global::Gtk.HBox w49 = new global::Gtk.HBox ();
		w49.Spacing = 2;
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Image w50 = new global::Gtk.Image ();
		w50.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-refresh", global::Gtk.IconSize.Menu);
		w49.Add (w50);
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Label w52 = new global::Gtk.Label ();
		w52.LabelProp = global::Mono.Unix.Catalog.GetString ("Brightness Preview");
		w52.UseUnderline = true;
		w49.Add (w52);
		w48.Add (w49);
		this.PreviewRenderButton.Add (w48);
		this.EditingBG.Add (this.PreviewRenderButton);
		global::Gtk.Fixed.FixedChild w56 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.PreviewRenderButton]));
		w56.X = 10;
		w56.Y = 220;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.PrevCountSpin = new global::Gtk.SpinButton (2D, 100D, 1D);
		this.PrevCountSpin.CanFocus = true;
		this.PrevCountSpin.Name = "PrevCountSpin";
		this.PrevCountSpin.Adjustment.PageIncrement = 10D;
		this.PrevCountSpin.ClimbRate = 1D;
		this.PrevCountSpin.Numeric = true;
		this.PrevCountSpin.Value = 2D;
		this.EditingBG.Add (this.PrevCountSpin);
		global::Gtk.Fixed.FixedChild w57 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.PrevCountSpin]));
		w57.X = 120;
		w57.Y = 285;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.label5 = new global::Gtk.Label ();
		this.label5.Name = "label5";
		this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Count:");
		this.EditingBG.Add (this.label5);
		global::Gtk.Fixed.FixedChild w58 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.label5]));
		w58.X = 74;
		w58.Y = 290;
		// Container child EditingBG.Gtk.Fixed+FixedChild
		this.PrevIndexSpin = new global::Gtk.SpinButton (1D, 100D, 1D);
		this.PrevIndexSpin.CanFocus = true;
		this.PrevIndexSpin.Name = "PrevIndexSpin";
		this.PrevIndexSpin.Adjustment.PageIncrement = 10D;
		this.PrevIndexSpin.ClimbRate = 1D;
		this.PrevIndexSpin.Numeric = true;
		this.PrevIndexSpin.Value = 1D;
		this.EditingBG.Add (this.PrevIndexSpin);
		global::Gtk.Fixed.FixedChild w59 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.PrevIndexSpin]));
		w59.X = 120;
		w59.Y = 250;
		this.MainNotebook.Add (this.EditingBG);
		global::Gtk.Notebook.NotebookChild w60 = ((global::Gtk.Notebook.NotebookChild)(this.MainNotebook [this.EditingBG]));
		w60.Position = 1;
		// Notebook tab
		this.label1 = new global::Gtk.Label ();
		this.label1.Name = "label1";
		this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Editing");
		this.MainNotebook.SetTabLabel (this.EditingBG, this.label1);
		this.label1.ShowAll ();
		this.BG.Add (this.MainNotebook);
		global::Gtk.Fixed.FixedChild w61 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.MainNotebook]));
		w61.Y = 25;
		// Container child BG.Gtk.Fixed+FixedChild
		this.SaveButton = new global::Gtk.Button ();
		this.SaveButton.WidthRequest = 100;
		this.SaveButton.HeightRequest = 30;
		this.SaveButton.CanFocus = true;
		this.SaveButton.Name = "SaveButton";
		this.SaveButton.UseUnderline = true;
		// Container child SaveButton.Gtk.Container+ContainerChild
		global::Gtk.Alignment w62 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
		// Container child GtkAlignment.Gtk.Container+ContainerChild
		global::Gtk.HBox w63 = new global::Gtk.HBox ();
		w63.Spacing = 2;
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Image w64 = new global::Gtk.Image ();
		w64.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu);
		w63.Add (w64);
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Label w66 = new global::Gtk.Label ();
		w66.LabelProp = global::Mono.Unix.Catalog.GetString ("Save Images");
		w66.UseUnderline = true;
		w63.Add (w66);
		w62.Add (w63);
		this.SaveButton.Add (w62);
		this.BG.Add (this.SaveButton);
		global::Gtk.Fixed.FixedChild w70 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.SaveButton]));
		w70.X = 795;
		w70.Y = 480;
		// Container child BG.Gtk.Fixed+FixedChild
		this.ProgressBar = new global::Gtk.ProgressBar ();
		this.ProgressBar.Name = "ProgressBar";
		this.BG.Add (this.ProgressBar);
		global::Gtk.Fixed.FixedChild w71 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.ProgressBar]));
		w71.X = 10;
		w71.Y = 485;
		// Container child BG.Gtk.Fixed+FixedChild
		this.TimeLabel = new global::Gtk.Label ();
		this.TimeLabel.Name = "TimeLabel";
		this.TimeLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("0h 0m 0s left");
		this.BG.Add (this.TimeLabel);
		global::Gtk.Fixed.FixedChild w72 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.TimeLabel]));
		w72.X = 179;
		w72.Y = 490;
		// Container child BG.Gtk.Fixed+FixedChild
		this.InfoLabel = new global::Gtk.Label ();
		this.InfoLabel.Name = "InfoLabel";
		this.InfoLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Ready to do work!");
		this.BG.Add (this.InfoLabel);
		global::Gtk.Fixed.FixedChild w73 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.InfoLabel]));
		w73.X = 298;
		w73.Y = 490;
		// Container child BG.Gtk.Fixed+FixedChild
		this.CancelButton = new global::Gtk.Button ();
		this.CancelButton.WidthRequest = 100;
		this.CancelButton.HeightRequest = 30;
		this.CancelButton.CanFocus = true;
		this.CancelButton.Name = "CancelButton";
		this.CancelButton.UseUnderline = true;
		// Container child CancelButton.Gtk.Container+ContainerChild
		global::Gtk.Alignment w74 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
		// Container child GtkAlignment.Gtk.Container+ContainerChild
		global::Gtk.HBox w75 = new global::Gtk.HBox ();
		w75.Spacing = 2;
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Image w76 = new global::Gtk.Image ();
		w76.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
		w75.Add (w76);
		// Container child GtkHBox.Gtk.Container+ContainerChild
		global::Gtk.Label w78 = new global::Gtk.Label ();
		w78.LabelProp = global::Mono.Unix.Catalog.GetString ("Cancel");
		w78.UseUnderline = true;
		w75.Add (w78);
		w74.Add (w75);
		this.CancelButton.Add (w74);
		this.BG.Add (this.CancelButton);
		global::Gtk.Fixed.FixedChild w82 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.CancelButton]));
		w82.X = 685;
		w82.Y = 480;
		// Container child BG.Gtk.Fixed+FixedChild
		this.FinishedDoBox = global::Gtk.ComboBox.NewText ();
		this.FinishedDoBox.AppendText (global::Mono.Unix.Catalog.GetString ("Do Nothing"));
		this.FinishedDoBox.AppendText (global::Mono.Unix.Catalog.GetString ("Close DeSERt"));
		this.FinishedDoBox.AppendText (global::Mono.Unix.Catalog.GetString ("Suspend"));
		this.FinishedDoBox.AppendText (global::Mono.Unix.Catalog.GetString ("Shut Down"));
		this.FinishedDoBox.WidthRequest = 120;
		this.FinishedDoBox.HeightRequest = 25;
		this.FinishedDoBox.Name = "FinishedDoBox";
		this.FinishedDoBox.Active = 0;
		this.BG.Add (this.FinishedDoBox);
		global::Gtk.Fixed.FixedChild w83 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.FinishedDoBox]));
		w83.X = 545;
		w83.Y = 485;
		this.Add (this.BG);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnExposeEvent);
		this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated);
		this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
		this.saveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated);
		this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
		this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated);
		this.helpAction.Activated += new global::System.EventHandler (this.OnHelpActionActivated);
		this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated);
		this.preferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated);
		this.CreateFilterAction.Activated += new global::System.EventHandler (this.OnCreateFilterActionActivated);
		this.ValueTable.CursorChanged += new global::System.EventHandler (this.OnValueTableCursorChanged);
		this.ImageOpenButton.Clicked += new global::System.EventHandler (this.OnImageOpenButtonClicked);
		this.ProcOpenButton.Clicked += new global::System.EventHandler (this.OnProcOpenButtonClicked);
		this.CalculateButton.Clicked += new global::System.EventHandler (this.OnCalculateButtonClicked);
		this.XValBox.TextInserted += new global::Gtk.TextInsertedHandler (this.OnXValBoxTextInserted);
		this.YValBox.TextInserted += new global::Gtk.TextInsertedHandler (this.OnYValBoxTextInserted);
		this.GraphEvents.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnGraphEventsButtonPressEvent);
		this.GraphEvents.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnGraphEventsButtonReleaseEvent);
		this.CurveSelectBox.Changed += new global::System.EventHandler (this.OnCurveSelectBoxChanged);
		this.BrScale.ValueChanged += new global::System.EventHandler (this.OnBrScaleValueChanged);
		this.EndToStartButton.Clicked += new global::System.EventHandler (this.OnEndToStartButtonClicked);
		this.StartToEndButton.Clicked += new global::System.EventHandler (this.OnStartToEndButtonClicked);
		this.ResetCurveButton.Clicked += new global::System.EventHandler (this.OnResetCurveButtonClicked);
		this.BrScaleEntry.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnBrScaleEntryKeyPressEvent);
		this.PreviewRenderButton.Clicked += new global::System.EventHandler (this.OnPreviewRenderButtonClicked);
		this.PrevIndexSpin.Changed += new global::System.EventHandler (this.OnPrevIndexSpinChanged);
		this.SaveButton.Clicked += new global::System.EventHandler (this.OnSaveButtonClicked);
		this.CancelButton.Clicked += new global::System.EventHandler (this.OnCancelButtonClicked);
	}
예제 #37
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Migration tool");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("<b> We have found the following elements from the old version: </b>");
     this.label2.UseMarkup = true;
     this.vbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label2]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Padding  = ((uint)(23));
     // Container child vbox2.Gtk.Box+BoxChild
     this.label3      = new global::Gtk.Label();
     this.label3.Name = "label3";
     this.vbox2.Add(this.label3);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label3]));
     w2.Position = 1;
     w2.Expand   = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.scrolledwindow1            = new global::Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.textview1          = new global::Gtk.TextView();
     this.textview1.CanFocus = true;
     this.textview1.Name     = "textview1";
     this.scrolledwindow1.Add(this.textview1);
     this.vbox2.Add(this.scrolledwindow1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1]));
     w4.Position = 2;
     this.vbox1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2]));
     w5.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.progressbar1      = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.vbox1.Add(this.progressbar1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.progressbar1]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.closebutton              = new global::Gtk.Button();
     this.closebutton.CanFocus     = true;
     this.closebutton.Name         = "closebutton";
     this.closebutton.UseStock     = true;
     this.closebutton.UseUnderline = true;
     this.closebutton.Label        = "gtk-close";
     this.hbox1.Add(this.closebutton);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.closebutton]));
     w7.Position = 0;
     w7.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.convertbutton              = new global::Gtk.Button();
     this.convertbutton.CanFocus     = true;
     this.convertbutton.Name         = "convertbutton";
     this.convertbutton.UseUnderline = true;
     // Container child convertbutton.Gtk.Container+ContainerChild
     global::Gtk.Alignment w8 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w9 = new global::Gtk.HBox();
     w9.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w10 = new global::Gtk.Image();
     w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu);
     w9.Add(w10);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w12 = new global::Gtk.Label();
     w12.LabelProp    = global::Mono.Unix.Catalog.GetString("Convert");
     w12.UseUnderline = true;
     w9.Add(w12);
     w8.Add(w9);
     this.convertbutton.Add(w8);
     this.hbox1.Add(this.convertbutton);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.convertbutton]));
     w16.Position = 1;
     w16.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w17.Position = 2;
     w17.Expand   = false;
     w17.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 664;
     this.DefaultHeight = 285;
     this.scrolledwindow1.Hide();
     this.progressbar1.Hide();
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
예제 #38
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.fixed1           = new global::Gtk.Fixed();
     this.fixed1.Name      = "fixed1";
     this.fixed1.HasWindow = false;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Velocidad");
     this.fixed1.Add(this.label2);
     global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label2]));
     w1.X = 47;
     w1.Y = 99;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.combobox5 = global::Gtk.ComboBox.NewText();
     this.combobox5.AppendText(global::Mono.Unix.Catalog.GetString("Paso 0"));
     this.combobox5.AppendText(global::Mono.Unix.Catalog.GetString("Paso 1"));
     this.combobox5.AppendText(global::Mono.Unix.Catalog.GetString("Paso 2"));
     this.combobox5.AppendText(global::Mono.Unix.Catalog.GetString("Paso 3"));
     this.combobox5.AppendText(global::Mono.Unix.Catalog.GetString("Paso 4"));
     this.combobox5.AppendText(global::Mono.Unix.Catalog.GetString("Paso 5"));
     this.combobox5.AppendText(global::Mono.Unix.Catalog.GetString("Paso 6"));
     this.combobox5.AppendText(global::Mono.Unix.Catalog.GetString("Paso 7"));
     this.combobox5.AppendText(global::Mono.Unix.Catalog.GetString("Paso 8"));
     this.combobox5.AppendText(global::Mono.Unix.Catalog.GetString("Paso 9"));
     this.combobox5.Name   = "combobox5";
     this.combobox5.Active = 0;
     this.fixed1.Add(this.combobox5);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.combobox5]));
     w2.X = 43;
     w2.Y = 118;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Control de Velocidad de Motor por USB");
     this.fixed1.Add(this.label3);
     global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label3]));
     w3.X = 203;
     w3.Y = 24;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("RPM");
     this.fixed1.Add(this.label4);
     global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4]));
     w4.X = 348;
     w4.Y = 97;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("0");
     this.fixed1.Add(this.label5);
     global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label5]));
     w5.X = 501;
     w5.Y = 119;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Events       = ((global::Gdk.EventMask)(256));
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = global::Mono.Unix.Catalog.GetString("Aceptar");
     this.fixed1.Add(this.button1);
     global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button1]));
     w6.X = 124;
     w6.Y = 119;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.progressbar1      = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.fixed1.Add(this.progressbar1);
     global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.progressbar1]));
     w7.X = 330;
     w7.Y = 124;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.button2              = new global::Gtk.Button();
     this.button2.CanFocus     = true;
     this.button2.Name         = "button2";
     this.button2.UseUnderline = true;
     this.button2.Label        = global::Mono.Unix.Catalog.GetString("Paro");
     this.fixed1.Add(this.button2);
     global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button2]));
     w8.X = 208;
     w8.Y = 179;
     this.Add(this.fixed1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 697;
     this.DefaultHeight = 437;
     this.Show();
     this.DeleteEvent     += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked);
 }
예제 #39
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget uploader.MainWindow
     this.Name           = "uploader.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("SiK Firmware Uploader");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(5));
     this.Resizable      = false;
     // Container child uploader.MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbuttonbox1      = new global::Gtk.HButtonBox();
     this.hbuttonbox1.Name = "hbuttonbox1";
     this.vbox1.Add(this.hbuttonbox1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbuttonbox1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Firmware upload tool for the SiK bootloader.\n© 2011 Michael Smith, All Rights Reserved.");
     this.hbox1.Add(this.label2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hseparator1      = new global::Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.vbox1.Add(this.hseparator1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.button_Console              = new global::Gtk.Button();
     this.button_Console.Name         = "button_Console";
     this.button_Console.UseUnderline = true;
     this.button_Console.Label        = global::Mono.Unix.Catalog.GetString("Console");
     this.table1.Add(this.button_Console);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.button_Console]));
     w5.LeftAttach  = ((uint)(2));
     w5.RightAttach = ((uint)(3));
     w5.XOptions    = ((global::Gtk.AttachOptions)(4));
     w5.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.button_Upload              = new global::Gtk.Button();
     this.button_Upload.CanDefault   = true;
     this.button_Upload.CanFocus     = true;
     this.button_Upload.Events       = ((global::Gdk.EventMask)(512));
     this.button_Upload.Name         = "button_Upload";
     this.button_Upload.UseUnderline = true;
     this.button_Upload.Label        = global::Mono.Unix.Catalog.GetString("Upload");
     this.table1.Add(this.button_Upload);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.button_Upload]));
     w6.TopAttach    = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach   = ((uint)(2));
     w6.RightAttach  = ((uint)(3));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.chooser_Hex            = new global::Gtk.FileChooserButton(global::Mono.Unix.Catalog.GetString("Select A File"), ((global::Gtk.FileChooserAction)(0)));
     this.chooser_Hex.Name       = "chooser_Hex";
     this.chooser_Hex.WidthChars = 40;
     this.table1.Add(this.chooser_Hex);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.chooser_Hex]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.combo_Port      = global::Gtk.ComboBox.NewText();
     this.combo_Port.Name = "combo_Port";
     this.table1.Add(this.combo_Port);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo_Port]));
     w8.LeftAttach  = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Hex File");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label19           = new global::Gtk.Label();
     this.label19.Name      = "label19";
     this.label19.Xalign    = 0F;
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Serial Port");
     this.table1.Add(this.label19);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label19]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w11.Position = 3;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.status_Bar               = new global::Gtk.Statusbar();
     this.status_Bar.Name          = "status_Bar";
     this.status_Bar.Spacing       = 6;
     this.status_Bar.HasResizeGrip = false;
     this.vbox1.Add(this.status_Bar);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.status_Bar]));
     w12.PackType = ((global::Gtk.PackType)(1));
     w12.Position = 4;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.progress_Bar      = new global::Gtk.ProgressBar();
     this.progress_Bar.Name = "progress_Bar";
     this.vbox1.Add(this.progress_Bar);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.progress_Bar]));
     w13.PackType = ((global::Gtk.PackType)(1));
     w13.Position = 5;
     w13.Expand   = false;
     w13.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 486;
     this.DefaultHeight = 173;
     this.Show();
 }
예제 #40
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget OPDtabGui.AlgoProgress
     global::Stetic.BinContainer.Attach(this);
     this.Name = "OPDtabGui.AlgoProgress";
     // Container child OPDtabGui.AlgoProgress.Gtk.Container+ContainerChild
     this.vbox1      = new global::Gtk.VBox();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label           = new global::Gtk.Label();
     this.label.Name      = "label";
     this.label.Xalign    = 0F;
     this.label.LabelProp = global::Mono.Unix.Catalog.GetString("Working...");
     this.hbox2.Add(this.label);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label]));
     w1.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.btnHide              = new global::Gtk.Button();
     this.btnHide.CanFocus     = true;
     this.btnHide.Name         = "btnHide";
     this.btnHide.UseUnderline = true;
     // Container child btnHide.Gtk.Container+ContainerChild
     global::Gtk.Alignment w2 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w3 = new global::Gtk.HBox();
     w3.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w4 = new global::Gtk.Image();
     w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(
         this,
         "gtk-close",
         global::Gtk.IconSize.Menu
         );
     w3.Add(w4);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w6 = new global::Gtk.Label();
     w3.Add(w6);
     w2.Add(w3);
     this.btnHide.Add(w2);
     this.hbox2.Add(this.btnHide);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnHide]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.progressbar      = new global::Gtk.ProgressBar();
     this.progressbar.Name = "progressbar";
     this.vbox1.Add(this.progressbar);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.progressbar]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.btnHide.Clicked += new global::System.EventHandler(this.OnBtnHideClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget HeapShot.Gui.Widgets.ProgressDialog
     this.Name = "HeapShot.Gui.Widgets.ProgressDialog";
     this.Title = global::Mono.Unix.Catalog.GetString ("Heap Shot");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal = true;
     this.AllowShrink = true;
     // Internal child HeapShot.Gui.Widgets.ProgressDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.label = new global::Gtk.Label ();
     this.label.Name = "label";
     this.label.Xalign = 0F;
     this.vbox2.Add (this.label);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progress = new global::Gtk.ProgressBar ();
     this.progress.Name = "progress";
     this.vbox2.Add (this.progress);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progress]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     w1.Add (this.vbox2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Internal child HeapShot.Gui.Widgets.ProgressDialog.ActionArea
     global::Gtk.HButtonBox w5 = this.ActionArea;
     w5.Name = "dialog1_ActionArea";
     w5.Spacing = 10;
     w5.BorderWidth = ((uint)(5));
     w5.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-cancel";
     w5.Add (this.buttonCancel);
     global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.buttonCancel]));
     w6.Expand = false;
     w6.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 400;
     this.DefaultHeight = 127;
     this.Show ();
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
 }
예제 #42
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.ExitAction            = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, null);
     this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit");
     w1.Add(this.ExitAction, null);
     this.RunApplicationAction            = new global::Gtk.Action("RunApplicationAction", global::Mono.Unix.Catalog.GetString("Run Application"), null, null);
     this.RunApplicationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Run Application");
     w1.Add(this.RunApplicationAction, null);
     this.AboutAction            = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vpaned2          = new global::Gtk.VPaned();
     this.vpaned2.CanFocus = true;
     this.vpaned2.Name     = "vpaned2";
     this.vpaned2.Position = 10;
     // Container child vpaned2.Gtk.Paned+PanedChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name=\'menubar1\'><menu name=\'ExitAction\' action=\'ExitAction\'/><menu n" +
                                    "ame=\'RunApplicationAction\' action=\'RunApplicationAction\'/><menu name=\'AboutActio" +
                                    "n\' action=\'AboutAction\'/></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.LblInfo           = new global::Gtk.Label();
     this.LblInfo.Name      = "LblInfo";
     this.LblInfo.LabelProp = global::Mono.Unix.Catalog.GetString("Please Input your Looping value ?");
     this.vbox1.Add(this.LblInfo);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.LblInfo]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.LblQuest1           = new global::Gtk.Label();
     this.LblQuest1.Name      = "LblQuest1";
     this.LblQuest1.LabelProp = global::Mono.Unix.Catalog.GetString("Looping 1 value : ");
     this.hbox1.Add(this.LblQuest1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.LblQuest1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.TxtLoopVal1          = new global::Gtk.TextView();
     this.TxtLoopVal1.CanFocus = true;
     this.TxtLoopVal1.Name     = "TxtLoopVal1";
     this.TxtLoopVal1.WrapMode = ((global::Gtk.WrapMode)(2));
     this.hbox1.Add(this.TxtLoopVal1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.TxtLoopVal1]));
     w5.Position = 1;
     this.vbox3.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.LblLoopVal2           = new global::Gtk.Label();
     this.LblLoopVal2.Name      = "LblLoopVal2";
     this.LblLoopVal2.LabelProp = global::Mono.Unix.Catalog.GetString("Looping value 2 :");
     this.hbox2.Add(this.LblLoopVal2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.LblLoopVal2]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.TxtLoopVal2          = new global::Gtk.TextView();
     this.TxtLoopVal2.CanFocus = true;
     this.TxtLoopVal2.Name     = "TxtLoopVal2";
     this.hbox2.Add(this.TxtLoopVal2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.TxtLoopVal2]));
     w8.Position = 1;
     this.vbox3.Add(this.hbox2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox2]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.PrgBar1           = new global::Gtk.ProgressBar();
     this.PrgBar1.Name      = "PrgBar1";
     this.PrgBar1.Fraction  = 1D;
     this.PrgBar1.PulseStep = 1D;
     this.vbox2.Add(this.PrgBar1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.PrgBar1]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.PrgBar2           = new global::Gtk.ProgressBar();
     this.PrgBar2.Name      = "PrgBar2";
     this.PrgBar2.Fraction  = 1D;
     this.PrgBar2.PulseStep = 1D;
     this.vbox2.Add(this.PrgBar2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.PrgBar2]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.btnRun              = new global::Gtk.Button();
     this.btnRun.CanFocus     = true;
     this.btnRun.Name         = "btnRun";
     this.btnRun.UseUnderline = true;
     this.btnRun.Label        = global::Mono.Unix.Catalog.GetString("Run Progress Bar");
     this.hbox3.Add(this.btnRun);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnRun]));
     w12.Position = 0;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vbox2.Add(this.hbox3);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vbox3.Add(this.vbox2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.vbox2]));
     w14.Position = 2;
     w14.Expand   = false;
     w14.Fill     = false;
     this.vbox1.Add(this.vbox3);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vbox3]));
     w15.Position = 2;
     w15.Expand   = false;
     w15.Fill     = false;
     this.vpaned2.Add(this.vbox1);
     this.Add(this.vpaned2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 493;
     this.DefaultHeight = 216;
     this.Show();
     this.DeleteEvent                    += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.ExitAction.Activated           += new global::System.EventHandler(this.OnExitActionActivated);
     this.RunApplicationAction.Activated += new global::System.EventHandler(this.OnRunApplicationActionActivated);
     this.btnRun.Clicked                 += new global::System.EventHandler(this.OnBtnRunClicked);
 }
예제 #43
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MultiMC.SettingsDialog
     this.Name = "MultiMC.SettingsDialog";
     this.Title = global::Mono.Unix.Catalog.GetString ("Settings");
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-preferences", global::Gtk.IconSize.Menu);
     this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal = true;
     this.AllowShrink = true;
     this.DefaultWidth = 450;
     this.DefaultHeight = 500;
     // Internal child MultiMC.SettingsDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialogVBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialogVBox.Gtk.Box+BoxChild
     this.notebook = new global::Gtk.Notebook ();
     this.notebook.CanFocus = true;
     this.notebook.Name = "notebook";
     this.notebook.CurrentPage = 1;
     this.notebook.TabPos = ((global::Gtk.PositionType)(0));
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.vboxGeneral = new global::Gtk.VBox ();
     this.vboxGeneral.Name = "vboxGeneral";
     this.vboxGeneral.Spacing = 6;
     // Container child vboxGeneral.Gtk.Box+BoxChild
     this.frameLauncherSettings = new global::Gtk.Frame ();
     this.frameLauncherSettings.Name = "frameLauncherSettings";
     this.frameLauncherSettings.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frameLauncherSettings.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     this.GtkAlignment2.RightPadding = ((uint)(6));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vboxLauncher = new global::Gtk.VBox ();
     this.vboxLauncher.Name = "vboxLauncher";
     this.vboxLauncher.Spacing = 6;
     // Container child vboxLauncher.Gtk.Box+BoxChild
     this.hboxLauncherDL = new global::Gtk.HBox ();
     this.hboxLauncherDL.Name = "hboxLauncherDL";
     this.hboxLauncherDL.Spacing = 6;
     // Container child hboxLauncherDL.Gtk.Box+BoxChild
     this.buttonLauncherDL = new global::Gtk.Button ();
     this.buttonLauncherDL.CanFocus = true;
     this.buttonLauncherDL.Name = "buttonLauncherDL";
     this.buttonLauncherDL.UseUnderline = true;
     this.buttonLauncherDL.Label = global::Mono.Unix.Catalog.GetString ("Download Launcher");
     this.hboxLauncherDL.Add (this.buttonLauncherDL);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxLauncherDL [this.buttonLauncherDL]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hboxLauncherDL.Gtk.Box+BoxChild
     this.dlProgressbar = new global::Gtk.ProgressBar ();
     this.dlProgressbar.Name = "dlProgressbar";
     this.hboxLauncherDL.Add (this.dlProgressbar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxLauncherDL [this.dlProgressbar]));
     w3.Position = 1;
     this.vboxLauncher.Add (this.hboxLauncherDL);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxLauncher [this.hboxLauncherDL]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Container child vboxLauncher.Gtk.Box+BoxChild
     this.hboxLauncherFile = new global::Gtk.HBox ();
     this.hboxLauncherFile.Name = "hboxLauncherFile";
     this.hboxLauncherFile.Spacing = 6;
     // Container child hboxLauncherFile.Gtk.Box+BoxChild
     this.labelLauncherFilename = new global::Gtk.Label ();
     this.labelLauncherFilename.Name = "labelLauncherFilename";
     this.labelLauncherFilename.LabelProp = global::Mono.Unix.Catalog.GetString ("Launcher Filename");
     this.hboxLauncherFile.Add (this.labelLauncherFilename);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxLauncherFile [this.labelLauncherFilename]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child hboxLauncherFile.Gtk.Box+BoxChild
     this.entryLauncherFilename = new global::Gtk.Entry ();
     this.entryLauncherFilename.CanFocus = true;
     this.entryLauncherFilename.Name = "entryLauncherFilename";
     this.entryLauncherFilename.IsEditable = true;
     this.entryLauncherFilename.InvisibleChar = '●';
     this.hboxLauncherFile.Add (this.entryLauncherFilename);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxLauncherFile [this.entryLauncherFilename]));
     w6.Position = 1;
     this.vboxLauncher.Add (this.hboxLauncherFile);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxLauncher [this.hboxLauncherFile]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     this.GtkAlignment2.Add (this.vboxLauncher);
     this.frameLauncherSettings.Add (this.GtkAlignment2);
     this.labelLauncherSettings = new global::Gtk.Label ();
     this.labelLauncherSettings.Name = "labelLauncherSettings";
     this.labelLauncherSettings.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Launcher</b>");
     this.labelLauncherSettings.UseMarkup = true;
     this.frameLauncherSettings.LabelWidget = this.labelLauncherSettings;
     this.vboxGeneral.Add (this.frameLauncherSettings);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxGeneral [this.frameLauncherSettings]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vboxGeneral.Gtk.Box+BoxChild
     this.frameConsoleSettings = new global::Gtk.Frame ();
     this.frameConsoleSettings.Name = "frameConsoleSettings";
     this.frameConsoleSettings.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frameConsoleSettings.Gtk.Container+ContainerChild
     this.GtkAlignment3 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment3.Name = "GtkAlignment3";
     this.GtkAlignment3.LeftPadding = ((uint)(12));
     // Container child GtkAlignment3.Gtk.Container+ContainerChild
     this.vboxConsole = new global::Gtk.VBox ();
     this.vboxConsole.Name = "vboxConsole";
     this.vboxConsole.Spacing = 6;
     // Container child vboxConsole.Gtk.Box+BoxChild
     this.checkbuttonShowConsole = new global::Gtk.CheckButton ();
     this.checkbuttonShowConsole.CanFocus = true;
     this.checkbuttonShowConsole.Name = "checkbuttonShowConsole";
     this.checkbuttonShowConsole.Label = global::Mono.Unix.Catalog.GetString ("Show console while game is running");
     this.checkbuttonShowConsole.DrawIndicator = true;
     this.checkbuttonShowConsole.UseUnderline = true;
     this.vboxConsole.Add (this.checkbuttonShowConsole);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vboxConsole [this.checkbuttonShowConsole]));
     w11.Position = 0;
     w11.Expand = false;
     w11.Fill = false;
     // Container child vboxConsole.Gtk.Box+BoxChild
     this.checkbuttonAutoCloseConsole = new global::Gtk.CheckButton ();
     this.checkbuttonAutoCloseConsole.CanFocus = true;
     this.checkbuttonAutoCloseConsole.Name = "checkbuttonAutoCloseConsole";
     this.checkbuttonAutoCloseConsole.Label = global::Mono.Unix.Catalog.GetString ("Automatically close console when the game quits");
     this.checkbuttonAutoCloseConsole.DrawIndicator = true;
     this.checkbuttonAutoCloseConsole.UseUnderline = true;
     this.vboxConsole.Add (this.checkbuttonAutoCloseConsole);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vboxConsole [this.checkbuttonAutoCloseConsole]));
     w12.Position = 1;
     w12.Expand = false;
     w12.Fill = false;
     this.GtkAlignment3.Add (this.vboxConsole);
     this.frameConsoleSettings.Add (this.GtkAlignment3);
     this.labelConsoleSettings = new global::Gtk.Label ();
     this.labelConsoleSettings.Name = "labelConsoleSettings";
     this.labelConsoleSettings.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Console</b>");
     this.labelConsoleSettings.UseMarkup = true;
     this.frameConsoleSettings.LabelWidget = this.labelConsoleSettings;
     this.vboxGeneral.Add (this.frameConsoleSettings);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vboxGeneral [this.frameConsoleSettings]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     // Container child vboxGeneral.Gtk.Box+BoxChild
     this.frameUpdateSettings = new global::Gtk.Frame ();
     this.frameUpdateSettings.Name = "frameUpdateSettings";
     this.frameUpdateSettings.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frameUpdateSettings.Gtk.Container+ContainerChild
     this.GtkAlignment4 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment4.Name = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.vboxUpdates = new global::Gtk.VBox ();
     this.vboxUpdates.Name = "vboxUpdates";
     this.vboxUpdates.Spacing = 6;
     // Container child vboxUpdates.Gtk.Box+BoxChild
     this.checkbuttonAutoUpdate = new global::Gtk.CheckButton ();
     this.checkbuttonAutoUpdate.CanFocus = true;
     this.checkbuttonAutoUpdate.Name = "checkbuttonAutoUpdate";
     this.checkbuttonAutoUpdate.Label = global::Mono.Unix.Catalog.GetString ("Check for updates when the program starts");
     this.checkbuttonAutoUpdate.DrawIndicator = true;
     this.checkbuttonAutoUpdate.UseUnderline = true;
     this.vboxUpdates.Add (this.checkbuttonAutoUpdate);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vboxUpdates [this.checkbuttonAutoUpdate]));
     w16.Position = 0;
     w16.Expand = false;
     w16.Fill = false;
     this.GtkAlignment4.Add (this.vboxUpdates);
     this.frameUpdateSettings.Add (this.GtkAlignment4);
     this.GtkLabel4 = new global::Gtk.Label ();
     this.GtkLabel4.Name = "GtkLabel4";
     this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Updates</b>");
     this.GtkLabel4.UseMarkup = true;
     this.frameUpdateSettings.LabelWidget = this.GtkLabel4;
     this.vboxGeneral.Add (this.frameUpdateSettings);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vboxGeneral [this.frameUpdateSettings]));
     w19.Position = 2;
     w19.Expand = false;
     w19.Fill = false;
     this.notebook.Add (this.vboxGeneral);
     // Notebook tab
     this.labelGeneral = new global::Gtk.Label ();
     this.labelGeneral.Name = "labelGeneral";
     this.labelGeneral.LabelProp = global::Mono.Unix.Catalog.GetString ("_General");
     this.labelGeneral.UseUnderline = true;
     this.notebook.SetTabLabel (this.vboxGeneral, this.labelGeneral);
     this.labelGeneral.ShowAll ();
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.vboxAdvanced = new global::Gtk.VBox ();
     this.vboxAdvanced.Name = "vboxAdvanced";
     this.vboxAdvanced.Spacing = 6;
     // Container child vboxAdvanced.Gtk.Box+BoxChild
     this.frameMemory = new global::Gtk.Frame ();
     this.frameMemory.Name = "frameMemory";
     this.frameMemory.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frameMemory.Gtk.Container+ContainerChild
     this.GtkAlignment5 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment5.Name = "GtkAlignment5";
     this.GtkAlignment5.LeftPadding = ((uint)(12));
     // Container child GtkAlignment5.Gtk.Container+ContainerChild
     this.tableMemory = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
     this.tableMemory.Name = "tableMemory";
     this.tableMemory.RowSpacing = ((uint)(6));
     this.tableMemory.ColumnSpacing = ((uint)(6));
     // Container child tableMemory.Gtk.Table+TableChild
     this.labelInitialMemory = new global::Gtk.Label ();
     this.labelInitialMemory.Name = "labelInitialMemory";
     this.labelInitialMemory.LabelProp = global::Mono.Unix.Catalog.GetString ("Minimum Memory Allocation");
     this.tableMemory.Add (this.labelInitialMemory);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableMemory [this.labelInitialMemory]));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableMemory.Gtk.Table+TableChild
     this.labelMaxMemory = new global::Gtk.Label ();
     this.labelMaxMemory.Name = "labelMaxMemory";
     this.labelMaxMemory.LabelProp = global::Mono.Unix.Catalog.GetString ("Mamimum Memory Allocation");
     this.tableMemory.Add (this.labelMaxMemory);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableMemory [this.labelMaxMemory]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableMemory.Gtk.Table+TableChild
     this.spinbuttonInitialMemory = new global::Gtk.SpinButton (512D, 65536D, 512D);
     this.spinbuttonInitialMemory.CanFocus = true;
     this.spinbuttonInitialMemory.Name = "spinbuttonInitialMemory";
     this.spinbuttonInitialMemory.Adjustment.PageIncrement = 1024D;
     this.spinbuttonInitialMemory.ClimbRate = 1D;
     this.spinbuttonInitialMemory.Numeric = true;
     this.spinbuttonInitialMemory.Value = 512D;
     this.tableMemory.Add (this.spinbuttonInitialMemory);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableMemory [this.spinbuttonInitialMemory]));
     w23.LeftAttach = ((uint)(1));
     w23.RightAttach = ((uint)(2));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableMemory.Gtk.Table+TableChild
     this.spinbuttonMaxMemory = new global::Gtk.SpinButton (1024D, 65536D, 512D);
     this.spinbuttonMaxMemory.CanFocus = true;
     this.spinbuttonMaxMemory.Name = "spinbuttonMaxMemory";
     this.spinbuttonMaxMemory.Adjustment.PageIncrement = 1024D;
     this.spinbuttonMaxMemory.ClimbRate = 1D;
     this.spinbuttonMaxMemory.Numeric = true;
     this.spinbuttonMaxMemory.Value = 1024D;
     this.tableMemory.Add (this.spinbuttonMaxMemory);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.tableMemory [this.spinbuttonMaxMemory]));
     w24.TopAttach = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.LeftAttach = ((uint)(1));
     w24.RightAttach = ((uint)(2));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     this.GtkAlignment5.Add (this.tableMemory);
     this.frameMemory.Add (this.GtkAlignment5);
     this.labelMemorySettings = new global::Gtk.Label ();
     this.labelMemorySettings.Name = "labelMemorySettings";
     this.labelMemorySettings.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Memory</b>");
     this.labelMemorySettings.UseMarkup = true;
     this.frameMemory.LabelWidget = this.labelMemorySettings;
     this.vboxAdvanced.Add (this.frameMemory);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vboxAdvanced [this.frameMemory]));
     w27.Position = 0;
     w27.Expand = false;
     w27.Fill = false;
     // Container child vboxAdvanced.Gtk.Box+BoxChild
     this.frameJava = new global::Gtk.Frame ();
     this.frameJava.Name = "frameJava";
     this.frameJava.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frameJava.Gtk.Container+ContainerChild
     this.GtkAlignment6 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment6.Name = "GtkAlignment6";
     this.GtkAlignment6.LeftPadding = ((uint)(12));
     this.GtkAlignment6.RightPadding = ((uint)(6));
     // Container child GtkAlignment6.Gtk.Container+ContainerChild
     this.vboxJava = new global::Gtk.VBox ();
     this.vboxJava.Name = "vboxJava";
     this.vboxJava.Spacing = 6;
     // Container child vboxJava.Gtk.Box+BoxChild
     this.hboxJavaPath = new global::Gtk.HBox ();
     this.hboxJavaPath.Name = "hboxJavaPath";
     this.hboxJavaPath.Spacing = 6;
     // Container child hboxJavaPath.Gtk.Box+BoxChild
     this.labelJavaPath = new global::Gtk.Label ();
     this.labelJavaPath.Name = "labelJavaPath";
     this.labelJavaPath.LabelProp = global::Mono.Unix.Catalog.GetString ("Java Path");
     this.hboxJavaPath.Add (this.labelJavaPath);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hboxJavaPath [this.labelJavaPath]));
     w28.Position = 0;
     w28.Expand = false;
     w28.Fill = false;
     // Container child hboxJavaPath.Gtk.Box+BoxChild
     this.entryJavaPath = new global::Gtk.Entry ();
     this.entryJavaPath.CanFocus = true;
     this.entryJavaPath.Name = "entryJavaPath";
     this.entryJavaPath.IsEditable = true;
     this.entryJavaPath.InvisibleChar = '●';
     this.hboxJavaPath.Add (this.entryJavaPath);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hboxJavaPath [this.entryJavaPath]));
     w29.Position = 1;
     // Container child hboxJavaPath.Gtk.Box+BoxChild
     this.btnAutoJavaPath = new global::Gtk.Button ();
     this.btnAutoJavaPath.CanFocus = true;
     this.btnAutoJavaPath.Name = "btnAutoJavaPath";
     this.btnAutoJavaPath.UseUnderline = true;
     this.btnAutoJavaPath.Label = global::Mono.Unix.Catalog.GetString ("Auto-detect");
     this.hboxJavaPath.Add (this.btnAutoJavaPath);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hboxJavaPath [this.btnAutoJavaPath]));
     w30.Position = 2;
     w30.Expand = false;
     w30.Fill = false;
     this.vboxJava.Add (this.hboxJavaPath);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vboxJava [this.hboxJavaPath]));
     w31.Position = 0;
     w31.Expand = false;
     w31.Fill = false;
     this.GtkAlignment6.Add (this.vboxJava);
     this.frameJava.Add (this.GtkAlignment6);
     this.labelJava = new global::Gtk.Label ();
     this.labelJava.Name = "labelJava";
     this.labelJava.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Java</b>");
     this.labelJava.UseMarkup = true;
     this.frameJava.LabelWidget = this.labelJava;
     this.vboxAdvanced.Add (this.frameJava);
     global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vboxAdvanced [this.frameJava]));
     w34.Position = 1;
     w34.Expand = false;
     w34.Fill = false;
     this.notebook.Add (this.vboxAdvanced);
     global::Gtk.Notebook.NotebookChild w35 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.vboxAdvanced]));
     w35.Position = 1;
     // Notebook tab
     this.labelAdvanced = new global::Gtk.Label ();
     this.labelAdvanced.Name = "labelAdvanced";
     this.labelAdvanced.LabelProp = global::Mono.Unix.Catalog.GetString ("_Advanced");
     this.labelAdvanced.UseUnderline = true;
     this.notebook.SetTabLabel (this.vboxAdvanced, this.labelAdvanced);
     this.labelAdvanced.ShowAll ();
     w1.Add (this.notebook);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(w1 [this.notebook]));
     w36.Position = 0;
     // Internal child MultiMC.SettingsDialog.ActionArea
     global::Gtk.HButtonBox w37 = this.ActionArea;
     w37.Name = "dialog1_ActionArea";
     w37.Spacing = 10;
     w37.BorderWidth = ((uint)(5));
     w37.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-cancel";
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w38 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w37 [this.buttonCancel]));
     w38.Expand = false;
     w38.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new global::Gtk.Button ();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget (this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w39 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w37 [this.buttonOk]));
     w39.Position = 1;
     w39.Expand = false;
     w39.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.frameLauncherSettings.Hide ();
     this.labelGeneral.MnemonicWidget = this.notebook;
     this.labelAdvanced.MnemonicWidget = this.notebook;
     this.Show ();
     this.btnAutoJavaPath.Clicked += new global::System.EventHandler (this.OnBtnAutoJavaPathClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnCancel);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnOK);
 }
예제 #44
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Launchpad.Utilities.UnixUI.MainWindow
     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.WidthRequest   = 640;
     this.HeightRequest  = 384;
     this.Name           = "Launchpad.Utilities.UnixUI.MainWindow";
     this.Title          = LocalizationCatalog.GetString("Launchpad Utilities - Manifest");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("Launchpad.Utilities.Resources.Icons8-Android-Industry-Engineering.ico");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child Launchpad.Utilities.UnixUI.MainWindow.Gtk.Container+ContainerChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'/></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox3.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.alignment14              = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment14.Name         = "alignment14";
     this.alignment14.LeftPadding  = ((uint)(8));
     this.alignment14.RightPadding = ((uint)(8));
     // Container child alignment14.Gtk.Container+ContainerChild
     this.fileChooser           = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(2)));
     this.fileChooser.Name      = "fileChooser";
     this.fileChooser.LocalOnly = false;
     this.alignment14.Add(this.fileChooser);
     this.vbox3.Add(this.alignment14);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.alignment14]));
     w4.Position = 1;
     // Container child vbox3.Gtk.Box+BoxChild
     this.alignment12      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment12.Name = "alignment12";
     // Container child alignment12.Gtk.Container+ContainerChild
     this.hseparator3      = new global::Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     this.alignment12.Add(this.hseparator3);
     this.vbox3.Add(this.alignment12);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.alignment12]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.alignment18             = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment18.Name        = "alignment18";
     this.alignment18.LeftPadding = ((uint)(8));
     // Container child alignment18.Gtk.Container+ContainerChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = LocalizationCatalog.GetString("Progress: ");
     this.alignment18.Add(this.label4);
     this.hbox4.Add(this.alignment18);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.alignment18]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.alignment19              = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment19.Name         = "alignment19";
     this.alignment19.RightPadding = ((uint)(8));
     // Container child alignment19.Gtk.Container+ContainerChild
     this.progressLabel           = new global::Gtk.Label();
     this.progressLabel.Name      = "progressLabel";
     this.progressLabel.LabelProp = LocalizationCatalog.GetString("/some/file/path : 1 out of 100");
     this.alignment19.Add(this.progressLabel);
     this.hbox4.Add(this.alignment19);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.alignment19]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.vbox3.Add(this.hbox4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
     w11.Position = 3;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.alignment17              = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment17.Name         = "alignment17";
     this.alignment17.LeftPadding  = ((uint)(8));
     this.alignment17.RightPadding = ((uint)(8));
     // Container child alignment17.Gtk.Container+ContainerChild
     this.progressbar      = new global::Gtk.ProgressBar();
     this.progressbar.Name = "progressbar";
     this.alignment17.Add(this.progressbar);
     this.vbox3.Add(this.alignment17);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.alignment17]));
     w13.Position = 4;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.alignment15               = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment15.Name          = "alignment15";
     this.alignment15.RightPadding  = ((uint)(8));
     this.alignment15.BottomPadding = ((uint)(8));
     // Container child alignment15.Gtk.Container+ContainerChild
     this.generateGameManifestButton              = new global::Gtk.Button();
     this.generateGameManifestButton.CanFocus     = true;
     this.generateGameManifestButton.Name         = "generateGameManifestButton";
     this.generateGameManifestButton.UseUnderline = true;
     this.generateGameManifestButton.Label        = LocalizationCatalog.GetString("Generate Game Manifest");
     this.alignment15.Add(this.generateGameManifestButton);
     this.hbox3.Add(this.alignment15);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment15]));
     w15.PackType = ((global::Gtk.PackType)(1));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.alignment1               = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name          = "alignment1";
     this.alignment1.RightPadding  = ((uint)(8));
     this.alignment1.BottomPadding = ((uint)(8));
     // Container child alignment1.Gtk.Container+ContainerChild
     this.generateLaunchpadManifestButton              = new global::Gtk.Button();
     this.generateLaunchpadManifestButton.CanFocus     = true;
     this.generateLaunchpadManifestButton.Name         = "generateLaunchpadManifestButton";
     this.generateLaunchpadManifestButton.UseUnderline = true;
     this.generateLaunchpadManifestButton.Label        = LocalizationCatalog.GetString("Generate Launchpad Manifest");
     this.alignment1.Add(this.generateLaunchpadManifestButton);
     this.hbox3.Add(this.alignment1);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment1]));
     w17.PackType = ((global::Gtk.PackType)(1));
     w17.Position = 1;
     w17.Expand   = false;
     w17.Fill     = false;
     this.vbox3.Add(this.hbox3);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3]));
     w18.Position = 5;
     w18.Expand   = false;
     w18.Fill     = false;
     this.Add(this.vbox3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 640;
     this.DefaultHeight = 384;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.generateLaunchpadManifestButton.Clicked += new global::System.EventHandler(this.OnGenerateLaunchpadManifestButtonClicked);
     this.generateGameManifestButton.Clicked      += new global::System.EventHandler(this.OnGenerateGameManifestButtonClicked);
 }
예제 #45
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget earchive.InputDocs
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Из файла"), null, "gtk-open");
     this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Из файла");
     w1.Add (this.openAction, null);
     this.ScanAction = new global::Gtk.Action ("ScanAction", global::Mono.Unix.Catalog.GetString ("Сканировать"), global::Mono.Unix.Catalog.GetString ("Добавить изображения со сканера"), "scanner");
     this.ScanAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сканировать");
     w1.Add (this.ScanAction, null);
     this.clearAction = new global::Gtk.Action ("clearAction", null, global::Mono.Unix.Catalog.GetString ("Очистить список изображений"), "gtk-clear");
     this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Очистить");
     w1.Add (this.clearAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", null, global::Mono.Unix.Catalog.GetString ("Сохранить в базу"), "gtk-save");
     this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Сохранить");
     w1.Add (this.saveAction, null);
     this.zoom100Action = new global::Gtk.Action ("zoom100Action", global::Mono.Unix.Catalog.GetString ("1:1"), null, "gtk-zoom-100");
     this.zoom100Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("1:1");
     w1.Add (this.zoom100Action, null);
     this.zoomFitAction = new global::Gtk.Action ("zoomFitAction", global::Mono.Unix.Catalog.GetString ("Вписать"), null, "gtk-zoom-fit");
     this.zoomFitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Вписать");
     w1.Add (this.zoomFitAction, null);
     this.zoomInAction = new global::Gtk.Action ("zoomInAction", null, null, "gtk-zoom-in");
     this.zoomInAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Увеличить");
     w1.Add (this.zoomInAction, null);
     this.zoomOutAction = new global::Gtk.Action ("zoomOutAction", null, null, "gtk-zoom-out");
     this.zoomOutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Уменьшить");
     w1.Add (this.zoomOutAction, null);
     this.Rotate90Action = new global::Gtk.Action ("Rotate90Action", global::Mono.Unix.Catalog.GetString ("90"), null, "rotate-90");
     this.Rotate90Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("90°");
     w1.Add (this.Rotate90Action, null);
     this.Rotate180Action = new global::Gtk.Action ("Rotate180Action", global::Mono.Unix.Catalog.GetString ("180"), null, "rotate-180");
     this.Rotate180Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("180°");
     w1.Add (this.Rotate180Action, null);
     this.Rotate270Action = new global::Gtk.Action ("Rotate270Action", global::Mono.Unix.Catalog.GetString ("270"), null, "rotate-270");
     this.Rotate270Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("270°");
     w1.Add (this.Rotate270Action, null);
     this.Action1 = new global::Gtk.Action ("Action1", global::Mono.Unix.Catalog.GetString ("Распознать"), null, "recognize");
     this.Action1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Распознать");
     w1.Add (this.Action1, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "earchive.InputDocs";
     this.Title = global::Mono.Unix.Catalog.GetString ("Ввод документов");
     this.Icon = global::Gdk.Pixbuf.LoadFromResource ("earchive.icons.scanner.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child earchive.InputDocs.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='clearAction' action='clearAction'/><toolitem name='openAction' action='openAction'/><toolitem name='ScanAction' action='ScanAction'/><toolitem name='Action1' action='Action1'/><toolitem name='saveAction' action='saveAction'/><separator/><toolitem name='zoom100Action' action='zoom100Action'/><toolitem name='zoomFitAction' action='zoomFitAction'/><toolitem name='zoomInAction' action='zoomInAction'/><toolitem name='zoomOutAction' action='zoomOutAction'/><separator/><toolitem name='Rotate90Action' action='Rotate90Action'/><toolitem name='Rotate180Action' action='Rotate180Action'/><toolitem name='Rotate270Action' action='Rotate270Action'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2));
     this.toolbar1.IconSize = ((global::Gtk.IconSize)(6));
     this.vbox2.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hpaned1 = new global::Gtk.HPaned ();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name = "hpaned1";
     this.hpaned1.Position = 206;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeviewImages = new global::Gtk.TreeView ();
     this.treeviewImages.CanFocus = true;
     this.treeviewImages.Name = "treeviewImages";
     this.treeviewImages.HeadersVisible = false;
     this.treeviewImages.Reorderable = true;
     this.GtkScrolledWindow.Add (this.treeviewImages);
     this.hpaned1.Add (this.GtkScrolledWindow);
     global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow]));
     w4.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.scrolledImage = new global::Gtk.ScrolledWindow ();
     this.scrolledImage.Name = "scrolledImage";
     this.scrolledImage.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child scrolledImage.Gtk.Container+ContainerChild
     global::Gtk.Viewport w5 = new global::Gtk.Viewport ();
     w5.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.imageDoc = new global::Gtk.Image ();
     this.imageDoc.Name = "imageDoc";
     w5.Add (this.imageDoc);
     this.scrolledImage.Add (w5);
     this.hpaned1.Add (this.scrolledImage);
     this.hbox2.Add (this.hpaned1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hpaned1]));
     w9.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.comboScaner = new global::Gamma.Widgets.yListComboBox ();
     this.comboScaner.Name = "comboScaner";
     this.comboScaner.AddIfNotExist = false;
     this.comboScaner.DefaultFirst = false;
     this.table1.Add (this.comboScaner);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboScaner]));
     w10.LeftAttach = ((uint)(1));
     w10.RightAttach = ((uint)(2));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Сканер:");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.table1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table1]));
     w12.Position = 0;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.tableFieldWidgets = new global::Gtk.Table (((uint)(5)), ((uint)(3)), false);
     this.tableFieldWidgets.Name = "tableFieldWidgets";
     this.tableFieldWidgets.RowSpacing = ((uint)(6));
     this.tableFieldWidgets.ColumnSpacing = ((uint)(6));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.comboType = global::Gtk.ComboBox.NewText ();
     this.comboType.Name = "comboType";
     this.tableFieldWidgets.Add (this.comboType);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.comboType]));
     w13.TopAttach = ((uint)(1));
     w13.BottomAttach = ((uint)(2));
     w13.LeftAttach = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.dateDoc = new global::QSWidgetLib.DatePicker ();
     this.dateDoc.Events = ((global::Gdk.EventMask)(256));
     this.dateDoc.Name = "dateDoc";
     this.dateDoc.WithTime = false;
     this.dateDoc.Date = new global::System.DateTime (0);
     this.dateDoc.IsEditable = true;
     this.dateDoc.AutoSeparation = true;
     this.tableFieldWidgets.Add (this.dateDoc);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.dateDoc]));
     w14.TopAttach = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.LeftAttach = ((uint)(1));
     w14.RightAttach = ((uint)(2));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.entryNumber = new global::Gtk.Entry ();
     this.entryNumber.CanFocus = true;
     this.entryNumber.Name = "entryNumber";
     this.entryNumber.IsEditable = true;
     this.entryNumber.InvisibleChar = '●';
     this.tableFieldWidgets.Add (this.entryNumber);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.entryNumber]));
     w15.TopAttach = ((uint)(2));
     w15.BottomAttach = ((uint)(3));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.eventboxDateIcon = new global::Gtk.EventBox ();
     this.eventboxDateIcon.Name = "eventboxDateIcon";
     // Container child eventboxDateIcon.Gtk.Container+ContainerChild
     this.IconDate = new global::Gtk.Image ();
     this.IconDate.Name = "IconDate";
     this.IconDate.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-info", global::Gtk.IconSize.Button);
     this.eventboxDateIcon.Add (this.IconDate);
     this.tableFieldWidgets.Add (this.eventboxDateIcon);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.eventboxDateIcon]));
     w17.TopAttach = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.LeftAttach = ((uint)(2));
     w17.RightAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.eventboxNumberIcon = new global::Gtk.EventBox ();
     this.eventboxNumberIcon.Name = "eventboxNumberIcon";
     // Container child eventboxNumberIcon.Gtk.Container+ContainerChild
     this.IconNumber = new global::Gtk.Image ();
     this.IconNumber.Name = "IconNumber";
     this.IconNumber.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-info", global::Gtk.IconSize.Button);
     this.eventboxNumberIcon.Add (this.IconNumber);
     this.tableFieldWidgets.Add (this.eventboxNumberIcon);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.eventboxNumberIcon]));
     w19.TopAttach = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach = ((uint)(2));
     w19.RightAttach = ((uint)(3));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Поля текущего документа</b>");
     this.label1.UseMarkup = true;
     this.label1.Justify = ((global::Gtk.Justification)(2));
     this.tableFieldWidgets.Add (this.label1);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label1]));
     w20.RightAttach = ((uint)(3));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.label10 = new global::Gtk.Label ();
     this.label10.Name = "label10";
     this.label10.Xalign = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата<span foreground=\"red\">*</span>:");
     this.label10.UseMarkup = true;
     this.tableFieldWidgets.Add (this.label10);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label10]));
     w21.TopAttach = ((uint)(3));
     w21.BottomAttach = ((uint)(4));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип документа<span foreground=\"red\">*</span>:");
     this.label11.UseMarkup = true;
     this.tableFieldWidgets.Add (this.label11);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label11]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child tableFieldWidgets.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Номер<span foreground=\"red\">*</span>:");
     this.label9.UseMarkup = true;
     this.tableFieldWidgets.Add (this.label9);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.tableFieldWidgets [this.label9]));
     w23.TopAttach = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.tableFieldWidgets);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tableFieldWidgets]));
     w24.Position = 1;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkDiagnostic = new global::Gtk.CheckButton ();
     this.checkDiagnostic.CanFocus = true;
     this.checkDiagnostic.Name = "checkDiagnostic";
     this.checkDiagnostic.Label = global::Mono.Unix.Catalog.GetString ("Диагностика распознования");
     this.checkDiagnostic.DrawIndicator = true;
     this.checkDiagnostic.UseUnderline = true;
     this.vbox3.Add (this.checkDiagnostic);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkDiagnostic]));
     w25.Position = 2;
     w25.Expand = false;
     w25.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.buttonLog = new global::Gtk.Button ();
     this.buttonLog.CanFocus = true;
     this.buttonLog.Name = "buttonLog";
     this.buttonLog.UseUnderline = true;
     this.buttonLog.Label = global::Mono.Unix.Catalog.GetString ("Показать журнал распознования.");
     global::Gtk.Image w26 = new global::Gtk.Image ();
     w26.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-execute", global::Gtk.IconSize.Button);
     this.buttonLog.Image = w26;
     this.vbox3.Add (this.buttonLog);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonLog]));
     w27.Position = 3;
     w27.Expand = false;
     w27.Fill = false;
     this.hbox2.Add (this.vbox3);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3]));
     w28.Position = 1;
     w28.Expand = false;
     w28.Fill = false;
     this.vbox2.Add (this.hbox2);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
     w29.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progresswork = new global::Gtk.ProgressBar ();
     this.progresswork.Name = "progresswork";
     this.vbox2.Add (this.progresswork);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progresswork]));
     w30.Position = 2;
     w30.Expand = false;
     w30.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 1053;
     this.DefaultHeight = 478;
     this.Show ();
     this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
     this.ScanAction.Activated += new global::System.EventHandler (this.OnScanActionActivated);
     this.clearAction.Activated += new global::System.EventHandler (this.OnClearActionActivated);
     this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
     this.zoom100Action.Activated += new global::System.EventHandler (this.OnZoom100ActionActivated);
     this.zoomFitAction.Activated += new global::System.EventHandler (this.OnZoomFitActionActivated);
     this.zoomInAction.Activated += new global::System.EventHandler (this.OnZoomInActionActivated);
     this.zoomOutAction.Activated += new global::System.EventHandler (this.OnZoomOutActionActivated);
     this.Rotate90Action.Activated += new global::System.EventHandler (this.OnRotate90ActionActivated);
     this.Rotate180Action.Activated += new global::System.EventHandler (this.OnRotate180ActionActivated);
     this.Rotate270Action.Activated += new global::System.EventHandler (this.OnRotate270ActionActivated);
     this.Action1.Activated += new global::System.EventHandler (this.OnAction1Activated);
     this.treeviewImages.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnTreeviewImagesButtonReleaseEvent);
     this.imageDoc.DragMotion += new global::Gtk.DragMotionHandler (this.OnImageDocDragMotion);
     this.comboScaner.Changed += new global::System.EventHandler (this.OnComboScanerChanged);
     this.eventboxNumberIcon.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnEventboxNumberIconButtonPressEvent);
     this.eventboxDateIcon.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnEventboxDateIconButtonPressEvent);
     this.entryNumber.Changed += new global::System.EventHandler (this.OnEntryNumberChanged);
     this.dateDoc.DateChanged += new global::System.EventHandler (this.OnDateDocDateChanged);
     this.comboType.Changed += new global::System.EventHandler (this.OnComboTypeChanged);
     this.buttonLog.Clicked += new global::System.EventHandler (this.OnButtonLogClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Mono.Addins.Gui.ProgressDialog
     this.Name           = "Mono.Addins.Gui.ProgressDialog";
     this.Title          = global::Mono.Unix.Catalog.GetString("Progress");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal          = true;
     // Internal child Mono.Addins.Gui.ProgressDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox2             = new global::Gtk.VBox();
     this.vbox2.Name        = "vbox2";
     this.vbox2.Spacing     = 6;
     this.vbox2.BorderWidth = ((uint)(9));
     // Container child vbox2.Gtk.Box+BoxChild
     this.labelMessage        = new global::Gtk.Label();
     this.labelMessage.Name   = "labelMessage";
     this.labelMessage.Xalign = 0F;
     this.vbox2.Add(this.labelMessage);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelMessage]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progressbar      = new global::Gtk.ProgressBar();
     this.progressbar.Name = "progressbar";
     this.vbox2.Add(this.progressbar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressbar]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.expander1          = new global::Gtk.Expander(null);
     this.expander1.CanFocus = true;
     this.expander1.Name     = "expander1";
     // Container child expander1.Gtk.Container+ContainerChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview          = new global::Gtk.TextView();
     this.textview.CanFocus = true;
     this.textview.Name     = "textview";
     this.GtkScrolledWindow.Add(this.textview);
     this.expander1.Add(this.GtkScrolledWindow);
     this.GtkLabel1              = new global::Gtk.Label();
     this.GtkLabel1.Name         = "GtkLabel1";
     this.GtkLabel1.LabelProp    = global::Mono.Unix.Catalog.GetString("Details");
     this.GtkLabel1.UseUnderline = true;
     this.expander1.LabelWidget  = this.GtkLabel1;
     this.vbox2.Add(this.expander1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1]));
     w6.Position = 2;
     w1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
     w7.Position = 0;
     // Internal child Mono.Addins.Gui.ProgressDialog.ActionArea
     global::Gtk.HButtonBox w8 = this.ActionArea;
     w8.Name        = "dialog1_ActionArea";
     w8.Spacing     = 6;
     w8.BorderWidth = ((uint)(5));
     w8.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-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonCancel]));
     w9.Expand = false;
     w9.Fill   = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 513;
     this.DefaultHeight = 156;
     this.Hide();
     this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked);
 }
예제 #47
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LongoMatch.Gui.Dialog.FramesCaptureProgressDialog
     this.Name            = "LongoMatch.Gui.Dialog.FramesCaptureProgressDialog";
     this.Title           = global::Mono.Unix.Catalog.GetString("Capture Progress");
     this.Icon            = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Dialog);
     this.WindowPosition  = ((global::Gtk.WindowPosition)(4));
     this.Modal           = true;
     this.BorderWidth     = ((uint)(3));
     this.Resizable       = false;
     this.AllowGrow       = false;
     this.Gravity         = ((global::Gdk.Gravity)(5));
     this.SkipPagerHint   = true;
     this.SkipTaskbarHint = true;
     // Internal child LongoMatch.Gui.Dialog.FramesCaptureProgressDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progressbar      = new global::Gtk.ProgressBar();
     this.progressbar.Name = "progressbar";
     this.vbox2.Add(this.progressbar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressbar]));
     w2.Position = 0;
     w2.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.image      = new global::Gtk.Image();
     this.image.Name = "image";
     this.vbox2.Add(this.image);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.image]));
     w3.PackType = ((global::Gtk.PackType)(1));
     w3.Position = 1;
     w1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
     w4.Position = 0;
     // Internal child LongoMatch.Gui.Dialog.FramesCaptureProgressDialog.ActionArea
     global::Gtk.HButtonBox w5 = this.ActionArea;
     w5.Name        = "dialog1_ActionArea";
     w5.Spacing     = 6;
     w5.BorderWidth = ((uint)(5));
     w5.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.okbutton              = new global::Gtk.Button();
     this.okbutton.CanFocus     = true;
     this.okbutton.Name         = "okbutton";
     this.okbutton.UseStock     = true;
     this.okbutton.UseUnderline = true;
     this.okbutton.Label        = "gtk-ok";
     this.AddActionWidget(this.okbutton, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.okbutton]));
     w6.Expand = false;
     w6.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.cancelbutton              = new global::Gtk.Button();
     this.cancelbutton.CanDefault   = true;
     this.cancelbutton.CanFocus     = true;
     this.cancelbutton.Name         = "cancelbutton";
     this.cancelbutton.UseStock     = true;
     this.cancelbutton.UseUnderline = true;
     this.cancelbutton.Label        = "gtk-cancel";
     this.AddActionWidget(this.cancelbutton, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.cancelbutton]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 149;
     this.okbutton.Hide();
     this.Show();
     this.cancelbutton.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked);
 }
예제 #48
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget ocmgtk.ExportProgressDialog
     this.WidthRequest   = 400;
     this.Name           = "ocmgtk.ExportProgressDialog";
     this.Title          = global::Mono.Unix.Catalog.GetString("Saving File...");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal          = true;
     this.BorderWidth    = ((uint)(6));
     this.Resizable      = false;
     this.AllowGrow      = false;
     this.SkipPagerHint  = true;
     // Internal child ocmgtk.ExportProgressDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.Spacing     = 6;
     w1.BorderWidth = ((uint)(6));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<big><b>Generating GPX File</b></big>");
     this.label1.UseMarkup = true;
     w1.Add(this.label1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.label1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     w2.Padding  = ((uint)(6));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.fileLabel           = new global::Gtk.Label();
     this.fileLabel.Name      = "fileLabel";
     this.fileLabel.Xalign    = 0F;
     this.fileLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>File:</b>");
     this.fileLabel.UseMarkup = true;
     w1.Add(this.fileLabel);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.fileLabel]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.writeProgress      = new global::Gtk.ProgressBar();
     this.writeProgress.Name = "writeProgress";
     this.writeProgress.Text = "0%";
     w1.Add(this.writeProgress);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.writeProgress]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.infoLabel           = new global::Gtk.Label();
     this.infoLabel.Name      = "infoLabel";
     this.infoLabel.Xalign    = 0F;
     this.infoLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<i>Intializing</i>");
     this.infoLabel.UseMarkup = true;
     w1.Add(this.infoLabel);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.infoLabel]));
     w5.Position = 3;
     w5.Expand   = false;
     w5.Fill     = false;
     // Internal child ocmgtk.ExportProgressDialog.ActionArea
     global::Gtk.HButtonBox w6 = this.ActionArea;
     w6.Name        = "dialog1_ActionArea";
     w6.Spacing     = 10;
     w6.BorderWidth = ((uint)(5));
     w6.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-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonCancel]));
     w7.Expand = false;
     w7.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.okButton              = new global::Gtk.Button();
     this.okButton.Sensitive    = false;
     this.okButton.CanDefault   = true;
     this.okButton.CanFocus     = true;
     this.okButton.Name         = "okButton";
     this.okButton.UseStock     = true;
     this.okButton.UseUnderline = true;
     this.okButton.Label        = "gtk-ok";
     this.AddActionWidget(this.okButton, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.okButton]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 412;
     this.DefaultHeight = 225;
     this.okButton.Hide();
     this.Show();
     this.DeleteEvent          += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.buttonCancel.Clicked += new global::System.EventHandler(this.OnCancel);
     this.okButton.Clicked     += new global::System.EventHandler(this.OnOKClicked);
 }
예제 #49
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.deleteAction = new global::Gtk.Action ("deleteAction", null, null, "gtk-delete");
     w1.Add (this.deleteAction, null);
     this.connectAction = new global::Gtk.Action ("connectAction", null, null, "gtk-connect");
     w1.Add (this.connectAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth = ((uint)(12));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='connectAction' action='connectAction'/><toolitem name='deleteAction' action='deleteAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.nodeviewPlaces = new global::Gtk.NodeView ();
     this.nodeviewPlaces.CanFocus = true;
     this.nodeviewPlaces.Name = "nodeviewPlaces";
     this.nodeviewPlaces.EnableSearch = false;
     this.GtkScrolledWindow.Add (this.nodeviewPlaces);
     this.hbox2.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow]));
     w4.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.nodeviewPath = new global::Gtk.NodeView ();
     this.nodeviewPath.CanFocus = true;
     this.nodeviewPath.Name = "nodeviewPath";
     this.GtkScrolledWindow2.Add (this.nodeviewPath);
     this.hbox2.Add (this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow2]));
     w6.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow4.Name = "GtkScrolledWindow4";
     this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild
     this.nodeviewFiles = new global::Gtk.NodeView ();
     this.nodeviewFiles.CanFocus = true;
     this.nodeviewFiles.Name = "nodeviewFiles";
     this.GtkScrolledWindow4.Add (this.nodeviewFiles);
     this.hbox2.Add (this.GtkScrolledWindow4);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow4]));
     w8.Position = 2;
     this.vbox1.Add (this.hbox2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w9.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressbar1 = new global::Gtk.ProgressBar ();
     this.progressbar1.Name = "progressbar1";
     this.hbox1.Add (this.progressbar1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressbar1]));
     w10.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.labelCount = new global::Gtk.Label ();
     this.labelCount.Name = "labelCount";
     this.hbox1.Add (this.labelCount);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.labelCount]));
     w11.Position = 1;
     w11.Expand = false;
     w11.Fill = false;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w12.Position = 2;
     w12.Expand = false;
     w12.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 1160;
     this.DefaultHeight = 515;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.deleteAction.Activated += new global::System.EventHandler (this.OnDeleteActionActivated);
     this.connectAction.Activated += new global::System.EventHandler (this.OnButton1Clicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Launchpad.Launcher.UnixUI.MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.ActionsAction1            = new global::Gtk.Action("ActionsAction1", global::Mono.Unix.Catalog.GetString("Actions"), null, null);
     this.ActionsAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Actions");
     w1.Add(this.ActionsAction1, null);
     this.refreshAction1            = new global::Gtk.Action("refreshAction1", global::Mono.Unix.Catalog.GetString("Repair Game"), null, "gtk-refresh");
     this.refreshAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Repair Game");
     w1.Add(this.refreshAction1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "Launchpad.Launcher.UnixUI.MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Launchpad - <GameName>");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("Launchpad.Launcher.Resources.RocketIcon.ico");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.DefaultWidth   = 755;
     this.DefaultHeight  = 412;
     // Container child Launchpad.Launcher.UnixUI.MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='ActionsAction1' action='ActionsAction1'><menuitem name='refreshAction1' action='refreshAction1'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2             = new global::Gtk.HBox();
     this.hbox2.Name        = "hbox2";
     this.hbox2.Spacing     = 6;
     this.hbox2.BorderWidth = ((uint)(4));
     // Container child hbox2.Gtk.Box+BoxChild
     this.BrowserContainer         = new global::Gtk.VBox();
     this.BrowserContainer.Name    = "BrowserContainer";
     this.BrowserContainer.Spacing = 6;
     // Container child BrowserContainer.Gtk.Box+BoxChild
     this.alignment2 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.WidthRequest = 300;
     this.alignment2.Name         = "alignment2";
     // Container child alignment2.Gtk.Container+ContainerChild
     this.ScrolledBrowserWindow = new global::Gtk.ScrolledWindow();
     this.ScrolledBrowserWindow.WidthRequest  = 290;
     this.ScrolledBrowserWindow.HeightRequest = 300;
     this.ScrolledBrowserWindow.CanFocus      = true;
     this.ScrolledBrowserWindow.Name          = "ScrolledBrowserWindow";
     this.ScrolledBrowserWindow.ShadowType    = ((global::Gtk.ShadowType)(1));
     this.alignment2.Add(this.ScrolledBrowserWindow);
     this.BrowserContainer.Add(this.alignment2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.BrowserContainer [this.alignment2]));
     w4.Position = 0;
     this.hbox2.Add(this.BrowserContainer);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.BrowserContainer]));
     w5.Position = 0;
     w5.Expand   = false;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w6.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.alignment1             = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name        = "alignment1";
     this.alignment1.LeftPadding = ((uint)(6));
     // Container child alignment1.Gtk.Container+ContainerChild
     this.IndicatorLabel           = new global::Gtk.Label();
     this.IndicatorLabel.Name      = "IndicatorLabel";
     this.IndicatorLabel.Xalign    = 0F;
     this.IndicatorLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Idle");
     this.alignment1.Add(this.IndicatorLabel);
     this.vbox1.Add(this.alignment1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment1]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3             = new global::Gtk.HBox();
     this.hbox3.Name        = "hbox3";
     this.hbox3.Spacing     = 6;
     this.hbox3.BorderWidth = ((uint)(4));
     // Container child hbox3.Gtk.Box+BoxChild
     this.alignment4      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment4.Name = "alignment4";
     // Container child alignment4.Gtk.Container+ContainerChild
     this.MainProgressBar      = new global::Gtk.ProgressBar();
     this.MainProgressBar.Name = "MainProgressBar";
     this.alignment4.Add(this.MainProgressBar);
     this.hbox3.Add(this.alignment4);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment4]));
     w10.Position = 0;
     // Container child hbox3.Gtk.Box+BoxChild
     this.hbox4         = new global::Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.alignment3 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment3.WidthRequest = 100;
     this.alignment3.Name         = "alignment3";
     // Container child alignment3.Gtk.Container+ContainerChild
     this.PrimaryButton              = new global::Gtk.Button();
     this.PrimaryButton.Sensitive    = false;
     this.PrimaryButton.CanDefault   = true;
     this.PrimaryButton.CanFocus     = true;
     this.PrimaryButton.Name         = "PrimaryButton";
     this.PrimaryButton.UseUnderline = true;
     this.PrimaryButton.Label        = global::Mono.Unix.Catalog.GetString("Inactive");
     this.alignment3.Add(this.PrimaryButton);
     this.hbox4.Add(this.alignment3);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.alignment3]));
     w12.Position = 0;
     this.hbox3.Add(this.hbox4);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbox4]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vbox1.Add(this.hbox3);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.PrimaryButton.HasDefault = true;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.refreshAction1.Activated += new global::System.EventHandler(this.OnRepairGameActionActivated);
     this.PrimaryButton.Clicked    += new global::System.EventHandler(this.OnPrimaryButtonClicked);
 }
예제 #51
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Scraper");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.alignment3 = new global::Gtk.Alignment (0F, 1F, 1F, 1F);
     this.alignment3.Name = "alignment3";
     this.alignment3.LeftPadding = ((uint)(10));
     this.alignment3.TopPadding = ((uint)(10));
     this.alignment3.RightPadding = ((uint)(10));
     this.alignment3.BottomPadding = ((uint)(10));
     // Container child alignment3.Gtk.Container+ContainerChild
     this.UrlEntryLabel = new global::Gtk.Label ();
     this.UrlEntryLabel.WidthRequest = 200;
     this.UrlEntryLabel.Name = "UrlEntryLabel";
     this.UrlEntryLabel.Xalign = 0F;
     this.UrlEntryLabel.Yalign = 1F;
     this.UrlEntryLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Input an URL to scrape (e.g. if scraping webcomics, choose the URL of comic #1).");
     this.alignment3.Add (this.UrlEntryLabel);
     this.vbox1.Add (this.alignment3);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment3]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.alignment4 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
     this.alignment4.Name = "alignment4";
     this.alignment4.LeftPadding = ((uint)(10));
     this.alignment4.TopPadding = ((uint)(10));
     this.alignment4.RightPadding = ((uint)(10));
     this.alignment4.BottomPadding = ((uint)(10));
     // Container child alignment4.Gtk.Container+ContainerChild
     this.UrlEntry = new global::Gtk.Entry ();
     this.UrlEntry.CanFocus = true;
     this.UrlEntry.Name = "UrlEntry";
     this.UrlEntry.Text = global::Mono.Unix.Catalog.GetString ("http://");
     this.UrlEntry.IsEditable = true;
     this.UrlEntry.InvisibleChar = '●';
     this.alignment4.Add (this.UrlEntry);
     this.vbox1.Add (this.alignment4);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment4]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.alignment5 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
     this.alignment5.Name = "alignment5";
     this.alignment5.LeftPadding = ((uint)(10));
     this.alignment5.TopPadding = ((uint)(10));
     this.alignment5.RightPadding = ((uint)(10));
     this.alignment5.BottomPadding = ((uint)(10));
     // Container child alignment5.Gtk.Container+ContainerChild
     this.NumberButton = new global::Gtk.SpinButton (1, 99999, 1);
     this.NumberButton.CanFocus = true;
     this.NumberButton.Name = "NumberButton";
     this.NumberButton.Adjustment.PageIncrement = 10;
     this.NumberButton.ClimbRate = 1;
     this.NumberButton.Numeric = true;
     this.NumberButton.Value = 50;
     this.alignment5.Add (this.NumberButton);
     this.table1.Add (this.alignment5);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.alignment5]));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.alignment6 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
     this.alignment6.Name = "alignment6";
     this.alignment6.LeftPadding = ((uint)(10));
     this.alignment6.TopPadding = ((uint)(10));
     this.alignment6.RightPadding = ((uint)(10));
     this.alignment6.BottomPadding = ((uint)(10));
     // Container child alignment6.Gtk.Container+ContainerChild
     this.NumberLabel = new global::Gtk.Label ();
     this.NumberLabel.Name = "NumberLabel";
     this.NumberLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Number to get:");
     this.alignment6.Add (this.NumberLabel);
     this.table1.Add (this.alignment6);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.alignment6]));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table1]));
     w9.Position = 0;
     w9.Expand = false;
     w9.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.alignment7 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
     this.alignment7.Name = "alignment7";
     this.alignment7.LeftPadding = ((uint)(50));
     this.alignment7.TopPadding = ((uint)(10));
     this.alignment7.RightPadding = ((uint)(10));
     this.alignment7.BottomPadding = ((uint)(10));
     // Container child alignment7.Gtk.Container+ContainerChild
     this.ScrapeButton = new global::Gtk.Button ();
     this.ScrapeButton.WidthRequest = 100;
     this.ScrapeButton.CanFocus = true;
     this.ScrapeButton.Name = "ScrapeButton";
     this.ScrapeButton.UseUnderline = true;
     this.ScrapeButton.Label = global::Mono.Unix.Catalog.GetString ("Scrape");
     this.alignment7.Add (this.ScrapeButton);
     this.hbox1.Add (this.alignment7);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.alignment7]));
     w11.Position = 1;
     w11.Expand = false;
     w11.Fill = false;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w12.Position = 2;
     w12.Expand = false;
     w12.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hseparator1 = new global::Gtk.HSeparator ();
     this.hseparator1.Name = "hseparator1";
     this.vbox1.Add (this.hseparator1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1]));
     w13.Position = 3;
     w13.Expand = false;
     w13.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.alignment11 = new global::Gtk.Alignment (0F, 0.5F, 1F, 1F);
     this.alignment11.Name = "alignment11";
     this.alignment11.LeftPadding = ((uint)(10));
     this.alignment11.RightPadding = ((uint)(10));
     // Container child alignment11.Gtk.Container+ContainerChild
     this.IndividualProgressLabel = new global::Gtk.Label ();
     this.IndividualProgressLabel.WidthRequest = 600;
     this.IndividualProgressLabel.Name = "IndividualProgressLabel";
     this.IndividualProgressLabel.Xalign = 0F;
     this.IndividualProgressLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Individual Progress");
     this.alignment11.Add (this.IndividualProgressLabel);
     this.vbox1.Add (this.alignment11);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment11]));
     w15.Position = 4;
     w15.Expand = false;
     w15.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.alignment9 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
     this.alignment9.Name = "alignment9";
     this.alignment9.LeftPadding = ((uint)(10));
     this.alignment9.RightPadding = ((uint)(10));
     this.alignment9.BottomPadding = ((uint)(10));
     // Container child alignment9.Gtk.Container+ContainerChild
     this.IndividualProgressBar = new global::Gtk.ProgressBar ();
     this.IndividualProgressBar.Name = "IndividualProgressBar";
     this.alignment9.Add (this.IndividualProgressBar);
     this.vbox1.Add (this.alignment9);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment9]));
     w17.Position = 5;
     w17.Expand = false;
     w17.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.alignment10 = new global::Gtk.Alignment (0F, 0.5F, 1F, 1F);
     this.alignment10.Name = "alignment10";
     this.alignment10.LeftPadding = ((uint)(10));
     this.alignment10.RightPadding = ((uint)(10));
     // Container child alignment10.Gtk.Container+ContainerChild
     this.OverallProgressLabel = new global::Gtk.Label ();
     this.OverallProgressLabel.Name = "OverallProgressLabel";
     this.OverallProgressLabel.Xalign = 0F;
     this.OverallProgressLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Overall Progress");
     this.alignment10.Add (this.OverallProgressLabel);
     this.vbox1.Add (this.alignment10);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment10]));
     w19.Position = 6;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.alignment8 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
     this.alignment8.Name = "alignment8";
     this.alignment8.LeftPadding = ((uint)(10));
     this.alignment8.RightPadding = ((uint)(10));
     this.alignment8.BottomPadding = ((uint)(10));
     // Container child alignment8.Gtk.Container+ContainerChild
     this.OverallProgressBar = new global::Gtk.ProgressBar ();
     this.OverallProgressBar.Name = "OverallProgressBar";
     this.alignment8.Add (this.OverallProgressBar);
     this.vbox1.Add (this.alignment8);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment8]));
     w21.Position = 7;
     w21.Expand = false;
     w21.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 620;
     this.DefaultHeight = 256;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.UrlEntry.Changed += new global::System.EventHandler (this.OnInputUrlChanged);
     this.UrlEntry.Activated += new global::System.EventHandler (this.OnActivated);
     this.NumberButton.ValueChanged += new global::System.EventHandler (this.OnNumberValueChanged);
     this.NumberButton.Activated += new global::System.EventHandler (this.OnActivated);
     this.ScrapeButton.Clicked += new global::System.EventHandler (this.OnScrapeButtonClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.Ide.Gui.Dialogs.ProgressDialog
     this.Name           = "MonoDevelop.Ide.Gui.Dialogs.ProgressDialog";
     this.Title          = global::Mono.Unix.Catalog.GetString("MonoDevelop");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal          = true;
     // Internal child MonoDevelop.Ide.Gui.Dialogs.ProgressDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox2             = new global::Gtk.VBox();
     this.vbox2.Name        = "vbox2";
     this.vbox2.Spacing     = 6;
     this.vbox2.BorderWidth = ((uint)(12));
     // Container child vbox2.Gtk.Box+BoxChild
     this.label           = new global::Gtk.Label();
     this.label.Name      = "label";
     this.label.Xalign    = 0F;
     this.label.LabelProp = "label";
     this.vbox2.Add(this.label);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.progressBar      = new global::Gtk.ProgressBar();
     this.progressBar.Name = "progressBar";
     this.hbox1.Add(this.progressBar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressBar]));
     w3.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnCancel              = new global::Gtk.Button();
     this.btnCancel.CanDefault   = true;
     this.btnCancel.CanFocus     = true;
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.UseStock     = true;
     this.btnCancel.UseUnderline = true;
     this.btnCancel.Label        = "gtk-cancel";
     this.hbox1.Add(this.btnCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnCancel]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnClose              = new global::Gtk.Button();
     this.btnClose.CanDefault   = true;
     this.btnClose.CanFocus     = true;
     this.btnClose.Name         = "btnClose";
     this.btnClose.UseStock     = true;
     this.btnClose.UseUnderline = true;
     this.btnClose.Label        = "gtk-close";
     this.hbox1.Add(this.btnClose);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnClose]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.expander          = new global::Gtk.Expander(null);
     this.expander.CanFocus = true;
     this.expander.Name     = "expander";
     // Container child expander.Gtk.Container+ContainerChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.HeightRequest = 250;
     this.GtkScrolledWindow.Name          = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType    = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.detailsTextView          = new global::Gtk.TextView();
     this.detailsTextView.CanFocus = true;
     this.detailsTextView.Name     = "detailsTextView";
     this.GtkScrolledWindow.Add(this.detailsTextView);
     this.expander.Add(this.GtkScrolledWindow);
     this.expanderLabel              = new global::Gtk.Label();
     this.expanderLabel.Name         = "expanderLabel";
     this.expanderLabel.LabelProp    = global::Mono.Unix.Catalog.GetString("Details");
     this.expanderLabel.UseUnderline = true;
     this.expander.LabelWidget       = this.expanderLabel;
     this.vbox2.Add(this.expander);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander]));
     w9.Position = 2;
     w1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
     w10.Position = 0;
     // Internal child MonoDevelop.Ide.Gui.Dialogs.ProgressDialog.ActionArea
     global::Gtk.HButtonBox w11 = this.ActionArea;
     w11.Name        = "dialog1_ActionArea";
     w11.Spacing     = 10;
     w11.BorderWidth = ((uint)(5));
     w11.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.button103              = new global::Gtk.Button();
     this.button103.CanFocus     = true;
     this.button103.Name         = "button103";
     this.button103.UseUnderline = true;
     this.button103.Label        = global::Mono.Unix.Catalog.GetString("GtkButton");
     this.AddActionWidget(this.button103, 0);
     global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11 [this.button103]));
     w12.Expand = false;
     w12.Fill   = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 544;
     this.DefaultHeight = 170;
     this.btnClose.Hide();
     w11.Hide();
     this.Hide();
     this.btnCancel.Clicked  += new global::System.EventHandler(this.OnBtnCancelClicked);
     this.btnClose.Clicked   += new global::System.EventHandler(this.OnBtnCloseClicked);
     this.expander.Activated += new global::System.EventHandler(this.OnExpander1Activated);
 }
예제 #53
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.copyAction = new global::Gtk.Action ("copyAction", global::Mono.Unix.Catalog.GetString ("File"), null, "gtk-copy");
     this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
     w1.Add (this.copyAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth = ((uint)(9));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name=\'toolbar1\'><toolitem name=\'copyAction\' action=\'copyAction\'/></t" +
     "oolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.fchSDCard = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0)));
     this.fchSDCard.Name = "fchSDCard";
     this.table1.Add (this.fchSDCard);
     // Container child table1.Gtk.Table+TableChild
     this.fchTarget = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0)));
     this.fchTarget.Name = "fchTarget";
     this.table1.Add (this.fchTarget);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.fchTarget]));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.table2 = new global::Gtk.Table (((uint)(1)), ((uint)(3)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.btnCopy = new global::Gtk.Button ();
     this.btnCopy.CanFocus = true;
     this.btnCopy.Name = "btnCopy";
     this.btnCopy.UseUnderline = true;
     this.btnCopy.Label = global::Mono.Unix.Catalog.GetString ("GtkButton");
     this.table2.Add (this.btnCopy);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.btnCopy]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     this.table1.Add (this.table2);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.table2]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w7.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.progressbar1 = new global::Gtk.ProgressBar ();
     this.progressbar1.Name = "progressbar1";
     this.hbox2.Add (this.progressbar1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.progressbar1]));
     w8.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.labelFilesCount = new global::Gtk.Label ();
     this.labelFilesCount.Name = "labelFilesCount";
     this.labelFilesCount.LabelProp = global::Mono.Unix.Catalog.GetString ("label1");
     this.hbox2.Add (this.labelFilesCount);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelFilesCount]));
     w9.Position = 1;
     w9.Expand = false;
     w9.Fill = false;
     this.vbox1.Add (this.hbox2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w10.Position = 2;
     w10.Expand = false;
     w10.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 1053;
     this.DefaultHeight = 695;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.copyAction.Activated += new global::System.EventHandler (this.OnButton1Clicked);
     this.btnCopy.Clicked += new global::System.EventHandler (this.OnButton1Clicked);
     this.fchSDCard.CurrentFolderChanged += new global::System.EventHandler (this.OnFchSDCardCurrentFolderChanged);
 }
예제 #54
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Gifuser.UploadDialog
     this.Name           = "Gifuser.UploadDialog";
     this.Title          = global::Mono.Unix.Catalog.GetString("Upload");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal          = true;
     // Internal child Gifuser.UploadDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vbox2             = new global::Gtk.VBox();
     this.vbox2.Name        = "vbox2";
     this.vbox2.Spacing     = 6;
     this.vbox2.BorderWidth = ((uint)(10));
     // Container child vbox2.Gtk.Box+BoxChild
     this.uploadLabel           = new global::Gtk.Label();
     this.uploadLabel.Name      = "uploadLabel";
     this.uploadLabel.Xalign    = 0F;
     this.uploadLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Uploading");
     this.vbox2.Add(this.uploadLabel);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.uploadLabel]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.progressbar1      = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.vbox2.Add(this.progressbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.progressbar1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     w1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2]));
     w4.Position = 0;
     w4.Fill     = false;
     // Internal child Gifuser.UploadDialog.ActionArea
     global::Gtk.HButtonBox w5 = this.ActionArea;
     w5.Name        = "dialog1_ActionArea";
     w5.Spacing     = 10;
     w5.BorderWidth = ((uint)(5));
     w5.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-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonCancel]));
     w6.Expand = false;
     w6.Fill   = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 173;
     this.Show();
     this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked);
 }
예제 #55
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Template.TemplateWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
     w1.Add(this.FileAction, null);
     this.CloseAction = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null);
     this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close");
     w1.Add(this.CloseAction, null);
     this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null);
     this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null);
     this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings");
     w1.Add(this.SettingsAction, null);
     this.WindowStyleAction = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null);
     this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Style");
     w1.Add(this.WindowStyleAction, null);
     this.CustomStyleAction = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE"), null, null, 0);
     this.CustomStyleAction.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE");
     w1.Add(this.CustomStyleAction, null);
     this.PlatformStyleAction = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction.Group = this.CustomStyleAction.Group;
     this.PlatformStyleAction.Sensitive = false;
     this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform");
     this.PlatformStyleAction.Visible = false;
     this.PlatformStyleAction.VisibleHorizontal = false;
     this.PlatformStyleAction.VisibleVertical = false;
     this.PlatformStyleAction.VisibleOverflown = false;
     w1.Add(this.PlatformStyleAction, null);
     this.DecoratedCustomStyleAction = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE"), null, null, 0);
     this.DecoratedCustomStyleAction.Group = this.PlatformStyleAction.Group;
     this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE");
     w1.Add(this.DecoratedCustomStyleAction, null);
     this.PlatformStyleAction1 = new global::Gtk.RadioAction("PlatformStyleAction1", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0);
     this.PlatformStyleAction1.Group = this.PlatformStyleAction.Group;
     this.PlatformStyleAction1.Sensitive = false;
     this.PlatformStyleAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform");
     this.PlatformStyleAction1.Visible = false;
     w1.Add(this.PlatformStyleAction1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name = "Template.TemplateWindow";
     this.Title = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!");
     this.WindowPosition = ((global::Gtk.WindowPosition)(1));
     this.Decorated = false;
     // Container child Template.TemplateWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='WindowStyleAction' action='WindowStyleAction'><menuitem name='CustomStyleAction' action='CustomStyleAction'/><menuitem name='DecoratedCustomStyleAction' action='DecoratedCustomStyleAction'/></menu></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.button1 = new global::Gtk.Button();
     this.button1.CanFocus = true;
     this.button1.Name = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton");
     this.table1.Add(this.button1);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.calendar2 = new global::Gtk.Calendar();
     this.calendar2.CanFocus = true;
     this.calendar2.Name = "calendar2";
     this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35));
     this.table1.Add(this.calendar2);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar2]));
     w4.TopAttach = ((uint)(6));
     w4.BottomAttach = ((uint)(7));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.combobox1 = global::Gtk.ComboBox.NewText();
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("young"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("strong"));
     this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy"));
     this.combobox1.Name = "combobox1";
     this.combobox1.Active = 0;
     this.table1.Add(this.combobox1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1]));
     w5.TopAttach = ((uint)(3));
     w5.BottomAttach = ((uint)(4));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText();
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("young"));
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("strong"));
     this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy"));
     this.comboboxentry1.Name = "comboboxentry1";
     this.comboboxentry1.Active = 0;
     this.table1.Add(this.comboboxentry1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxentry1]));
     w6.TopAttach = ((uint)(4));
     w6.BottomAttach = ((uint)(5));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry1 = new global::Gtk.Entry();
     this.entry1.CanFocus = true;
     this.entry1.Name = "entry1";
     this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!");
     this.entry1.IsEditable = true;
     this.entry1.InvisibleChar = '●';
     this.table1.Add(this.entry1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1]));
     w7.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview1 = new global::Gtk.TextView();
     this.textview1.Buffer.Text = "Young, strong and crazy!";
     this.textview1.CanFocus = true;
     this.textview1.Name = "textview1";
     this.GtkScrolledWindow.Add(this.textview1);
     this.table1.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow]));
     w9.TopAttach = ((uint)(6));
     w9.BottomAttach = ((uint)(7));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.progressbar1 = new global::Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.progressbar1.Fraction = 0.5D;
     this.table1.Add(this.progressbar1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar1]));
     w11.TopAttach = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.spinbutton1.CanFocus = true;
     this.spinbutton1.Name = "spinbutton1";
     this.spinbutton1.Adjustment.PageIncrement = 10D;
     this.spinbutton1.ClimbRate = 1D;
     this.spinbutton1.Numeric = true;
     this.table1.Add(this.spinbutton1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.spinbutton1]));
     w12.TopAttach = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.togglebutton1 = new global::Gtk.ToggleButton();
     this.togglebutton1.CanFocus = true;
     this.togglebutton1.Name = "togglebutton1";
     this.togglebutton1.UseUnderline = true;
     this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton");
     this.table1.Add(this.togglebutton1);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.togglebutton1]));
     w13.TopAttach = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox3 = new global::Gtk.VBox();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton2 = new global::Gtk.CheckButton();
     this.checkbutton2.CanFocus = true;
     this.checkbutton2.Name = "checkbutton2";
     this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString("checkbutton2");
     this.checkbutton2.DrawIndicator = true;
     this.checkbutton2.UseUnderline = true;
     this.vbox3.Add(this.checkbutton2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2]));
     w14.Position = 0;
     w14.Expand = false;
     w14.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton3 = new global::Gtk.CheckButton();
     this.checkbutton3.CanFocus = true;
     this.checkbutton3.Name = "checkbutton3";
     this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString("checkbutton3");
     this.checkbutton3.DrawIndicator = true;
     this.checkbutton3.UseUnderline = true;
     this.vbox3.Add(this.checkbutton3);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton3]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.checkbutton4 = new global::Gtk.CheckButton();
     this.checkbutton4.CanFocus = true;
     this.checkbutton4.Name = "checkbutton4";
     this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString("checkbutton4");
     this.checkbutton4.DrawIndicator = true;
     this.checkbutton4.UseUnderline = true;
     this.vbox3.Add(this.checkbutton4);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton4]));
     w16.Position = 2;
     w16.Expand = false;
     w16.Fill = false;
     this.table1.Add(this.vbox3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3]));
     w17.TopAttach = ((uint)(5));
     w17.BottomAttach = ((uint)(6));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox4 = new global::Gtk.VBox();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton1"));
     this.radiobutton1.CanFocus = true;
     this.radiobutton1.Name = "radiobutton1";
     this.radiobutton1.DrawIndicator = true;
     this.radiobutton1.UseUnderline = true;
     this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero);
     this.vbox4.Add(this.radiobutton1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton1]));
     w18.Position = 0;
     w18.Expand = false;
     w18.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton2"));
     this.radiobutton2.CanFocus = true;
     this.radiobutton2.Name = "radiobutton2";
     this.radiobutton2.DrawIndicator = true;
     this.radiobutton2.UseUnderline = true;
     this.radiobutton2.Group = this.radiobutton1.Group;
     this.vbox4.Add(this.radiobutton2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton2]));
     w19.Position = 1;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton3"));
     this.radiobutton3.CanFocus = true;
     this.radiobutton3.Name = "radiobutton3";
     this.radiobutton3.DrawIndicator = true;
     this.radiobutton3.UseUnderline = true;
     this.radiobutton3.Group = this.radiobutton1.Group;
     this.vbox4.Add(this.radiobutton3);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton3]));
     w20.Position = 2;
     w20.Expand = false;
     w20.Fill = false;
     this.table1.Add(this.vbox4);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox4]));
     w21.TopAttach = ((uint)(5));
     w21.BottomAttach = ((uint)(6));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1]));
     w22.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w23.Position = 2;
     w23.Expand = false;
     w23.Fill = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 483;
     this.DefaultHeight = 497;
     this.Show();
 }
예제 #56
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget QSAttachment.GetFromScanner
     this.Name           = "QSAttachment.GetFromScanner";
     this.Title          = global::Mono.Unix.Catalog.GetString("Получение изображений со сканера");
     this.Icon           = global::Gdk.Pixbuf.LoadFromResource("QSAttachment.icons.scanner32.png");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal          = true;
     // Internal child QSAttachment.GetFromScanner.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.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.table1               = new global::Gtk.Table(((uint)(6)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.buttonScan              = new global::Gtk.Button();
     this.buttonScan.Sensitive    = false;
     this.buttonScan.CanFocus     = true;
     this.buttonScan.Name         = "buttonScan";
     this.buttonScan.UseUnderline = true;
     this.buttonScan.Label        = global::Mono.Unix.Catalog.GetString("Сканировать");
     global::Gtk.Image w2 = new global::Gtk.Image();
     w2.Pixbuf             = global::Gdk.Pixbuf.LoadFromResource("QSAttachment.icons.scanner32.png");
     this.buttonScan.Image = w2;
     this.table1.Add(this.buttonScan);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonScan]));
     w3.TopAttach    = ((uint)(4));
     w3.BottomAttach = ((uint)(5));
     w3.RightAttach  = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboFormat = global::Gtk.ComboBox.NewText();
     this.comboFormat.AppendText(global::Mono.Unix.Catalog.GetString("Одно изображение(JPEG)"));
     this.comboFormat.AppendText(global::Mono.Unix.Catalog.GetString("Многостраничный документ(PDF)"));
     this.comboFormat.Name   = "comboFormat";
     this.comboFormat.Active = 0;
     this.table1.Add(this.comboFormat);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboFormat]));
     w4.TopAttach    = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.XOptions     = ((global::Gtk.AttachOptions)(4));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.comboScanner      = global::Gtk.ComboBox.NewText();
     this.comboScanner.Name = "comboScanner";
     this.table1.Add(this.comboScanner);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboScanner]));
     w5.LeftAttach  = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions    = ((global::Gtk.AttachOptions)(4));
     w5.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entryFileName               = new global::Gtk.Entry();
     this.entryFileName.CanFocus      = true;
     this.entryFileName.Name          = "entryFileName";
     this.entryFileName.IsEditable    = true;
     this.entryFileName.InvisibleChar = '●';
     this.hbox1.Add(this.entryFileName);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryFileName]));
     w6.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.labelExtension           = new global::Gtk.Label();
     this.labelExtension.Name      = "labelExtension";
     this.labelExtension.LabelProp = global::Mono.Unix.Catalog.GetString(".jpg");
     this.hbox1.Add(this.labelExtension);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.labelExtension]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     this.table1.Add(this.hbox1);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox1]));
     w8.TopAttach    = ((uint)(2));
     w8.BottomAttach = ((uint)(3));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Формат:");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Имя файла:");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w10.TopAttach    = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Сканер:");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelInfo           = new global::Gtk.Label();
     this.labelInfo.Name      = "labelInfo";
     this.labelInfo.LabelProp = global::Mono.Unix.Catalog.GetString("<span background = \"red\">Внимание!</span> В этом режиме будет сохранено только первое изображение.");
     this.labelInfo.UseMarkup = true;
     this.labelInfo.Wrap      = true;
     this.table1.Add(this.labelInfo);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelInfo]));
     w12.TopAttach    = ((uint)(5));
     w12.BottomAttach = ((uint)(6));
     w12.RightAttach  = ((uint)(2));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.progressScan      = new global::Gtk.ProgressBar();
     this.progressScan.Name = "progressScan";
     this.table1.Add(this.progressScan);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.progressScan]));
     w13.TopAttach    = ((uint)(3));
     w13.BottomAttach = ((uint)(4));
     w13.RightAttach  = ((uint)(2));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.hbox2.Add(this.table1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table1]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vimageslist1        = new global::QSWidgetLib.VImagesList();
     this.vimageslist1.Events = ((global::Gdk.EventMask)(256));
     this.vimageslist1.Name   = "vimageslist1";
     this.hbox2.Add(this.vimageslist1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vimageslist1]));
     w15.Position = 1;
     w1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox2]));
     w16.Position = 0;
     // Internal child QSAttachment.GetFromScanner.ActionArea
     global::Gtk.HButtonBox w17 = this.ActionArea;
     w17.Name        = "dialog1_ActionArea";
     w17.Spacing     = 10;
     w17.BorderWidth = ((uint)(5));
     w17.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-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonCancel]));
     w18.Expand = false;
     w18.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new global::Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonOk]));
     w19.Position = 1;
     w19.Expand   = false;
     w19.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 552;
     this.DefaultHeight = 283;
     this.labelInfo.Hide();
     this.Show();
     this.entryFileName.Changed += new global::System.EventHandler(this.OnEntryFileNameChanged);
     this.comboScanner.Changed  += new global::System.EventHandler(this.OnComboScannerChanged);
     this.comboFormat.Changed   += new global::System.EventHandler(this.OnCombobox1Changed);
     this.buttonScan.Clicked    += new global::System.EventHandler(this.OnButtonScanClicked);
     this.buttonOk.Clicked      += new global::System.EventHandler(this.OnButtonOkClicked);
 }
예제 #57
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("ECM Database Compactor");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth = ((uint)(3));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     // Container child hbox1.Gtk.Box+BoxChild
     this.ntbServers = new global::Gtk.Notebook ();
     this.ntbServers.CanFocus = true;
     this.ntbServers.Name = "ntbServers";
     this.ntbServers.CurrentPage = 0;
     this.ntbServers.BorderWidth = ((uint)(3));
     // Container child ntbServers.Gtk.Notebook+NotebookChild
     this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(3));
     // Container child table1.Gtk.Table+TableChild
     this.chkIntegratedSec = new global::Gtk.CheckButton ();
     this.chkIntegratedSec.CanFocus = true;
     this.chkIntegratedSec.Name = "chkIntegratedSec";
     this.chkIntegratedSec.Label = global::Mono.Unix.Catalog.GetString ("Integrated Security");
     this.chkIntegratedSec.Active = true;
     this.chkIntegratedSec.DrawIndicator = true;
     this.chkIntegratedSec.UseUnderline = true;
     this.table1.Add (this.chkIntegratedSec);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkIntegratedSec]));
     w1.TopAttach = ((uint)(2));
     w1.BottomAttach = ((uint)(3));
     w1.LeftAttach = ((uint)(3));
     w1.RightAttach = ((uint)(4));
     w1.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Source");
     this.table1.Add (this.label1);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("DB Name");
     this.table1.Add (this.label11);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("User Name");
     this.table1.Add (this.label5);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w4.LeftAttach = ((uint)(2));
     w4.RightAttach = ((uint)(3));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Password");
     this.table1.Add (this.label6);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w5.TopAttach = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.LeftAttach = ((uint)(2));
     w5.RightAttach = ((uint)(3));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.txtMSSQLDbname = new global::Gtk.Entry ();
     this.txtMSSQLDbname.CanFocus = true;
     this.txtMSSQLDbname.Name = "txtMSSQLDbname";
     this.txtMSSQLDbname.Text = global::Mono.Unix.Catalog.GetString ("evedb");
     this.txtMSSQLDbname.IsEditable = true;
     this.txtMSSQLDbname.InvisibleChar = '●';
     this.table1.Add (this.txtMSSQLDbname);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.txtMSSQLDbname]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.txtMSSQLPass = new global::Gtk.Entry ();
     this.txtMSSQLPass.Sensitive = false;
     this.txtMSSQLPass.CanFocus = true;
     this.txtMSSQLPass.Name = "txtMSSQLPass";
     this.txtMSSQLPass.IsEditable = true;
     this.txtMSSQLPass.Visibility = false;
     this.txtMSSQLPass.InvisibleChar = '●';
     this.table1.Add (this.txtMSSQLPass);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.txtMSSQLPass]));
     w7.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach = ((uint)(3));
     w7.RightAttach = ((uint)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.txtMSSQLSource = new global::Gtk.Entry ();
     this.txtMSSQLSource.CanFocus = true;
     this.txtMSSQLSource.Name = "txtMSSQLSource";
     this.txtMSSQLSource.Text = global::Mono.Unix.Catalog.GetString (".\\SQLEXPRESS");
     this.txtMSSQLSource.IsEditable = true;
     this.txtMSSQLSource.InvisibleChar = '●';
     this.table1.Add (this.txtMSSQLSource);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.txtMSSQLSource]));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.txtMSSQLUser = new global::Gtk.Entry ();
     this.txtMSSQLUser.Sensitive = false;
     this.txtMSSQLUser.CanFocus = true;
     this.txtMSSQLUser.Name = "txtMSSQLUser";
     this.txtMSSQLUser.IsEditable = true;
     this.txtMSSQLUser.InvisibleChar = '●';
     this.table1.Add (this.txtMSSQLUser);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.txtMSSQLUser]));
     w9.LeftAttach = ((uint)(3));
     w9.RightAttach = ((uint)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     this.ntbServers.Add (this.table1);
     // Notebook tab
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("MS SQL");
     this.ntbServers.SetTabLabel (this.table1, this.label2);
     this.label2.ShowAll ();
     // Container child ntbServers.Gtk.Notebook+NotebookChild
     this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(4)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     this.table2.BorderWidth = ((uint)(3));
     // Container child table2.Gtk.Table+TableChild
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.Xalign = 1F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Source");
     this.table2.Add (this.label12);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label12]));
     w11.TopAttach = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label13 = new global::Gtk.Label ();
     this.label13.Name = "label13";
     this.label13.Xalign = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Port");
     this.table2.Add (this.label13);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label13]));
     w12.TopAttach = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("DB Name");
     this.table2.Add (this.label3);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Password");
     this.table2.Add (this.label8);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8]));
     w14.TopAttach = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.LeftAttach = ((uint)(2));
     w14.RightAttach = ((uint)(3));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("User Name");
     this.table2.Add (this.label9);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9]));
     w15.LeftAttach = ((uint)(2));
     w15.RightAttach = ((uint)(3));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.spbPort = new global::Gtk.SpinButton (1, 65535, 1);
     this.spbPort.CanFocus = true;
     this.spbPort.Name = "spbPort";
     this.spbPort.Adjustment.PageIncrement = 10;
     this.spbPort.ClimbRate = 1;
     this.spbPort.Numeric = true;
     this.spbPort.Value = 3306;
     this.table2.Add (this.spbPort);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.spbPort]));
     w16.TopAttach = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((global::Gtk.AttachOptions)(0));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.txtMySqlDbName = new global::Gtk.Entry ();
     this.txtMySqlDbName.CanFocus = true;
     this.txtMySqlDbName.Name = "txtMySqlDbName";
     this.txtMySqlDbName.Text = global::Mono.Unix.Catalog.GetString ("evedb");
     this.txtMySqlDbName.IsEditable = true;
     this.txtMySqlDbName.InvisibleChar = '●';
     this.table2.Add (this.txtMySqlDbName);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.txtMySqlDbName]));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.txtMySqlPass = new global::Gtk.Entry ();
     this.txtMySqlPass.CanFocus = true;
     this.txtMySqlPass.Name = "txtMySqlPass";
     this.txtMySqlPass.Text = global::Mono.Unix.Catalog.GetString ("zn645szn");
     this.txtMySqlPass.IsEditable = true;
     this.txtMySqlPass.Visibility = false;
     this.txtMySqlPass.InvisibleChar = '●';
     this.table2.Add (this.txtMySqlPass);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.txtMySqlPass]));
     w18.TopAttach = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach = ((uint)(3));
     w18.RightAttach = ((uint)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.txtMySqlSource = new global::Gtk.Entry ();
     this.txtMySqlSource.CanFocus = true;
     this.txtMySqlSource.Name = "txtMySqlSource";
     this.txtMySqlSource.Text = global::Mono.Unix.Catalog.GetString ("localhost");
     this.txtMySqlSource.IsEditable = true;
     this.txtMySqlSource.InvisibleChar = '●';
     this.table2.Add (this.txtMySqlSource);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.txtMySqlSource]));
     w19.TopAttach = ((uint)(1));
     w19.BottomAttach = ((uint)(2));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.txtMySqlUser = new global::Gtk.Entry ();
     this.txtMySqlUser.CanFocus = true;
     this.txtMySqlUser.Name = "txtMySqlUser";
     this.txtMySqlUser.Text = global::Mono.Unix.Catalog.GetString ("root");
     this.txtMySqlUser.IsEditable = true;
     this.txtMySqlUser.InvisibleChar = '●';
     this.table2.Add (this.txtMySqlUser);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.txtMySqlUser]));
     w20.LeftAttach = ((uint)(3));
     w20.RightAttach = ((uint)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     this.ntbServers.Add (this.table2);
     global::Gtk.Notebook.NotebookChild w21 = ((global::Gtk.Notebook.NotebookChild)(this.ntbServers [this.table2]));
     w21.Position = 1;
     // Notebook tab
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("MySql");
     this.ntbServers.SetTabLabel (this.table2, this.label4);
     this.label4.ShowAll ();
     // Container child ntbServers.Gtk.Notebook+NotebookChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.Xalign = 0F;
     this.label7.Yalign = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Database File:");
     this.vbox2.Add (this.label7);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label7]));
     w22.Position = 0;
     w22.Expand = false;
     w22.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.fcbSqliteDB = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select SQLite3 Database"), ((global::Gtk.FileChooserAction)(0)));
     this.fcbSqliteDB.Name = "fcbSqliteDB";
     this.vbox2.Add (this.fcbSqliteDB);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.fcbSqliteDB]));
     w23.Position = 1;
     w23.Expand = false;
     w23.Fill = false;
     this.ntbServers.Add (this.vbox2);
     global::Gtk.Notebook.NotebookChild w24 = ((global::Gtk.Notebook.NotebookChild)(this.ntbServers [this.vbox2]));
     w24.Position = 2;
     // Notebook tab
     this.label10 = new global::Gtk.Label ();
     this.label10.Name = "label10";
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("SQLite");
     this.label10.WidthChars = 6;
     this.ntbServers.SetTabLabel (this.vbox2, this.label10);
     this.label10.ShowAll ();
     this.hbox1.Add (this.ntbServers);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ntbServers]));
     w25.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbuttonbox1 = new global::Gtk.VButtonBox ();
     this.vbuttonbox1.Name = "vbuttonbox1";
     this.vbuttonbox1.BorderWidth = ((uint)(3));
     this.vbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.btnStartProcess = new global::Gtk.Button ();
     this.btnStartProcess.CanFocus = true;
     this.btnStartProcess.Name = "btnStartProcess";
     this.btnStartProcess.UseUnderline = true;
     this.btnStartProcess.Label = global::Mono.Unix.Catalog.GetString ("Compact\nDatabase");
     this.vbuttonbox1.Add (this.btnStartProcess);
     global::Gtk.ButtonBox.ButtonBoxChild w26 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.btnStartProcess]));
     w26.Expand = false;
     w26.Fill = false;
     this.hbox1.Add (this.vbuttonbox1);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbuttonbox1]));
     w27.Position = 1;
     w27.Expand = false;
     w27.Fill = false;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w28.Position = 0;
     w28.Expand = false;
     w28.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.lblStatus = new global::Gtk.Label ();
     this.lblStatus.Name = "lblStatus";
     this.lblStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("label1");
     this.vbox1.Add (this.lblStatus);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.lblStatus]));
     w29.Position = 1;
     w29.Expand = false;
     w29.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.lblRecords = new global::Gtk.Label ();
     this.lblRecords.Name = "lblRecords";
     this.lblRecords.LabelProp = global::Mono.Unix.Catalog.GetString ("label4");
     this.vbox1.Add (this.lblRecords);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.lblRecords]));
     w30.Position = 2;
     w30.Expand = false;
     w30.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.pgbProgress = new global::Gtk.ProgressBar ();
     this.pgbProgress.Name = "pgbProgress";
     this.vbox1.Add (this.pgbProgress);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.pgbProgress]));
     w31.PackType = ((global::Gtk.PackType)(1));
     w31.Position = 3;
     w31.Expand = false;
     w31.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 569;
     this.DefaultHeight = 200;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.chkIntegratedSec.Toggled += new global::System.EventHandler (this.IntegratedSecToggle);
     this.btnStartProcess.Clicked += new global::System.EventHandler (this.StartProcess);
 }
예제 #58
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Resizable      = false;
     this.AllowGrow      = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.fixed1 = new global::Gtk.Fixed();
     this.fixed1.WidthRequest  = 540;
     this.fixed1.HeightRequest = 320;
     this.fixed1.HasWindow     = false;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.groupOptions = new global::Gtk.Frame();
     this.groupOptions.WidthRequest = 530;
     this.groupOptions.Name         = "groupOptions";
     this.groupOptions.ShadowType   = ((global::Gtk.ShadowType)(1));
     // Container child groupOptions.Gtk.Container+ContainerChild
     this.GtkAlignment             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.fixed2           = new global::Gtk.Fixed();
     this.fixed2.Name      = "fixed2";
     this.fixed2.HasWindow = false;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.lblArchive = new global::Gtk.Label();
     this.lblArchive.HeightRequest = 20;
     this.lblArchive.Name          = "lblArchive";
     this.lblArchive.LabelProp     = global::Mono.Unix.Catalog.GetString("Backup archive");
     this.lblArchive.UseUnderline  = true;
     this.fixed2.Add(this.lblArchive);
     global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.lblArchive]));
     w1.X = 8;
     w1.Y = 10;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.editArchive = new global::Gtk.Entry();
     this.editArchive.WidthRequest  = 200;
     this.editArchive.CanFocus      = true;
     this.editArchive.Name          = "editArchive";
     this.editArchive.IsEditable    = true;
     this.editArchive.InvisibleChar = '●';
     this.fixed2.Add(this.editArchive);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.editArchive]));
     w2.X = 220;
     w2.Y = 8;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.btnArchive = new global::Gtk.Button();
     this.btnArchive.WidthRequest = 80;
     this.btnArchive.CanFocus     = true;
     this.btnArchive.Name         = "btnArchive";
     this.btnArchive.UseUnderline = true;
     this.btnArchive.Label        = global::Mono.Unix.Catalog.GetString("Browse");
     this.fixed2.Add(this.btnArchive);
     global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.btnArchive]));
     w3.X = 425;
     w3.Y = 8;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.lblOutputFolder              = new global::Gtk.Label();
     this.lblOutputFolder.Name         = "lblOutputFolder";
     this.lblOutputFolder.LabelProp    = global::Mono.Unix.Catalog.GetString("Output folder");
     this.lblOutputFolder.UseUnderline = true;
     this.fixed2.Add(this.lblOutputFolder);
     global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.lblOutputFolder]));
     w4.X = 8;
     w4.Y = 44;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.editOutputFolder = new global::Gtk.Entry();
     this.editOutputFolder.WidthRequest  = 200;
     this.editOutputFolder.CanFocus      = true;
     this.editOutputFolder.Name          = "editOutputFolder";
     this.editOutputFolder.IsEditable    = true;
     this.editOutputFolder.InvisibleChar = '●';
     this.fixed2.Add(this.editOutputFolder);
     global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.editOutputFolder]));
     w5.X = 220;
     w5.Y = 40;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.btnFolder = new global::Gtk.Button();
     this.btnFolder.WidthRequest = 80;
     this.btnFolder.CanFocus     = true;
     this.btnFolder.Name         = "btnFolder";
     this.btnFolder.UseUnderline = true;
     this.btnFolder.Label        = global::Mono.Unix.Catalog.GetString("Browse");
     this.fixed2.Add(this.btnFolder);
     global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.btnFolder]));
     w6.X = 425;
     w6.Y = 40;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.lblPassword              = new global::Gtk.Label();
     this.lblPassword.Name         = "lblPassword";
     this.lblPassword.LabelProp    = global::Mono.Unix.Catalog.GetString("Password");
     this.lblPassword.UseUnderline = true;
     this.fixed2.Add(this.lblPassword);
     global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.lblPassword]));
     w7.X = 8;
     w7.Y = 76;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.editPassword = new global::Gtk.Entry();
     this.editPassword.WidthRequest  = 200;
     this.editPassword.CanFocus      = true;
     this.editPassword.Name          = "editPassword";
     this.editPassword.IsEditable    = true;
     this.editPassword.Visibility    = false;
     this.editPassword.InvisibleChar = '●';
     this.fixed2.Add(this.editPassword);
     global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.editPassword]));
     w8.X = 220;
     w8.Y = 72;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.chkIgnoreErrors               = new global::Gtk.CheckButton();
     this.chkIgnoreErrors.CanFocus      = true;
     this.chkIgnoreErrors.Name          = "chkIgnoreErrors";
     this.chkIgnoreErrors.Label         = global::Mono.Unix.Catalog.GetString("Ignore write errors");
     this.chkIgnoreErrors.Active        = true;
     this.chkIgnoreErrors.DrawIndicator = true;
     this.chkIgnoreErrors.UseUnderline  = true;
     this.fixed2.Add(this.chkIgnoreErrors);
     global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.chkIgnoreErrors]));
     w9.X = 220;
     w9.Y = 104;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.chkDryRun               = new global::Gtk.CheckButton();
     this.chkDryRun.CanFocus      = true;
     this.chkDryRun.Name          = "chkDryRun";
     this.chkDryRun.Label         = global::Mono.Unix.Catalog.GetString("Dry run");
     this.chkDryRun.DrawIndicator = true;
     this.chkDryRun.UseUnderline  = true;
     this.fixed2.Add(this.chkDryRun);
     global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.chkDryRun]));
     w10.X = 220;
     w10.Y = 136;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.btnStartStop = new global::Gtk.Button();
     this.btnStartStop.WidthRequest = 200;
     this.btnStartStop.CanFocus     = true;
     this.btnStartStop.Name         = "btnStartStop";
     this.btnStartStop.UseUnderline = true;
     this.btnStartStop.Label        = global::Mono.Unix.Catalog.GetString("_Start");
     this.fixed2.Add(this.btnStartStop);
     global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.btnStartStop]));
     w11.X = 220;
     w11.Y = 170;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.btnHelp = new global::Gtk.Button();
     this.btnHelp.WidthRequest = 80;
     this.btnHelp.CanFocus     = true;
     this.btnHelp.Name         = "btnHelp";
     this.btnHelp.UseUnderline = true;
     this.btnHelp.Label        = global::Mono.Unix.Catalog.GetString("_Help");
     this.fixed2.Add(this.btnHelp);
     global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.btnHelp]));
     w12.X = 425;
     w12.Y = 170;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.btnDonate              = new global::Gtk.Button();
     this.btnDonate.CanFocus     = true;
     this.btnDonate.Name         = "btnDonate";
     this.btnDonate.UseUnderline = true;
     this.btnDonate.Relief       = ((global::Gtk.ReliefStyle)(2));
     global::Gtk.Image w13 = new global::Gtk.Image();
     w13.Pixbuf           = global::Gdk.Pixbuf.LoadFromResource("ExtractWizardGtk.blue-rect-paypal-26px.png");
     this.btnDonate.Image = w13;
     this.fixed2.Add(this.btnDonate);
     global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.btnDonate]));
     w14.X = 8;
     w14.Y = 104;
     this.GtkAlignment.Add(this.fixed2);
     this.groupOptions.Add(this.GtkAlignment);
     this.lblGroupOptions              = new global::Gtk.Label();
     this.lblGroupOptions.Name         = "lblGroupOptions";
     this.lblGroupOptions.LabelProp    = global::Mono.Unix.Catalog.GetString("Extraction Options");
     this.lblGroupOptions.UseUnderline = true;
     this.groupOptions.LabelWidget     = this.lblGroupOptions;
     this.fixed1.Add(this.groupOptions);
     global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.groupOptions]));
     w17.X = 4;
     w17.Y = 4;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.groupProgress = new global::Gtk.Frame();
     this.groupProgress.WidthRequest  = 530;
     this.groupProgress.HeightRequest = 80;
     this.groupProgress.Name          = "groupProgress";
     this.groupProgress.ShadowType    = ((global::Gtk.ShadowType)(1));
     // Container child groupProgress.Gtk.Container+ContainerChild
     this.GtkAlignment1             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name        = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.fixed3           = new global::Gtk.Fixed();
     this.fixed3.Name      = "fixed3";
     this.fixed3.HasWindow = false;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.progressbarExtraction = new global::Gtk.ProgressBar();
     this.progressbarExtraction.WidthRequest = 500;
     this.progressbarExtraction.Name         = "progressbarExtraction";
     this.progressbarExtraction.Text         = "";
     this.progressbarExtraction.Fraction     = 0.5;
     this.fixed3.Add(this.progressbarExtraction);
     global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed3[this.progressbarExtraction]));
     w18.X = 4;
     w18.Y = 4;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.lblExtractedFile = new global::Gtk.Label();
     this.lblExtractedFile.WidthRequest  = 500;
     this.lblExtractedFile.HeightRequest = 25;
     this.lblExtractedFile.Name          = "lblExtractedFile";
     this.lblExtractedFile.LabelProp     = global::Mono.Unix.Catalog.GetString("This is some very long text that should wrap around if there is not enough space in this otherwise really big label I have put on the form");
     this.fixed3.Add(this.lblExtractedFile);
     global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed3[this.lblExtractedFile]));
     w19.X = 4;
     w19.Y = 32;
     this.GtkAlignment1.Add(this.fixed3);
     this.groupProgress.Add(this.GtkAlignment1);
     this.lblGroupProgress              = new global::Gtk.Label();
     this.lblGroupProgress.Name         = "lblGroupProgress";
     this.lblGroupProgress.LabelProp    = global::Mono.Unix.Catalog.GetString("Extraction Progress");
     this.lblGroupProgress.UseUnderline = true;
     this.groupProgress.LabelWidget     = this.lblGroupProgress;
     this.fixed1.Add(this.groupProgress);
     global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.groupProgress]));
     w22.X = 4;
     w22.Y = 230;
     this.Add(this.fixed1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth                   = 618;
     this.DefaultHeight                  = 500;
     this.lblArchive.MnemonicWidget      = this.editArchive;
     this.lblOutputFolder.MnemonicWidget = this.editOutputFolder;
     this.lblPassword.MnemonicWidget     = this.editPassword;
     this.Show();
     this.DeleteEvent          += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.btnArchive.Clicked   += new global::System.EventHandler(this.OnBtnArchiveClicked);
     this.btnFolder.Clicked    += new global::System.EventHandler(this.OnBtnFolderClicked);
     this.btnStartStop.Clicked += new global::System.EventHandler(this.OnBtnStartStopClicked);
     this.btnHelp.Clicked      += new global::System.EventHandler(this.OnBtnHelpClicked);
     this.btnDonate.Clicked    += new global::System.EventHandler(this.OnBtnDonateClicked);
 }
예제 #59
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Unified Programmer");
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-sort-ascending", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Resizable = false;
     this.AllowGrow = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.boxLayout = new global::Gtk.VBox ();
     this.boxLayout.Name = "boxLayout";
     this.boxLayout.Spacing = 6;
     // Container child boxLayout.Gtk.Box+BoxChild
     this.image5 = new global::Gtk.Image ();
     this.image5.Name = "image5";
     this.image5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("ProgrammerGUI.watson_dash_smaller.png");
     this.boxLayout.Add (this.image5);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.boxLayout[this.image5]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child boxLayout.Gtk.Box+BoxChild
     this.tabLayout = new global::Gtk.Notebook ();
     this.tabLayout.CanFocus = true;
     this.tabLayout.Name = "tabLayout";
     this.tabLayout.CurrentPage = 0;
     // Container child tabLayout.Gtk.Notebook+NotebookChild
     this.fixed2 = new global::Gtk.Fixed ();
     this.fixed2.Name = "fixed2";
     this.fixed2.HasWindow = false;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.fileHex = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select A File"), ((global::Gtk.FileChooserAction)(0)));
     this.fileHex.WidthRequest = 489;
     this.fileHex.Name = "fileHex";
     this.fileHex.ShowHidden = true;
     this.fixed2.Add (this.fileHex);
     global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.fileHex]));
     w2.X = 8;
     w2.Y = 34;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Select the intel Hex file to be programmed:");
     this.fixed2.Add (this.label6);
     global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.label6]));
     w3.X = 11;
     w3.Y = 12;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.lblHexStatistics = new global::Gtk.Label ();
     this.lblHexStatistics.WidthRequest = 477;
     this.lblHexStatistics.HeightRequest = 65;
     this.lblHexStatistics.Name = "lblHexStatistics";
     this.lblHexStatistics.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Program Memory Available:</b> XX\n<b>Data Memory Available:</b> YY\n");
     this.lblHexStatistics.UseMarkup = true;
     this.lblHexStatistics.MaxWidthChars = 57;
     this.fixed2.Add (this.lblHexStatistics);
     global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.lblHexStatistics]));
     w4.X = 16;
     w4.Y = 80;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.btnHexProgram = new global::Gtk.Button ();
     this.btnHexProgram.WidthRequest = 115;
     this.btnHexProgram.Sensitive = false;
     this.btnHexProgram.CanFocus = true;
     this.btnHexProgram.Name = "btnHexProgram";
     this.btnHexProgram.UseUnderline = true;
     // Container child btnHexProgram.Gtk.Container+ContainerChild
     global::Gtk.Alignment w5 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w6 = new global::Gtk.HBox ();
     w6.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w7 = new global::Gtk.Image ();
     w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-jump-to", global::Gtk.IconSize.Menu);
     w6.Add (w7);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w9 = new global::Gtk.Label ();
     w9.LabelProp = global::Mono.Unix.Catalog.GetString ("Program");
     w9.UseUnderline = true;
     w6.Add (w9);
     w5.Add (w6);
     this.btnHexProgram.Add (w5);
     this.fixed2.Add (this.btnHexProgram);
     global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.btnHexProgram]));
     w13.X = 379;
     w13.Y = 241;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.lblOldHexWarning = new global::Gtk.Label ();
     this.lblOldHexWarning.Name = "lblOldHexWarning";
     this.lblOldHexWarning.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Warning!</b> The file you're programming hasn't changed\nsince the previous programming. (Did you recompile?)");
     this.lblOldHexWarning.UseMarkup = true;
     this.lblOldHexWarning.Angle = 360;
     this.fixed2.Add (this.lblOldHexWarning);
     global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.lblOldHexWarning]));
     w14.X = 13;
     w14.Y = 230;
     // Container child fixed2.Gtk.Fixed+FixedChild
     this.btnHexRefresh = new global::Gtk.Button ();
     this.btnHexRefresh.Sensitive = false;
     this.btnHexRefresh.CanFocus = true;
     this.btnHexRefresh.Name = "btnHexRefresh";
     this.btnHexRefresh.UseUnderline = true;
     // Container child btnHexRefresh.Gtk.Container+ContainerChild
     global::Gtk.Alignment w15 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w16 = new global::Gtk.HBox ();
     w16.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w17 = new global::Gtk.Image ();
     w17.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-refresh", global::Gtk.IconSize.Menu);
     w16.Add (w17);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w19 = new global::Gtk.Label ();
     w19.LabelProp = global::Mono.Unix.Catalog.GetString ("_Refresh");
     w19.UseUnderline = true;
     w16.Add (w19);
     w15.Add (w16);
     this.btnHexRefresh.Add (w15);
     this.fixed2.Add (this.btnHexRefresh);
     global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.btnHexRefresh]));
     w23.X = 419;
     w23.Y = 71;
     this.tabLayout.Add (this.fixed2);
     // Notebook tab
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Microcontroller Only");
     this.tabLayout.SetTabLabel (this.fixed2, this.label1);
     this.label1.ShowAll ();
     // Notebook tab
     global::Gtk.Label w25 = new global::Gtk.Label ();
     w25.Visible = true;
     this.tabLayout.Add (w25);
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("FPGA Only");
     this.tabLayout.SetTabLabel (w25, this.label2);
     this.label2.ShowAll ();
     // Notebook tab
     global::Gtk.Label w26 = new global::Gtk.Label ();
     w26.Visible = true;
     this.tabLayout.Add (w26);
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Full Kit");
     this.tabLayout.SetTabLabel (w26, this.label3);
     this.label3.ShowAll ();
     // Notebook tab
     global::Gtk.Label w27 = new global::Gtk.Label ();
     w27.Visible = true;
     this.tabLayout.Add (w27);
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Ready Modules");
     this.tabLayout.SetTabLabel (w27, this.label5);
     this.label5.ShowAll ();
     // Notebook tab
     global::Gtk.Label w28 = new global::Gtk.Label ();
     w28.Visible = true;
     this.tabLayout.Add (w28);
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Advanced");
     this.tabLayout.SetTabLabel (w28, this.label4);
     this.label4.ShowAll ();
     this.boxLayout.Add (this.tabLayout);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.boxLayout[this.tabLayout]));
     w29.Position = 1;
     // Container child boxLayout.Gtk.Box+BoxChild
     this.progressBar = new global::Gtk.ProgressBar ();
     this.progressBar.WidthRequest = 505;
     this.progressBar.HeightRequest = 0;
     this.progressBar.Name = "progressBar";
     this.progressBar.Text = global::Mono.Unix.Catalog.GetString (" ");
     this.boxLayout.Add (this.progressBar);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.boxLayout[this.progressBar]));
     w30.Position = 2;
     w30.Expand = false;
     w30.Fill = false;
     this.Add (this.boxLayout);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 517;
     this.DefaultHeight = 450;
     this.lblHexStatistics.Hide ();
     this.lblOldHexWarning.Hide ();
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 }
예제 #60
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget NXTCamView.Gtk.Windows.CaptureWindow
     this.Name           = "NXTCamView.Gtk.Windows.CaptureWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("CaptureWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child NXTCamView.Gtk.Windows.CaptureWindow.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.stretchyImage        = new global::NXTCamView.Gtk.Widgets.StretchyImage();
     this.stretchyImage.Events = ((global::Gdk.EventMask)(256));
     this.stretchyImage.Name   = "stretchyImage";
     this.vbox2.Add(this.stretchyImage);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.stretchyImage]));
     w1.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.statusbar         = new global::Gtk.Statusbar();
     this.statusbar.Name    = "statusbar";
     this.statusbar.Spacing = 6;
     // Container child statusbar.Gtk.Box+BoxChild
     this.progressbar = new global::Gtk.ProgressBar();
     this.progressbar.WidthRequest = 1;
     this.progressbar.Name         = "progressbar";
     this.statusbar.Add(this.progressbar);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.statusbar [this.progressbar]));
     w2.PackType = ((global::Gtk.PackType)(1));
     w2.Position = 2;
     this.vbox2.Add(this.statusbar);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar]));
     w3.PackType = ((global::Gtk.PackType)(1));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.showIterpolatedCheckbutton               = new global::Gtk.CheckButton();
     this.showIterpolatedCheckbutton.CanFocus      = true;
     this.showIterpolatedCheckbutton.Name          = "showIterpolatedCheckbutton";
     this.showIterpolatedCheckbutton.Label         = global::Mono.Unix.Catalog.GetString("Interpolated");
     this.showIterpolatedCheckbutton.DrawIndicator = true;
     this.showIterpolatedCheckbutton.UseUnderline  = true;
     this.hbox1.Add(this.showIterpolatedCheckbutton);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.showIterpolatedCheckbutton]));
     w4.Position = 0;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w5.PackType = ((global::Gtk.PackType)(1));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 411;
     this.progressbar.Hide();
     this.Show();
     this.showIterpolatedCheckbutton.Toggled += new global::System.EventHandler(this.OnShowIterpolatedCheckbuttonToggled);
 }