private void DebugSerializeNote() { if (SelectedNote == null) { return; } DebugTextWindow.Show(Owner, XHelper.ConvertToStringFormatted(Repository.SerializeNote(SelectedNote)), "XHelper.ConvertToStringFormatted(Repository.SerializeNote(SelectedNote))"); }
public static void Show(Window owner, string text, string title) { var dtw = new DebugTextWindow { Owner = owner, Tb1 = { Text = text }, Title = title }; dtw.ShowDialog(); }
private void DebugSerializeSettings() { DebugTextWindow.Show(Owner, Settings.Serialize(), "Settings.Serialize()"); }
private void DebugSerializeRepositorySyncData() { DebugTextWindow.Show(Owner, Repository.GetSyncDataSerialized(), "Repository.SyncData.Serialize()"); }