프로젝트

일반

사용자정보

개정판 2a2d2a97

ID2a2d2a9761418cecad3c44775e46cfa49baf538d
상위 ec5dc86d
하위 674e86a7

조봉훈이(가) 약 2년 전에 추가함

Add Dwg2Igr project: Convert WBlock DWG to IGR file

Change-Id: I46b1c3bf36908fc34ce685f0c593233039e3bfa6

차이점 보기:

DTI_PID/DTI_PID.sln
11 11
EndProject
12 12
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ID2PSN", "ID2PSN\ID2PSN.csproj", "{202B8B3F-2070-4643-A43B-2C57B36B8D63}"
13 13
EndProject
14
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dwg2Igr", "Dwg2Igr\Dwg2Igr.csproj", "{1624E62C-5AC6-407F-80D5-56D029ED8880}"
15
EndProject
14 16
Global
15 17
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
16 18
		Debug|Any CPU = Debug|Any CPU
......
69 71
		{202B8B3F-2070-4643-A43B-2C57B36B8D63}.Release|x64.Build.0 = Release|Any CPU
70 72
		{202B8B3F-2070-4643-A43B-2C57B36B8D63}.Release|x86.ActiveCfg = Release|Any CPU
71 73
		{202B8B3F-2070-4643-A43B-2C57B36B8D63}.Release|x86.Build.0 = Release|Any CPU
74
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
75
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Debug|Any CPU.Build.0 = Debug|Any CPU
76
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Debug|x64.ActiveCfg = Debug|Any CPU
77
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Debug|x64.Build.0 = Debug|Any CPU
78
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Debug|x86.ActiveCfg = Debug|Any CPU
79
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Debug|x86.Build.0 = Debug|Any CPU
80
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Release|Any CPU.ActiveCfg = Release|Any CPU
81
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Release|Any CPU.Build.0 = Release|Any CPU
82
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Release|x64.ActiveCfg = Release|Any CPU
83
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Release|x64.Build.0 = Release|Any CPU
84
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Release|x86.ActiveCfg = Release|Any CPU
85
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Release|x86.Build.0 = Release|Any CPU
72 86
	EndGlobalSection
73 87
	GlobalSection(SolutionProperties) = preSolution
74 88
		HideSolutionNode = FALSE
DTI_PID/Dwg2Igr/App.config
1
<?xml version="1.0" encoding="utf-8" ?>
2
<configuration>
3
    <startup> 
4
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
5
    </startup>
6
</configuration>
DTI_PID/Dwg2Igr/Dwg2Igr.csproj
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
  <PropertyGroup>
5
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
    <ProjectGuid>{1624E62C-5AC6-407F-80D5-56D029ED8880}</ProjectGuid>
8
    <OutputType>Exe</OutputType>
9
    <RootNamespace>Converter.SPPID.Dwg2Igr</RootNamespace>
10
    <AssemblyName>Dwg2Igr</AssemblyName>
11
    <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
12
    <FileAlignment>512</FileAlignment>
13
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14
    <Deterministic>true</Deterministic>
15
  </PropertyGroup>
16
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
    <PlatformTarget>AnyCPU</PlatformTarget>
18
    <DebugSymbols>true</DebugSymbols>
19
    <DebugType>full</DebugType>
20
    <Optimize>false</Optimize>
21
    <OutputPath>C:\Program Files %28x86%29\SmartSketch\Program\Rad2d\bin\</OutputPath>
22
    <DefineConstants>DEBUG;TRACE</DefineConstants>
23
    <ErrorReport>prompt</ErrorReport>
24
    <WarningLevel>4</WarningLevel>
25
  </PropertyGroup>
26
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27
    <PlatformTarget>AnyCPU</PlatformTarget>
28
    <DebugType>pdbonly</DebugType>
29
    <Optimize>false</Optimize>
30
    <OutputPath>bin\Release\</OutputPath>
31
    <DefineConstants>TRACE</DefineConstants>
