/// <summary>
 /// Opens the selected session when the node is double clicked in the treeview
 /// </summary>
 /// <param name="sender">The treeview control that was double clicked</param>
 /// <param name="e">An Empty EventArgs object</param>
 private void treeView1_DoubleClick(object sender, EventArgs e)
 {
     if (treeView1.SelectedNode.ImageIndex > 0)
     {
         SessionData sessionData = (SessionData)treeView1.SelectedNode.Tag;
         m_PuttyWrap.CreatePuttyPanel(sessionData);
     }
 }
Example #2
0
        private void duplicateSessionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SessionData sessionData = new SessionData(m_Session);

            m_PuttyWrap.CreatePuttyPanel(sessionData);
        }