From f2cbc48a9e704da8e86ed659437c1e338e212c50 Mon Sep 17 00:00:00 2001
From: Tedd Hansen
Date: Sat, 6 Dec 2008 03:28:34 +0000
Subject: GUI for launching grids. Early version, but should work fine. Will
execute all OpenSim services redirect their input/output/errors to the
selected "GUI module". This version has following "GUI modules": * Windows
Forms * Windows Service (doesn't work yet) * Console * TCP daemon
This means that OpenSim can now run in a single console for those who want that.
Console functionallity is not too rich yet, but code/framework is there... more to come. :)
---
.../GUI/WinForm/ProcessPanel.Designer.cs | 224 +++++++++++++++++++++
1 file changed, 224 insertions(+)
create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.Designer.cs
(limited to 'OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.Designer.cs')
diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.Designer.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.Designer.cs
new file mode 100644
index 0000000..1498791
--- /dev/null
+++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.Designer.cs
@@ -0,0 +1,224 @@
+namespace OpenSim.GridLaunch.GUI.WinForm
+{
+ partial class ProcessPanel
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProcessPanel));
+ this.tabControl1 = new System.Windows.Forms.TabControl();
+ this.tabLogs = new System.Windows.Forms.TabPage();
+ this.btnShutdown = new System.Windows.Forms.Button();
+ this.pictureBox2 = new System.Windows.Forms.PictureBox();
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.pictureBox3 = new System.Windows.Forms.PictureBox();
+ this.tabSettings = new System.Windows.Forms.TabPage();
+ this.cblStartupComponents = new System.Windows.Forms.CheckedListBox();
+ this.gbStartupComponents = new System.Windows.Forms.GroupBox();
+ this.btnSave = new System.Windows.Forms.Button();
+ this.ucLogWindow1 = new OpenSim.GridLaunch.GUI.WinForm.ucLogWindow();
+ this.label1 = new System.Windows.Forms.Label();
+ this.tabControl1.SuspendLayout();
+ this.tabLogs.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
+ this.tabSettings.SuspendLayout();
+ this.gbStartupComponents.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // tabControl1
+ //
+ this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.tabControl1.Controls.Add(this.tabSettings);
+ this.tabControl1.Controls.Add(this.tabLogs);
+ this.tabControl1.Location = new System.Drawing.Point(-1, 123);
+ this.tabControl1.Name = "tabControl1";
+ this.tabControl1.SelectedIndex = 0;
+ this.tabControl1.Size = new System.Drawing.Size(632, 275);
+ this.tabControl1.TabIndex = 0;
+ //
+ // tabLogs
+ //
+ this.tabLogs.Controls.Add(this.ucLogWindow1);
+ this.tabLogs.Location = new System.Drawing.Point(4, 22);
+ this.tabLogs.Name = "tabLogs";
+ this.tabLogs.Padding = new System.Windows.Forms.Padding(3);
+ this.tabLogs.Size = new System.Drawing.Size(624, 249);
+ this.tabLogs.TabIndex = 0;
+ this.tabLogs.Text = "Logs";
+ this.tabLogs.UseVisualStyleBackColor = true;
+ //
+ // btnShutdown
+ //
+ this.btnShutdown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnShutdown.Location = new System.Drawing.Point(542, 400);
+ this.btnShutdown.Name = "btnShutdown";
+ this.btnShutdown.Size = new System.Drawing.Size(75, 23);
+ this.btnShutdown.TabIndex = 1;
+ this.btnShutdown.Text = "Shutdown";
+ this.btnShutdown.UseVisualStyleBackColor = true;
+ this.btnShutdown.Click += new System.EventHandler(this.btnShutdown_Click);
+ //
+ // pictureBox2
+ //
+ this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
+ this.pictureBox2.Location = new System.Drawing.Point(585, -1);
+ this.pictureBox2.Name = "pictureBox2";
+ this.pictureBox2.Size = new System.Drawing.Size(46, 124);
+ this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pictureBox2.TabIndex = 3;
+ this.pictureBox2.TabStop = false;
+ //
+ // pictureBox1
+ //
+ this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
+ this.pictureBox1.Location = new System.Drawing.Point(-1, -1);
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.Size = new System.Drawing.Size(586, 124);
+ this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
+ this.pictureBox1.TabIndex = 2;
+ this.pictureBox1.TabStop = false;
+ //
+ // pictureBox3
+ //
+ this.pictureBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.pictureBox3.Image = global::OpenSim.GridLaunch.Properties.Resources.OpenSim_Bottom_Border;
+ this.pictureBox3.Location = new System.Drawing.Point(-1, 120);
+ this.pictureBox3.Name = "pictureBox3";
+ this.pictureBox3.Size = new System.Drawing.Size(632, 310);
+ this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pictureBox3.TabIndex = 4;
+ this.pictureBox3.TabStop = false;
+ //
+ // tabSettings
+ //
+ this.tabSettings.Controls.Add(this.label1);
+ this.tabSettings.Controls.Add(this.btnSave);
+ this.tabSettings.Controls.Add(this.gbStartupComponents);
+ this.tabSettings.Location = new System.Drawing.Point(4, 22);
+ this.tabSettings.Name = "tabSettings";
+ this.tabSettings.Padding = new System.Windows.Forms.Padding(3);
+ this.tabSettings.Size = new System.Drawing.Size(624, 249);
+ this.tabSettings.TabIndex = 1;
+ this.tabSettings.Text = "Settings";
+ this.tabSettings.UseVisualStyleBackColor = true;
+ //
+ // cblStartupComponents
+ //
+ this.cblStartupComponents.CheckOnClick = true;
+ this.cblStartupComponents.FormattingEnabled = true;
+ this.cblStartupComponents.Location = new System.Drawing.Point(6, 19);
+ this.cblStartupComponents.Name = "cblStartupComponents";
+ this.cblStartupComponents.Size = new System.Drawing.Size(202, 109);
+ this.cblStartupComponents.TabIndex = 0;
+ //
+ // gbStartupComponents
+ //
+ this.gbStartupComponents.Controls.Add(this.cblStartupComponents);
+ this.gbStartupComponents.Location = new System.Drawing.Point(9, 6);
+ this.gbStartupComponents.Name = "gbStartupComponents";
+ this.gbStartupComponents.Size = new System.Drawing.Size(214, 136);
+ this.gbStartupComponents.TabIndex = 1;
+ this.gbStartupComponents.TabStop = false;
+ this.gbStartupComponents.Text = "Startup components";
+ //
+ // btnSave
+ //
+ this.btnSave.Location = new System.Drawing.Point(9, 148);
+ this.btnSave.Name = "btnSave";
+ this.btnSave.Size = new System.Drawing.Size(92, 23);
+ this.btnSave.TabIndex = 2;
+ this.btnSave.Text = "Save settings";
+ this.btnSave.UseVisualStyleBackColor = true;
+ this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
+ //
+ // ucLogWindow1
+ //
+ this.ucLogWindow1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ucLogWindow1.Location = new System.Drawing.Point(3, 3);
+ this.ucLogWindow1.Name = "ucLogWindow1";
+ this.ucLogWindow1.Size = new System.Drawing.Size(618, 243);
+ this.ucLogWindow1.TabIndex = 0;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(108, 149);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(259, 13);
+ this.label1.TabIndex = 3;
+ this.label1.Text = "* You have to restart app before changes take effect.";
+ //
+ // ProcessPanel
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(629, 428);
+ this.Controls.Add(this.pictureBox2);
+ this.Controls.Add(this.pictureBox1);
+ this.Controls.Add(this.btnShutdown);
+ this.Controls.Add(this.tabControl1);
+ this.Controls.Add(this.pictureBox3);
+ this.Name = "ProcessPanel";
+ this.Text = "OpenSim GUI alpha";
+ this.Load += new System.EventHandler(this.ProcessPanel_Load);
+ this.tabControl1.ResumeLayout(false);
+ this.tabLogs.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
+ this.tabSettings.ResumeLayout(false);
+ this.tabSettings.PerformLayout();
+ this.gbStartupComponents.ResumeLayout(false);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TabControl tabControl1;
+ private System.Windows.Forms.TabPage tabLogs;
+ private System.Windows.Forms.Button btnShutdown;
+ private ucLogWindow ucLogWindow1;
+ private System.Windows.Forms.PictureBox pictureBox1;
+ private System.Windows.Forms.PictureBox pictureBox2;
+ private System.Windows.Forms.PictureBox pictureBox3;
+ private System.Windows.Forms.TabPage tabSettings;
+ private System.Windows.Forms.GroupBox gbStartupComponents;
+ private System.Windows.Forms.CheckedListBox cblStartupComponents;
+ private System.Windows.Forms.Button btnSave;
+ private System.Windows.Forms.Label label1;
+
+ }
+}
\ No newline at end of file
--
cgit v1.1