32
    <ErrorReport>prompt</ErrorReport>
33
    <WarningLevel>4</WarningLevel>
34
  </PropertyGroup>
35
  <PropertyGroup>
36
    <StartupObject />
37
  </PropertyGroup>
38
  <ItemGroup>
39
    <Reference Include="RadNetAssemblyResolver">
40
      <HintPath>C:\Program Files (x86)\SmartSketch\Program\Rad2d\bin\RadNetAssemblyResolver.dll</HintPath>
41
      <Private>False</Private>
42
    </Reference>
43
    <Reference Include="RadNetAutomation">
44
      <HintPath>C:\Program Files (x86)\SmartSketch\Program\Rad2d\bin\RadNetAutomation.dll</HintPath>
45
      <Private>False</Private>
46
    </Reference>
47
    <Reference Include="RADNetStartup">
48
      <HintPath>C:\Program Files (x86)\SmartSketch\Program\Rad2d\bin\RADNetStartup.dll</HintPath>
49
      <Private>False</Private>
50
    </Reference>
51
    <Reference Include="System" />
52
    <Reference Include="System.Core" />
53
    <Reference Include="System.Xml.Linq" />
54
    <Reference Include="System.Data.DataSetExtensions" />
55
    <Reference Include="Microsoft.CSharp" />
56
    <Reference Include="System.Data" />
57
    <Reference Include="System.Deployment" />
58
    <Reference Include="System.Drawing" />
59
    <Reference Include="System.Net.Http" />
60
    <Reference Include="System.Windows.Forms" />
61
    <Reference Include="System.Xml" />
62
  </ItemGroup>
63
  <ItemGroup>
64
    <Compile Include="Launcher.cs">
65
      <SubType>Form</SubType>
66
    </Compile>
67
    <Compile Include="Launcher.Designer.cs">
68
      <DependentUpon>Launcher.cs</DependentUpon>
69
    </Compile>
70
    <Compile Include="Program.cs" />
71
    <Compile Include="Properties\AssemblyInfo.cs" />
72
    <EmbeddedResource Include="Launcher.resx">
73
      <DependentUpon>Launcher.cs</DependentUpon>
74
    </EmbeddedResource>
75
    <EmbeddedResource Include="Properties\Resources.resx">
76
      <Generator>ResXFileCodeGenerator</Generator>
77
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
78
      <SubType>Designer</SubType>
79
    </EmbeddedResource>
80
    <Compile Include="Properties\Resources.Designer.cs">
81
      <AutoGen>True</AutoGen>
82
      <DependentUpon>Resources.resx</DependentUpon>
83
      <DesignTime>True</DesignTime>
84
    </Compile>
85
    <None Include="Properties\Settings.settings">
86
      <Generator>SettingsSingleFileGenerator</Generator>
87
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
88
    </None>
89
    <Compile Include="Properties\Settings.Designer.cs">
90
      <AutoGen>True</AutoGen>
91
      <DependentUpon>Settings.settings</DependentUpon>
92
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
93
    </Compile>
94
  </ItemGroup>
95
  <ItemGroup>
96
    <None Include="App.config" />
97
  </ItemGroup>
98
  <ItemGroup>
99
    <Content Include="Obfuscar.xml">
100
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
101
    </Content>
102
  </ItemGroup>
103
  <ItemGroup>
104
    <PackageReference Include="Obfuscar">
105
      <Version>2.2.37</Version>
106
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
107
      <PrivateAssets>all</PrivateAssets>
108
    </PackageReference>
109
  </ItemGroup>
110
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
111
  <PropertyGroup>
112
    <PostBuildEvent>if $(ConfigurationName) == Release cd "$(TargetDir)"
113
if $(ConfigurationName) == Release "$(Obfuscar)" "$(TargetDir)Obfuscar.xml"</PostBuildEvent>
114
  </PropertyGroup>
