public static LoadLayout ( SuperPutty.Data.LayoutData layout ) : void | ||
layout | SuperPutty.Data.LayoutData | |
return | void |
private void loadToolStripMenuItem_Click(object sender, EventArgs e) { LayoutData layout = (LayoutData)this.listBoxLayouts.SelectedItem; if (layout != null) { SuperPuTTY.LoadLayout(layout); } }
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); } } }