프로젝트

일반

사용자정보

개정판 b0bfc1d3

IDb0bfc1d32ddecca3b07ddd1d96fb8620efba00d1
상위 3295dabe
하위 f5a92816

김태성이(가) 일년 이상 전에 추가함

issue #00000 Markus Create 수정 - 공유폴더 권한 관련

Change-Id: I7f604c5147107e1d89b7fd011e78258d7a2a99f9

차이점 보기:

ID2.Manager/ID2.Manager/Main.Designer.cs
475 475
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
476 476
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F));
477 477
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
478
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 74F));
478
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 75F));
479 479
            this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListFrReviewStatus, 4, 2);
480 480
            this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListToIsDiscussion, 2, 2);
481 481
            this.tableLayoutPanelCondition.Controls.Add(this.radLabelFrReviewStatus, 3, 2);
......
528 528
            this.radDropDownListFrReviewStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
529 529
            this.radDropDownListFrReviewStatus.DropDownAnimationEnabled = true;
530 530
            this.radDropDownListFrReviewStatus.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
531
            this.radDropDownListFrReviewStatus.Location = new System.Drawing.Point(360, 60);
531
            this.radDropDownListFrReviewStatus.Location = new System.Drawing.Point(359, 60);
532 532
            this.radDropDownListFrReviewStatus.Name = "radDropDownListFrReviewStatus";
533
            this.radDropDownListFrReviewStatus.Size = new System.Drawing.Size(121, 20);
533
            this.radDropDownListFrReviewStatus.Size = new System.Drawing.Size(120, 20);
534 534
            this.radDropDownListFrReviewStatus.TabIndex = 18;
535 535
            // 
536 536
            // radDropDownListToIsDiscussion
......
540 540
            this.radDropDownListToIsDiscussion.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
541 541
            this.radDropDownListToIsDiscussion.Location = new System.Drawing.Point(146, 60);
542 542
            this.radDropDownListToIsDiscussion.Name = "radDropDownListToIsDiscussion";
543
            this.radDropDownListToIsDiscussion.Size = new System.Drawing.Size(121, 20);
543
            this.radDropDownListToIsDiscussion.Size = new System.Drawing.Size(120, 20);
544 544
            this.radDropDownListToIsDiscussion.TabIndex = 17;
545 545
            // 
546 546
            // radLabelFrReviewStatus
547 547
            // 
548 548
            this.radLabelFrReviewStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
549 549
            this.radLabelFrReviewStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
550
            this.radLabelFrReviewStatus.Location = new System.Drawing.Point(274, 62);
550
            this.radLabelFrReviewStatus.Location = new System.Drawing.Point(273, 62);
551 551
            this.radLabelFrReviewStatus.Name = "radLabelFrReviewStatus";
552 552
            this.radLabelFrReviewStatus.Size = new System.Drawing.Size(59, 17);
553 553
            this.radLabelFrReviewStatus.TabIndex = 7;
......
577 577
            // 
578 578
            this.radLabelAVEVAStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
579 579
            this.radLabelAVEVAStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
580
            this.radLabelAVEVAStatus.Location = new System.Drawing.Point(274, 90);
580
            this.radLabelAVEVAStatus.Location = new System.Drawing.Point(273, 90);
581 581
            this.radLabelAVEVAStatus.Name = "radLabelAVEVAStatus";
582 582
            this.radLabelAVEVAStatus.Size = new System.Drawing.Size(86, 17);
583 583
            this.radLabelAVEVAStatus.TabIndex = 8;
......
587 587
            // 
588 588
            this.radLabelIsID2Work.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
589 589
            this.radLabelIsID2Work.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
590
            this.radLabelIsID2Work.Location = new System.Drawing.Point(488, 62);
590
            this.radLabelIsID2Work.Location = new System.Drawing.Point(486, 62);
591 591
            this.radLabelIsID2Work.Name = "radLabelIsID2Work";
592 592
            this.radLabelIsID2Work.Size = new System.Drawing.Size(80, 17);
593 593
            this.radLabelIsID2Work.TabIndex = 6;
......
597 597
            // 
598 598
            this.radLabelJobLevel.Anchor = System.Windows.Forms.AnchorStyles.Left;
599 599
            this.radLabelJobLevel.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
600
            this.radLabelJobLevel.Location = new System.Drawing.Point(488, 34);
600
            this.radLabelJobLevel.Location = new System.Drawing.Point(486, 34);