115
</Project>
DTI_PID/Dwg2Igr/Dwg2Igr.sln
1

2
Microsoft Visual Studio Solution File, Format Version 12.00
3
# Visual Studio Version 16
4
VisualStudioVersion = 16.0.33027.164
5
MinimumVisualStudioVersion = 10.0.40219.1
6
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dwg2Igr", "Dwg2Igr.csproj", "{1624E62C-5AC6-407F-80D5-56D029ED8880}"
7
EndProject
8
Global
9
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
10
		Debug|Any CPU = Debug|Any CPU
11
		Release|Any CPU = Release|Any CPU
12
	EndGlobalSection
13
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
14
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Debug|Any CPU.Build.0 = Debug|Any CPU
16
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Release|Any CPU.ActiveCfg = Release|Any CPU
17
		{1624E62C-5AC6-407F-80D5-56D029ED8880}.Release|Any CPU.Build.0 = Release|Any CPU
18
	EndGlobalSection
19
	GlobalSection(SolutionProperties) = preSolution
20
		HideSolutionNode = FALSE
21
	EndGlobalSection
22
	GlobalSection(ExtensibilityGlobals) = postSolution
23
		SolutionGuid = {B750C8DC-770E-4700-8816-36CC86B31EF7}
24
	EndGlobalSection
25
EndGlobal
DTI_PID/Dwg2Igr/Launcher.Designer.cs
1

2
namespace Dwg2Igr
3
{
4
    partial class Launcher
5
    {
6
        /// <summary>
7
        /// 필수 디자이너 변수입니다.
8
        /// </summary>
9
        private System.ComponentModel.IContainer components = null;
10

  
11
        /// <summary>
12
        /// 사용 중인 모든 리소스를 정리합니다.
13
        /// </summary>
14
        /// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param>
15
        protected override void Dispose(bool disposing)
16
        {
17
            if (disposing && (components != null))
18
            {
19
                components.Dispose();
20
            }
21
            base.Dispose(disposing);
22
        }
23

  
24
        #region Windows Form 디자이너에서 생성한 코드
25

  
26
        /// <summary>
27
        /// 디자이너 지원에 필요한 메서드입니다. 
28
        /// 이 메서드의 내용을 코드 편집기로 수정하지 마세요.
29
        /// </summary>
30
        private void InitializeComponent()
31
        {
32
            this.SuspendLayout();
33
            // 
34
            // Form1
35
            // 
36
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
37
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
38
            this.ClientSize = new System.Drawing.Size(120, 58);
39
            this.Name = "Form1";
40
            this.ShowIcon = false;
41
            this.ShowInTaskbar = false;
42
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
43
            this.Text = "Form1";
44
            this.ResumeLayout(false);
45

  
46
        }
47

  
48
        #endregion
49
    }
50
}
51

  
DTI_PID/Dwg2Igr/Launcher.cs
1
using Ingr.RAD2D;
2
using System;
3
using System.Collections.Generic;
4
using System.ComponentModel;
5
using System.Data;
6
using System.Drawing;
7
using System.IO;
8
using System.Linq;
9
using System.Text;
10
using System.Threading;
11
using System.Threading.Tasks;
12
using System.Windows.Forms;
13

  
14
namespace Dwg2Igr
15
{
16
    public partial class Launcher : Form
17
    {
18
        private string dwgFilePath;
19
        public int ResultCode;
20
        public Launcher(string filePath)
21
        {
22
            this.dwgFilePath = filePath.Replace("^", " ");
23

  
24
            InitializeComponent();
25

  
26
            this.Enabled = false;
27
            this.Visible = false;
28
            this.Hide();
29

  
30
            Initialize();
31
        }
32

  
33
        private void Initialize()
34
        {
35
            try
36
            {
37
                string igrFilePath = dwgFilePath.Replace(".dwg", ".igr");
38
                Ingr.RAD2D.Application radApp = null;
39
                Ingr.RAD2D.WrapperApplication wApp = null;
40

  
41
                string appName = "SmartSketch";
42
                string appPath = @"c:\Program Files (x86)\SmartSketch\Program\";
43
                string appResourceName = "SmartSketch.drx";
44
                string appStartUpDllClsid = "{AF7DB05C-6427-11D5-868F-00A0C9D8948D}";
45
                string appDispatchObjectClsid = "{9099087E-A96B-11D1-91A8-08003643CA02}";
46
                string appEnvironmentName = "Sketch";
47

  
48
                wApp = (Ingr.RAD2D.WrapperApplication)Ingr.RAD2D.Initialize.RADApplicationStarter.Instance.InitializeRADApplication(appName, appPath, appResourceName, appStartUpDllClsid, appDispatchObjectClsid, appEnvironmentName);
49
                radApp = wApp.RADApplication;
50
                Documents radDocs = radApp.Documents;
51
                Document openDoc = radDocs.Open(dwgFilePath);
52
                radApp.Visible = false;
53

  
54
                radApp.ActiveDocument.SaveAs(igrFilePath);
55
                ResultCode = 1;
56
                radApp.ActiveDocument.Close(false);
57
                radDocs.Close();
58
                Ingr.RAD2D.Initialize.RADApplicationStarter.Instance.ExitRADApplication();
59
            }
60
            catch (Exception ex)
61
            {
62
                ResultCode = 0;
63
            }
64
            this.Close();
65
        }
66
    }
67
}
DTI_PID/Dwg2Igr/Launcher.resx
1
<?xml version="1.0" encoding="utf-8"?>
2
<root>
3
  <!-- 
