//------------------------------------------------------------------------- private void buttonOpen_Click(object sender, EventArgs e) { string name = comboBoxFormats.Text; FormContentPresenter fcp = new FormContentPresenter(name); this.NavigationController.PresentViewController (fcp, true, null); //fcp.Push(); System.Diagnostics.Debug.WriteLine ("BUTTON OPEN CLICKED!"); return; }
//------------------------------------------------------------------------- private void buttonOpen_Click(object sender, EventArgs e) { if (null != comboBoxFormats.SelectedItem) { string name = comboBoxFormats.SelectedItem.ToString(); FormContentPresenter fcp = new FormContentPresenter(name); fcp.Show(); } return; }