Example #1
0
 private void AutoSave()
 {
     LayoutAutoSave.LazySaveData(Scheme.SplitScreenData);
     if (LayoutDataChanged != null)
     {
         LayoutDataChanged();
     }
 }
Example #2
0
        private void LoadScheme()
        {
            SplitScreenModel scheme = new SplitScreenModel(false);

            scheme.SplitScreenData = LayoutAutoSave.LoadData();
            if (scheme.SplitScreenData == null)
            {
                scheme.SplitScreenData = new Model.SplitScreenInfo()
                {
                    Split = 1,
                    Nodes = new Model.SplitScreenNode[]
                    {
                        new Model.SplitScreenNode()
                    }
                }
            }
            ;
            Scheme = scheme;
        }