4
    Microsoft ResX Schema 
5
    
6
    Version 2.0
7
    
8
    The primary goals of this format is to allow a simple XML format 
9
    that is mostly human readable. The generation and parsing of the 
10
    various data types are done through the TypeConverter classes 
11
    associated with the data types.
12
    
13
    Example:
14
    
15
    ... ado.net/XML headers & schema ...
16
    <resheader name="resmimetype">text/microsoft-resx</resheader>
17
    <resheader name="version">2.0</resheader>
18
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
    </data>
25
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
        <comment>This is a comment</comment>
28
    </data>
29
                
30
    There are any number of "resheader" rows that contain simple 
31
    name/value pairs.
32
    
33
    Each data row contains a name, and value. The row also contains a 
34
    type or mimetype. Type corresponds to a .NET class that support 
35
    text/value conversion through the TypeConverter architecture. 
36
    Classes that don't support this are serialized and stored with the 
37
    mimetype set.
38
    
39
    The mimetype is used for serialized objects, and tells the 
40
    ResXResourceReader how to depersist the object. This is currently not 
41
    extensible. For a given mimetype the value must be set accordingly:
42
    
43
    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
    that the ResXResourceWriter will generate, however the reader can 
45
    read any of the formats listed below.
46
    
47
    mimetype: application/x-microsoft.net.object.binary.base64
48
    value   : The object must be serialized with 
49
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50
            : and then encoded with base64 encoding.
51
    
52
    mimetype: application/x-microsoft.net.object.soap.base64
53
    value   : The object must be serialized with 
54
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
            : and then encoded with base64 encoding.
56

  
57
    mimetype: application/x-microsoft.net.object.bytearray.base64
58
    value   : The object must be serialized into a byte array 
59
            : using a System.ComponentModel.TypeConverter
60
            : and then encoded with base64 encoding.
61
    -->
62
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64
    <xsd:element name="root" msdata:IsDataSet="true">
65
      <xsd:complexType>
66
        <xsd:choice maxOccurs="unbounded">
67
          <xsd:element name="metadata">
68
            <xsd:complexType>
69
              <xsd:sequence>
70
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
71
              </xsd:sequence>
72
              <xsd:attribute name="name" use="required" type="xsd:string" />
73
              <xsd:attribute name="type" type="xsd:string" />
