├── .vs
└── OA.UI
│ ├── v16
│ ├── Server
│ │ └── sqlite3
│ │ │ ├── db.lock
│ │ │ └── storage.ide
│ └── .suo
│ └── v14
│ └── .suo
├── OA.UI
├── obj
│ └── Debug
│ │ ├── OA.UI.csproj.CopyComplete
│ │ ├── App.baml
│ │ ├── OA.UI.csproj.CoreCompileInputs.cache
│ │ ├── OA.UI.exe
│ │ ├── OA.UI.pdb
│ │ ├── MainWindow.baml
│ │ ├── OA.UI.g.resources
│ │ ├── Views
│ │ ├── HRPage.baml
│ │ ├── LoginWindow.baml
│ │ ├── AyExportWindow.baml
│ │ ├── EmployeeInfoPage.baml
│ │ ├── EditEmployeeWindow.baml
│ │ ├── EmployeeBaseInfoPage.baml
│ │ ├── ForeignLanguagePage.baml
│ │ ├── EmployeeEducationPage.baml
│ │ ├── ForeignLanguagePage.g.cs
│ │ ├── ForeignLanguagePage.g.i.cs
│ │ ├── EmployeeEducationPage.g.cs
│ │ ├── EmployeeEducationPage.g.i.cs
│ │ ├── HRPage.g.cs
│ │ ├── HRPage.g.i.cs
│ │ ├── AyExportWindow.g.cs
│ │ ├── AyExportWindow.g.i.cs
│ │ ├── EditEmployeeWindow.g.cs
│ │ ├── EditEmployeeWindow.g.i.cs
│ │ ├── LoginWindow.g.cs
│ │ └── LoginWindow.g.i.cs
│ │ ├── Controls
│ │ ├── AyDataPager.baml
│ │ ├── ImageButton.g.i.cs
│ │ ├── DataPager.g.i.cs
│ │ ├── AyDataPager.g.cs
│ │ └── AyDataPager.g.i.cs
│ │ ├── SystemResources
│ │ ├── MainColors.baml
│ │ └── MainThemes.baml
│ │ ├── OA.UI.Properties.Resources.resources
│ │ ├── OA.UI.csproj.GenerateResource.cache
│ │ ├── OA.UI.csprojAssemblyReference.cache
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── OA.UI.csprojResolveAssemblyReference.cache
│ │ ├── TempPE
│ │ └── Properties.Resources.Designer.cs.dll
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── OA.UI_Content.g.i.cs
│ │ ├── OA.UI_MarkupCompile.cache
│ │ ├── OA.UI_MarkupCompile.i.cache
│ │ ├── OA.UI_MarkupCompile.lref
│ │ ├── App.g.cs
│ │ ├── App.g.i.cs
│ │ ├── GeneratedInternalTypeHelper.g.cs
│ │ ├── GeneratedInternalTypeHelper.g.i.cs
│ │ └── Page1.g.i.cs
├── bin
│ └── Debug
│ │ ├── OA.UI.exe
│ │ ├── OA.UI.pdb
│ │ ├── OA.UI.vshost.exe
│ │ ├── Microsoft.Expression.Controls.dll
│ │ ├── Microsoft.Expression.Drawing.dll
│ │ ├── System.Windows.Interactivity.dll
│ │ ├── Microsoft.Expression.Interactions.dll
│ │ ├── de
│ │ ├── System.Windows.Interactivity.resources.dll
│ │ └── Microsoft.Expression.Interactions.resources.dll
│ │ ├── en
│ │ ├── System.Windows.Interactivity.resources.dll
│ │ └── Microsoft.Expression.Interactions.resources.dll
│ │ ├── es
│ │ ├── System.Windows.Interactivity.resources.dll
│ │ └── Microsoft.Expression.Interactions.resources.dll
│ │ ├── fr
│ │ ├── System.Windows.Interactivity.resources.dll
│ │ └── Microsoft.Expression.Interactions.resources.dll
│ │ ├── it
│ │ ├── System.Windows.Interactivity.resources.dll
│ │ └── Microsoft.Expression.Interactions.resources.dll
│ │ ├── ja
│ │ ├── System.Windows.Interactivity.resources.dll
│ │ └── Microsoft.Expression.Interactions.resources.dll
│ │ ├── ko
│ │ ├── System.Windows.Interactivity.resources.dll
│ │ └── Microsoft.Expression.Interactions.resources.dll
│ │ ├── zh-Hans
│ │ ├── System.Windows.Interactivity.resources.dll
│ │ └── Microsoft.Expression.Interactions.resources.dll
│ │ ├── zh-Hant
│ │ ├── System.Windows.Interactivity.resources.dll
│ │ └── Microsoft.Expression.Interactions.resources.dll
│ │ └── OA.UI.vshost.exe.manifest
├── SystemResources
│ ├── Images
│ │ ├── minW.png
│ │ ├── u0.png
│ │ ├── u21.png
│ │ ├── u4.png
│ │ ├── exits.png
│ │ ├── Image 1.png
│ │ ├── icon
│ │ │ ├── 11_b.png
│ │ │ ├── 12_b.png
│ │ │ ├── 13_b.png
│ │ │ ├── edit.png
│ │ │ ├── flow.png
│ │ │ ├── view.png
│ │ │ ├── clock.png
│ │ │ ├── 21602_b.png
│ │ │ ├── 21604_b.png
│ │ │ ├── 21605_b.png
│ │ │ ├── 21606_b.png
│ │ │ ├── 21607_b.png
│ │ │ ├── 22001_b.png
│ │ │ ├── 22002_b.png
│ │ │ ├── 22110_s.png
│ │ │ ├── 22111_s.png
│ │ │ ├── 22112_s.png
│ │ │ ├── 22113_s.png
│ │ │ ├── 22114_s.png
│ │ │ ├── 22115_s.png
│ │ │ ├── 22401_s.png
│ │ │ ├── 22403_s.png
│ │ │ ├── 22404_s.png
│ │ │ ├── 22405_s.png
│ │ │ ├── 24001_s.png
│ │ │ ├── 24002_s.png
│ │ │ ├── 24005_s.png
│ │ │ ├── 24406_b.png
│ │ │ ├── 25103_s.png
│ │ │ ├── Schedule.png
│ │ │ ├── mail_new.png
│ │ │ └── 408004339_b.png
│ │ ├── companyLogo.png
│ │ ├── tree
│ │ │ ├── folder_01.png
│ │ │ ├── folder_02.png
│ │ │ └── folder_03.png
│ │ └── dgPager
│ │ │ ├── pagination_first.png
│ │ │ ├── pagination_last.png
│ │ │ ├── pagination_load.png
│ │ │ ├── pagination_next.png
│ │ │ ├── pagination_prev.png
│ │ │ ├── pagination_loading.png
│ │ │ ├── pagination_first_gray.png
│ │ │ ├── pagination_last_gray.png
│ │ │ ├── pagination_next_gray.png
│ │ │ └── pagination_prev_gray.png
│ └── MainColors.xaml
├── Properties
│ ├── Settings.settings
│ ├── Settings.Designer.cs
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── OA.UI.csproj.user
├── App.xaml.cs
├── Views
│ ├── ForeignLanguagePage.xaml
│ ├── EmployeeEducationPage.xaml
│ ├── HRPage.xaml.cs
│ ├── AyExportWindow.xaml.cs
│ ├── ForeignLanguagePage.xaml.cs
│ ├── HRPage.xaml
│ ├── EmployeeEducationPage.xaml.cs
│ ├── EmployeeBaseInfoPage.xaml.cs
│ ├── LoginWindow.xaml.cs
│ ├── AyExportWindow.xaml
│ ├── EditEmployeeWindow.xaml.cs
│ └── EmployeeInfoPage.xaml.cs
├── Entities
│ ├── AyUIEntity.cs
│ └── EmployeeInfo.cs
├── App.xaml
├── Controls
│ ├── AyPagingDto.cs
│ ├── PasswordBoxMonitor.cs
│ ├── AyPropertyChanged.cs
│ ├── AyImageButton.cs
│ ├── AyTextBox.cs
│ ├── AyDataPager.xaml
│ └── AyComboBox.cs
└── MainWindow.xaml.cs
├── 上一个.psd
├── 下一个.psd
├── 刷新.psd
├── 右.psd
├── 左.psd
└── OA.UI.sln
/.vs/OA.UI/v16/Server/sqlite3/db.lock:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI.csproj.CopyComplete:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/上一个.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/上一个.psd
--------------------------------------------------------------------------------
/下一个.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/下一个.psd
--------------------------------------------------------------------------------
/刷新.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/刷新.psd
--------------------------------------------------------------------------------
/右.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/右.psd
--------------------------------------------------------------------------------
/左.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/左.psd
--------------------------------------------------------------------------------
/.vs/OA.UI/v14/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/.vs/OA.UI/v14/.suo
--------------------------------------------------------------------------------
/.vs/OA.UI/v16/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/.vs/OA.UI/v16/.suo
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/App.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/App.baml
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | f510497f2e2fc0983fc342816fb16783ecc24fdd
2 |
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/OA.UI.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/OA.UI.exe
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/OA.UI.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/OA.UI.pdb
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/OA.UI.exe
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/OA.UI.pdb
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/OA.UI.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/OA.UI.vshost.exe
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/MainWindow.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/MainWindow.baml
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI.g.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/OA.UI.g.resources
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/HRPage.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/Views/HRPage.baml
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/minW.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/minW.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/u0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/u0.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/u21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/u21.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/u4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/u4.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/exits.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/exits.png
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/LoginWindow.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/Views/LoginWindow.baml
--------------------------------------------------------------------------------
/.vs/OA.UI/v16/Server/sqlite3/storage.ide:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/.vs/OA.UI/v16/Server/sqlite3/storage.ide
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/Image 1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/Image 1.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/11_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/11_b.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/12_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/12_b.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/13_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/13_b.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/edit.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/flow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/flow.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/view.png
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Controls/AyDataPager.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/Controls/AyDataPager.baml
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/AyExportWindow.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/Views/AyExportWindow.baml
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/companyLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/companyLogo.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/clock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/clock.png
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/EmployeeInfoPage.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/Views/EmployeeInfoPage.baml
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/21602_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/21602_b.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/21604_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/21604_b.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/21605_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/21605_b.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/21606_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/21606_b.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/21607_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/21607_b.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22001_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22001_b.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22002_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22002_b.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22110_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22110_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22111_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22111_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22112_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22112_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22113_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22113_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22114_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22114_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22115_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22115_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22401_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22401_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22403_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22403_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22404_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22404_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/22405_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/22405_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/24001_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/24001_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/24002_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/24002_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/24005_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/24005_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/24406_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/24406_b.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/25103_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/25103_s.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/Schedule.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/Schedule.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/mail_new.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/mail_new.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/tree/folder_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/tree/folder_01.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/tree/folder_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/tree/folder_02.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/tree/folder_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/tree/folder_03.png
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/SystemResources/MainColors.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/SystemResources/MainColors.baml
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/SystemResources/MainThemes.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/SystemResources/MainThemes.baml
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/EditEmployeeWindow.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/Views/EditEmployeeWindow.baml
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/EmployeeBaseInfoPage.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/Views/EmployeeBaseInfoPage.baml
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/ForeignLanguagePage.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/Views/ForeignLanguagePage.baml
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/icon/408004339_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/icon/408004339_b.png
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/Microsoft.Expression.Controls.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/Microsoft.Expression.Controls.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/Microsoft.Expression.Drawing.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/Microsoft.Expression.Drawing.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/EmployeeEducationPage.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/Views/EmployeeEducationPage.baml
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/OA.UI.Properties.Resources.resources
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI.csproj.GenerateResource.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/OA.UI.csproj.GenerateResource.cache
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/OA.UI.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/Microsoft.Expression.Interactions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/Microsoft.Expression.Interactions.dll
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/dgPager/pagination_first.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/dgPager/pagination_first.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/dgPager/pagination_last.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/dgPager/pagination_last.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/dgPager/pagination_load.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/dgPager/pagination_load.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/dgPager/pagination_next.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/dgPager/pagination_next.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/dgPager/pagination_prev.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/dgPager/pagination_prev.png
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/DesignTimeResolveAssemblyReferences.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/DesignTimeResolveAssemblyReferences.cache
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/dgPager/pagination_loading.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/dgPager/pagination_loading.png
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/OA.UI.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/dgPager/pagination_first_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/dgPager/pagination_first_gray.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/dgPager/pagination_last_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/dgPager/pagination_last_gray.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/dgPager/pagination_next_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/dgPager/pagination_next_gray.png
--------------------------------------------------------------------------------
/OA.UI/SystemResources/Images/dgPager/pagination_prev_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/SystemResources/Images/dgPager/pagination_prev_gray.png
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/de/System.Windows.Interactivity.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/de/System.Windows.Interactivity.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/en/System.Windows.Interactivity.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/en/System.Windows.Interactivity.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/es/System.Windows.Interactivity.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/es/System.Windows.Interactivity.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/fr/System.Windows.Interactivity.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/fr/System.Windows.Interactivity.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/it/System.Windows.Interactivity.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/it/System.Windows.Interactivity.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/ja/System.Windows.Interactivity.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/ja/System.Windows.Interactivity.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/ko/System.Windows.Interactivity.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/ko/System.Windows.Interactivity.resources.dll
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/de/Microsoft.Expression.Interactions.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/de/Microsoft.Expression.Interactions.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/en/Microsoft.Expression.Interactions.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/en/Microsoft.Expression.Interactions.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/es/Microsoft.Expression.Interactions.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/es/Microsoft.Expression.Interactions.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/fr/Microsoft.Expression.Interactions.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/fr/Microsoft.Expression.Interactions.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/it/Microsoft.Expression.Interactions.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/it/Microsoft.Expression.Interactions.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/ja/Microsoft.Expression.Interactions.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/ja/Microsoft.Expression.Interactions.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/ko/Microsoft.Expression.Interactions.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/ko/Microsoft.Expression.Interactions.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/zh-Hans/System.Windows.Interactivity.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/zh-Hans/System.Windows.Interactivity.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/zh-Hant/System.Windows.Interactivity.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/zh-Hant/System.Windows.Interactivity.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/zh-Hans/Microsoft.Expression.Interactions.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/zh-Hans/Microsoft.Expression.Interactions.resources.dll
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/zh-Hant/Microsoft.Expression.Interactions.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ay2015/AYOAUI/HEAD/OA.UI/bin/Debug/zh-Hant/Microsoft.Expression.Interactions.resources.dll
--------------------------------------------------------------------------------
/OA.UI/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/OA.UI/OA.UI.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ShowAllFiles
5 |
6 |
--------------------------------------------------------------------------------
/OA.UI/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Windows;
7 |
8 | namespace OA.UI
9 | {
10 | ///
11 | /// App.xaml 的交互逻辑
12 | ///
13 | public partial class App : Application
14 | {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI_Content.g.i.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | [assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("systemresources/images/u4.png")]
12 |
13 |
14 |
--------------------------------------------------------------------------------
/OA.UI/bin/Debug/OA.UI.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/OA.UI/Views/ForeignLanguagePage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/OA.UI/Views/EmployeeEducationPage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/OA.UI/Entities/AyUIEntity.cs:
--------------------------------------------------------------------------------
1 | using Ay.Framework.WPF;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Text;
6 |
7 |
8 | public abstract class AyUIEntity : AyPropertyChanged
9 | {
10 | private bool selected = false;
11 | ///
12 | /// 是否选中
13 | ///
14 | public bool Selected
15 | {
16 | get { return selected; }
17 | set
18 | {
19 | selected = value;
20 | //this.OnPropertyChanged(() => this.Selected);
21 | OnPropertyChanged("Selected");
22 | }
23 | }
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI_MarkupCompile.cache:
--------------------------------------------------------------------------------
1 | OA.UI
2 |
3 |
4 | winexe
5 | C#
6 | .cs
7 | E:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\obj\Debug\
8 | OA.UI
9 | none
10 | false
11 | DEBUG;TRACE
12 | E:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\App.xaml
13 | 12429957801
14 |
15 | 2884200856
16 | 14-1134526746
17 | Controls\AyDataPager.xaml;MainWindow.xaml;SystemResources\MainColors.xaml;SystemResources\MainThemes.xaml;Views\AyExportWindow.xaml;Views\EditEmployeeWindow.xaml;Views\EmployeeBaseInfoPage.xaml;Views\EmployeeEducationPage.xaml;Views\EmployeeInfoPage.xaml;Views\ForeignLanguagePage.xaml;Views\HRPage.xaml;Views\LoginWindow.xaml;
18 |
19 | False
20 |
21 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI_MarkupCompile.i.cache:
--------------------------------------------------------------------------------
1 | OA.UI
2 |
3 |
4 | winexe
5 | C#
6 | .cs
7 | I:\sanxing\AY AYUI世界\★产品源码\OAUI\OA.UI\obj\Debug\
8 | OA.UI
9 | none
10 | false
11 | DEBUG;TRACE
12 | I:\sanxing\AY AYUI世界\★产品源码\OAUI\OA.UI\App.xaml
13 | 12429957801
14 |
15 | 29-1643480881
16 | 1475493531
17 | Controls\AyDataPager.xaml;MainWindow.xaml;SystemResources\MainColors.xaml;SystemResources\MainThemes.xaml;Views\AyExportWindow.xaml;Views\EditEmployeeWindow.xaml;Views\EmployeeBaseInfoPage.xaml;Views\EmployeeEducationPage.xaml;Views\EmployeeInfoPage.xaml;Views\ForeignLanguagePage.xaml;Views\HRPage.xaml;Views\LoginWindow.xaml;
18 |
19 | False
20 |
21 |
--------------------------------------------------------------------------------
/OA.UI/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/OA.UI/Views/HRPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows;
6 | using System.Windows.Controls;
7 | using System.Windows.Data;
8 | using System.Windows.Documents;
9 | using System.Windows.Input;
10 | using System.Windows.Media;
11 | using System.Windows.Media.Imaging;
12 | using System.Windows.Navigation;
13 | using System.Windows.Shapes;
14 |
15 | namespace OA.UI.Views
16 | {
17 | ///
18 | /// HRPage.xaml 的交互逻辑
19 | ///
20 | public partial class HRPage : Page
21 | {
22 | public HRPage()
23 | {
24 | InitializeComponent();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/OA.UI/Views/AyExportWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using Ay.Framework.WPF.Controls;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Shapes;
14 |
15 | namespace OA.UI.Views
16 | {
17 | ///
18 | /// AyExportWindow.xaml 的交互逻辑
19 | ///
20 | public partial class AyExportWindow : AyWindow
21 | {
22 | public AyExportWindow()
23 | {
24 | InitializeComponent();
25 | }
26 |
27 |
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/OA.UI/Views/ForeignLanguagePage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows;
6 | using System.Windows.Controls;
7 | using System.Windows.Data;
8 | using System.Windows.Documents;
9 | using System.Windows.Input;
10 | using System.Windows.Media;
11 | using System.Windows.Media.Imaging;
12 | using System.Windows.Navigation;
13 | using System.Windows.Shapes;
14 |
15 | namespace OA.UI.Views
16 | {
17 | ///
18 | /// ForeignLanguagePage.xaml 的交互逻辑
19 | ///
20 | public partial class ForeignLanguagePage : Page
21 | {
22 | public ForeignLanguagePage()
23 | {
24 | InitializeComponent();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/OA.UI/Views/HRPage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/OA.UI/Views/EmployeeEducationPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows;
6 | using System.Windows.Controls;
7 | using System.Windows.Data;
8 | using System.Windows.Documents;
9 | using System.Windows.Input;
10 | using System.Windows.Media;
11 | using System.Windows.Media.Imaging;
12 | using System.Windows.Navigation;
13 | using System.Windows.Shapes;
14 |
15 | namespace OA.UI.Views
16 | {
17 | ///
18 | /// EmployeeEducationPage.xaml 的交互逻辑
19 | ///
20 | public partial class EmployeeEducationPage : Page
21 | {
22 | public EmployeeEducationPage()
23 | {
24 | InitializeComponent();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/OA.UI_MarkupCompile.lref:
--------------------------------------------------------------------------------
1 |
2 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\App.xaml;;
3 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\Controls\AyDataPager.xaml;;
4 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\MainWindow.xaml;;
5 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\SystemResources\MainThemes.xaml;;
6 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\Views\AyExportWindow.xaml;;
7 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\Views\EditEmployeeWindow.xaml;;
8 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\Views\EmployeeBaseInfoPage.xaml;;
9 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\Views\EmployeeEducationPage.xaml;;
10 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\Views\EmployeeInfoPage.xaml;;
11 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\Views\ForeignLanguagePage.xaml;;
12 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\Views\HRPage.xaml;;
13 | FE:\sanxing\01AYAYUI\★产品源码\OAUI\OA.UI\Views\LoginWindow.xaml;;
14 |
15 |
--------------------------------------------------------------------------------
/OA.UI.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Blend for Visual Studio 14
4 | VisualStudioVersion = 14.0.23107.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OA.UI", "OA.UI\OA.UI.csproj", "{1F2D5C9C-9F44-4F16-B399-3AAA711D1C8F}"
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 | {1F2D5C9C-9F44-4F16-B399-3AAA711D1C8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {1F2D5C9C-9F44-4F16-B399-3AAA711D1C8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {1F2D5C9C-9F44-4F16-B399-3AAA711D1C8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {1F2D5C9C-9F44-4F16-B399-3AAA711D1C8F}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/OA.UI/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace OA.UI.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/OA.UI/Controls/AyPagingDto.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Collections.ObjectModel;
4 | using System.Linq;
5 | using System.Text;
6 |
7 | namespace Ay.Framework.WPF
8 | {
9 | public class AyPagingDto : AyPropertyChanged
10 | {
11 | public AyPagingDto()
12 | {
13 | Data = new ObservableCollection();
14 | }
15 |
16 | private ObservableCollection _data;
17 | public ObservableCollection Data
18 | {
19 | get
20 | {
21 | return _data;
22 | }
23 |
24 | set
25 | {
26 | _data = value;
27 | OnPropertyChanged("Data");
28 | }
29 | }
30 |
31 | public int _total;
32 | public int Total
33 | {
34 | get
35 | {
36 | return _total;
37 | }
38 | set
39 | {
40 | if (_total != value)
41 | {
42 | _total = value;
43 | OnPropertyChanged("Total");
44 | }
45 | }
46 | }
47 |
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/OA.UI/Views/EmployeeBaseInfoPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows;
6 | using System.Windows.Controls;
7 | using System.Windows.Data;
8 | using System.Windows.Documents;
9 | using System.Windows.Input;
10 | using System.Windows.Media;
11 | using System.Windows.Media.Imaging;
12 | using System.Windows.Navigation;
13 | using System.Windows.Shapes;
14 |
15 | namespace OA.UI.Views
16 | {
17 | ///
18 | /// EmployeeBaseInfoPage.xaml 的交互逻辑
19 | ///
20 | public partial class EmployeeBaseInfoPage : Page
21 | {
22 | EmployeeInfo info = new EmployeeInfo();
23 | public EmployeeBaseInfoPage()
24 | {
25 | InitializeComponent();
26 |
27 | }
28 |
29 | private string _empNo;
30 |
31 | public string EmpNo
32 | {
33 | get { return _empNo; }
34 | set { _empNo = value; }
35 | }
36 |
37 | private void export_Click(object sender, RoutedEventArgs e)
38 | {
39 | AyExportWindow exp = new AyExportWindow();
40 | exp.ShowDialog();
41 | }
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/OA.UI/Views/LoginWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using Ay.Framework.WPF.Controls;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Shapes;
14 |
15 | namespace OA.UI.Views
16 | {
17 | ///
18 | /// LoginWindow.xaml 的交互逻辑
19 | ///
20 | public partial class LoginWindow : AyWindow
21 | {
22 | public LoginWindow()
23 | {
24 | InitializeComponent();
25 | }
26 |
27 | private void btnMinWindow_Click(object sender, RoutedEventArgs e)
28 | {
29 | base.MinWindowOperation();
30 | }
31 |
32 | private void btnCloseWindow_Click(object sender, RoutedEventArgs e)
33 | {
34 | base.CloseWindowOperate();
35 | }
36 |
37 | private void btnLogin_Click(object sender, RoutedEventArgs e)
38 | {
39 | MainWindow m = new MainWindow();
40 |
41 | m.Show();
42 | this.Close();
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/OA.UI/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Resources;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 | using System.Windows;
6 |
7 | // 有关程序集的一般信息由以下
8 | // 控制。更改这些特性值可修改
9 | // 与程序集关联的信息。
10 | [assembly: AssemblyTitle("OA.UI")]
11 | [assembly: AssemblyDescription("")]
12 | [assembly: AssemblyConfiguration("")]
13 | [assembly: AssemblyCompany("")]
14 | [assembly: AssemblyProduct("OA.UI")]
15 | [assembly: AssemblyCopyright("Copyright © 2015")]
16 | [assembly: AssemblyTrademark("")]
17 | [assembly: AssemblyCulture("")]
18 |
19 | //将 ComVisible 设置为 false 将使此程序集中的类型
20 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
21 | //请将此类型的 ComVisible 特性设置为 true。
22 | [assembly: ComVisible(false)]
23 |
24 | //若要开始生成可本地化的应用程序,请
25 | // 中的 .csproj 文件中
26 | //例如,如果您在源文件中使用的是美国英语,
27 | //使用的是美国英语,请将 设置为 en-US。 然后取消
28 | //对以下 NeutralResourceLanguage 特性的注释。 更新
29 | //以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
30 |
31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32 |
33 |
34 | [assembly: ThemeInfo(
35 | ResourceDictionaryLocation.None, //主题特定资源词典所处位置
36 | //(当资源未在页面
37 | //或应用程序资源字典中找到时使用)
38 | ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
39 | //(当资源未在页面
40 | //、应用程序或任何主题专用资源字典中找到时使用)
41 | )]
42 |
43 |
44 | // 程序集的版本信息由下列四个值组成:
45 | //
46 | // 主版本
47 | // 次版本
48 | // 生成号
49 | // 修订号
50 | //
51 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
52 | // 方法是按如下所示使用“*”: :
53 | // [assembly: AssemblyVersion("1.0.*")]
54 | [assembly: AssemblyVersion("1.0.0.0")]
55 | [assembly: AssemblyFileVersion("1.0.0.0")]
56 |
--------------------------------------------------------------------------------
/OA.UI/Controls/PasswordBoxMonitor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Windows;
6 | using System.Windows.Controls;
7 |
8 | namespace Ay.Framework.WPF.Controls
9 | {
10 | public class PasswordBoxMonitor : DependencyObject
11 | {
12 | public static bool GetIsMonitoring(DependencyObject obj)
13 | {
14 | return (bool)obj.GetValue(IsMonitoringProperty);
15 | }
16 |
17 | public static void SetIsMonitoring(DependencyObject obj, bool value)
18 | {
19 | obj.SetValue(IsMonitoringProperty, value);
20 | }
21 |
22 | public static readonly DependencyProperty IsMonitoringProperty =
23 | DependencyProperty.RegisterAttached("IsMonitoring", typeof(bool), typeof(PasswordBoxMonitor), new UIPropertyMetadata(false, OnIsMonitoringChanged));
24 |
25 |
26 |
27 | public static int GetPasswordLength(DependencyObject obj)
28 | {
29 | return (int)obj.GetValue(PasswordLengthProperty);
30 | }
31 |
32 | public static void SetPasswordLength(DependencyObject obj, int value)
33 | {
34 | obj.SetValue(PasswordLengthProperty, value);
35 | }
36 |
37 | public static readonly DependencyProperty PasswordLengthProperty =
38 | DependencyProperty.RegisterAttached("PasswordLength", typeof(int), typeof(PasswordBoxMonitor), new UIPropertyMetadata(0));
39 |
40 | private static void OnIsMonitoringChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
41 | {
42 | var pb = d as PasswordBox;
43 | if (pb == null)
44 | {
45 | return;
46 | }
47 | if ((bool)e.NewValue)
48 | {
49 | pb.PasswordChanged += PasswordChanged;
50 | }
51 | else
52 | {
53 | pb.PasswordChanged -= PasswordChanged;
54 | }
55 | }
56 |
57 | static void PasswordChanged(object sender, RoutedEventArgs e)
58 | {
59 | var pb = sender as PasswordBox;
60 | if (pb == null)
61 | {
62 | return;
63 | }
64 | SetPasswordLength(pb, pb.Password.Length);
65 | }
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/OA.UI/Entities/EmployeeInfo.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | ///
5 | /// 实体,可以有数据库生成
6 | ///
7 | public class EmployeeInfo : AyUIEntity
8 | {
9 |
10 | private int id;
11 |
12 | public int Id
13 | {
14 | get { return id; }
15 | set
16 | {
17 | id = value;
18 | OnPropertyChanged("Id");
19 | }
20 | }
21 |
22 |
23 | private string employeeNo;
24 |
25 | public string EmployeeNo
26 | {
27 | get { return employeeNo; }
28 | set
29 | {
30 | employeeNo = value;
31 | OnPropertyChanged("EmployeeNo");
32 | }
33 | }
34 |
35 | private string sex;
36 |
37 | public string Sex
38 | {
39 | get { return sex; }
40 | set
41 | {
42 | sex = value;
43 | OnPropertyChanged("Sex");
44 | }
45 | }
46 |
47 | private string name;
48 |
49 | public string Name
50 | {
51 | get { return name; }
52 | set
53 | {
54 | name = value;
55 | OnPropertyChanged("Name");
56 | }
57 | }
58 |
59 | private DateTime? workDate;
60 |
61 | public DateTime? WorkDate
62 | {
63 | get { return workDate; }
64 | set
65 | {
66 | workDate = value;
67 | OnPropertyChanged("WorkDate");
68 | }
69 | }
70 |
71 |
72 |
73 | private string degree;
74 |
75 | public string Degree
76 | {
77 | get { return degree; }
78 | set
79 | {
80 | degree = value;
81 | OnPropertyChanged("Degree");
82 | }
83 |
84 | }
85 |
86 |
87 |
88 | private DateTime? firstWorkDate;
89 | ///
90 | /// 第一次参加工作时间
91 | ///
92 | public DateTime? FirstWorkDate
93 | {
94 | get { return firstWorkDate; }
95 | set
96 | {
97 | firstWorkDate = value;
98 | OnPropertyChanged("FirstWorkDate");
99 | }
100 | }
101 |
102 |
103 |
104 |
105 | private int workMonth;
106 | ///
107 | /// 工龄
108 | ///
109 | public int WorkMonth
110 | {
111 | get { return workMonth; }
112 | set
113 | {
114 | workMonth = value;
115 | OnPropertyChanged("WorkMonth");
116 | }
117 | }
118 |
119 |
120 |
121 | }
122 |
123 |
124 |
125 |
--------------------------------------------------------------------------------
/OA.UI/Controls/AyPropertyChanged.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.ComponentModel;
6 | using System.Linq.Expressions;
7 | using System.Reflection;
8 | using System.Windows;
9 | using System.Windows.Media;
10 |
11 | namespace Ay.Framework.WPF
12 | {
13 | public class AyPropertyChanged : INotifyPropertyChanged
14 | {
15 | public event PropertyChangedEventHandler PropertyChanged;
16 |
17 | protected virtual void OnPropertyChanged(string propertyName)
18 | {
19 | PropertyChangedEventHandler handler = this.PropertyChanged;
20 | if (handler != null)
21 | {
22 | handler(this, new PropertyChangedEventArgs(propertyName));
23 | }
24 |
25 | }
26 |
27 | protected void OnPropertyChanged(params string[] propertyNames)
28 | {
29 | if (propertyNames == null) throw new ArgumentNullException("propertyNames");
30 |
31 | foreach (var name in propertyNames)
32 | {
33 | this.OnPropertyChanged(name);
34 | }
35 | }
36 |
37 | protected void OnPropertyChanged(Expression> propertyExpression)
38 | {
39 | var propertyName = ExtractPropertyName(propertyExpression);
40 | this.OnPropertyChanged(propertyName);
41 | }
42 |
43 | public static string ExtractPropertyName(Expression> propertyExpression)
44 | {
45 | if (propertyExpression == null)
46 | {
47 | throw new ArgumentNullException("propertyExpression");
48 | }
49 |
50 | var memberExpression = propertyExpression.Body as MemberExpression;
51 | if (memberExpression == null)
52 | {
53 | throw new ArgumentException("PropertySupport_NotMemberAccessExpression_Exception", "propertyExpression");
54 | }
55 |
56 | var property = memberExpression.Member as PropertyInfo;
57 | if (property == null)
58 | {
59 | throw new ArgumentException("PropertySupport_ExpressionNotProperty_Exception", "propertyExpression");
60 | }
61 |
62 | var getMethod = property.GetGetMethod(true);
63 | if (getMethod.IsStatic)
64 | {
65 | throw new ArgumentException("PropertySupport_StaticExpression_Exception", "propertyExpression");
66 | }
67 |
68 | return memberExpression.Member.Name;
69 | }
70 |
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/OA.UI/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本: 4.0.30319.42000
5 | //
6 | // 对此文件的更改可能导致不正确的行为,如果
7 | // 重新生成代码,则所做更改将丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace OA.UI.Properties
12 | {
13 |
14 |
15 | ///
16 | /// 强类型资源类,用于查找本地化字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources
26 | {
27 |
28 | private static global::System.Resources.ResourceManager resourceMan;
29 |
30 | private static global::System.Globalization.CultureInfo resourceCulture;
31 |
32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33 | internal Resources()
34 | {
35 | }
36 |
37 | ///
38 | /// 返回此类使用的缓存 ResourceManager 实例。
39 | ///
40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41 | internal static global::System.Resources.ResourceManager ResourceManager
42 | {
43 | get
44 | {
45 | if ((resourceMan == null))
46 | {
47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OA.UI.Properties.Resources", typeof(Resources).Assembly);
48 | resourceMan = temp;
49 | }
50 | return resourceMan;
51 | }
52 | }
53 |
54 | ///
55 | /// 覆盖当前线程的 CurrentUICulture 属性
56 | /// 使用此强类型的资源类的资源查找。
57 | ///
58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59 | internal static global::System.Globalization.CultureInfo Culture
60 | {
61 | get
62 | {
63 | return resourceCulture;
64 | }
65 | set
66 | {
67 | resourceCulture = value;
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/App.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B6C34FD330FF790D91FDB243C2697858BA1B10B4AE5BC632A2D7E91FCBC1D362"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using OA.UI;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Ink;
22 | using System.Windows.Input;
23 | using System.Windows.Markup;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Animation;
26 | using System.Windows.Media.Effects;
27 | using System.Windows.Media.Imaging;
28 | using System.Windows.Media.Media3D;
29 | using System.Windows.Media.TextFormatting;
30 | using System.Windows.Navigation;
31 | using System.Windows.Shapes;
32 | using System.Windows.Shell;
33 |
34 |
35 | namespace OA.UI {
36 |
37 |
38 | ///
39 | /// App
40 | ///
41 | public partial class App : System.Windows.Application {
42 |
43 | private bool _contentLoaded;
44 |
45 | ///
46 | /// InitializeComponent
47 | ///
48 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
49 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
50 | public void InitializeComponent() {
51 | if (_contentLoaded) {
52 | return;
53 | }
54 | _contentLoaded = true;
55 |
56 | #line 5 "..\..\App.xaml"
57 | this.StartupUri = new System.Uri("/Views/LoginWindow.xaml", System.UriKind.Relative);
58 |
59 | #line default
60 | #line hidden
61 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/app.xaml", System.UriKind.Relative);
62 |
63 | #line 1 "..\..\App.xaml"
64 | System.Windows.Application.LoadComponent(this, resourceLocater);
65 |
66 | #line default
67 | #line hidden
68 | }
69 |
70 | ///
71 | /// Application Entry Point.
72 | ///
73 | [System.STAThreadAttribute()]
74 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
75 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
76 | public static void Main() {
77 | OA.UI.App app = new OA.UI.App();
78 | app.InitializeComponent();
79 | app.Run();
80 | }
81 | }
82 | }
83 |
84 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/App.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B6C34FD330FF790D91FDB243C2697858BA1B10B4AE5BC632A2D7E91FCBC1D362"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using OA.UI;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Ink;
22 | using System.Windows.Input;
23 | using System.Windows.Markup;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Animation;
26 | using System.Windows.Media.Effects;
27 | using System.Windows.Media.Imaging;
28 | using System.Windows.Media.Media3D;
29 | using System.Windows.Media.TextFormatting;
30 | using System.Windows.Navigation;
31 | using System.Windows.Shapes;
32 | using System.Windows.Shell;
33 |
34 |
35 | namespace OA.UI {
36 |
37 |
38 | ///
39 | /// App
40 | ///
41 | public partial class App : System.Windows.Application {
42 |
43 | private bool _contentLoaded;
44 |
45 | ///
46 | /// InitializeComponent
47 | ///
48 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
49 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
50 | public void InitializeComponent() {
51 | if (_contentLoaded) {
52 | return;
53 | }
54 | _contentLoaded = true;
55 |
56 | #line 5 "..\..\App.xaml"
57 | this.StartupUri = new System.Uri("/Views/LoginWindow.xaml", System.UriKind.Relative);
58 |
59 | #line default
60 | #line hidden
61 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/app.xaml", System.UriKind.Relative);
62 |
63 | #line 1 "..\..\App.xaml"
64 | System.Windows.Application.LoadComponent(this, resourceLocater);
65 |
66 | #line default
67 | #line hidden
68 | }
69 |
70 | ///
71 | /// Application Entry Point.
72 | ///
73 | [System.STAThreadAttribute()]
74 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
75 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
76 | public static void Main() {
77 | OA.UI.App app = new OA.UI.App();
78 | app.InitializeComponent();
79 | app.Run();
80 | }
81 | }
82 | }
83 |
84 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/GeneratedInternalTypeHelper.g.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace XamlGeneratedNamespace {
12 |
13 |
14 | ///
15 | /// GeneratedInternalTypeHelper
16 | ///
17 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
18 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
19 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
20 | public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
21 |
22 | ///
23 | /// CreateInstance
24 | ///
25 | protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
26 | return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
27 | | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
28 | }
29 |
30 | ///
31 | /// GetPropertyValue
32 | ///
33 | protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
34 | return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
35 | }
36 |
37 | ///
38 | /// SetPropertyValue
39 | ///
40 | protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
41 | propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
42 | }
43 |
44 | ///
45 | /// CreateDelegate
46 | ///
47 | protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
48 | return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
49 | | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
50 | delegateType,
51 | handler}, null)));
52 | }
53 |
54 | ///
55 | /// AddEventHandler
56 | ///
57 | protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
58 | eventInfo.AddEventHandler(target, handler);
59 | }
60 | }
61 | }
62 |
63 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/GeneratedInternalTypeHelper.g.i.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace XamlGeneratedNamespace {
12 |
13 |
14 | ///
15 | /// GeneratedInternalTypeHelper
16 | ///
17 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
18 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
19 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
20 | public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
21 |
22 | ///
23 | /// CreateInstance
24 | ///
25 | protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
26 | return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
27 | | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
28 | }
29 |
30 | ///
31 | /// GetPropertyValue
32 | ///
33 | protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
34 | return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
35 | }
36 |
37 | ///
38 | /// SetPropertyValue
39 | ///
40 | protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
41 | propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
42 | }
43 |
44 | ///
45 | /// CreateDelegate
46 | ///
47 | protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
48 | return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
49 | | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
50 | delegateType,
51 | handler}, null)));
52 | }
53 |
54 | ///
55 | /// AddEventHandler
56 | ///
57 | protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
58 | eventInfo.AddEventHandler(target, handler);
59 | }
60 | }
61 | }
62 |
63 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Page1.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\Page1.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "1D1D4D5C060AC28AE79ADB0E4701F0F3"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using Ay.Framework.WPF.Controls;
13 | using OA.UI;
14 | using OA.UI.Resources;
15 | using OA.UI.SystemResources;
16 | using System;
17 | using System.Diagnostics;
18 | using System.Windows;
19 | using System.Windows.Automation;
20 | using System.Windows.Controls;
21 | using System.Windows.Controls.Primitives;
22 | using System.Windows.Data;
23 | using System.Windows.Documents;
24 | using System.Windows.Ink;
25 | using System.Windows.Input;
26 | using System.Windows.Markup;
27 | using System.Windows.Media;
28 | using System.Windows.Media.Animation;
29 | using System.Windows.Media.Effects;
30 | using System.Windows.Media.Imaging;
31 | using System.Windows.Media.Media3D;
32 | using System.Windows.Media.TextFormatting;
33 | using System.Windows.Navigation;
34 | using System.Windows.Shapes;
35 | using System.Windows.Shell;
36 |
37 |
38 | namespace OA.UI {
39 |
40 |
41 | ///
42 | /// Page1
43 | ///
44 | public partial class Page1 : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
45 |
46 | private bool _contentLoaded;
47 |
48 | ///
49 | /// InitializeComponent
50 | ///
51 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
52 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
53 | public void InitializeComponent() {
54 | if (_contentLoaded) {
55 | return;
56 | }
57 | _contentLoaded = true;
58 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/page1.xaml", System.UriKind.Relative);
59 |
60 | #line 1 "..\..\Page1.xaml"
61 | System.Windows.Application.LoadComponent(this, resourceLocater);
62 |
63 | #line default
64 | #line hidden
65 | }
66 |
67 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
68 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
69 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
70 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
71 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
72 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
73 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
74 | this._contentLoaded = true;
75 | }
76 | }
77 | }
78 |
79 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/ForeignLanguagePage.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\ForeignLanguagePage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E3F29CF4240E6FB787F0CDCEF0AD01E29C4454B50A95397D4E41DA8FCB13882A"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using OA.UI.Views;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Ink;
22 | using System.Windows.Input;
23 | using System.Windows.Markup;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Animation;
26 | using System.Windows.Media.Effects;
27 | using System.Windows.Media.Imaging;
28 | using System.Windows.Media.Media3D;
29 | using System.Windows.Media.TextFormatting;
30 | using System.Windows.Navigation;
31 | using System.Windows.Shapes;
32 | using System.Windows.Shell;
33 |
34 |
35 | namespace OA.UI.Views {
36 |
37 |
38 | ///
39 | /// ForeignLanguagePage
40 | ///
41 | public partial class ForeignLanguagePage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
42 |
43 | private bool _contentLoaded;
44 |
45 | ///
46 | /// InitializeComponent
47 | ///
48 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
49 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
50 | public void InitializeComponent() {
51 | if (_contentLoaded) {
52 | return;
53 | }
54 | _contentLoaded = true;
55 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/foreignlanguagepage.xaml", System.UriKind.Relative);
56 |
57 | #line 1 "..\..\..\Views\ForeignLanguagePage.xaml"
58 | System.Windows.Application.LoadComponent(this, resourceLocater);
59 |
60 | #line default
61 | #line hidden
62 | }
63 |
64 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
65 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
66 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
67 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
68 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
69 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
70 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
71 | this._contentLoaded = true;
72 | }
73 | }
74 | }
75 |
76 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/ForeignLanguagePage.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\ForeignLanguagePage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E3F29CF4240E6FB787F0CDCEF0AD01E29C4454B50A95397D4E41DA8FCB13882A"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using OA.UI.Views;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Ink;
22 | using System.Windows.Input;
23 | using System.Windows.Markup;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Animation;
26 | using System.Windows.Media.Effects;
27 | using System.Windows.Media.Imaging;
28 | using System.Windows.Media.Media3D;
29 | using System.Windows.Media.TextFormatting;
30 | using System.Windows.Navigation;
31 | using System.Windows.Shapes;
32 | using System.Windows.Shell;
33 |
34 |
35 | namespace OA.UI.Views {
36 |
37 |
38 | ///
39 | /// ForeignLanguagePage
40 | ///
41 | public partial class ForeignLanguagePage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
42 |
43 | private bool _contentLoaded;
44 |
45 | ///
46 | /// InitializeComponent
47 | ///
48 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
49 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
50 | public void InitializeComponent() {
51 | if (_contentLoaded) {
52 | return;
53 | }
54 | _contentLoaded = true;
55 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/foreignlanguagepage.xaml", System.UriKind.Relative);
56 |
57 | #line 1 "..\..\..\Views\ForeignLanguagePage.xaml"
58 | System.Windows.Application.LoadComponent(this, resourceLocater);
59 |
60 | #line default
61 | #line hidden
62 | }
63 |
64 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
65 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
66 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
67 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
68 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
69 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
70 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
71 | this._contentLoaded = true;
72 | }
73 | }
74 | }
75 |
76 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/EmployeeEducationPage.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\EmployeeEducationPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F542E29626F4793DC296FE9FC0B74F2A8FF901BB8C7EEF317F5A8020587E79E9"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using OA.UI.Views;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Ink;
22 | using System.Windows.Input;
23 | using System.Windows.Markup;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Animation;
26 | using System.Windows.Media.Effects;
27 | using System.Windows.Media.Imaging;
28 | using System.Windows.Media.Media3D;
29 | using System.Windows.Media.TextFormatting;
30 | using System.Windows.Navigation;
31 | using System.Windows.Shapes;
32 | using System.Windows.Shell;
33 |
34 |
35 | namespace OA.UI.Views {
36 |
37 |
38 | ///
39 | /// EmployeeEducationPage
40 | ///
41 | public partial class EmployeeEducationPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
42 |
43 | private bool _contentLoaded;
44 |
45 | ///
46 | /// InitializeComponent
47 | ///
48 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
49 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
50 | public void InitializeComponent() {
51 | if (_contentLoaded) {
52 | return;
53 | }
54 | _contentLoaded = true;
55 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/employeeeducationpage.xaml", System.UriKind.Relative);
56 |
57 | #line 1 "..\..\..\Views\EmployeeEducationPage.xaml"
58 | System.Windows.Application.LoadComponent(this, resourceLocater);
59 |
60 | #line default
61 | #line hidden
62 | }
63 |
64 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
65 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
66 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
67 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
68 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
69 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
70 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
71 | this._contentLoaded = true;
72 | }
73 | }
74 | }
75 |
76 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/EmployeeEducationPage.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\EmployeeEducationPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F542E29626F4793DC296FE9FC0B74F2A8FF901BB8C7EEF317F5A8020587E79E9"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using OA.UI.Views;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Ink;
22 | using System.Windows.Input;
23 | using System.Windows.Markup;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Animation;
26 | using System.Windows.Media.Effects;
27 | using System.Windows.Media.Imaging;
28 | using System.Windows.Media.Media3D;
29 | using System.Windows.Media.TextFormatting;
30 | using System.Windows.Navigation;
31 | using System.Windows.Shapes;
32 | using System.Windows.Shell;
33 |
34 |
35 | namespace OA.UI.Views {
36 |
37 |
38 | ///
39 | /// EmployeeEducationPage
40 | ///
41 | public partial class EmployeeEducationPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
42 |
43 | private bool _contentLoaded;
44 |
45 | ///
46 | /// InitializeComponent
47 | ///
48 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
49 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
50 | public void InitializeComponent() {
51 | if (_contentLoaded) {
52 | return;
53 | }
54 | _contentLoaded = true;
55 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/employeeeducationpage.xaml", System.UriKind.Relative);
56 |
57 | #line 1 "..\..\..\Views\EmployeeEducationPage.xaml"
58 | System.Windows.Application.LoadComponent(this, resourceLocater);
59 |
60 | #line default
61 | #line hidden
62 | }
63 |
64 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
65 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
66 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
67 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
68 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
69 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
70 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
71 | this._contentLoaded = true;
72 | }
73 | }
74 | }
75 |
76 |
--------------------------------------------------------------------------------
/OA.UI/Views/AyExportWindow.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/OA.UI/Controls/AyImageButton.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows.Controls;
7 | using System.Windows.Media;
8 | using System.ComponentModel;
9 | using System.Windows;
10 |
11 | namespace Ay.Framework.WPF.Controls
12 | {
13 | public enum AyImageButtonMode {
14 | HorizonFour,
15 | VerticalFour,
16 | ContentOpacity,
17 | Manner
18 | }
19 | public class AyImageButton:Button
20 | {
21 |
22 |
23 | public AyImageButtonMode RenderMode
24 | {
25 | get { return (AyImageButtonMode)GetValue(RenderModeProperty); }
26 | set { SetValue(RenderModeProperty, value); }
27 | }
28 |
29 | // Using a DependencyProperty as the backing store for RenderMode. This enables animation, styling, binding, etc...
30 | public static readonly DependencyProperty RenderModeProperty =
31 | DependencyProperty.Register("RenderMode", typeof(AyImageButtonMode), typeof(AyImageButton), new PropertyMetadata(AyImageButtonMode.HorizonFour));
32 |
33 |
34 |
35 | ///
36 | /// Image4Button
37 | ///
38 | public ImageSource Icon
39 | {
40 | get { return (ImageSource)GetValue(IconProperty); }
41 | set { SetValue(IconProperty, value); }
42 | }
43 |
44 | // Using a DependencyProperty as the backing store for Icon. This enables animation, styling, binding, etc...
45 | public static readonly DependencyProperty IconProperty =
46 | DependencyProperty.Register("Icon", typeof(ImageSource), typeof(AyImageButton), new PropertyMetadata(null));
47 |
48 |
49 |
50 | public ImageSource HoverIcon
51 | {
52 | get { return (ImageSource)GetValue(HoverIconProperty); }
53 | set { SetValue(HoverIconProperty, value); }
54 | }
55 |
56 | // Using a DependencyProperty as the backing store for HoverIcon. This enables animation, styling, binding, etc...
57 | public static readonly DependencyProperty HoverIconProperty =
58 | DependencyProperty.Register("HoverIcon", typeof(ImageSource), typeof(AyImageButton), new PropertyMetadata(null));
59 |
60 |
61 |
62 | public ImageSource PressedIcon
63 | {
64 | get { return (ImageSource)GetValue(PressedIconProperty); }
65 | set { SetValue(PressedIconProperty, value); }
66 | }
67 |
68 | // Using a DependencyProperty as the backing store for PressedIcon. This enables animation, styling, binding, etc...
69 | public static readonly DependencyProperty PressedIconProperty =
70 | DependencyProperty.Register("PressedIcon", typeof(ImageSource), typeof(AyImageButton), new PropertyMetadata(null));
71 |
72 |
73 |
74 |
75 | public ImageSource DisabledIcon
76 | {
77 | get { return (ImageSource)GetValue(DisabledIconProperty); }
78 | set { SetValue(DisabledIconProperty, value); }
79 | }
80 |
81 | // Using a DependencyProperty as the backing store for DisabledIcon. This enables animation, styling, binding, etc...
82 | public static readonly DependencyProperty DisabledIconProperty =
83 | DependencyProperty.Register("DisabledIcon", typeof(ImageSource), typeof(AyImageButton), new PropertyMetadata(null));
84 |
85 |
86 |
87 | }
88 |
89 |
90 | }
91 |
--------------------------------------------------------------------------------
/OA.UI/Controls/AyTextBox.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Globalization;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 | using System.Windows.Controls;
9 | using System.Windows.Data;
10 | using System.Windows.Media;
11 |
12 | namespace Ay.Framework.WPF.Controls
13 | {
14 |
15 | public class AyTextBox : TextBox
16 | {
17 |
18 | static AyTextBox()
19 | {
20 | DefaultStyleKeyProperty.OverrideMetadata(typeof(AyTextBox), new FrameworkPropertyMetadata(typeof(AyTextBox)));
21 |
22 | TextProperty.OverrideMetadata(
23 | typeof(AyTextBox),
24 | new FrameworkPropertyMetadata(new PropertyChangedCallback(TextPropertyChanged)));
25 | }
26 |
27 |
28 | public string Mask
29 | {
30 | get { return (string)GetValue(MaskProperty); }
31 | set { SetValue(MaskProperty, value); }
32 | }
33 |
34 | // Using a DependencyProperty as the backing store for Mask. This enables animation, styling, binding, etc...
35 | public static readonly DependencyProperty MaskProperty =
36 | DependencyProperty.Register("Mask", typeof(string), typeof(AyTextBox), new PropertyMetadata(string.Empty));
37 |
38 |
39 | private static readonly DependencyPropertyKey HasTextPropertyKey = DependencyProperty.RegisterReadOnly(
40 | "HasText",
41 | typeof(bool),
42 | typeof(AyTextBox),
43 | new FrameworkPropertyMetadata(false));
44 |
45 | public static readonly DependencyProperty HasTextProperty = HasTextPropertyKey.DependencyProperty;
46 |
47 | public bool HasText
48 | {
49 | get
50 | {
51 | return (bool)GetValue(HasTextProperty);
52 | }
53 | }
54 |
55 |
56 |
57 |
58 |
59 | public Brush MaskForeground
60 | {
61 | get { return (Brush)GetValue(MaskForegroundProperty); }
62 | set { SetValue(MaskForegroundProperty, value); }
63 | }
64 |
65 | // Using a DependencyProperty as the backing store for MaskForeground. This enables animation, styling, binding, etc...
66 | public static readonly DependencyProperty MaskForegroundProperty =
67 | DependencyProperty.Register("MaskForeground", typeof(Brush), typeof(AyTextBox), new PropertyMetadata(new SolidColorBrush(Colors.Gray)));
68 |
69 |
70 |
71 | public object RightContent
72 | {
73 | get { return (object)GetValue(RightContentProperty); }
74 | set { SetValue(RightContentProperty, value); }
75 | }
76 |
77 | // Using a DependencyProperty as the backing store for RightContent. This enables animation, styling, binding, etc...
78 | public static readonly DependencyProperty RightContentProperty =
79 | DependencyProperty.Register("RightContent", typeof(object), typeof(AyTextBox), new PropertyMetadata(null));
80 |
81 |
82 | public
83 | static void TextPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
84 | {
85 |
86 | AyTextBox itb = (AyTextBox)sender;
87 |
88 | bool actuallyHasText = itb.Text.Length > 0;
89 | if (actuallyHasText != itb.HasText)
90 | {
91 | itb.SetValue(HasTextPropertyKey, actuallyHasText);
92 |
93 | }
94 |
95 | }
96 | }
97 | }
98 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/HRPage.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\HRPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9826D37847ED09FEBC4F7DC1DB7AA212977887D1AE8891E74B465B3129B11970"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using OA.UI.Views;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Ink;
22 | using System.Windows.Input;
23 | using System.Windows.Markup;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Animation;
26 | using System.Windows.Media.Effects;
27 | using System.Windows.Media.Imaging;
28 | using System.Windows.Media.Media3D;
29 | using System.Windows.Media.TextFormatting;
30 | using System.Windows.Navigation;
31 | using System.Windows.Shapes;
32 | using System.Windows.Shell;
33 |
34 |
35 | namespace OA.UI.Views {
36 |
37 |
38 | ///
39 | /// HRPage
40 | ///
41 | public partial class HRPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
42 |
43 |
44 | #line 12 "..\..\..\Views\HRPage.xaml"
45 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
46 | internal System.Windows.Controls.TextBlock textBlock;
47 |
48 | #line default
49 | #line hidden
50 |
51 | private bool _contentLoaded;
52 |
53 | ///
54 | /// InitializeComponent
55 | ///
56 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
57 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
58 | public void InitializeComponent() {
59 | if (_contentLoaded) {
60 | return;
61 | }
62 | _contentLoaded = true;
63 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/hrpage.xaml", System.UriKind.Relative);
64 |
65 | #line 1 "..\..\..\Views\HRPage.xaml"
66 | System.Windows.Application.LoadComponent(this, resourceLocater);
67 |
68 | #line default
69 | #line hidden
70 | }
71 |
72 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
73 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
74 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
75 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
76 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
77 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
78 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
79 | switch (connectionId)
80 | {
81 | case 1:
82 | this.textBlock = ((System.Windows.Controls.TextBlock)(target));
83 | return;
84 | }
85 | this._contentLoaded = true;
86 | }
87 | }
88 | }
89 |
90 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/HRPage.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\HRPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9826D37847ED09FEBC4F7DC1DB7AA212977887D1AE8891E74B465B3129B11970"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using OA.UI.Views;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Ink;
22 | using System.Windows.Input;
23 | using System.Windows.Markup;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Animation;
26 | using System.Windows.Media.Effects;
27 | using System.Windows.Media.Imaging;
28 | using System.Windows.Media.Media3D;
29 | using System.Windows.Media.TextFormatting;
30 | using System.Windows.Navigation;
31 | using System.Windows.Shapes;
32 | using System.Windows.Shell;
33 |
34 |
35 | namespace OA.UI.Views {
36 |
37 |
38 | ///
39 | /// HRPage
40 | ///
41 | public partial class HRPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
42 |
43 |
44 | #line 12 "..\..\..\Views\HRPage.xaml"
45 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
46 | internal System.Windows.Controls.TextBlock textBlock;
47 |
48 | #line default
49 | #line hidden
50 |
51 | private bool _contentLoaded;
52 |
53 | ///
54 | /// InitializeComponent
55 | ///
56 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
57 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
58 | public void InitializeComponent() {
59 | if (_contentLoaded) {
60 | return;
61 | }
62 | _contentLoaded = true;
63 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/hrpage.xaml", System.UriKind.Relative);
64 |
65 | #line 1 "..\..\..\Views\HRPage.xaml"
66 | System.Windows.Application.LoadComponent(this, resourceLocater);
67 |
68 | #line default
69 | #line hidden
70 | }
71 |
72 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
73 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
74 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
75 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
76 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
77 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
78 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
79 | switch (connectionId)
80 | {
81 | case 1:
82 | this.textBlock = ((System.Windows.Controls.TextBlock)(target));
83 | return;
84 | }
85 | this._contentLoaded = true;
86 | }
87 | }
88 | }
89 |
90 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Controls/ImageButton.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Controls\ImageButton.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "CC78A5A90A5DAA85424C568B418DF89D"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using System;
13 | using System.Diagnostics;
14 | using System.Windows;
15 | using System.Windows.Automation;
16 | using System.Windows.Controls;
17 | using System.Windows.Controls.Primitives;
18 | using System.Windows.Data;
19 | using System.Windows.Documents;
20 | using System.Windows.Ink;
21 | using System.Windows.Input;
22 | using System.Windows.Markup;
23 | using System.Windows.Media;
24 | using System.Windows.Media.Animation;
25 | using System.Windows.Media.Effects;
26 | using System.Windows.Media.Imaging;
27 | using System.Windows.Media.Media3D;
28 | using System.Windows.Media.TextFormatting;
29 | using System.Windows.Navigation;
30 | using System.Windows.Shapes;
31 | using System.Windows.Shell;
32 |
33 |
34 | namespace CustomControlLibrary {
35 |
36 |
37 | ///
38 | /// ImageButton
39 | ///
40 | public partial class ImageButton : System.Windows.Controls.Button, System.Windows.Markup.IComponentConnector {
41 |
42 |
43 | #line 6 "..\..\..\Controls\ImageButton.xaml"
44 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
45 | internal CustomControlLibrary.ImageButton loc;
46 |
47 | #line default
48 | #line hidden
49 |
50 |
51 | #line 9 "..\..\..\Controls\ImageButton.xaml"
52 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
53 | internal System.Windows.Controls.Image innerImage;
54 |
55 | #line default
56 | #line hidden
57 |
58 | private bool _contentLoaded;
59 |
60 | ///
61 | /// InitializeComponent
62 | ///
63 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
64 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
65 | public void InitializeComponent() {
66 | if (_contentLoaded) {
67 | return;
68 | }
69 | _contentLoaded = true;
70 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/controls/imagebutton.xaml", System.UriKind.Relative);
71 |
72 | #line 1 "..\..\..\Controls\ImageButton.xaml"
73 | System.Windows.Application.LoadComponent(this, resourceLocater);
74 |
75 | #line default
76 | #line hidden
77 | }
78 |
79 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
80 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
81 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
82 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
83 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
84 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
85 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
86 | switch (connectionId)
87 | {
88 | case 1:
89 | this.loc = ((CustomControlLibrary.ImageButton)(target));
90 | return;
91 | case 2:
92 | this.innerImage = ((System.Windows.Controls.Image)(target));
93 | return;
94 | }
95 | this._contentLoaded = true;
96 | }
97 | }
98 | }
99 |
100 |
--------------------------------------------------------------------------------
/OA.UI/Views/EditEmployeeWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using Ay.Framework.WPF;
2 | using Ay.Framework.WPF.Controls;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Windows;
8 | using System.Windows.Controls;
9 | using System.Windows.Data;
10 | using System.Windows.Documents;
11 | using System.Windows.Input;
12 | using System.Windows.Media;
13 | using System.Windows.Media.Imaging;
14 |
15 | using System.Windows.Shapes;
16 |
17 | namespace OA.UI.Views
18 | {
19 | ///
20 | /// EditEmployeeWindow.xaml 的交互逻辑
21 | ///
22 | public partial class EditEmployeeWindow : AyWindow
23 | {
24 | public EditEmployeeWindowMainView view;
25 | public EditEmployeeWindow()
26 | {
27 | InitializeComponent();
28 |
29 |
30 |
31 | }
32 | public EditEmployeeWindow(EditEmployeeWindowMainView v)
33 | {
34 | this.view = v;
35 | InitializeComponent();
36 | //视图模型补充
37 |
38 | //赋值
39 | this.DataContext = view;
40 | tabFrameMain.Source = new Uri("/views/EmployeeBaseInfoPage.xaml", UriKind.Relative);
41 |
42 | }
43 |
44 | private void tabFrameMain_LoadCompleted(object sender, System.Windows.Navigation.NavigationEventArgs e)
45 | {
46 | var content = tabFrameMain.Content as FrameworkElement;
47 | if (content == null)
48 | return;
49 | content.DataContext = tabFrameMain.DataContext;
50 | }
51 |
52 | private void tabFrameMain_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
53 | {
54 | var content = tabFrameMain.Content as FrameworkElement;
55 | if (content == null)
56 | return;
57 | content.DataContext = tabFrameMain.DataContext;
58 | }
59 |
60 |
61 | private void RadioButton_Click(object sender, RoutedEventArgs e)
62 | {
63 | RadioButton rb = sender as RadioButton;
64 | if (rb != null)
65 | {
66 | string a = rb.Tag as string;
67 | string a1 = "/Views/" + a;
68 | tabFrameMain.Source = new Uri(a1, UriKind.Relative);
69 | //switch (a)
70 | //{
71 | // case "EmployeeBaseInfoPage.xaml":
72 | // EmployeeBaseInfoPage p = new EmployeeBaseInfoPage();
73 |
74 | // break;
75 | // default:
76 | // break;
77 | //}
78 | }
79 | }
80 |
81 | private void AyWindow_Loaded(object sender, RoutedEventArgs e)
82 | {
83 |
84 | }
85 | }
86 |
87 | public class EditEmployeeWindowMainView : AyPropertyChanged
88 | {
89 | private string _mainTitle;
90 |
91 | public string MainTitle
92 | {
93 | get { return _mainTitle; }
94 | set
95 | {
96 | _mainTitle = value;
97 | OnPropertyChanged("MainTitle");
98 | }
99 | }
100 |
101 |
102 | #region 其他字段
103 |
104 |
105 | private string _empName;
106 |
107 | public string EmpName
108 | {
109 | get { return _empName; }
110 | set
111 | {
112 | _empName = value;
113 | OnPropertyChanged("EmpName");
114 | }
115 | }
116 |
117 | private string _nation;
118 |
119 | public string Nation
120 | {
121 | get { return _nation; }
122 | set
123 | {
124 | _nation = value;
125 | OnPropertyChanged("Nation");
126 | }
127 | }
128 |
129 |
130 | private string _empNo;
131 |
132 | public string EmpNo
133 | {
134 | get { return _empNo; }
135 | set
136 | {
137 | _empNo = value;
138 | OnPropertyChanged("EmpNo");
139 | }
140 | }
141 |
142 |
143 |
144 | #endregion
145 |
146 | }
147 | }
148 |
--------------------------------------------------------------------------------
/OA.UI/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/OA.UI/Controls/AyDataPager.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
21 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
38 |
39 |
45 |
46 |
47 |
48 |
52 |
53 |
54 |
55 |
61 |
62 |
68 |
69 |
75 |
76 |
77 |
78 |
79 | 当前显示从到 共条记录
80 |
81 |
82 |
83 |
--------------------------------------------------------------------------------
/OA.UI/Views/EmployeeInfoPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using Ay.Framework.WPF;
2 | using Ay.Framework.WPF.Controls;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Collections.ObjectModel;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows;
9 | using System.Windows.Controls;
10 | using System.Windows.Data;
11 | using System.Windows.Documents;
12 | using System.Windows.Input;
13 | using System.Windows.Media;
14 | using System.Windows.Media.Imaging;
15 | using System.Windows.Navigation;
16 | using System.Windows.Shapes;
17 |
18 | namespace OA.UI.Views
19 | {
20 | ///
21 | /// EmployeeInfoPage.xaml 的交互逻辑
22 | ///
23 | public partial class EmployeeInfoPage : Page
24 | {
25 |
26 | ///
27 | /// 你可以把这个模型放到viewmodel中
28 | ///
29 | private AyPagingDto Result;
30 |
31 | public EmployeeInfoPage()
32 | {
33 | Result = new AyPagingDto();
34 | InitializeComponent();
35 | this.DataContext = Result;
36 | }
37 |
38 |
39 |
40 | private void ck_AllSelect_Click(object sender, RoutedEventArgs e)
41 | {
42 | CheckBox cb = sender as CheckBox;
43 | if (Result.Data != null)
44 | {
45 | foreach (var data in Result.Data)
46 | {
47 | data.Selected = cb.IsChecked.Value;
48 | }
49 | }
50 | }
51 |
52 |
53 |
54 | private void dataPager_PageChanged(object sender, PageChangedEventArgs args)
55 | {
56 | SearchEmployee(args.PageSize, args.PageIndex);
57 | }
58 |
59 |
60 |
61 | #region 只为创建模拟数据
62 | string[] degrees = { "大专", "本科", "硕士", "初中", "高中", "博士", "研究生" };
63 | ///
64 | /// 得到随机日期
65 | ///
66 | /// 起始日期
67 | /// 结束日期
68 | /// 间隔日期之间的 随机日期
69 | public static DateTime GetRandomTime(DateTime time1, DateTime time2)
70 | {
71 | Random random = new Random();
72 | DateTime minTime = new DateTime();
73 | DateTime maxTime = new DateTime();
74 |
75 | System.TimeSpan ts = new System.TimeSpan(time1.Ticks - time2.Ticks);
76 |
77 | // 获取两个时间相隔的秒数
78 | double dTotalSecontds = ts.TotalSeconds;
79 | int iTotalSecontds = 0;
80 |
81 | if (dTotalSecontds > System.Int32.MaxValue)
82 | {
83 | iTotalSecontds = System.Int32.MaxValue;
84 | }
85 | else if (dTotalSecontds < System.Int32.MinValue)
86 | {
87 | iTotalSecontds = System.Int32.MinValue;
88 | }
89 | else
90 | {
91 | iTotalSecontds = (int)dTotalSecontds;
92 | }
93 |
94 |
95 | if (iTotalSecontds > 0)
96 | {
97 | minTime = time2;
98 | maxTime = time1;
99 | }
100 | else if (iTotalSecontds < 0)
101 | {
102 | minTime = time1;
103 | maxTime = time2;
104 | }
105 | else
106 | {
107 | return time1;
108 | }
109 |
110 | int maxValue = iTotalSecontds;
111 |
112 | if (iTotalSecontds <= System.Int32.MinValue)
113 | maxValue = System.Int32.MinValue + 1;
114 |
115 | int i = random.Next(System.Math.Abs(maxValue));
116 |
117 | return minTime.AddSeconds(i);
118 | }
119 | #endregion
120 |
121 | public void SearchEmployee(int size, int pageIndex, params string[] otherCondition)
122 | {
123 | //查询数据库,这里模拟数据
124 | List list = new List();
125 | DateTime t1 = new DateTime(2009, 1, 1);
126 | DateTime t2 = new DateTime(2015, 8, 20);
127 | DateTime t3 = new DateTime(2015, 8, 20);
128 | Random r = new Random();
129 | for (int i = 10001; i < 10323; i++)
130 | {
131 | list.Add(new EmployeeInfo { EmployeeNo = i.ToString(), Name = "AY君" + i, Sex = "男", WorkDate = GetRandomTime(t1, t2), Degree = degrees[r.Next(0, 7)], WorkMonth = r.Next(0, 37) });
132 | }
133 |
134 | Result.Total = list.Count;//设置总数量
135 | //这里只放需要显示的数据
136 | Result.Data = new ObservableCollection(list.Skip((pageIndex - 1) * size).Take(size).ToList());
137 | }
138 |
139 | private void editInfo_Click(object sender, RoutedEventArgs e)
140 | {
141 | AyImageButton img = sender as AyImageButton;
142 | if (img != null)
143 | {
144 | EmployeeInfo emp = img.Tag as EmployeeInfo;
145 | //MessageBox.Show("编辑员工ID:" + empNo);
146 | EditEmployeeWindowMainView view = new EditEmployeeWindowMainView();
147 | view.MainTitle = "员工信息-" + emp.Name;
148 | view.Nation = "342457198912143675";
149 | view.EmpName = emp.Name;
150 | view.EmpNo = emp.EmployeeNo;
151 | EditEmployeeWindow w = new EditEmployeeWindow(view);
152 | w.ShowDialog();
153 | }
154 | }
155 |
156 | private void viewInfo_Click(object sender, RoutedEventArgs e)
157 | {
158 | AyImageButton img = sender as AyImageButton;
159 | if (img != null)
160 | {
161 | EmployeeInfo emp = img.Tag as EmployeeInfo;
162 | MessageBox.Show("查看员工ID:" + emp.EmployeeNo);
163 | //EditEmployeeWindowMainView view = new EditEmployeeWindowMainView();
164 | //view.Nation = "342457198912143675";
165 | //view.EmpName = emp.Name;
166 | //view.EmpNo = emp.EmployeeNo;
167 | //EditEmployeeWindow w = new EditEmployeeWindow(view);
168 | //w.ShowDialog();
169 | }
170 |
171 | }
172 | }
173 |
174 |
175 |
176 |
177 | }
178 |
179 |
--------------------------------------------------------------------------------
/OA.UI/Controls/AyComboBox.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Globalization;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 | using System.Windows;
9 | using System.Windows.Controls;
10 | using System.Windows.Controls.Primitives;
11 | using System.Windows.Data;
12 | using System.Windows.Media;
13 |
14 |
15 | namespace Ay.Framework.WPF.Controls
16 | {
17 | ///
18 | /// 本代码由Aaronyang www.ayjs.net独家拥有,未经允许不许外传
19 | ///
20 | [TemplatePart(Name = "PART_Popup", Type = typeof(Popup))]
21 | public class AyComboBox : ComboBox
22 | {
23 | Popup popup = null;
24 |
25 |
26 | public override void OnApplyTemplate()
27 | {
28 | var obj = Template.FindName("PART_Popup", this);
29 | popup = obj as Popup;
30 | if (popup != null)
31 | {
32 | popup.Opened += popup_Opened;
33 |
34 | }
35 | if (AyComboBoxIco == null)
36 | {
37 | IcoVisibility = Visibility.Collapsed;
38 | }
39 | else {
40 | IcoVisibility = Visibility.Visible;
41 | }
42 |
43 | base.OnApplyTemplate();
44 |
45 | }
46 |
47 |
48 |
49 | ///
50 | /// 下拉区域最大高度
51 | ///
52 | public double PanelMaxHeight
53 | {
54 | get { return (double)GetValue(PanelMaxHeightProperty); }
55 | set { SetValue(PanelMaxHeightProperty, value); }
56 | }
57 |
58 | // Using a DependencyProperty as the backing store for PanelMaxHeight. This enables animation, styling, binding, etc...
59 | public static readonly DependencyProperty PanelMaxHeightProperty =
60 | DependencyProperty.Register("PanelMaxHeight", typeof(double), typeof(AyComboBox), new PropertyMetadata(300.00));
61 |
62 |
63 |
64 | ///
65 | /// 下拉区域最小高度
66 | ///
67 | public double PanelMinHeight
68 | {
69 | get { return (double)GetValue(PanelMinHeightProperty); }
70 | set { SetValue(PanelMinHeightProperty, value); }
71 | }
72 |
73 | // Using a DependencyProperty as the backing store for PanelMinHeight. This enables animation, styling, binding, etc...
74 | public static readonly DependencyProperty PanelMinHeightProperty =
75 | DependencyProperty.Register("PanelMinHeight", typeof(double), typeof(AyComboBox), new PropertyMetadata(0.00));
76 |
77 |
78 |
79 |
80 | void popup_Opened(object sender, EventArgs e)
81 | {
82 | var p = sender as Popup;
83 | if (p != null)
84 | {
85 | popup.Placement = PlacementMode.Bottom;
86 | UIElement container = VisualTreeHelper.GetParent(VisualTreeHelper.GetParent(p)) as UIElement;
87 | Point relativeLocation = p.Child.TranslatePoint(new Point(0, 0), container);
88 | if (relativeLocation.X < 0.5 && relativeLocation.X >= 0)
89 | {
90 | if (relativeLocation.Y < 0)
91 | {
92 | popup.Placement = PlacementMode.Top;
93 | }
94 | else
95 | {
96 | popup.Placement = PlacementMode.Bottom;
97 | }
98 |
99 | }
100 | else if (relativeLocation.X < 0)
101 | {
102 | popup.Placement = PlacementMode.Left;
103 | }
104 | else if (relativeLocation.X > 0.2)
105 | {
106 | popup.Placement = PlacementMode.Right;
107 | }
108 |
109 | //Console.WriteLine(relativeLocation.X + " , " + relativeLocation.Y);
110 |
111 | }
112 | }
113 |
114 |
115 |
116 |
117 | public Visibility IcoVisibility
118 | {
119 | get { return (Visibility)GetValue(IcoVisibilityProperty); }
120 | set { SetValue(IcoVisibilityProperty, value); }
121 | }
122 |
123 | // Using a DependencyProperty as the backing store for IcoVisibility. This enables animation, styling, binding, etc...
124 | public static readonly DependencyProperty IcoVisibilityProperty =
125 | DependencyProperty.Register("IcoVisibility", typeof(Visibility), typeof(AyComboBox), new PropertyMetadata(Visibility.Collapsed));
126 |
127 |
128 |
129 | ///
130 | /// 是否是透明背景
131 | ///
132 | public bool IsTransparentBackground
133 | {
134 | get { return (bool)GetValue(IsTransparentBackgroundProperty); }
135 | set { SetValue(IsTransparentBackgroundProperty, value); }
136 | }
137 |
138 | // Using a DependencyProperty as the backing store for IsTransparentBackground. This enables animation, styling, binding, etc...
139 | public static readonly DependencyProperty IsTransparentBackgroundProperty =
140 | DependencyProperty.Register("IsTransparentBackground", typeof(bool), typeof(AyComboBox), new PropertyMetadata(false));
141 |
142 |
143 |
144 |
145 | public ImageSource AyComboBoxIco
146 | {
147 | get { return (ImageSource)GetValue(AyComboBoxIcoProperty); }
148 | set { SetValue(AyComboBoxIcoProperty, value); }
149 | }
150 |
151 | // Using a DependencyProperty as the backing store for AyComboBoxIco. This enables animation, styling, binding, etc...
152 | public static readonly DependencyProperty AyComboBoxIcoProperty =
153 | DependencyProperty.Register("AyComboBoxIco", typeof(ImageSource), typeof(AyComboBox), new PropertyMetadata(null));
154 |
155 |
156 | }
157 |
158 |
159 | public class AyComboboxHeightConverter : IValueConverter
160 | {
161 | public double AddValue { get; set; }
162 | public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
163 | {
164 | double a = (double)value;
165 | return a - AddValue;
166 |
167 | }
168 |
169 | public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
170 | {
171 | double a = (double)value;
172 | return a + AddValue;
173 | }
174 | }
175 |
176 | }
177 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/AyExportWindow.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\AyExportWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E16A8DFC044EF1A1F149BCA92850D6898C701F06CC050859160D3151B3D9D5C0"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using Ay.Framework.WPF.Controls;
13 | using OA.UI.Views;
14 | using System;
15 | using System.Diagnostics;
16 | using System.Windows;
17 | using System.Windows.Automation;
18 | using System.Windows.Controls;
19 | using System.Windows.Controls.Primitives;
20 | using System.Windows.Data;
21 | using System.Windows.Documents;
22 | using System.Windows.Ink;
23 | using System.Windows.Input;
24 | using System.Windows.Markup;
25 | using System.Windows.Media;
26 | using System.Windows.Media.Animation;
27 | using System.Windows.Media.Effects;
28 | using System.Windows.Media.Imaging;
29 | using System.Windows.Media.Media3D;
30 | using System.Windows.Media.TextFormatting;
31 | using System.Windows.Navigation;
32 | using System.Windows.Shapes;
33 | using System.Windows.Shell;
34 |
35 |
36 | namespace OA.UI.Views {
37 |
38 |
39 | ///
40 | /// AyExportWindow
41 | ///
42 | public partial class AyExportWindow : Ay.Framework.WPF.Controls.AyWindow, System.Windows.Markup.IComponentConnector {
43 |
44 |
45 | #line 13 "..\..\..\Views\AyExportWindow.xaml"
46 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
47 | internal System.Windows.Controls.Canvas title;
48 |
49 | #line default
50 | #line hidden
51 |
52 |
53 | #line 16 "..\..\..\Views\AyExportWindow.xaml"
54 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
55 | internal System.Windows.Controls.TabControl tabControl;
56 |
57 | #line default
58 | #line hidden
59 |
60 |
61 | #line 28 "..\..\..\Views\AyExportWindow.xaml"
62 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
63 | internal Ay.Framework.WPF.Controls.AyComboBox cboEmployeeIdentity;
64 |
65 | #line default
66 | #line hidden
67 |
68 |
69 | #line 38 "..\..\..\Views\AyExportWindow.xaml"
70 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
71 | internal System.Windows.Controls.StackPanel toolBar_btn;
72 |
73 | #line default
74 | #line hidden
75 |
76 |
77 | #line 39 "..\..\..\Views\AyExportWindow.xaml"
78 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
79 | internal System.Windows.Controls.Button btn1;
80 |
81 | #line default
82 | #line hidden
83 |
84 |
85 | #line 40 "..\..\..\Views\AyExportWindow.xaml"
86 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
87 | internal System.Windows.Controls.Button btn2;
88 |
89 | #line default
90 | #line hidden
91 |
92 | private bool _contentLoaded;
93 |
94 | ///
95 | /// InitializeComponent
96 | ///
97 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
98 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
99 | public void InitializeComponent() {
100 | if (_contentLoaded) {
101 | return;
102 | }
103 | _contentLoaded = true;
104 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/ayexportwindow.xaml", System.UriKind.Relative);
105 |
106 | #line 1 "..\..\..\Views\AyExportWindow.xaml"
107 | System.Windows.Application.LoadComponent(this, resourceLocater);
108 |
109 | #line default
110 | #line hidden
111 | }
112 |
113 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
114 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
115 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
116 | internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
117 | return System.Delegate.CreateDelegate(delegateType, this, handler);
118 | }
119 |
120 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
121 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
122 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
123 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
124 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
125 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
126 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
127 | switch (connectionId)
128 | {
129 | case 1:
130 | this.title = ((System.Windows.Controls.Canvas)(target));
131 | return;
132 | case 2:
133 | this.tabControl = ((System.Windows.Controls.TabControl)(target));
134 | return;
135 | case 3:
136 | this.cboEmployeeIdentity = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
137 | return;
138 | case 4:
139 | this.toolBar_btn = ((System.Windows.Controls.StackPanel)(target));
140 | return;
141 | case 5:
142 | this.btn1 = ((System.Windows.Controls.Button)(target));
143 | return;
144 | case 6:
145 | this.btn2 = ((System.Windows.Controls.Button)(target));
146 | return;
147 | }
148 | this._contentLoaded = true;
149 | }
150 | }
151 | }
152 |
153 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/AyExportWindow.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\AyExportWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E16A8DFC044EF1A1F149BCA92850D6898C701F06CC050859160D3151B3D9D5C0"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using Ay.Framework.WPF.Controls;
13 | using OA.UI.Views;
14 | using System;
15 | using System.Diagnostics;
16 | using System.Windows;
17 | using System.Windows.Automation;
18 | using System.Windows.Controls;
19 | using System.Windows.Controls.Primitives;
20 | using System.Windows.Data;
21 | using System.Windows.Documents;
22 | using System.Windows.Ink;
23 | using System.Windows.Input;
24 | using System.Windows.Markup;
25 | using System.Windows.Media;
26 | using System.Windows.Media.Animation;
27 | using System.Windows.Media.Effects;
28 | using System.Windows.Media.Imaging;
29 | using System.Windows.Media.Media3D;
30 | using System.Windows.Media.TextFormatting;
31 | using System.Windows.Navigation;
32 | using System.Windows.Shapes;
33 | using System.Windows.Shell;
34 |
35 |
36 | namespace OA.UI.Views {
37 |
38 |
39 | ///
40 | /// AyExportWindow
41 | ///
42 | public partial class AyExportWindow : Ay.Framework.WPF.Controls.AyWindow, System.Windows.Markup.IComponentConnector {
43 |
44 |
45 | #line 13 "..\..\..\Views\AyExportWindow.xaml"
46 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
47 | internal System.Windows.Controls.Canvas title;
48 |
49 | #line default
50 | #line hidden
51 |
52 |
53 | #line 16 "..\..\..\Views\AyExportWindow.xaml"
54 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
55 | internal System.Windows.Controls.TabControl tabControl;
56 |
57 | #line default
58 | #line hidden
59 |
60 |
61 | #line 28 "..\..\..\Views\AyExportWindow.xaml"
62 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
63 | internal Ay.Framework.WPF.Controls.AyComboBox cboEmployeeIdentity;
64 |
65 | #line default
66 | #line hidden
67 |
68 |
69 | #line 38 "..\..\..\Views\AyExportWindow.xaml"
70 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
71 | internal System.Windows.Controls.StackPanel toolBar_btn;
72 |
73 | #line default
74 | #line hidden
75 |
76 |
77 | #line 39 "..\..\..\Views\AyExportWindow.xaml"
78 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
79 | internal System.Windows.Controls.Button btn1;
80 |
81 | #line default
82 | #line hidden
83 |
84 |
85 | #line 40 "..\..\..\Views\AyExportWindow.xaml"
86 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
87 | internal System.Windows.Controls.Button btn2;
88 |
89 | #line default
90 | #line hidden
91 |
92 | private bool _contentLoaded;
93 |
94 | ///
95 | /// InitializeComponent
96 | ///
97 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
98 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
99 | public void InitializeComponent() {
100 | if (_contentLoaded) {
101 | return;
102 | }
103 | _contentLoaded = true;
104 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/ayexportwindow.xaml", System.UriKind.Relative);
105 |
106 | #line 1 "..\..\..\Views\AyExportWindow.xaml"
107 | System.Windows.Application.LoadComponent(this, resourceLocater);
108 |
109 | #line default
110 | #line hidden
111 | }
112 |
113 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
114 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
115 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
116 | internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
117 | return System.Delegate.CreateDelegate(delegateType, this, handler);
118 | }
119 |
120 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
121 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
122 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
123 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
124 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
125 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
126 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
127 | switch (connectionId)
128 | {
129 | case 1:
130 | this.title = ((System.Windows.Controls.Canvas)(target));
131 | return;
132 | case 2:
133 | this.tabControl = ((System.Windows.Controls.TabControl)(target));
134 | return;
135 | case 3:
136 | this.cboEmployeeIdentity = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
137 | return;
138 | case 4:
139 | this.toolBar_btn = ((System.Windows.Controls.StackPanel)(target));
140 | return;
141 | case 5:
142 | this.btn1 = ((System.Windows.Controls.Button)(target));
143 | return;
144 | case 6:
145 | this.btn2 = ((System.Windows.Controls.Button)(target));
146 | return;
147 | }
148 | this._contentLoaded = true;
149 | }
150 | }
151 | }
152 |
153 |
--------------------------------------------------------------------------------
/OA.UI/SystemResources/MainColors.xaml:
--------------------------------------------------------------------------------
1 |
5 | 20.00
6 | 0
7 |
8 |
9 |
10 | #64A5A5
11 | #568D8D
12 |
13 | #FFE7F3F0
14 | #FF63A3A3
15 | #FF578F8F
16 | #FF578F8F
17 | #79C0BB
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 | #D94747
60 | #428ADC
61 | #BC3434
62 | #317CD1
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 | #00313A42
75 | #00313A42
76 | #00252C32
77 | #00252C32
78 | #00313A42
79 | #00252C32
80 |
81 | #313A42
82 | #252C32
83 |
84 | #313A42
85 | #313A42
86 | #252C32
87 | #252C32
88 |
89 |
90 | #FFFFFFFF
91 | #FF9DCCC7
92 | #FFFFFFFF
93 | #FFB5E2DD
94 | #FFFFFFFF
95 | #FF66B5AC
96 |
97 |
98 | #FFFFCC
99 |
100 |
101 |
102 |
103 | #DEE5E5
104 |
105 | #E5FCF6
106 |
107 |
108 |
--------------------------------------------------------------------------------
/OA.UI/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using Ay.Framework.WPF.Controls;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Collections.ObjectModel;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Windows;
8 | using System.Windows.Controls;
9 | using System.Windows.Data;
10 | using System.Windows.Documents;
11 | using System.Windows.Input;
12 | using System.Windows.Media;
13 | using System.Windows.Media.Imaging;
14 | using System.Windows.Navigation;
15 | using System.Windows.Shapes;
16 |
17 | namespace OA.UI
18 | {
19 | ///
20 | /// MainWindow.xaml 的交互逻辑
21 | ///
22 | public partial class MainWindow : AyWindow
23 | {
24 | public MainWindow()
25 | {
26 | InitializeComponent();
27 | Application.Current.MainWindow = this;
28 | }
29 | public ObservableCollection CreateMenuTreeData()
30 | {
31 | ObservableCollection list = new ObservableCollection();
32 | AyTreeViewItemModel root = new AyTreeViewItemModel("组织机构", "/OA.UI;component/SystemResources/Images/tree/folder_01.png", null, false, true);
33 | AyTreeViewItemModel root0_1 = new AyTreeViewItemModel("机构信息", "/OA.UI;component/SystemResources/Images/icon/11_b.png", root, false, "/Views/HRPage.xaml");
34 | AyTreeViewItemModel root0_2 = new AyTreeViewItemModel("部门信息", "/OA.UI;component/SystemResources/Images/icon/12_b.png", root, false, "/Views/HRPage.xaml");
35 | AyTreeViewItemModel root0_3 = new AyTreeViewItemModel("职位信息", "/OA.UI;component/SystemResources/Images/icon/13_b.png", root, false, "/Views/HRPage.xaml");
36 | AyTreeViewItemModel root0_4 = new AyTreeViewItemModel("架构一览", "/OA.UI;component/SystemResources/Images/icon/408004339_b.png", root, false, "/Views/HRPage.xaml");
37 |
38 |
39 | AyTreeViewItemModel root_1 = new AyTreeViewItemModel("人事档案", "/OA.UI;component/SystemResources/Images/tree/folder_01.png", null, true, true);
40 |
41 | AyTreeViewItemModel root1_1 = new AyTreeViewItemModel("人员信息", "/OA.UI;component/SystemResources/Images/icon/21606_b.png", root_1, false, "/Views/EmployeeInfoPage.xaml");
42 | root1_1.IsSelected = true;
43 |
44 | AyTreeViewItemModel root1_2 = new AyTreeViewItemModel("档案管理", "/OA.UI;component/SystemResources/Images/icon/21602_b.png", root_1, false, "/Views/HRPage.xaml");
45 | AyTreeViewItemModel root1_3 = new AyTreeViewItemModel("档案查询", "/OA.UI;component/SystemResources/Images/icon/21605_b.png", root_1, false, "/Views/HRPage.xaml");
46 | AyTreeViewItemModel root1_6 = new AyTreeViewItemModel("档案报表", "/OA.UI;component/SystemResources/Images/icon/21604_b.png", root_1, false, "/Views/HRPage.xaml");
47 | AyTreeViewItemModel root1_4 = new AyTreeViewItemModel("人员调动", "/OA.UI;component/SystemResources/Images/icon/21607_b.png", root_1, false, "/Views/HRPage.xaml");
48 | AyTreeViewItemModel root1_5 = new AyTreeViewItemModel("批量修改", "/OA.UI;component/SystemResources/Images/icon/24406_b.png", root_1, false, "/Views/HRPage.xaml");
49 |
50 | AyTreeViewItemModel root_2 = new AyTreeViewItemModel("人事合同", "/OA.UI;component/SystemResources/Images/tree/folder_01.png", null, false, true);
51 | AyTreeViewItemModel root2_1 = new AyTreeViewItemModel("合同登记", "/OA.UI;component/SystemResources/Images/icon/22001_b.png", root_2, false, "/Views/HRPage.xaml");
52 | AyTreeViewItemModel root2_2 = new AyTreeViewItemModel("合同管理", "/OA.UI;component/SystemResources/Images/icon/22002_b.png", root_2, false, "/Views/HRPage.xaml");
53 | AyTreeViewItemModel root2_3 = new AyTreeViewItemModel("合同设置", "/OA.UI;component/SystemResources/Images/icon/22002_b.png", root_2, false, "/Views/HRPage.xaml");
54 |
55 | AyTreeViewItemModel root_3 = new AyTreeViewItemModel("培训管理", "/OA.UI;component/SystemResources/Images/tree/folder_01.png", null, false, true);
56 | AyTreeViewItemModel root3_1 = new AyTreeViewItemModel("培训计划", "/OA.UI;component/SystemResources/Images/icon/22110_s.png", root_3, false, "/Views/HRPage.xaml");
57 | AyTreeViewItemModel root3_2 = new AyTreeViewItemModel("培训项目", "/OA.UI;component/SystemResources/Images/icon/22111_s.png", root_3, false, "/Views/HRPage.xaml");
58 | AyTreeViewItemModel root3_3 = new AyTreeViewItemModel("培训资源", "/OA.UI;component/SystemResources/Images/icon/22112_s.png", root_3, false, "/Views/HRPage.xaml");
59 | AyTreeViewItemModel root3_4 = new AyTreeViewItemModel("采课记录", "/OA.UI;component/SystemResources/Images/icon/22113_s.png", root_3, false, "/Views/HRPage.xaml");
60 | AyTreeViewItemModel root3_5 = new AyTreeViewItemModel("培训统计", "/OA.UI;component/SystemResources/Images/icon/22114_s.png", root_3, false, "/Views/HRPage.xaml");
61 | AyTreeViewItemModel root3_6 = new AyTreeViewItemModel("培训设置", "/OA.UI;component/SystemResources/Images/icon/22115_s.png", root_3, false, "/Views/HRPage.xaml");
62 |
63 | AyTreeViewItemModel root_4 = new AyTreeViewItemModel("人事基础设置", "/OA.UI;component/SystemResources/Images/tree/folder_01.png", null, false, true);
64 | AyTreeViewItemModel root4_3 = new AyTreeViewItemModel("人事档案设置", "/OA.UI;component/SystemResources/Images/icon/22401_s.png", root_4, false, "/Views/HRPage.xaml");
65 | AyTreeViewItemModel root4_4 = new AyTreeViewItemModel("人事权利设置", "/OA.UI;component/SystemResources/Images/icon/22403_s.png", root_4, false, "/Views/HRPage.xaml");
66 | AyTreeViewItemModel root4_5 = new AyTreeViewItemModel("人力分析设置", "/OA.UI;component/SystemResources/Images/icon/22404_s.png", root_4, false, "/Views/HRPage.xaml");
67 | AyTreeViewItemModel root4_6 = new AyTreeViewItemModel("人事系统设置", "/OA.UI;component/SystemResources/Images/icon/22405_s.png", root_4, false, "/Views/HRPage.xaml");
68 | list.Add(root);
69 | list.Add(root_1);
70 | list.Add(root_2);
71 | list.Add(root_3);
72 | list.Add(root_4);
73 | return list;
74 | }
75 | TreeModelBase model = new TreeModelBase();
76 | private void AyWindow_Loaded(object sender, RoutedEventArgs e)
77 | {
78 | tvLeftMenu.ItemsSource = CreateMenuTreeData();
79 | }
80 |
81 |
82 |
83 |
84 | private void TreeViewItem_Selected(object sender, RoutedEventArgs e)
85 | {
86 |
87 | TreeViewItem tvi = e.OriginalSource as TreeViewItem;
88 | if (tvi != null)
89 | {
90 | AyTreeViewItemModel selectedmodel = tvi.DataContext as AyTreeViewItemModel;
91 | if (selectedmodel.ExtValue == null) return;
92 | frameMain.Source = new Uri(selectedmodel.ExtValue.ToString(), UriKind.Relative);
93 |
94 |
95 | }
96 | }
97 |
98 | }
99 | }
100 |
101 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/EditEmployeeWindow.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\EditEmployeeWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "0A5A017D73EEBD97C925EDEAF11C036E8AED9D12F000CCDA87822E96A6000B75"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using Ay.Framework.WPF.Controls;
13 | using OA.UI.Views;
14 | using System;
15 | using System.Diagnostics;
16 | using System.Windows;
17 | using System.Windows.Automation;
18 | using System.Windows.Controls;
19 | using System.Windows.Controls.Primitives;
20 | using System.Windows.Data;
21 | using System.Windows.Documents;
22 | using System.Windows.Ink;
23 | using System.Windows.Input;
24 | using System.Windows.Markup;
25 | using System.Windows.Media;
26 | using System.Windows.Media.Animation;
27 | using System.Windows.Media.Effects;
28 | using System.Windows.Media.Imaging;
29 | using System.Windows.Media.Media3D;
30 | using System.Windows.Media.TextFormatting;
31 | using System.Windows.Navigation;
32 | using System.Windows.Shapes;
33 | using System.Windows.Shell;
34 |
35 |
36 | namespace OA.UI.Views {
37 |
38 |
39 | ///
40 | /// EditEmployeeWindow
41 | ///
42 | public partial class EditEmployeeWindow : Ay.Framework.WPF.Controls.AyWindow, System.Windows.Markup.IComponentConnector {
43 |
44 |
45 | #line 77 "..\..\..\Views\EditEmployeeWindow.xaml"
46 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
47 | internal System.Windows.Controls.Canvas title;
48 |
49 | #line default
50 | #line hidden
51 |
52 |
53 | #line 81 "..\..\..\Views\EditEmployeeWindow.xaml"
54 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
55 | internal System.Windows.Controls.WrapPanel tab1;
56 |
57 | #line default
58 | #line hidden
59 |
60 |
61 | #line 98 "..\..\..\Views\EditEmployeeWindow.xaml"
62 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
63 | internal System.Windows.Controls.WrapPanel tab2;
64 |
65 | #line default
66 | #line hidden
67 |
68 |
69 | #line 111 "..\..\..\Views\EditEmployeeWindow.xaml"
70 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
71 | internal System.Windows.Controls.Frame tabFrameMain;
72 |
73 | #line default
74 | #line hidden
75 |
76 | private bool _contentLoaded;
77 |
78 | ///
79 | /// InitializeComponent
80 | ///
81 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
82 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
83 | public void InitializeComponent() {
84 | if (_contentLoaded) {
85 | return;
86 | }
87 | _contentLoaded = true;
88 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/editemployeewindow.xaml", System.UriKind.Relative);
89 |
90 | #line 1 "..\..\..\Views\EditEmployeeWindow.xaml"
91 | System.Windows.Application.LoadComponent(this, resourceLocater);
92 |
93 | #line default
94 | #line hidden
95 | }
96 |
97 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
98 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
99 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
100 | internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
101 | return System.Delegate.CreateDelegate(delegateType, this, handler);
102 | }
103 |
104 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
105 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
106 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
107 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
108 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
109 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
110 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
111 | switch (connectionId)
112 | {
113 | case 1:
114 | this.title = ((System.Windows.Controls.Canvas)(target));
115 | return;
116 | case 2:
117 | this.tab1 = ((System.Windows.Controls.WrapPanel)(target));
118 | return;
119 | case 3:
120 |
121 | #line 83 "..\..\..\Views\EditEmployeeWindow.xaml"
122 | ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);
123 |
124 | #line default
125 | #line hidden
126 | return;
127 | case 4:
128 |
129 | #line 84 "..\..\..\Views\EditEmployeeWindow.xaml"
130 | ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);
131 |
132 | #line default
133 | #line hidden
134 | return;
135 | case 5:
136 |
137 | #line 85 "..\..\..\Views\EditEmployeeWindow.xaml"
138 | ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);
139 |
140 | #line default
141 | #line hidden
142 | return;
143 | case 6:
144 | this.tab2 = ((System.Windows.Controls.WrapPanel)(target));
145 | return;
146 | case 7:
147 | this.tabFrameMain = ((System.Windows.Controls.Frame)(target));
148 |
149 | #line 111 "..\..\..\Views\EditEmployeeWindow.xaml"
150 | this.tabFrameMain.LoadCompleted += new System.Windows.Navigation.LoadCompletedEventHandler(this.tabFrameMain_LoadCompleted);
151 |
152 | #line default
153 | #line hidden
154 |
155 | #line 112 "..\..\..\Views\EditEmployeeWindow.xaml"
156 | this.tabFrameMain.DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.tabFrameMain_DataContextChanged);
157 |
158 | #line default
159 | #line hidden
160 | return;
161 | }
162 | this._contentLoaded = true;
163 | }
164 | }
165 | }
166 |
167 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/EditEmployeeWindow.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\EditEmployeeWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "0A5A017D73EEBD97C925EDEAF11C036E8AED9D12F000CCDA87822E96A6000B75"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using Ay.Framework.WPF.Controls;
13 | using OA.UI.Views;
14 | using System;
15 | using System.Diagnostics;
16 | using System.Windows;
17 | using System.Windows.Automation;
18 | using System.Windows.Controls;
19 | using System.Windows.Controls.Primitives;
20 | using System.Windows.Data;
21 | using System.Windows.Documents;
22 | using System.Windows.Ink;
23 | using System.Windows.Input;
24 | using System.Windows.Markup;
25 | using System.Windows.Media;
26 | using System.Windows.Media.Animation;
27 | using System.Windows.Media.Effects;
28 | using System.Windows.Media.Imaging;
29 | using System.Windows.Media.Media3D;
30 | using System.Windows.Media.TextFormatting;
31 | using System.Windows.Navigation;
32 | using System.Windows.Shapes;
33 | using System.Windows.Shell;
34 |
35 |
36 | namespace OA.UI.Views {
37 |
38 |
39 | ///
40 | /// EditEmployeeWindow
41 | ///
42 | public partial class EditEmployeeWindow : Ay.Framework.WPF.Controls.AyWindow, System.Windows.Markup.IComponentConnector {
43 |
44 |
45 | #line 77 "..\..\..\Views\EditEmployeeWindow.xaml"
46 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
47 | internal System.Windows.Controls.Canvas title;
48 |
49 | #line default
50 | #line hidden
51 |
52 |
53 | #line 81 "..\..\..\Views\EditEmployeeWindow.xaml"
54 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
55 | internal System.Windows.Controls.WrapPanel tab1;
56 |
57 | #line default
58 | #line hidden
59 |
60 |
61 | #line 98 "..\..\..\Views\EditEmployeeWindow.xaml"
62 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
63 | internal System.Windows.Controls.WrapPanel tab2;
64 |
65 | #line default
66 | #line hidden
67 |
68 |
69 | #line 111 "..\..\..\Views\EditEmployeeWindow.xaml"
70 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
71 | internal System.Windows.Controls.Frame tabFrameMain;
72 |
73 | #line default
74 | #line hidden
75 |
76 | private bool _contentLoaded;
77 |
78 | ///
79 | /// InitializeComponent
80 | ///
81 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
82 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
83 | public void InitializeComponent() {
84 | if (_contentLoaded) {
85 | return;
86 | }
87 | _contentLoaded = true;
88 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/editemployeewindow.xaml", System.UriKind.Relative);
89 |
90 | #line 1 "..\..\..\Views\EditEmployeeWindow.xaml"
91 | System.Windows.Application.LoadComponent(this, resourceLocater);
92 |
93 | #line default
94 | #line hidden
95 | }
96 |
97 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
98 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
99 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
100 | internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
101 | return System.Delegate.CreateDelegate(delegateType, this, handler);
102 | }
103 |
104 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
105 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
106 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
107 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
108 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
109 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
110 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
111 | switch (connectionId)
112 | {
113 | case 1:
114 | this.title = ((System.Windows.Controls.Canvas)(target));
115 | return;
116 | case 2:
117 | this.tab1 = ((System.Windows.Controls.WrapPanel)(target));
118 | return;
119 | case 3:
120 |
121 | #line 83 "..\..\..\Views\EditEmployeeWindow.xaml"
122 | ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);
123 |
124 | #line default
125 | #line hidden
126 | return;
127 | case 4:
128 |
129 | #line 84 "..\..\..\Views\EditEmployeeWindow.xaml"
130 | ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);
131 |
132 | #line default
133 | #line hidden
134 | return;
135 | case 5:
136 |
137 | #line 85 "..\..\..\Views\EditEmployeeWindow.xaml"
138 | ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadioButton_Click);
139 |
140 | #line default
141 | #line hidden
142 | return;
143 | case 6:
144 | this.tab2 = ((System.Windows.Controls.WrapPanel)(target));
145 | return;
146 | case 7:
147 | this.tabFrameMain = ((System.Windows.Controls.Frame)(target));
148 |
149 | #line 111 "..\..\..\Views\EditEmployeeWindow.xaml"
150 | this.tabFrameMain.LoadCompleted += new System.Windows.Navigation.LoadCompletedEventHandler(this.tabFrameMain_LoadCompleted);
151 |
152 | #line default
153 | #line hidden
154 |
155 | #line 112 "..\..\..\Views\EditEmployeeWindow.xaml"
156 | this.tabFrameMain.DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.tabFrameMain_DataContextChanged);
157 |
158 | #line default
159 | #line hidden
160 | return;
161 | }
162 | this._contentLoaded = true;
163 | }
164 | }
165 | }
166 |
167 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Controls/DataPager.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Controls\DataPager.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "BD14B99263656B87A167181BA37E4457"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using CustomControlLibrary;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Ink;
22 | using System.Windows.Input;
23 | using System.Windows.Markup;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Animation;
26 | using System.Windows.Media.Effects;
27 | using System.Windows.Media.Imaging;
28 | using System.Windows.Media.Media3D;
29 | using System.Windows.Media.TextFormatting;
30 | using System.Windows.Navigation;
31 | using System.Windows.Shapes;
32 | using System.Windows.Shell;
33 |
34 |
35 | namespace CustomControlLibrary {
36 |
37 |
38 | ///
39 | /// DataPager
40 | ///
41 | public partial class DataPager : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
42 |
43 |
44 | #line 7 "..\..\..\Controls\DataPager.xaml"
45 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
46 | internal CustomControlLibrary.DataPager dp;
47 |
48 | #line default
49 | #line hidden
50 |
51 |
52 | #line 23 "..\..\..\Controls\DataPager.xaml"
53 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
54 | internal System.Windows.Controls.ComboBox cboPageSize;
55 |
56 | #line default
57 | #line hidden
58 |
59 |
60 | #line 29 "..\..\..\Controls\DataPager.xaml"
61 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
62 | internal CustomControlLibrary.ImageButton btnFirst;
63 |
64 | #line default
65 | #line hidden
66 |
67 |
68 | #line 32 "..\..\..\Controls\DataPager.xaml"
69 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
70 | internal CustomControlLibrary.ImageButton btnPrev;
71 |
72 | #line default
73 | #line hidden
74 |
75 |
76 | #line 37 "..\..\..\Controls\DataPager.xaml"
77 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
78 | internal System.Windows.Controls.TextBox tbPageIndex;
79 |
80 | #line default
81 | #line hidden
82 |
83 |
84 | #line 41 "..\..\..\Controls\DataPager.xaml"
85 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
86 | internal CustomControlLibrary.ImageButton btnNext;
87 |
88 | #line default
89 | #line hidden
90 |
91 |
92 | #line 44 "..\..\..\Controls\DataPager.xaml"
93 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
94 | internal CustomControlLibrary.ImageButton btnLast;
95 |
96 | #line default
97 | #line hidden
98 |
99 | private bool _contentLoaded;
100 |
101 | ///
102 | /// InitializeComponent
103 | ///
104 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
105 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
106 | public void InitializeComponent() {
107 | if (_contentLoaded) {
108 | return;
109 | }
110 | _contentLoaded = true;
111 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/controls/datapager.xaml", System.UriKind.Relative);
112 |
113 | #line 1 "..\..\..\Controls\DataPager.xaml"
114 | System.Windows.Application.LoadComponent(this, resourceLocater);
115 |
116 | #line default
117 | #line hidden
118 | }
119 |
120 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
121 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
122 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
123 | internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
124 | return System.Delegate.CreateDelegate(delegateType, this, handler);
125 | }
126 |
127 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
128 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
129 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
130 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
131 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
132 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
133 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
134 | switch (connectionId)
135 | {
136 | case 1:
137 | this.dp = ((CustomControlLibrary.DataPager)(target));
138 |
139 | #line 9 "..\..\..\Controls\DataPager.xaml"
140 | this.dp.Loaded += new System.Windows.RoutedEventHandler(this.DataPager_Loaded);
141 |
142 | #line default
143 | #line hidden
144 | return;
145 | case 2:
146 | this.cboPageSize = ((System.Windows.Controls.ComboBox)(target));
147 |
148 | #line 26 "..\..\..\Controls\DataPager.xaml"
149 | this.cboPageSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbpPageSize_SelectionChanged);
150 |
151 | #line default
152 | #line hidden
153 | return;
154 | case 3:
155 | this.btnFirst = ((CustomControlLibrary.ImageButton)(target));
156 | return;
157 | case 4:
158 | this.btnPrev = ((CustomControlLibrary.ImageButton)(target));
159 | return;
160 | case 5:
161 | this.tbPageIndex = ((System.Windows.Controls.TextBox)(target));
162 |
163 | #line 37 "..\..\..\Controls\DataPager.xaml"
164 | this.tbPageIndex.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tbPageIndex_PreviewKeyDown);
165 |
166 | #line default
167 | #line hidden
168 |
169 | #line 37 "..\..\..\Controls\DataPager.xaml"
170 | this.tbPageIndex.LostFocus += new System.Windows.RoutedEventHandler(this.tbPageIndex_LostFocus);
171 |
172 | #line default
173 | #line hidden
174 | return;
175 | case 6:
176 | this.btnNext = ((CustomControlLibrary.ImageButton)(target));
177 | return;
178 | case 7:
179 | this.btnLast = ((CustomControlLibrary.ImageButton)(target));
180 | return;
181 | }
182 | this._contentLoaded = true;
183 | }
184 | }
185 | }
186 |
187 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/LoginWindow.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\LoginWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1DDAF9FBBB8575D1E2EC07212821686920E0C4DF932A9ABF75066B7A9FBE992E"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using Ay.Framework.WPF.Controls;
13 | using OA.UI.Views;
14 | using System;
15 | using System.Diagnostics;
16 | using System.Windows;
17 | using System.Windows.Automation;
18 | using System.Windows.Controls;
19 | using System.Windows.Controls.Primitives;
20 | using System.Windows.Data;
21 | using System.Windows.Documents;
22 | using System.Windows.Ink;
23 | using System.Windows.Input;
24 | using System.Windows.Markup;
25 | using System.Windows.Media;
26 | using System.Windows.Media.Animation;
27 | using System.Windows.Media.Effects;
28 | using System.Windows.Media.Imaging;
29 | using System.Windows.Media.Media3D;
30 | using System.Windows.Media.TextFormatting;
31 | using System.Windows.Navigation;
32 | using System.Windows.Shapes;
33 | using System.Windows.Shell;
34 |
35 |
36 | namespace OA.UI.Views {
37 |
38 |
39 | ///
40 | /// LoginWindow
41 | ///
42 | public partial class LoginWindow : Ay.Framework.WPF.Controls.AyWindow, System.Windows.Markup.IComponentConnector {
43 |
44 |
45 | #line 134 "..\..\..\Views\LoginWindow.xaml"
46 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
47 | internal Ay.Framework.WPF.Controls.AyImageButton btnMinWindow;
48 |
49 | #line default
50 | #line hidden
51 |
52 |
53 | #line 136 "..\..\..\Views\LoginWindow.xaml"
54 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
55 | internal Ay.Framework.WPF.Controls.AyImageButton btnCloseWindow;
56 |
57 | #line default
58 | #line hidden
59 |
60 |
61 | #line 143 "..\..\..\Views\LoginWindow.xaml"
62 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
63 | internal System.Windows.Controls.TextBlock wrongTip;
64 |
65 | #line default
66 | #line hidden
67 |
68 |
69 | #line 144 "..\..\..\Views\LoginWindow.xaml"
70 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
71 | internal Ay.Framework.WPF.Controls.AyTextBox tb_EmpName;
72 |
73 | #line default
74 | #line hidden
75 |
76 |
77 | #line 148 "..\..\..\Views\LoginWindow.xaml"
78 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
79 | internal System.Windows.Controls.PasswordBox pb;
80 |
81 | #line default
82 | #line hidden
83 |
84 |
85 | #line 188 "..\..\..\Views\LoginWindow.xaml"
86 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
87 | internal System.Windows.Controls.Button btnLogin;
88 |
89 | #line default
90 | #line hidden
91 |
92 |
93 | #line 197 "..\..\..\Views\LoginWindow.xaml"
94 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
95 | internal System.Windows.Controls.Button btnRenShi;
96 |
97 | #line default
98 | #line hidden
99 |
100 |
101 | #line 198 "..\..\..\Views\LoginWindow.xaml"
102 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
103 | internal System.Windows.Controls.Button btnRenShi_Copy;
104 |
105 | #line default
106 | #line hidden
107 |
108 |
109 | #line 199 "..\..\..\Views\LoginWindow.xaml"
110 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
111 | internal System.Windows.Controls.Button btnRenShi_Copy1;
112 |
113 | #line default
114 | #line hidden
115 |
116 | private bool _contentLoaded;
117 |
118 | ///
119 | /// InitializeComponent
120 | ///
121 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
122 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
123 | public void InitializeComponent() {
124 | if (_contentLoaded) {
125 | return;
126 | }
127 | _contentLoaded = true;
128 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/loginwindow.xaml", System.UriKind.Relative);
129 |
130 | #line 1 "..\..\..\Views\LoginWindow.xaml"
131 | System.Windows.Application.LoadComponent(this, resourceLocater);
132 |
133 | #line default
134 | #line hidden
135 | }
136 |
137 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
138 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
139 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
140 | internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
141 | return System.Delegate.CreateDelegate(delegateType, this, handler);
142 | }
143 |
144 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
145 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
146 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
147 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
148 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
149 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
150 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
151 | switch (connectionId)
152 | {
153 | case 1:
154 | this.btnMinWindow = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
155 | return;
156 | case 2:
157 | this.btnCloseWindow = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
158 | return;
159 | case 3:
160 | this.wrongTip = ((System.Windows.Controls.TextBlock)(target));
161 | return;
162 | case 4:
163 | this.tb_EmpName = ((Ay.Framework.WPF.Controls.AyTextBox)(target));
164 | return;
165 | case 5:
166 | this.pb = ((System.Windows.Controls.PasswordBox)(target));
167 | return;
168 | case 6:
169 | this.btnLogin = ((System.Windows.Controls.Button)(target));
170 |
171 | #line 188 "..\..\..\Views\LoginWindow.xaml"
172 | this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);
173 |
174 | #line default
175 | #line hidden
176 | return;
177 | case 7:
178 | this.btnRenShi = ((System.Windows.Controls.Button)(target));
179 | return;
180 | case 8:
181 | this.btnRenShi_Copy = ((System.Windows.Controls.Button)(target));
182 | return;
183 | case 9:
184 | this.btnRenShi_Copy1 = ((System.Windows.Controls.Button)(target));
185 | return;
186 | }
187 | this._contentLoaded = true;
188 | }
189 | }
190 | }
191 |
192 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Views/LoginWindow.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Views\LoginWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1DDAF9FBBB8575D1E2EC07212821686920E0C4DF932A9ABF75066B7A9FBE992E"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using Ay.Framework.WPF.Controls;
13 | using OA.UI.Views;
14 | using System;
15 | using System.Diagnostics;
16 | using System.Windows;
17 | using System.Windows.Automation;
18 | using System.Windows.Controls;
19 | using System.Windows.Controls.Primitives;
20 | using System.Windows.Data;
21 | using System.Windows.Documents;
22 | using System.Windows.Ink;
23 | using System.Windows.Input;
24 | using System.Windows.Markup;
25 | using System.Windows.Media;
26 | using System.Windows.Media.Animation;
27 | using System.Windows.Media.Effects;
28 | using System.Windows.Media.Imaging;
29 | using System.Windows.Media.Media3D;
30 | using System.Windows.Media.TextFormatting;
31 | using System.Windows.Navigation;
32 | using System.Windows.Shapes;
33 | using System.Windows.Shell;
34 |
35 |
36 | namespace OA.UI.Views {
37 |
38 |
39 | ///
40 | /// LoginWindow
41 | ///
42 | public partial class LoginWindow : Ay.Framework.WPF.Controls.AyWindow, System.Windows.Markup.IComponentConnector {
43 |
44 |
45 | #line 134 "..\..\..\Views\LoginWindow.xaml"
46 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
47 | internal Ay.Framework.WPF.Controls.AyImageButton btnMinWindow;
48 |
49 | #line default
50 | #line hidden
51 |
52 |
53 | #line 136 "..\..\..\Views\LoginWindow.xaml"
54 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
55 | internal Ay.Framework.WPF.Controls.AyImageButton btnCloseWindow;
56 |
57 | #line default
58 | #line hidden
59 |
60 |
61 | #line 143 "..\..\..\Views\LoginWindow.xaml"
62 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
63 | internal System.Windows.Controls.TextBlock wrongTip;
64 |
65 | #line default
66 | #line hidden
67 |
68 |
69 | #line 144 "..\..\..\Views\LoginWindow.xaml"
70 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
71 | internal Ay.Framework.WPF.Controls.AyTextBox tb_EmpName;
72 |
73 | #line default
74 | #line hidden
75 |
76 |
77 | #line 148 "..\..\..\Views\LoginWindow.xaml"
78 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
79 | internal System.Windows.Controls.PasswordBox pb;
80 |
81 | #line default
82 | #line hidden
83 |
84 |
85 | #line 188 "..\..\..\Views\LoginWindow.xaml"
86 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
87 | internal System.Windows.Controls.Button btnLogin;
88 |
89 | #line default
90 | #line hidden
91 |
92 |
93 | #line 197 "..\..\..\Views\LoginWindow.xaml"
94 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
95 | internal System.Windows.Controls.Button btnRenShi;
96 |
97 | #line default
98 | #line hidden
99 |
100 |
101 | #line 198 "..\..\..\Views\LoginWindow.xaml"
102 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
103 | internal System.Windows.Controls.Button btnRenShi_Copy;
104 |
105 | #line default
106 | #line hidden
107 |
108 |
109 | #line 199 "..\..\..\Views\LoginWindow.xaml"
110 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
111 | internal System.Windows.Controls.Button btnRenShi_Copy1;
112 |
113 | #line default
114 | #line hidden
115 |
116 | private bool _contentLoaded;
117 |
118 | ///
119 | /// InitializeComponent
120 | ///
121 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
122 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
123 | public void InitializeComponent() {
124 | if (_contentLoaded) {
125 | return;
126 | }
127 | _contentLoaded = true;
128 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/views/loginwindow.xaml", System.UriKind.Relative);
129 |
130 | #line 1 "..\..\..\Views\LoginWindow.xaml"
131 | System.Windows.Application.LoadComponent(this, resourceLocater);
132 |
133 | #line default
134 | #line hidden
135 | }
136 |
137 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
138 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
139 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
140 | internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
141 | return System.Delegate.CreateDelegate(delegateType, this, handler);
142 | }
143 |
144 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
145 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
146 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
147 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
148 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
149 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
150 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
151 | switch (connectionId)
152 | {
153 | case 1:
154 | this.btnMinWindow = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
155 | return;
156 | case 2:
157 | this.btnCloseWindow = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
158 | return;
159 | case 3:
160 | this.wrongTip = ((System.Windows.Controls.TextBlock)(target));
161 | return;
162 | case 4:
163 | this.tb_EmpName = ((Ay.Framework.WPF.Controls.AyTextBox)(target));
164 | return;
165 | case 5:
166 | this.pb = ((System.Windows.Controls.PasswordBox)(target));
167 | return;
168 | case 6:
169 | this.btnLogin = ((System.Windows.Controls.Button)(target));
170 |
171 | #line 188 "..\..\..\Views\LoginWindow.xaml"
172 | this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);
173 |
174 | #line default
175 | #line hidden
176 | return;
177 | case 7:
178 | this.btnRenShi = ((System.Windows.Controls.Button)(target));
179 | return;
180 | case 8:
181 | this.btnRenShi_Copy = ((System.Windows.Controls.Button)(target));
182 | return;
183 | case 9:
184 | this.btnRenShi_Copy1 = ((System.Windows.Controls.Button)(target));
185 | return;
186 | }
187 | this._contentLoaded = true;
188 | }
189 | }
190 | }
191 |
192 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Controls/AyDataPager.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Controls\AyDataPager.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5B3099A6CFE4DA2887D8E5A8829784932C3AF4ABA6927F7D4233576FC115F572"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using Ay.Framework.WPF.Controls;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Ink;
22 | using System.Windows.Input;
23 | using System.Windows.Markup;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Animation;
26 | using System.Windows.Media.Effects;
27 | using System.Windows.Media.Imaging;
28 | using System.Windows.Media.Media3D;
29 | using System.Windows.Media.TextFormatting;
30 | using System.Windows.Navigation;
31 | using System.Windows.Shapes;
32 | using System.Windows.Shell;
33 |
34 |
35 | namespace Ay.Framework.WPF.Controls {
36 |
37 |
38 | ///
39 | /// AyDataPager
40 | ///
41 | public partial class AyDataPager : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
42 |
43 |
44 | #line 7 "..\..\..\Controls\AyDataPager.xaml"
45 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
46 | internal Ay.Framework.WPF.Controls.AyDataPager dp;
47 |
48 | #line default
49 | #line hidden
50 |
51 |
52 | #line 22 "..\..\..\Controls\AyDataPager.xaml"
53 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
54 | internal Ay.Framework.WPF.Controls.AyComboBox cboPageSize;
55 |
56 | #line default
57 | #line hidden
58 |
59 |
60 | #line 32 "..\..\..\Controls\AyDataPager.xaml"
61 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
62 | internal Ay.Framework.WPF.Controls.AyImageButton btnFirst;
63 |
64 | #line default
65 | #line hidden
66 |
67 |
68 | #line 39 "..\..\..\Controls\AyDataPager.xaml"
69 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
70 | internal Ay.Framework.WPF.Controls.AyImageButton btnPrev;
71 |
72 | #line default
73 | #line hidden
74 |
75 |
76 | #line 50 "..\..\..\Controls\AyDataPager.xaml"
77 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
78 | internal System.Windows.Controls.TextBox tbPageIndex;
79 |
80 | #line default
81 | #line hidden
82 |
83 |
84 | #line 55 "..\..\..\Controls\AyDataPager.xaml"
85 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
86 | internal Ay.Framework.WPF.Controls.AyImageButton btnNext;
87 |
88 | #line default
89 | #line hidden
90 |
91 |
92 | #line 62 "..\..\..\Controls\AyDataPager.xaml"
93 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
94 | internal Ay.Framework.WPF.Controls.AyImageButton btnLast;
95 |
96 | #line default
97 | #line hidden
98 |
99 |
100 | #line 69 "..\..\..\Controls\AyDataPager.xaml"
101 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
102 | internal Ay.Framework.WPF.Controls.AyImageButton btnRefresh;
103 |
104 | #line default
105 | #line hidden
106 |
107 | private bool _contentLoaded;
108 |
109 | ///
110 | /// InitializeComponent
111 | ///
112 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
113 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
114 | public void InitializeComponent() {
115 | if (_contentLoaded) {
116 | return;
117 | }
118 | _contentLoaded = true;
119 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/controls/aydatapager.xaml", System.UriKind.Relative);
120 |
121 | #line 1 "..\..\..\Controls\AyDataPager.xaml"
122 | System.Windows.Application.LoadComponent(this, resourceLocater);
123 |
124 | #line default
125 | #line hidden
126 | }
127 |
128 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
129 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
130 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
131 | internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
132 | return System.Delegate.CreateDelegate(delegateType, this, handler);
133 | }
134 |
135 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
136 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
137 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
138 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
139 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
140 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
141 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
142 | switch (connectionId)
143 | {
144 | case 1:
145 | this.dp = ((Ay.Framework.WPF.Controls.AyDataPager)(target));
146 |
147 | #line 9 "..\..\..\Controls\AyDataPager.xaml"
148 | this.dp.Loaded += new System.Windows.RoutedEventHandler(this.DataPager_Loaded);
149 |
150 | #line default
151 | #line hidden
152 | return;
153 | case 2:
154 | this.cboPageSize = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
155 | return;
156 | case 3:
157 | this.btnFirst = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
158 | return;
159 | case 4:
160 | this.btnPrev = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
161 | return;
162 | case 5:
163 | this.tbPageIndex = ((System.Windows.Controls.TextBox)(target));
164 |
165 | #line 50 "..\..\..\Controls\AyDataPager.xaml"
166 | this.tbPageIndex.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tbPageIndex_PreviewKeyDown);
167 |
168 | #line default
169 | #line hidden
170 |
171 | #line 51 "..\..\..\Controls\AyDataPager.xaml"
172 | this.tbPageIndex.LostFocus += new System.Windows.RoutedEventHandler(this.tbPageIndex_LostFocus);
173 |
174 | #line default
175 | #line hidden
176 | return;
177 | case 6:
178 | this.btnNext = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
179 | return;
180 | case 7:
181 | this.btnLast = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
182 | return;
183 | case 8:
184 | this.btnRefresh = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
185 | return;
186 | }
187 | this._contentLoaded = true;
188 | }
189 | }
190 | }
191 |
192 |
--------------------------------------------------------------------------------
/OA.UI/obj/Debug/Controls/AyDataPager.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\..\Controls\AyDataPager.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5B3099A6CFE4DA2887D8E5A8829784932C3AF4ABA6927F7D4233576FC115F572"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using Ay.Framework.WPF.Controls;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Ink;
22 | using System.Windows.Input;
23 | using System.Windows.Markup;
24 | using System.Windows.Media;
25 | using System.Windows.Media.Animation;
26 | using System.Windows.Media.Effects;
27 | using System.Windows.Media.Imaging;
28 | using System.Windows.Media.Media3D;
29 | using System.Windows.Media.TextFormatting;
30 | using System.Windows.Navigation;
31 | using System.Windows.Shapes;
32 | using System.Windows.Shell;
33 |
34 |
35 | namespace Ay.Framework.WPF.Controls {
36 |
37 |
38 | ///
39 | /// AyDataPager
40 | ///
41 | public partial class AyDataPager : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
42 |
43 |
44 | #line 7 "..\..\..\Controls\AyDataPager.xaml"
45 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
46 | internal Ay.Framework.WPF.Controls.AyDataPager dp;
47 |
48 | #line default
49 | #line hidden
50 |
51 |
52 | #line 22 "..\..\..\Controls\AyDataPager.xaml"
53 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
54 | internal Ay.Framework.WPF.Controls.AyComboBox cboPageSize;
55 |
56 | #line default
57 | #line hidden
58 |
59 |
60 | #line 32 "..\..\..\Controls\AyDataPager.xaml"
61 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
62 | internal Ay.Framework.WPF.Controls.AyImageButton btnFirst;
63 |
64 | #line default
65 | #line hidden
66 |
67 |
68 | #line 39 "..\..\..\Controls\AyDataPager.xaml"
69 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
70 | internal Ay.Framework.WPF.Controls.AyImageButton btnPrev;
71 |
72 | #line default
73 | #line hidden
74 |
75 |
76 | #line 50 "..\..\..\Controls\AyDataPager.xaml"
77 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
78 | internal System.Windows.Controls.TextBox tbPageIndex;
79 |
80 | #line default
81 | #line hidden
82 |
83 |
84 | #line 55 "..\..\..\Controls\AyDataPager.xaml"
85 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
86 | internal Ay.Framework.WPF.Controls.AyImageButton btnNext;
87 |
88 | #line default
89 | #line hidden
90 |
91 |
92 | #line 62 "..\..\..\Controls\AyDataPager.xaml"
93 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
94 | internal Ay.Framework.WPF.Controls.AyImageButton btnLast;
95 |
96 | #line default
97 | #line hidden
98 |
99 |
100 | #line 69 "..\..\..\Controls\AyDataPager.xaml"
101 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
102 | internal Ay.Framework.WPF.Controls.AyImageButton btnRefresh;
103 |
104 | #line default
105 | #line hidden
106 |
107 | private bool _contentLoaded;
108 |
109 | ///
110 | /// InitializeComponent
111 | ///
112 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
113 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
114 | public void InitializeComponent() {
115 | if (_contentLoaded) {
116 | return;
117 | }
118 | _contentLoaded = true;
119 | System.Uri resourceLocater = new System.Uri("/OA.UI;component/controls/aydatapager.xaml", System.UriKind.Relative);
120 |
121 | #line 1 "..\..\..\Controls\AyDataPager.xaml"
122 | System.Windows.Application.LoadComponent(this, resourceLocater);
123 |
124 | #line default
125 | #line hidden
126 | }
127 |
128 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
129 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
130 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
131 | internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
132 | return System.Delegate.CreateDelegate(delegateType, this, handler);
133 | }
134 |
135 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
136 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
137 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
138 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
139 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
140 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
141 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
142 | switch (connectionId)
143 | {
144 | case 1:
145 | this.dp = ((Ay.Framework.WPF.Controls.AyDataPager)(target));
146 |
147 | #line 9 "..\..\..\Controls\AyDataPager.xaml"
148 | this.dp.Loaded += new System.Windows.RoutedEventHandler(this.DataPager_Loaded);
149 |
150 | #line default
151 | #line hidden
152 | return;
153 | case 2:
154 | this.cboPageSize = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
155 | return;
156 | case 3:
157 | this.btnFirst = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
158 | return;
159 | case 4:
160 | this.btnPrev = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
161 | return;
162 | case 5:
163 | this.tbPageIndex = ((System.Windows.Controls.TextBox)(target));
164 |
165 | #line 50 "..\..\..\Controls\AyDataPager.xaml"
166 | this.tbPageIndex.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tbPageIndex_PreviewKeyDown);
167 |
168 | #line default
169 | #line hidden
170 |
171 | #line 51 "..\..\..\Controls\AyDataPager.xaml"
172 | this.tbPageIndex.LostFocus += new System.Windows.RoutedEventHandler(this.tbPageIndex_LostFocus);
173 |
174 | #line default
175 | #line hidden
176 | return;
177 | case 6:
178 | this.btnNext = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
179 | return;
180 | case 7:
181 | this.btnLast = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
182 | return;
183 | case 8:
184 | this.btnRefresh = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
185 | return;
186 | }
187 | this._contentLoaded = true;
188 | }
189 | }
190 | }
191 |
192 |
--------------------------------------------------------------------------------