개정판 68302e9d
- main window 수정
Change-Id: I825e1cdfb1cdb1929cb5984eb848518eea111e43
KCOM.sln | ||
---|---|---|
56 | 56 |
EndProject |
57 | 57 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KCOM_API_AutoStamping", "KCOM_API_AutoStamping\KCOM_API_AutoStamping.csproj", "{37154747-EA85-4EDE-BB48-E639D63E16A7}" |
58 | 58 |
EndProject |
59 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MarkupCreate", "MarkupCreate\MarkupCreate.csproj", "{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}" |
|
60 |
EndProject |
|
59 | 61 |
Global |
60 | 62 |
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
61 | 63 |
Debug_CadExport|Any CPU = Debug_CadExport|Any CPU |
... | ... | |
828 | 830 |
{37154747-EA85-4EDE-BB48-E639D63E16A7}.Release|x64.Build.0 = Release|Any CPU |
829 | 831 |
{37154747-EA85-4EDE-BB48-E639D63E16A7}.Release|x86.ActiveCfg = Release|Any CPU |
830 | 832 |
{37154747-EA85-4EDE-BB48-E639D63E16A7}.Release|x86.Build.0 = Release|Any CPU |
833 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_CadExport|Any CPU.ActiveCfg = Debug|Any CPU |
|
834 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_CadExport|Any CPU.Build.0 = Debug|Any CPU |
|
835 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_CadExport|x64.ActiveCfg = Debug|Any CPU |
|
836 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_CadExport|x64.Build.0 = Debug|Any CPU |
|
837 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_CadExport|x86.ActiveCfg = Debug|Any CPU |
|
838 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_CadExport|x86.Build.0 = Debug|Any CPU |
|
839 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_DevDoftech|Any CPU.ActiveCfg = Debug|Any CPU |
|
840 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_DevDoftech|Any CPU.Build.0 = Debug|Any CPU |
|
841 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_DevDoftech|x64.ActiveCfg = Debug|Any CPU |
|
842 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_DevDoftech|x64.Build.0 = Debug|Any CPU |
|
843 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_DevDoftech|x86.ActiveCfg = Debug|Any CPU |
|
844 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_DevDoftech|x86.Build.0 = Debug|Any CPU |
|
845 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_HyoSung|Any CPU.ActiveCfg = Debug|Any CPU |
|
846 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_HyoSung|Any CPU.Build.0 = Debug|Any CPU |
|
847 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_HyoSung|x64.ActiveCfg = Debug|Any CPU |
|
848 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_HyoSung|x64.Build.0 = Debug|Any CPU |
|
849 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_HyoSung|x86.ActiveCfg = Debug|Any CPU |
|
850 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_HyoSung|x86.Build.0 = Debug|Any CPU |
|
851 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_SNI|Any CPU.ActiveCfg = Debug|Any CPU |
|
852 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_SNI|Any CPU.Build.0 = Debug|Any CPU |
|
853 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_SNI|x64.ActiveCfg = Debug|Any CPU |
|
854 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_SNI|x64.Build.0 = Debug|Any CPU |
|
855 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_SNI|x86.ActiveCfg = Debug|Any CPU |
|
856 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug_SNI|x86.Build.0 = Debug|Any CPU |
|
857 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
858 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
859 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug|x64.ActiveCfg = Debug|Any CPU |
|
860 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug|x64.Build.0 = Debug|Any CPU |
|
861 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug|x86.ActiveCfg = Debug|Any CPU |
|
862 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Debug|x86.Build.0 = Debug|Any CPU |
|
863 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_Hyosung|Any CPU.ActiveCfg = Release|Any CPU |
|
864 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_Hyosung|Any CPU.Build.0 = Release|Any CPU |
|
865 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_Hyosung|x64.ActiveCfg = Release|Any CPU |
|
866 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_Hyosung|x64.Build.0 = Release|Any CPU |
|
867 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_Hyosung|x86.ActiveCfg = Release|Any CPU |
|
868 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_Hyosung|x86.Build.0 = Release|Any CPU |
|
869 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_PEMSS|Any CPU.ActiveCfg = Release|Any CPU |
|
870 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_PEMSS|Any CPU.Build.0 = Release|Any CPU |
|
871 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_PEMSS|x64.ActiveCfg = Release|Any CPU |
|
872 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_PEMSS|x64.Build.0 = Release|Any CPU |
|
873 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_PEMSS|x86.ActiveCfg = Release|Any CPU |
|
874 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release_PEMSS|x86.Build.0 = Release|Any CPU |
|
875 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
876 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release|Any CPU.Build.0 = Release|Any CPU |
|
877 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release|x64.ActiveCfg = Release|Any CPU |
|
878 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release|x64.Build.0 = Release|Any CPU |
|
879 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release|x86.ActiveCfg = Release|Any CPU |
|
880 |
{E1427F3F-5D7B-4FF7-A4EA-88B2FBE1785A}.Release|x86.Build.0 = Release|Any CPU |
|
831 | 881 |
EndGlobalSection |
832 | 882 |
GlobalSection(SolutionProperties) = preSolution |
833 | 883 |
HideSolutionNode = FALSE |
KCOM/Controls/AdornerFinal.xaml | ||
---|---|---|
2 | 2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
5 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
|
5 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
|
6 |
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
|
6 | 7 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
7 | 8 |
xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" |
8 | 9 |
mc:Ignorable="d" xmlns:behavior="clr-namespace:KCOM.Common" |
KCOM/Controls/CustomWindow.cs | ||
---|---|---|
38 | 38 |
} |
39 | 39 |
} |
40 | 40 |
|
41 |
public partial class VS2012WindowStyle
|
|
41 |
public class CustomWindow : Window
|
|
42 | 42 |
{ |
43 |
public Rect NomalWindowArea |
|
44 |
{ |
|
45 |
get { return (Rect)GetValue(NomalWindowAreaProperty); } |
|
46 |
set { SetValue(NomalWindowAreaProperty, value); } |
|
47 |
} |
|
48 |
|
|
49 |
public static readonly DependencyProperty NomalWindowAreaProperty = DependencyProperty.Register("NomalWindowArea", typeof(Rect),typeof(CustomWindow), null); |
|
50 |
|
|
51 |
|
|
52 |
public WindowState CustomState |
|
53 |
{ |
|
54 |
get { return (WindowState)GetValue(CustomStateProperty); } |
|
55 |
set { SetValue(CustomStateProperty, value); } |
|
56 |
} |
|
57 |
|
|
58 |
public static readonly DependencyProperty CustomStateProperty = DependencyProperty.Register("CustomState", typeof(WindowState), |
|
59 |
typeof(CustomWindow), new FrameworkPropertyMetadata(WindowState.Normal, new PropertyChangedCallback(CustomStatePropertyChanged))); |
|
43 | 60 |
|
44 |
#region sizing event handlers |
|
61 |
private static void CustomStatePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) |
|
62 |
{ |
|
63 |
|
|
64 |
} |
|
45 | 65 |
|
66 |
protected override void OnStateChanged(EventArgs e) |
|
67 |
{ |
|
68 |
base.OnStateChanged(e); |
|
69 |
} |
|
70 |
} |
|
71 |
|
|
72 |
public partial class VS2012WindowStyle |
|
73 |
{ |
|
46 | 74 |
void OnSizeSouth(object sender, MouseButtonEventArgs e) { OnSize(sender, SizingAction.South); } |
47 | 75 |
void OnSizeNorth(object sender, MouseButtonEventArgs e) { OnSize(sender, SizingAction.North); } |
48 | 76 |
void OnSizeEast(object sender, MouseButtonEventArgs e) { OnSize(sender, SizingAction.East); } |
... | ... | |
58 | 86 |
{ |
59 | 87 |
sender.ForWindowFromTemplate(w => |
60 | 88 |
{ |
61 |
if (w.WindowState == WindowState.Normal) |
|
89 |
var win = w as CustomWindow; |
|
90 |
|
|
91 |
if (win.CustomState == WindowState.Normal) |
|
62 | 92 |
DragSize(w.GetWindowHandle(), action); |
63 | 93 |
}); |
64 | 94 |
} |
... | ... | |
91 | 121 |
{ |
92 | 122 |
sender.ForWindowFromTemplate(w => |
93 | 123 |
{ |
94 |
if (w.WindowState == WindowState.Maximized) |
|
124 |
var win = w as CustomizedWindow.CustomWindow; |
|
125 |
|
|
126 |
if (win.CustomState == WindowState.Maximized) |
|
95 | 127 |
{ |
96 |
w.WindowState = WindowState.Normal; |
|
128 |
win.WindowState = WindowState.Normal; |
|
129 |
win.CustomState = WindowState.Normal; |
|
130 |
|
|
131 |
win.Dispatcher.Invoke(() => |
|
132 |
{ |
|
133 |
win.Left = win.NomalWindowArea.X; |
|
134 |
win.Top = win.NomalWindowArea.Y; |
|
135 |
win.Width = win.NomalWindowArea.Width; |
|
136 |
win.Height = win.NomalWindowArea.Height; |
|
137 |
}); |
|
97 | 138 |
} |
98 | 139 |
else |
99 | 140 |
{ |
100 |
w.WindowState = WindowState.Maximized; |
|
141 |
win.WindowState = WindowState.Normal; |
|
142 |
win.CustomState = WindowState.Maximized; |
|
143 |
|
|
144 |
var screen = GetOnScreen(w); |
|
145 |
|
|
146 |
win.NomalWindowArea = new Rect(win.Left, win.Top, win.Width, win.Height); |
|
147 |
|
|
148 |
win.Dispatcher.Invoke(() => |
|
149 |
{ |
|
150 |
win.Left = screen.WorkingArea.X; |
|
151 |
win.Width = screen.WorkingArea.Width; |
|
152 |
win.Top = 0; |
|
153 |
win.Height = screen.WorkingArea.Height; |
|
154 |
}); |
|
101 | 155 |
} |
102 | 156 |
}); |
103 | 157 |
} |
104 | 158 |
|
159 |
public System.Windows.Forms.Screen GetOnScreen(Window window) |
|
160 |
{ |
|
161 |
var windowRect = new System.Drawing.Rectangle((int)window.Left, (int)window.Top, (int)window.Width, (int)window.Height); |
|
162 |
return System.Windows.Forms.Screen.FromRectangle(windowRect); |
|
163 |
} |
|
164 |
|
|
105 | 165 |
void TitleBarMouseDoubleClick(object sender, MouseButtonEventArgs e) |
106 | 166 |
{ |
107 | 167 |
|
... | ... | |
186 | 246 |
return result; |
187 | 247 |
} |
188 | 248 |
|
189 |
#endregion |
|
249 |
|
|
190 | 250 |
|
191 | 251 |
#region P/Invoke |
192 | 252 |
|
KCOM/Events/Event_KeyEvent.cs | ||
---|---|---|
18 | 18 |
|
19 | 19 |
namespace KCOM |
20 | 20 |
{ |
21 |
public partial class MainWindow : Window |
|
21 |
public partial class MainWindow : KCOM.Controls.CustomizedWindow.CustomWindow
|
|
22 | 22 |
{ |
23 | 23 |
public double CumulativeWheel = 0; |
24 | 24 |
MarkupToPDF.Controls.Parsing.MarkupParser.MarkupReturn markupReturn = new MarkupToPDF.Controls.Parsing.MarkupParser.MarkupReturn(); |
KCOM/MainWindow.xaml | ||
---|---|---|
1 |
<Window x:Class="KCOM.MainWindow" |
|
1 |
<cWin:CustomWindow x:Class="KCOM.MainWindow"
|
|
2 | 2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
... | ... | |
8 | 8 |
xmlns:view="clr-namespace:KCOM.Views" |
9 | 9 |
mc:Ignorable="d" WindowStartupLocation="CenterScreen" |
10 | 10 |
Style="{StaticResource VS2012WindowStyle}" |
11 |
xmlns:cWin="clr-namespace:KCOM.Controls.CustomizedWindow" |
|
12 |
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
|
11 | 13 |
Background="{DynamicResource KCOMColor_TopMenubackgroundBrush}" |
12 | 14 |
telerik:TabNavigationExtensions.IsTabStop="False" |
13 | 15 |
Title="MARKUS" > |
... | ... | |
19 | 21 |
<view:TopMenu x:Name="dzTopMenu" VerticalAlignment="Top"/> |
20 | 22 |
<view:MainMenu x:Name="dzMainMenu" Grid.Row="1" VerticalAlignment="Stretch"/> |
21 | 23 |
</Grid> |
22 |
</Window> |
|
24 |
</cWin:CustomWindow> |
KCOM/MainWindow.xaml.cs | ||
---|---|---|
37 | 37 |
/// <summary> |
38 | 38 |
/// MainWindow.xaml에 대한 상호 작용 논리 |
39 | 39 |
/// </summary> |
40 |
public partial class MainWindow : Window |
|
40 |
public partial class MainWindow : KCOM.Controls.CustomizedWindow.CustomWindow
|
|
41 | 41 |
{ |
42 | 42 |
bool isSaveCheck = false; |
43 | 43 |
|
KCOM/Resources/WindowStyle.xaml | ||
---|---|---|
1 | 1 |
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
2 | 2 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
3 | 3 |
x:Class="KCOM.Controls.CustomizedWindow.VS2012WindowStyle" |
4 |
xmlns:cWin="clr-namespace:KCOM.Controls.CustomizedWindow" |
|
4 | 5 |
xmlns:local="clr-namespace:KCOM.Controls"> |
5 | 6 |
|
6 | 7 |
<SolidColorBrush x:Key="TitleBarBackgroundBrush" Color="#FF2A579A" /> |
... | ... | |
38 | 39 |
</Setter> |
39 | 40 |
</Style> |
40 | 41 |
|
41 |
<Style x:Key="VS2012WindowStyle" TargetType="{x:Type Window}"> |
|
42 |
<Style x:Key="VS2012WindowStyle" TargetType="{x:Type cWin:CustomWindow}">
|
|
42 | 43 |
<Setter Property="AllowsTransparency" Value="true" /> |
43 | 44 |
<Setter Property="WindowStyle" Value="None" /> |
44 | 45 |
<Setter Property="Background" Value="Transparent" /> |
... | ... | |
46 | 47 |
<Setter Property="Foreground" Value="White"/> |
47 | 48 |
<Setter Property="Template"> |
48 | 49 |
<Setter.Value> |
49 |
<ControlTemplate TargetType="{x:Type Window}"> |
|
50 |
<ControlTemplate TargetType="{x:Type cWin:CustomWindow}">
|
|
50 | 51 |
<!-- |
51 | 52 |
7 is a magic number. By default Windows fits a maximized window with Margin |
52 | 53 |
7 7 7 7 to fill entire screen (WPF .Net 4.5). Larger numbers produce a gap |
... | ... | |
54 | 55 |
the window outside of the current monitor on multi-display computers. |
55 | 56 |
--> |
56 | 57 |
<Grid |
57 |
Margin="7" |
|
58 |
TextOptions.TextRenderingMode="ClearType" |
|
59 |
TextOptions.TextFormattingMode="Display"> |
|
58 |
TextOptions.TextRenderingMode="Auto" TextOptions.TextFormattingMode="Ideal"> |
|
60 | 59 |
<Border |
61 | 60 |
x:Name="PART_Border" |
62 | 61 |
Width="Auto" |
63 | 62 |
Height="Auto" |
64 |
Background="#EFEFF2"
|
|
65 |
BorderBrush="{StaticResource VS2012WindowBorderBrush}"
|
|
63 |
Background="#1B1811"
|
|
64 |
BorderBrush="#FF1D2D44"
|
|
66 | 65 |
BorderThickness="1" |
67 | 66 |
Padding="0"> |
68 |
<Border.Effect> |
|
69 |
<DropShadowEffect |
|
70 |
Color="black" |
|
71 |
Opacity="0.5" |
|
72 |
BlurRadius="7" |
|
73 |
ShadowDepth="2" |
|
74 |
Direction="315"/> |
|
75 |
</Border.Effect> |
|
76 |
<DockPanel |
|
67 |
<Border BorderThickness="2" BorderBrush="#FF293C57"> |
|
68 |
<DockPanel |
|
77 | 69 |
HorizontalAlignment="Stretch" |
78 | 70 |
Background="Transparent" |
79 | 71 |
VerticalAlignment="Stretch" |
... | ... | |
178 | 170 |
</Border> |
179 | 171 |
<ContentPresenter /> |
180 | 172 |
</DockPanel> |
173 |
</Border> |
|
181 | 174 |
</Border> |
182 | 175 |
<Line |
183 | 176 |
MouseDown="OnSizeNorth" |
... | ... | |
185 | 178 |
Stroke="Transparent" |
186 | 179 |
Cursor="SizeNS" |
187 | 180 |
X1="1" X2="{TemplateBinding ActualWidth}" Y1="1" Y2="1" |
188 |
StrokeThickness="3"
|
|
181 |
StrokeThickness="4"
|
|
189 | 182 |
/> |
190 | 183 |
<Line |
191 | 184 |
MouseDown="OnSizeSouth" |
... | ... | |
194 | 187 |
VerticalAlignment="Bottom" |
195 | 188 |
Cursor="SizeNS" |
196 | 189 |
X1="1" X2="{TemplateBinding ActualWidth}" Y1="{TemplateBinding ActualHeight}" Y2="{TemplateBinding ActualHeight}" |
197 |
StrokeThickness="3"
|
|
190 |
StrokeThickness="4"
|
|
198 | 191 |
/> |
199 | 192 |
<Line |
200 | 193 |
MouseDown="OnSizeWest" |
... | ... | |
202 | 195 |
Stroke="Transparent" |
203 | 196 |
Cursor="SizeWE" |
204 | 197 |
X1="1" X2="1" Y1="1" Y2="{TemplateBinding ActualHeight}" |
205 |
StrokeThickness="3"
|
|
198 |
StrokeThickness="4"
|
|
206 | 199 |
/> |
207 | 200 |
<Line |
208 | 201 |
MouseDown="OnSizeEast" |
... | ... | |
211 | 204 |
HorizontalAlignment="Right" |
212 | 205 |
Cursor="SizeWE" |
213 | 206 |
X1="{TemplateBinding ActualWidth}" X2="{TemplateBinding ActualWidth}" Y1="1" Y2="{TemplateBinding ActualHeight}" |
214 |
StrokeThickness="3"
|
|
207 |
StrokeThickness="4"
|
|
215 | 208 |
/> |
216 | 209 |
<Rectangle MouseDown="OnSizeNorthWest" x:Name="rectSizeNorthWest" Cursor="SizeNWSE" Fill="Transparent" Width="5" Height="5" VerticalAlignment="Top" HorizontalAlignment="Left" /> |
217 | 210 |
<Rectangle MouseDown="OnSizeNorthEast" x:Name="rectSizeNorthEast" Cursor="SizeNESW" Fill="Transparent" Width="5" Height="5" VerticalAlignment="Top" HorizontalAlignment="Right" /> |
... | ... | |
219 | 212 |
<Rectangle MouseDown="OnSizeSouthEast" x:Name="rectSizeSouthEast" Cursor="SizeNWSE" Fill="Transparent" Width="5" Height="5" VerticalAlignment="Bottom" HorizontalAlignment="Right" /> |
220 | 213 |
</Grid> |
221 | 214 |
<ControlTemplate.Triggers> |
222 |
<Trigger Property="WindowState" Value="Maximized">
|
|
215 |
<Trigger Property="CustomState" Value="Maximized">
|
|
223 | 216 |
<Setter TargetName="PART_MaxButton_Path" Property="Data" Value="M0,3 H5 V8 H0 V3 M0,4 H5 M3,0 H8 V5 H7 M3,1 H8"/> |
224 |
<Setter TargetName="lnSizeNorth" Property="Cursor" Value="None"/>
|
|
225 |
<Setter TargetName="lnSizeSouth" Property="Cursor" Value="None"/>
|
|
226 |
<Setter TargetName="lnSizeWest" Property="Cursor" Value="None"/>
|
|
227 |
<Setter TargetName="lnSizeEast" Property="Cursor" Value="None"/>
|
|
228 |
<Setter TargetName="rectSizeNorthWest" Property="Cursor" Value="None"/>
|
|
229 |
<Setter TargetName="rectSizeNorthEast" Property="Cursor" Value="None"/>
|
|
230 |
<Setter TargetName="rectSizeSouthWest" Property="Cursor" Value="None"/>
|
|
231 |
<Setter TargetName="rectSizeSouthEast" Property="Cursor" Value="None"/>
|
|
217 |
<Setter TargetName="lnSizeNorth" Property="Visibility" Value="Hidden"/>
|
|
218 |
<Setter TargetName="lnSizeSouth" Property="Visibility" Value="Hidden"/>
|
|
219 |
<Setter TargetName="lnSizeWest" Property="Visibility" Value="Hidden"/>
|
|
220 |
<Setter TargetName="lnSizeEast" Property="Visibility" Value="Hidden"/>
|
|
221 |
<Setter TargetName="rectSizeNorthWest" Property="Visibility" Value="Hidden"/>
|
|
222 |
<Setter TargetName="rectSizeNorthEast" Property="Visibility" Value="Hidden"/>
|
|
223 |
<Setter TargetName="rectSizeSouthWest" Property="Visibility" Value="Hidden"/>
|
|
224 |
<Setter TargetName="rectSizeSouthEast" Property="Visibility" Value="Hidden"/>
|
|
232 | 225 |
</Trigger> |
233 | 226 |
<Trigger Property="IsActive" Value="False"> |
234 |
<Setter TargetName="PART_Border" Property="BorderBrush" Value="{StaticResource VS2012WindowBorderBrushInactive}"/>
|
|
227 |
<Setter TargetName="PART_Border" Property="BorderBrush" Value="#54626F"/>
|
|
235 | 228 |
</Trigger> |
236 | 229 |
</ControlTemplate.Triggers> |
237 | 230 |
</ControlTemplate> |
KCOM_API/Web.config | ||
---|---|---|
10 | 10 |
</sectionGroup> |
11 | 11 |
</configSections> |
12 | 12 |
<connectionStrings> |
13 |
<!--효성 Connection String--> |
|
14 | 13 |
<add name="ConnectionString" |
15 |
connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string="data source=10.11.252.2,9875;initial catalog=markus;persist security info=True;user id=ProjectPortalDBConn;password=ProjectPortalDBConn;multipleactiveresultsets=True;App=EntityFramework""
|
|
14 |
connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string="data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework""
|
|
16 | 15 |
providerName="System.Data.EntityClient"/> |
17 | 16 |
<add name="CIConnectionString" |
18 |
connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string="data source=10.11.252.2,9875;initial catalog=markus;persist security info=True;user id=ProjectPortalDBConn;password=ProjectPortalDBConn;multipleactiveresultsets=True;App=EntityFramework""
|
|
17 |
connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider=System.Data.SqlClient;provider connection string="data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;App=EntityFramework""
|
|
19 | 18 |
providerName="System.Data.EntityClient"/> |
20 | 19 |
</connectionStrings> |
21 | 20 |
<!-- |
... | ... | |
82 | 81 |
<applicationSettings> |
83 | 82 |
<KCOM_API.Properties.Settings> |
84 | 83 |
<setting name="TileSoucePath" serializeAs="String"> |
85 |
<value>http://10.11.252.3/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
|
|
84 |
<value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
|
|
86 | 85 |
</setting> |
87 | 86 |
<setting name="TileSoucePath_SUB" serializeAs="String"> |
88 |
<value>http://10.11.252.3/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
|
|
87 |
<value>http://192.168.0.67:5977/TileSource/{0}_Tile/{1}/{2}/{3}.png</value>
|
|
89 | 88 |
</setting> |
90 | 89 |
<setting name="IsProjectNoPass" serializeAs="String"> |
91 | 90 |
<value>True</value> |
내보내기 Unified diff