74
              <xsd:attribute name="mimetype" type="xsd:string" />
75
              <xsd:attribute ref="xml:space" />
76
            </xsd:complexType>
77
          </xsd:element>
78
          <xsd:element name="assembly">
79
            <xsd:complexType>
80
              <xsd:attribute name="alias" type="xsd:string" />
81
              <xsd:attribute name="name" type="xsd:string" />
82
            </xsd:complexType>
83
          </xsd:element>
84
          <xsd:element name="data">
85
            <xsd:complexType>
86
              <xsd:sequence>
87
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89
              </xsd:sequence>
90
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93
              <xsd:attribute ref="xml:space" />
94
            </xsd:complexType>
95
          </xsd:element>
96
          <xsd:element name="resheader">
97
            <xsd:complexType>
98
              <xsd:sequence>
99
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100
              </xsd:sequence>
101
              <xsd:attribute name="name" type="xsd:string" use="required" />
102
            </xsd:complexType>
103
          </xsd:element>
104
        </xsd:choice>
105
      </xsd:complexType>
106
    </xsd:element>
107
  </xsd:schema>
108
  <resheader name="resmimetype">
109
    <value>text/microsoft-resx</value>
110
  </resheader>
111
  <resheader name="version">
112
    <value>2.0</value>
113
  </resheader>
114
  <resheader name="reader">
115
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
  </resheader>
117
  <resheader name="writer">
118
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119
  </resheader>
120
</root>
DTI_PID/Dwg2Igr/Obfuscar.xml
1
<?xml version='1.0'?>
2
<Obfuscator>
3
	<AssemblySearchPath path="C:\Program Files (x86)\SmartSketch\Program\Rad2d\bin" />
4
	<Var name="InPath" value="." />
5
	<Var name="OutPath" value="..\\..\\Publish" />
6
	<Var name="KeepPublicApi" value="true" />
7
	<Var name="HidePrivateApi" value="true" />
8
	<Var name="HideStrings" value="true" />
9
	<Var name="RenameProperties" value="false" />	
10
	<Var name="RenameEvents" value="true" />
11
	<Var name="RenameFields" value="true" />
12
	<Var name="UseUnicodeNames" value="true" />
13
	<!--<Var name="UseKoreanNames" value="true" />
14
	<Var name="OptimizeMethods" value="true" />-->	
15
	<Module file="$(InPath)\Dwg2Igr.exe" />