601 601
            this.radLabelJobLevel.Name = "radLabelJobLevel";
602 602
            this.radLabelJobLevel.Size = new System.Drawing.Size(47, 17);
603 603
            this.radLabelJobLevel.TabIndex = 7;
......
648 648
            this.radButtonSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
649 649
            this.radButtonSearch.Cursor = System.Windows.Forms.Cursors.Default;
650 650
            this.radButtonSearch.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
651
            this.radButtonSearch.Location = new System.Drawing.Point(923, 32);
651
            this.radButtonSearch.Location = new System.Drawing.Point(921, 32);
652 652
            this.radButtonSearch.Name = "radButtonSearch";
653 653
            this.tableLayoutPanelCondition.SetRowSpan(this.radButtonSearch, 5);
654 654
            this.radButtonSearch.Size = new System.Drawing.Size(54, 138);
......
662 662
            this.radDropDownListProject.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
663 663
            this.radDropDownListProject.Location = new System.Drawing.Point(146, 32);
664 664
            this.radDropDownListProject.Name = "radDropDownListProject";
665
            this.radDropDownListProject.Size = new System.Drawing.Size(121, 20);
665
            this.radDropDownListProject.Size = new System.Drawing.Size(120, 20);
666 666
            this.radDropDownListProject.TabIndex = 7;
667 667
            // 
668 668
            // radLabelDocumentNo
669 669
            // 
670 670
            this.radLabelDocumentNo.Anchor = System.Windows.Forms.AnchorStyles.Left;
671 671
            this.radLabelDocumentNo.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
672
            this.radLabelDocumentNo.Location = new System.Drawing.Point(702, 34);
672
            this.radLabelDocumentNo.Location = new System.Drawing.Point(699, 34);
673 673
            this.radLabelDocumentNo.Name = "radLabelDocumentNo";
674 674
            this.radLabelDocumentNo.Size = new System.Drawing.Size(49, 17);
675 675
            this.radLabelDocumentNo.TabIndex = 6;
......
678 678
            // radTextBoxDocumentNo
679 679
            // 
680 680
            this.radTextBoxDocumentNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
681
            this.radTextBoxDocumentNo.Location = new System.Drawing.Point(788, 32);
681
            this.radTextBoxDocumentNo.Location = new System.Drawing.Point(785, 32);
682 682
            this.radTextBoxDocumentNo.Name = "radTextBoxDocumentNo";
683
            this.radTextBoxDocumentNo.Size = new System.Drawing.Size(121, 20);
683
            this.radTextBoxDocumentNo.Size = new System.Drawing.Size(120, 20);
684 684
            this.radTextBoxDocumentNo.TabIndex = 8;
685 685
            // 
686 686
            // radLabelPersonInCharge
687 687
            // 
688 688
            this.radLabelPersonInCharge.Anchor = System.Windows.Forms.AnchorStyles.Left;
689 689
            this.radLabelPersonInCharge.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
690
            this.radLabelPersonInCharge.Location = new System.Drawing.Point(274, 34);
690
            this.radLabelPersonInCharge.Location = new System.Drawing.Point(273, 34);
691 691
            this.radLabelPersonInCharge.Name = "radLabelPersonInCharge";
692 692
            this.radLabelPersonInCharge.Size = new System.Drawing.Size(47, 17);
693 693
            this.radLabelPersonInCharge.TabIndex = 6;
......
698 698
            this.radDropDownListPersonInCharge.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
699 699
            this.radDropDownListPersonInCharge.DropDownAnimationEnabled = true;
700 700
            this.radDropDownListPersonInCharge.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
701
            this.radDropDownListPersonInCharge.Location = new System.Drawing.Point(360, 32);
701
            this.radDropDownListPersonInCharge.Location = new System.Drawing.Point(359, 32);
702 702
            this.radDropDownListPersonInCharge.Name = "radDropDownListPersonInCharge";
703
            this.radDropDownListPersonInCharge.Size = new System.Drawing.Size(121, 20);
703
            this.radDropDownListPersonInCharge.Size = new System.Drawing.Size(120, 20);
704 704
            this.radDropDownListPersonInCharge.TabIndex = 9;
705 705
            // 
706 706
            // radLabel1
......
718 718
            this.radDropDownListJobLevel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
719 719
            this.radDropDownListJobLevel.DropDownAnimationEnabled = true;
720 720
            this.radDropDownListJobLevel.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
