LoadLayout() public static method

public static LoadLayout ( SuperPutty.Data.LayoutData layout ) : void
layout SuperPutty.Data.LayoutData
return void
Esempio n. 1
0
        private void loadToolStripMenuItem_Click(object sender, EventArgs e)
        {
            LayoutData layout = (LayoutData)this.listBoxLayouts.SelectedItem;

            if (layout != null)
            {
                SuperPuTTY.LoadLayout(layout);
            }
        }
Esempio n. 2
0
        private void listBoxLayouts_DoubleClick(object sender, EventArgs e)
        {
            int idx = IndexAtCursor();

            if (idx != -1)
            {
                LayoutData layout = (LayoutData)this.listBoxLayouts.Items[idx];
                if (layout != null)
                {
                    SuperPuTTY.LoadLayout(layout);
                }
            }
        }