private void ShowRenameWindow() { NameInputView nameInput = new NameInputView(); nameInput.Ok += this.NameInput_OK; nameInput.Cancel += this.NameInput_Cancel; nameInput.Name = this.Title; this.PresentViewController(nameInput, true, null); }
private void RequestName() { NameInputView nameInput = new NameInputView(); nameInput.ModalInPopover = true; nameInput.Ok += this.NameInput_Ok; nameInput.Cancel += this.NameInput_Cancel; nameInput.Name = this.Title; this.PresentViewController(nameInput, true, null); }