721
            this.radDropDownListJobLevel.Location = new System.Drawing.Point(574, 32);
721
            this.radDropDownListJobLevel.Location = new System.Drawing.Point(572, 32);
722 722
            this.radDropDownListJobLevel.Name = "radDropDownListJobLevel";
723
            this.radDropDownListJobLevel.Size = new System.Drawing.Size(121, 20);
723
            this.radDropDownListJobLevel.Size = new System.Drawing.Size(120, 20);
724 724
            this.radDropDownListJobLevel.TabIndex = 11;
725 725
            // 
726 726
            // radLabelID2Status
......
737 737
            // 
738 738
            this.radLabel10.Anchor = System.Windows.Forms.AnchorStyles.Left;
739 739
            this.radLabel10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
740
            this.radLabel10.Location = new System.Drawing.Point(274, 118);
740
            this.radLabel10.Location = new System.Drawing.Point(273, 118);
741 741
            this.radLabel10.Name = "radLabel10";
742 742
            this.radLabel10.Size = new System.Drawing.Size(61, 17);
743 743
            this.radLabel10.TabIndex = 9;
......
748 748
            this.radDropDownListIsID2Work.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
749 749
            this.radDropDownListIsID2Work.DropDownAnimationEnabled = true;
750 750
            this.radDropDownListIsID2Work.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
751
            this.radDropDownListIsID2Work.Location = new System.Drawing.Point(574, 60);
751
            this.radDropDownListIsID2Work.Location = new System.Drawing.Point(572, 60);
752 752
            this.radDropDownListIsID2Work.Name = "radDropDownListIsID2Work";
753
            this.radDropDownListIsID2Work.Size = new System.Drawing.Size(121, 20);
753
            this.radDropDownListIsID2Work.Size = new System.Drawing.Size(120, 20);
754 754
            this.radDropDownListIsID2Work.TabIndex = 12;
755 755
            // 
756 756
            // radDropDownListID2Status
......
760 760
            this.radDropDownListID2Status.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
761 761
            this.radDropDownListID2Status.Location = new System.Drawing.Point(146, 88);
762 762
            this.radDropDownListID2Status.Name = "radDropDownListID2Status";
763
            this.radDropDownListID2Status.Size = new System.Drawing.Size(121, 20);
763
            this.radDropDownListID2Status.Size = new System.Drawing.Size(120, 20);
764 764
            this.radDropDownListID2Status.TabIndex = 13;
765 765
            // 
766 766
            // radDropDownListAVEVAStatus
......
768 768
            this.radDropDownListAVEVAStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
769 769
            this.radDropDownListAVEVAStatus.DropDownAnimationEnabled = true;
770 770
            this.radDropDownListAVEVAStatus.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
771
            this.radDropDownListAVEVAStatus.Location = new System.Drawing.Point(360, 88);
771
            this.radDropDownListAVEVAStatus.Location = new System.Drawing.Point(359, 88);
772 772
            this.radDropDownListAVEVAStatus.Name = "radDropDownListAVEVAStatus";
773
            this.radDropDownListAVEVAStatus.Size = new System.Drawing.Size(121, 20);
773
            this.radDropDownListAVEVAStatus.Size = new System.Drawing.Size(120, 20);
774 774
            this.radDropDownListAVEVAStatus.TabIndex = 14;
775 775
            // 
776 776
            // radDropDownListProdIsResult
......
780 780
            this.radDropDownListProdIsResult.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
781 781
            this.radDropDownListProdIsResult.Location = new System.Drawing.Point(146, 116);
782 782
            this.radDropDownListProdIsResult.Name = "radDropDownListProdIsResult";
783
            this.radDropDownListProdIsResult.Size = new System.Drawing.Size(121, 20);
783
            this.radDropDownListProdIsResult.Size = new System.Drawing.Size(120, 20);
784 784
            this.radDropDownListProdIsResult.TabIndex = 15;
785 785
            // 
786 786
            // radDropDownListClientIsResult
......
788 788
            this.radDropDownListClientIsResult.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
789 789
            this.radDropDownListClientIsResult.DropDownAnimationEnabled = true;
790 790
            this.radDropDownListClientIsResult.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
791
            this.radDropDownListClientIsResult.Location = new System.Drawing.Point(360, 116);
791
            this.radDropDownListClientIsResult.Location = new System.Drawing.Point(359, 116);
