Exemple #1
0
        public void SaveWindow()
        {
            lock (lockObject)
            {
                var dateStr = DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss");
                if (WindowManager.IsSave)
                {
                    InfoText.Text = $"{Properties.Resources.SaveTrue} {dateStr}";
                }
                else
                {
                    InfoText.Text = $"{Properties.Resources.SaveFalse} {dateStr}";
                }

                if (!WindowManager.IsSave)
                {
                    return;
                }
                wm.GetWindowList();
                var m = new MultiMonitor();
                wm.SetBelongMonitor(m);
                wm.Save();
                DebugBlock.Text = $"{m.ToString()}";
            }
        }