コード例 #1
0
 public void SetSettings(DashboardState state)
 {
     Name               = state.Name;
     InitWidth          = state.InitWidth;
     InitHeight         = state.InitHeight;
     IsDimensionsLocked = state.IsDimensionsLocked;
 }
コード例 #2
0
        public DashboardState GenerateSettings()
        {
            DashboardState state = new DashboardState
            {
                Name               = Name,
                InitHeight         = InitHeight,
                InitWidth          = InitWidth,
                IsDimensionsLocked = IsDimensionsLocked
            };

            return(state);
        }