792 792
            this.radDropDownListClientIsResult.Name = "radDropDownListClientIsResult";
793
            this.radDropDownListClientIsResult.Size = new System.Drawing.Size(121, 20);
793
            this.radDropDownListClientIsResult.Size = new System.Drawing.Size(120, 20);
794 794
            this.radDropDownListClientIsResult.TabIndex = 16;
795 795
            // 
796 796
            // radLabel6
......
807 807
            // 
808 808
            this.radLabel7.Anchor = System.Windows.Forms.AnchorStyles.Left;
809 809
            this.radLabel7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
810
            this.radLabel7.Location = new System.Drawing.Point(274, 148);
810
            this.radLabel7.Location = new System.Drawing.Point(273, 148);
811 811
            this.radLabel7.Name = "radLabel7";
812 812
            this.radLabel7.Size = new System.Drawing.Size(72, 17);
813 813
            this.radLabel7.TabIndex = 12;
......
830 830
            this.radDropDownListGateway.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
831 831
            this.radDropDownListGateway.Location = new System.Drawing.Point(146, 147);
832 832
            this.radDropDownListGateway.Name = "radDropDownListGateway";
833
            this.radDropDownListGateway.Size = new System.Drawing.Size(121, 20);
833
            this.radDropDownListGateway.Size = new System.Drawing.Size(120, 20);
834 834
            this.radDropDownListGateway.TabIndex = 19;
835 835
            // 
836 836
            // radDropDownListRegistration
......
838 838
            this.radDropDownListRegistration.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
839 839
            this.radDropDownListRegistration.DropDownAnimationEnabled = true;
840 840
            this.radDropDownListRegistration.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
841
            this.radDropDownListRegistration.Location = new System.Drawing.Point(360, 147);
841
            this.radDropDownListRegistration.Location = new System.Drawing.Point(359, 147);
842 842
            this.radDropDownListRegistration.Name = "radDropDownListRegistration";
843
            this.radDropDownListRegistration.Size = new System.Drawing.Size(121, 20);
843
            this.radDropDownListRegistration.Size = new System.Drawing.Size(120, 20);
844 844
            this.radDropDownListRegistration.TabIndex = 20;
845 845
            // 
846 846
            // radLabel8
......
1038 1038
            this.radGridViewDocuments.Font = new System.Drawing.Font("Segoe UI", 8.25F);
1039 1039
            this.radGridViewDocuments.ForeColor = System.Drawing.Color.Black;
1040 1040
            this.radGridViewDocuments.ImeMode = System.Windows.Forms.ImeMode.NoControl;
1041
            this.radGridViewDocuments.Location = new System.Drawing.Point(3, 64);
1041
            this.radGridViewDocuments.Location = new System.Drawing.Point(3, 39);
1042 1042
            // 
1043 1043
            // 
1044 1044
            // 
......
1378 1378
            gridViewRelation1});
1379 1379
            this.radGridViewDocuments.RightToLeft = System.Windows.Forms.RightToLeft.No;
1380 1380
            this.radGridViewDocuments.ShowHeaderCellButtons = true;
1381
            this.radGridViewDocuments.Size = new System.Drawing.Size(986, 289);
1381
            this.radGridViewDocuments.Size = new System.Drawing.Size(986, 314);
1382 1382
            this.radGridViewDocuments.TabIndex = 0;
1383 1383
            // 
1384 1384
            // radCommandBar1
......
1392 1392
            this.radCommandBar1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
1393 1393
            this.radCommandBar1.Rows.AddRange(new Telerik.WinControls.UI.CommandBarRowElement[] {
1394 1394
            this.commandBarRowSearch});
1395
            this.radCommandBar1.Size = new System.Drawing.Size(766, 55);
1395
            this.radCommandBar1.Size = new System.Drawing.Size(766, 30);
1396 1396
            this.radCommandBar1.TabIndex = 1;
1397 1397
            // 
1398 1398
            // commandBarRowSearch
......
1436 1436
            this.commandBarSearch.StretchHorizontally = true;
1437 1437
            this.commandBarSearch.StretchVertically = false;
1438 1438
            this.commandBarSearch.Text = "";
1439
            this.commandBarSearch.VisibleInCommandBar = true;
