protected void HandleOkPress() { try { Path = System.IO.Path.GetFullPath(PathTextField.Text.ToString()); FwTui.ReloadActiveNcas(); FwTui.NcaInfoWM.ShowNcaInfo(); } catch { } }
protected void HandleOkPress() { if (!Directory.Exists(PathTextField.Text.ToString())) { ShowInvalidPathDialog(); return; } Path = System.IO.Path.GetFullPath(PathTextField.Text.ToString()); FwTui.FwDir = Path; FwTui.ReloadActiveNcas(); FwTui.InfoWin.RemoveAll(); }