16
</Obfuscator>
DTI_PID/Dwg2Igr/Program.cs
1
using System;
2
using System.Collections.Generic;
3
using System.IO;
4
using System.Linq;
5
using System.Threading;
6
using System.Threading.Tasks;
7
using System.Windows.Forms;
8

  
9

  
10
namespace Dwg2Igr
11
{
12
    static class Program
13
    {
14
        /// <summary>
15
        /// 해당 애플리케이션의 주 진입점입니다.
16
        /// </summary>
17
        [STAThread]
18
        static int Main(string[] args)
19
        {
20
            //Application.EnableVisualStyles();
21
            //Application.SetCompatibleTextRenderingDefault(false);
22

  
23
            if (args == null || args.Length == 0)
24
            {
25
                return -1;
26
            }
27
            string dwgFilePath = args[0];
28
            //string dwgFilePath = @"D:\01.Ref\03.SECL_FF_PID\Test\detail1.dwg";
29
            if (!File.Exists(dwgFilePath.Replace("^", " ")))
30
            {
31
                return -1;
32
            }
33

  
34
            Launcher form = new Launcher(dwgFilePath);
35
            //Application.Run(new Form1());
36
            return form.ResultCode;
37
        }
38
    }
39
}
DTI_PID/Dwg2Igr/Properties/AssemblyInfo.cs
1
using System.Reflection;
2
using System.Runtime.CompilerServices;
3
using System.Runtime.InteropServices;
4

  
5
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 
6
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
7
// 이러한 특성 값을 변경하세요.
8
[assembly: AssemblyTitle("Dwg2Igr")]
9
[assembly: AssemblyDescription("")]
10
[assembly: AssemblyConfiguration("")]
11
[assembly: AssemblyCompany("DOFTECH(c)")]
12
[assembly: AssemblyProduct("SPPIDConverter Dwg2Igr")]
13
[assembly: AssemblyCopyright("Copyright ©  2023 DOFTECH")]
14
[assembly: AssemblyTrademark("")]
15
[assembly: AssemblyCulture("")]
16

  
17
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 
18
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
19
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
20
[assembly: ComVisible(false)]
21

  
22
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
23
[assembly: Guid("1624e62c-5ac6-407f-80d5-56d029ed8880")]
24

  
25
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
26
//
27
//      주 버전
28
//      부 버전 
29
//      빌드 번호
30
//      수정 버전
31
//
32
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
33
// 기본값으로 할 수 있습니다.
34
// [assembly: AssemblyVersion("1.0.*")]
35
[assembly: AssemblyVersion("1.0.0.0")]
36
[assembly: AssemblyFileVersion("1.0.0.0")]
DTI_PID/Dwg2Igr/Properties/Resources.Designer.cs
1
//------------------------------------------------------------------------------
2
// <auto-generated>
3
//     이 코드는 도구를 사용하여 생성되었습니다.
4
//     런타임 버전:4.0.30319.42000
5
//
6
//     파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
7
//     이러한 변경 내용이 손실됩니다.
8
// </auto-generated>
9
//------------------------------------------------------------------------------
10

  
11
namespace Converter.SPPID.Dwg2Igr.Properties {
12
    using System;
13
    
14
    
15
    /// <summary>
16
    ///   지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
17
    /// </summary>
18
    // 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
19
    // 클래스에서 자동으로 생성되었습니다.
20
    // 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을
21
    // 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
22
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25
    internal class Resources {
26
        
27
        private static global::System.Resources.ResourceManager resourceMan;
28
        
29
        private static global::System.Globalization.CultureInfo resourceCulture;
30
        
31
        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32
        internal Resources() {
33
        }
34
        
35
        /// <summary>
36
        ///   이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다.
37
        /// </summary>
38
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39
        internal static global::System.Resources.ResourceManager ResourceManager {
40
            get {
41
                if (object.ReferenceEquals(resourceMan, null)) {
42
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Converter.SPPID.Dwg2Igr.Properties.Resources", typeof(Resources).Assembly);
43
                    resourceMan = temp;
44
                }
45
                return resourceMan;
46
            }
47
        }
48
        
49
        /// <summary>
50
        ///   이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을
51
        ///   재정의합니다.
52
        /// </summary>
53
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54
        internal static global::System.Globalization.CultureInfo Culture {
55
            get {
56
                return resourceCulture;
57
            }
58
            set {
59
                resourceCulture = value;
60
            }
61
        }
62
    }
63
}
DTI_PID/Dwg2Igr/Properties/Resources.resx
1
<?xml version="1.0" encoding="utf-8"?>
2
<root>
3
  <!-- 
4
    Microsoft ResX Schema 
5
    
6
    Version 2.0
7
    
8
    The primary goals of this format is to allow a simple XML format 
9
    that is mostly human readable. The generation and parsing of the 
10
    various data types are done through the TypeConverter classes 
11
    associated with the data types.
12
    
13
    Example:
14
    
15
    ... ado.net/XML headers & schema ...
16
    <resheader name="resmimetype">text/microsoft-resx</resheader>
17
    <resheader name="version">2.0</resheader>
18
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
    </data>
25
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
        <comment>This is a comment</comment>
28
    </data>
29
                
30
    There are any number of "resheader" rows that contain simple 
31
    name/value pairs.
32
    
33
    Each data row contains a name, and value. The row also contains a 
34
    type or mimetype. Type corresponds to a .NET class that support 
35
    text/value conversion through the TypeConverter architecture. 
