프로젝트

일반

사용자정보

개정판 d0eda156

IDd0eda1562b5e451c2d141200635dee3ac7dbae6b
상위 7b8f5809
하위 16f1ded9

이지연이(가) 5년 이상 전에 추가함

issue #1001 사용자가 썸네일 크기를 수정했을때 ini에 저장

Change-Id: I9e1815addeb2a79811390479bfafae78d86cff98

차이점 보기:

CommonLib/Common.cs
14 14
        [DllImport("kernel32")]
15 15
        private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);
16 16

  
17
        [DllImport("kernel32")]
18
        private static extern long WritePrivateProfileString(string section, string key, string val, string filePath);
19

  
17 20
        public static string AppDataFolder
18 21
        {
19 22
            get
......
37 40
        }
38 41

  
39 42
        /// <summary>
43
        /// Client 에 설치된 MARKUS.ini 를 참조.
44
        /// </summary>
45
        /// <param name="section"></param>
46
        /// <param name="key"></param>
47
        /// <param name="def"></param>
48
        /// <returns></returns>
49
        public static void WriteConfigString(string section, string key, string value)
50
        {
51
            WritePrivateProfileString(section, key, value, Path.Combine(AppDataFolder, "MARKUS.ini"));            
52
        }
53

  
54
        /// <summary>
40 55
        /// isExternal 이 True 이면 Internal IP를 External 로 치환하여 Return
41 56
        /// </summary>
42 57
        /// <param name="section"></param>
KCOM/Views/MainMenu.xaml
486 486
            </telerik:RadDocking.DocumentHost>
487 487

  
488 488

  
489
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" x:Name="thumbnailPanel">
489
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" x:Name="thumbnailPanel" SizeChanged="thumbnailPanel_SizeChanged">
490 490
                <!-- Width="250" MinWidth="250" -->
491 491
                <!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
492 492
                <telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi">
KCOM/Views/MainMenu.xaml.cs
5150 5150
            e.Effects = DragDropEffects.None;
5151 5151
        }
5152 5152

  
5153
        private void thumbnailPanel_SizeChanged(object sender, SizeChangedEventArgs e)
5154
        {
5155
            CommonLib.Common.WriteConfigString("SetThumbnail", "WIDTH", thumbnailPanel.Width.ToString());
5156
        }
5157

  
5153 5158
        /*
5154 5159
        private void zoomAndPanControl_Drop(object sender, DragEventArgs e)
5155 5160
        {

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)