1440 1439
            ((Telerik.WinControls.UI.RadCommandBarGrip)(this.commandBarSearch.GetChildAt(0))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
1441 1440
            ((Telerik.WinControls.UI.RadCommandBarOverflowButton)(this.commandBarSearch.GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
1442 1441
            // 
......
1548 1547
            this.lbSelectAndTotal.ForeColor = System.Drawing.Color.Red;
1549 1548
            this.lbSelectAndTotal.Location = new System.Drawing.Point(887, 0);
1550 1549
            this.lbSelectAndTotal.Name = "lbSelectAndTotal";
1551
            this.lbSelectAndTotal.Size = new System.Drawing.Size(102, 61);
1550
            this.lbSelectAndTotal.Size = new System.Drawing.Size(102, 36);
1552 1551
            this.lbSelectAndTotal.TabIndex = 2;
1553 1552
            this.lbSelectAndTotal.Text = "(Selected / Total)";
1554 1553
            this.lbSelectAndTotal.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
ID2.Manager/MarkusImageCreate/MarkusImageCreate.csproj
15 15
    <TargetFrameworkProfile />
16 16
  </PropertyGroup>
17 17
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18
    <PlatformTarget>x86</PlatformTarget>
18
    <PlatformTarget>x64</PlatformTarget>
19 19
    <DebugSymbols>true</DebugSymbols>
20 20
    <DebugType>full</DebugType>
21 21
    <Optimize>false</Optimize>
......
136 136
    </None>
137 137
  </ItemGroup>
138 138
  <ItemGroup>
139
    <PackageReference Include="CredentialManagement.Signed.ClsCompliant">
140
      <Version>1.0.2</Version>
141
    </PackageReference>
139 142
    <PackageReference Include="Dapper">
140 143
      <Version>1.60.6</Version>
141 144
    </PackageReference>
ID2.Manager/MarkusImageCreate/Program.cs
8 8
using ID2.Manager.Dapper.Entities;
9 9
using Teigha.DatabaseServices;
10 10
using OdReadExMgd;
11
using CredentialManagement;
11 12

  
12 13
namespace MarkusImageCreate
13 14
{
......
53 54
                    Resolution = config.GetValue(CONST_SETTINGS, CONST_Resolution, 250);
54 55
                    FontPath = config.GetValue(CONST_SETTINGS, CONST_FontPath);
55 56

  
57
                    while (!Directory.Exists(ID2ProjectsPath))
58
                    {
59
                        string sourceComputer = ID2ProjectsPath.Split('\\').FirstOrDefault(x => !string.IsNullOrEmpty(x));
60
                        IsCredential(sourceComputer);
61
                    }
62

  
56 63
                    if (args.Length > 0)
57 64
                    {
58 65
                        if (args[0].Contains(".dwg"))
......
124 131
            }
125 132
        }
126 133

  
134
        static bool IsCredential(string path)
135
        {
136
            bool result = false;
137

  
138
            try
139
            {
140
                Credential credential = new Credential
141
                {
142
                    Type = CredentialType.DomainPassword,
143
                    PersistanceType = PersistanceType.LocalComputer,
144
                    Target = path,
145
                };
146

  
147
                if (credential.Load() == false)
148
                {
149
                    VistaPrompt prompt = new VistaPrompt();
150

  
151
                    var dialogResult = prompt.ShowDialog();
152

  
153
                    if (dialogResult == DialogResult.OK)
154
                    {
155
                        Credential genericCredential = new Credential
156
                        {
157
                            Target = path,
158
                            Username = prompt.Username,
159
                            Password = prompt.Password,
160
                            Type = CredentialType.DomainPassword,
161
                            PersistanceType = PersistanceType.LocalComputer
162
                        };
163

  
164
                        genericCredential.Save();
165
                        result = true;
166
                    }
167
                }
168
            }
169
            catch (Exception ex)
170
            {
171
                Console.WriteLine(ex.ToString());
172
            }
173

  
174
            return result;
175
        }
176

  
127 177
        static void ConvertDWG(string code)
128 178
        {
129 179
            string sourcePath = Path.Combine(Path.Combine(Path.Combine(ID2ProjectsPath, code), "drawings"),"Native");
......
143 193
                        var orgFile = Path.Combine(sourcePath, item.DOCUMENT_ID + ".dwg");
144 194
                        var dwgFile = Path.Combine(targetPath, item.DOCUMENT_ID + ".dwg");
145 195

  
196

  
146 197
                        File.Copy(orgFile, dwgFile,true);
147 198

  
148 199
                        using (Database pDb = new Database(false, true))

내보내기 Unified diff

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