36
    Classes that don't support this are serialized and stored with the 
37
    mimetype set.
38
    
39
    The mimetype is used for serialized objects, and tells the 
40
    ResXResourceReader how to depersist the object. This is currently not 
41
    extensible. For a given mimetype the value must be set accordingly:
42
    
43
    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
    that the ResXResourceWriter will generate, however the reader can 
45
    read any of the formats listed below.
46
    
47
    mimetype: application/x-microsoft.net.object.binary.base64
48
    value   : The object must be serialized with 
49
            : System.Serialization.Formatters.Binary.BinaryFormatter
50
            : and then encoded with base64 encoding.
51
    
52
    mimetype: application/x-microsoft.net.object.soap.base64
53
    value   : The object must be serialized with 
54
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
            : and then encoded with base64 encoding.
56

  
57
    mimetype: application/x-microsoft.net.object.bytearray.base64
58
    value   : The object must be serialized into a byte array 
59
            : using a System.ComponentModel.TypeConverter
60
            : and then encoded with base64 encoding.
61
    -->
62
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
    <xsd:element name="root" msdata:IsDataSet="true">
64
      <xsd:complexType>
65
        <xsd:choice maxOccurs="unbounded">
66
          <xsd:element name="metadata">
67
            <xsd:complexType>
68
              <xsd:sequence>
69
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
70
              </xsd:sequence>
71
              <xsd:attribute name="name" type="xsd:string" />
72
              <xsd:attribute name="type" type="xsd:string" />
73
              <xsd:attribute name="mimetype" type="xsd:string" />
74
            </xsd:complexType>
75
          </xsd:element>
76
          <xsd:element name="assembly">
77
            <xsd:complexType>
78
              <xsd:attribute name="alias" type="xsd:string" />
79
              <xsd:attribute name="name" type="xsd:string" />
80
            </xsd:complexType>
81
          </xsd:element>
82
          <xsd:element name="data">
83
            <xsd:complexType>
84
              <xsd:sequence>
85
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
86
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
87
              </xsd:sequence>
88
              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
89
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
90
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
91
            </xsd:complexType>
92
          </xsd:element>
93
          <xsd:element name="resheader">
94
            <xsd:complexType>
95
              <xsd:sequence>
96
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
97
              </xsd:sequence>
98
              <xsd:attribute name="name" type="xsd:string" use="required" />
99
            </xsd:complexType>
100
          </xsd:element>
101
        </xsd:choice>
102
      </xsd:complexType>
103
    </xsd:element>
104
  </xsd:schema>
105
  <resheader name="resmimetype">
106
    <value>text/microsoft-resx</value>
107
  </resheader>
108
  <resheader name="version">
109
    <value>2.0</value>
110
  </resheader>
111
  <resheader name="reader">
112
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
113
  </resheader>
114
  <resheader name="writer">
115
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
  </resheader>
117
</root>
DTI_PID/Dwg2Igr/Properties/Settings.Designer.cs
1
//------------------------------------------------------------------------------
2
// <auto-generated>
3
//     이 코드는 도구를 사용하여 생성되었습니다.
4
//     런타임 버전:4.0.30319.42000
5
//
6
//     파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
7
//     이러한 변경 내용이 손실됩니다.
8
// </auto-generated>
9
//------------------------------------------------------------------------------
10

  
11
namespace Converter.SPPID.Dwg2Igr.Properties {
12
    
13
    
14
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")]
16
    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17
        
18
        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19
        
20
        public static Settings Default {
21
            get {
22
                return defaultInstance;
23
            }
24
        }
25
    }
26
}
DTI_PID/Dwg2Igr/Properties/Settings.settings
1
<?xml version='1.0' encoding='utf-8'?>
2
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
3
  <Profiles>
4
    <Profile Name="(Default)" />
5
  </Profiles>
6
  <Settings />
7
</SettingsFile>

내보내기 Unified diff

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