示例#1
0
 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();
        }
示例#3
0
 private void DebugSerializeSettings()
 {
     DebugTextWindow.Show(Owner, Settings.Serialize(), "Settings.Serialize()");
 }
示例#4
0
 private void DebugSerializeRepositorySyncData()
 {
     DebugTextWindow.Show(Owner, Repository.GetSyncDataSerialized(), "Repository.SyncData.Serialize()");
 }