SuperPutty.ctlPuttyPanel.ctlPuttyPanel C# (CSharp) Method

ctlPuttyPanel() public method

public ctlPuttyPanel ( SuperPutty.SessionData session, PuttyClosedCallback callback ) : System
session SuperPutty.SessionData
callback PuttyClosedCallback
return System
        public ctlPuttyPanel(SessionData session, PuttyClosedCallback callback)
        {
            m_Session = session;
            m_ApplicationExit = callback;
            m_puttyStartInfo = new PuttyStartInfo(session);

            InitializeComponent();

            this.Text = session.SessionName;
            this.TabText = session.SessionName;
            this.ToolTipText = session.SessionName;
            this.TextOverride = session.SessionName;
            this.inactive = false;

            CreatePanel();
            AdjustMenu();
        }