public SetLayout ( |
||
layout | ||
Résultat | void |
public void SetLayout(Layout layout)
{
SaveNow();
CurrentBook.SetLayout(layout);
CurrentBook.PrepareForEditing();
_view.UpdateSingleDisplayedPage(_pageSelection.CurrentSelection);
_view.UpdatePageList(true);//counting on this to redo the thumbnails
}
void OnPaperSizeAndOrientationMenuClick(object sender, EventArgs e) { var item = (ToolStripMenuItem)sender; _model.SetLayout((Layout)item.Tag); UpdateDisplay(); }