this.ctxTreyRestore = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.ctxTreyExit = new System.Windows.Forms.ToolStripMenuItem();
+ this.loginToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStrip1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
this.tmnuImport,
this.scriptEditorToolStripMenuItem,
this.toolStripMenuItem3,
+ this.loginToolStripMenuItem,
this.disconnectToolStripMenuItem,
this.reconnectToolStripMenuItem,
this.tmnuPrefs,
this.tbnObjects.Size = new System.Drawing.Size(51, 22);
this.tbnObjects.Text = "Objects";
this.tbnObjects.ToolTipText = "Displays a list of nearby objects that you can perform various operations on (Alt" +
- "-7)";
+ "-7)";
this.tbnObjects.Click += new System.EventHandler(this.tbnObjects_Click);
//
// lblTime
this.ctxTreyExit.ToolTipText = "Loggs of and closes application";
this.ctxTreyExit.Click += new System.EventHandler(this.ctxTreyExit_Click);
//
+ // loginToolStripMenuItem
+ //
+ this.loginToolStripMenuItem.Enabled = false;
+ this.loginToolStripMenuItem.Name = "loginToolStripMenuItem";
+ this.loginToolStripMenuItem.Size = new System.Drawing.Size(157, 22);
+ this.loginToolStripMenuItem.Text = "Login";
+ this.loginToolStripMenuItem.Click += new System.EventHandler(this.loginToolStripMenuItem_Click);
+ //
// frmMain
//
this.AutoSavePosition = true;
this.MinimumSize = new System.Drawing.Size(754, 541);
this.Name = "frmMain";
this.Text = "Radegast";
- this.Load += new System.EventHandler(this.frmMain_Load);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmMain_FormClosing);
- this.Resize += new System.EventHandler(this.frmMain_Resize);
+ this.Load += new System.EventHandler(this.frmMain_Load);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.frmMain_KeyDown);
+ this.Resize += new System.EventHandler(this.frmMain_Resize);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.statusStrip1.ResumeLayout(false);
public System.Windows.Forms.ToolStripMenuItem muteListToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem myAttachmentsToolStripMenuItem;
public System.Windows.Forms.ToolStripButton tsb3D;
+ public System.Windows.Forms.ToolStripMenuItem loginToolStripMenuItem;
}
}
{
InAutoReconnect = false;
reconnectToolStripMenuItem.Enabled = false;
+ loginToolStripMenuItem.Enabled = false;
tsb3D.Enabled = tbtnVoice.Enabled = disconnectToolStripMenuItem.Enabled =
tbtnGroups.Enabled = tbnObjects.Enabled = tbtnWorld.Enabled = tbnTools.Enabled = tmnuImport.Enabled =
tbtnFriends.Enabled = tbtnInventory.Enabled = tbtnSearch.Enabled = tbtnMap.Enabled = true;
tbtnFriends.Enabled = tbtnInventory.Enabled = tbtnSearch.Enabled = tbtnMap.Enabled = false;
reconnectToolStripMenuItem.Enabled = true;
+ loginToolStripMenuItem.Enabled = true;
InAutoReconnect = false;
if (statusTimer != null)
}
}
}
+
+ private void loginToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ TabConsole.InitializeMainTab();
+ TabConsole.Tabs["login"].Select();
+ }
}
}
\ No newline at end of file