RemoveLayout() 공개 정적인 메소드

public static RemoveLayout ( String name, bool deleteFile ) : void
name String
deleteFile bool
리턴 void
예제 #1
0
        private void deleteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            LayoutData layout = (LayoutData)this.listBoxLayouts.SelectedItem;

            if (layout != null)
            {
                if (DialogResult.Yes == MessageBox.Show(this, "Delete Layout (" + layout.Name + ")?", "Delete Layout", MessageBoxButtons.YesNo, MessageBoxIcon.Warning))
                {
                    SuperPuTTY.RemoveLayout(layout.Name, true);
                }
            }
        }