Click here to Skip to main content
15,895,142 members
Articles / Desktop Programming / WPF

WPF Custom Window W/Full Windows Functionality

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
18 Jan 2013CPOL1 min read 21K   1   13  
WPF Custom Window W/Full Windows Functionality.
  • CustomResizingWPF-noexe.zip
    • CustomResizingWPF
      • _ReSharper.CustomResizingWPF
        • AspFileDataCache.dat
        • AssemblyInfoCache.dat
        • BuildScriptCache
          • .crc
          • .version
          • 0
            • 6ab1d598.dat
        • ConditionalNames
          • .crc
          • .version
          • 1
            • 2c912289.dat
        • GeneratedFiles
          • .crc
          • .version
          • 1
            • 2c912289.dat
        • JavaScriptCache
          • .crc
          • .version
          • 2
            • 76fad03e.dat
        • JSTest
          • .crc
          • .version
        • ModuleIds.xml
        • MVC
          • .crc
          • .version
        • MvcAnnotations
          • .crc
          • .version
          • 1
            • 2c912289.dat
        • NamedArguments
          • .crc
          • .version
          • 7
            • 53a54654.dat
        • PersistentCaches
          • 000005.sst
          • 000006.log
          • LOG.old
        • ProjectFileDataCache
          • ResourceDefaultLanguagePropertyProvider.cache.dat
          • ShouldUseHostCompilerProvider.cache.dat
        • ProjectModel
          • projectModel.dat
        • RecentItems
          • RecentFiles.dat
        • Resources
          • .crc
          • .version
          • 8
            • 1e0ef40a.dat
        • SymbolCache.bin
        • TagPrefixes
          • .crc
          • .version
        • WebSymbols
          • .crc
          • .version
        • XmlIndex
          • Accessibility.xml
            • 59F683E5.bin
            • 870D5A60.bin
          • Microsoft.Build.Framework.4.0.0.0.Nullness.Generated.xml
            • E1EA0AC5.bin
          • Microsoft.Build.Framework.xml
            • 3B4F5530.bin
            • 5B4D04B5.bin
          • Microsoft.Build.Tasks.v4.0.4.0.0.0.Nullness.Generated.xml
            • 50D80BC5.bin
          • Microsoft.Build.Tasks.v4.0.xml
            • 390E8A25.bin
            • FB562A40.bin
          • Microsoft.Build.Utilities.v4.0.4.0.0.0.Nullness.Generated.xml
            • 07BCA185.bin
          • Microsoft.Build.Utilities.v4.0.xml
            • 1A2D939D.bin
            • BFE953F8.bin
          • Microsoft.CSharp.4.0.0.0.Nullness.Generated.xml
            • A3901AA5.bin
          • Microsoft.CSharp.xml
            • D5E37BAF.bin
          • Microsoft.VisualC.xml
            • 90D3ABE6.bin
          • mscorlib.4.0.0.0.Contracts.xml
            • 8991B9D5.bin
          • mscorlib.4.0.0.0.Interfaces.Nullness.Generated.xml
            • A19B3A1D.bin
          • mscorlib.4.0.0.0.Nullness.Generated.xml
            • FFF49E25.bin
          • mscorlib.4.0.0.0.Pure.xml
            • 4E4DB2E6.bin
          • mscorlib.I18n.xml
            • 337D6A5E.bin
          • mscorlib.Nullness.Manual.xml
            • AEF920D4.bin
          • mscorlib.Pure.Manual.xml
            • 8F252876.bin
          • mscorlib.ValueFlow.xml
            • 063EC469.bin
          • mscorlib.xml
            • 71BDE13E.bin
            • 743ADB6C.bin
            • CFD54509.bin
          • PresentationCore.4.0.0.0.Nullness.Generated.xml
            • 7ACB06E5.bin
          • PresentationCore.I18n.xml
            • 140A309E.bin
          • PresentationCore.xml
            • 6C0A9723.bin
            • 6F6FC046.bin
          • PresentationFramework.4.0.0.0.Nullness.Generated.xml
            • 9D630BC5.bin
          • PresentationFramework.4.0.0.0.Xaml.xml
            • C885AAEC.bin
          • PresentationFramework.I18n.xml
            • 74ED6F3E.bin
          • PresentationFramework.Nullness.Manual.xml
            • 2ABE6C74.bin
          • PresentationFramework.xml
            • B6BE5621.bin
            • EE659224.bin
          • PresentationUI.4.0.0.0.Nullness.Generated.xml
            • 26140C85.bin
          • ReachFramework.4.0.0.0.Nullness.Generated.xml
            • 2B25A025.bin
          • ReachFramework.xml
            • 450C246A.bin
            • DC23344F.bin
          • SMDiagnostics.4.0.0.0.Nullness.Generated.xml
            • 244B92C5.bin
          • System.4.0.0.0.Contracts.xml
            • 9DCFFED5.bin
          • System.4.0.0.0.Nullness.Generated.xml
            • 93108325.bin
          • System.4.0.0.0.Pure.xml
            • 7C4CD7E6.bin
          • System.ComponentModel.DataAnnotations.4.0.0.0.Nullness.Generated.xml
            • 6D21B885.bin
          • System.ComponentModel.DataAnnotations.I18n.xml
            • 51435D7E.bin
          • System.ComponentModel.DataAnnotations.xml
            • C448AF2F.bin
          • System.Configuration.4.0.0.0.Contracts.xml
            • 3D712C95.bin
          • System.Configuration.4.0.0.0.Nullness.Generated.xml
            • A7E8ACE5.bin
          • System.Configuration.4.0.0.0.Pure.xml
            • B18D4E26.bin
          • System.Configuration.Install.4.0.0.0.Contracts.xml
            • 5BC05F35.bin
          • System.Configuration.Install.4.0.0.0.Nullness.Generated.xml
            • F21BA145.bin
          • System.Configuration.Install.xml
            • 7FB1C71F.bin
            • F42CC37A.bin
          • System.Configuration.xml
            • 092A1070.bin
            • 51C94CD5.bin
          • System.Core.4.0.0.0.Contracts.xml
            • B470AF75.bin
          • System.Core.4.0.0.0.Nullness.Generated.xml
            • 2BE8DB85.bin
          • System.Core.4.0.0.0.Pure.xml
            • 70473D06.bin
          • System.Core.LinqTunnel.xml
            • DC2C01E2.bin
          • System.Core.Nullness.Manual.xml
            • 840981B4.bin
          • System.Core.Pure.Manual.xml
            • E1FED7D6.bin
          • System.Core.xml
            • 11686E5B.bin
            • 9057731E.bin
          • System.Data.4.0.0.0.Contracts.xml
            • E1F5D1F5.bin
          • System.Data.4.0.0.0.Nullness.Generated.xml
            • CB9CCE05.bin
          • System.Data.4.0.0.0.Pure.xml
            • 72ECCF86.bin
          • System.Data.DataSetExtensions.4.0.0.0.Nullness.Generated.xml
            • 9BBF6C05.bin
          • System.Data.DataSetExtensions.I18n.xml
            • 51C970FE.bin
          • System.Data.DataSetExtensions.xml
            • F4BC3A63.bin
          • System.Data.I18n.xml
            • E04152FE.bin
          • System.Data.OracleClient.4.0.0.0.Nullness.Generated.xml
            • 7F324D45.bin
          • System.Data.OracleClient.xml
            • 27DDCE31.bin
            • BA96A994.bin
          • System.Data.SqlXml.4.0.0.0.Nullness.Generated.xml
            • 8FCE8945.bin
          • System.Data.SqlXml.xml
            • 48CF6F29.bin
            • 9A03804C.bin
          • System.Data.xml
            • 7BF6DA70.bin
            • B7FA45F5.bin
          • System.Deployment.4.0.0.0.Nullness.Generated.xml
            • D299FC85.bin
          • System.Deployment.xml
            • 56CC0FFC.bin
            • CC017739.bin
          • System.Design.4.0.0.0.Nullness.Generated.xml
            • B79FD0C5.bin
          • System.Design.xml
            • 1169B4F7.bin
            • 66D504B2.bin
          • System.DirectoryServices.4.0.0.0.Nullness.Generated.xml
            • E0BB4C05.bin
          • System.DirectoryServices.Protocols.4.0.0.0.Nullness.Generated.xml
            • 9B439365.bin
          • System.DirectoryServices.Protocols.xml
            • 0A97A989.bin
            • A1B5E32C.bin
          • System.DirectoryServices.xml
            • 14397267.bin
            • 17DD44C2.bin
          • System.Drawing.4.0.0.0.Contracts.xml
            • 344EECD5.bin
          • System.Drawing.4.0.0.0.Nullness.Generated.xml
            • 2A3B3125.bin
          • System.Drawing.Design.4.0.0.0.Nullness.Generated.xml
            • FBB2BE45.bin
          • System.Drawing.Design.xml
            • 8E3A0B79.bin
            • E232227C.bin
          • System.Drawing.Pure.xml
            • 62409462.bin
          • System.Drawing.xml
            • 2F425360.bin
            • 39C33485.bin
          • System.Dynamic.4.0.0.0.Nullness.Generated.xml
            • 661A5545.bin
          • System.EnterpriseServices.4.0.0.0.Nullness.Generated.xml
            • 5C938D85.bin
          • System.EnterpriseServices.xml
            • 484CBB5B.bin
            • BB58925E.bin
          • System.I18n.xml
            • 5B278F5E.bin
          • System.Nullness.Manual.xml
            • A4E225D4.bin
          • System.Numerics.4.0.0.0.Nullness.Generated.xml
            • 0917EF05.bin
          • System.Numerics.xml
            • B6F071FD.bin
            • F65D6778.bin
          • System.Printing.4.0.0.0.Nullness.Generated.xml
            • 9FFAC805.bin
          • System.Printing.xml
            • 0FB11A94.bin
            • 9376C751.bin
          • System.Runtime.Caching.4.0.0.0.Nullness.Generated.xml
            • ACCA4445.bin
          • System.Runtime.Caching.xml
            • 129CA5BE.bin
            • 6E34C19B.bin
          • System.Runtime.DurableInstancing.4.0.0.0.Nullness.Generated.xml
            • 7D775C85.bin
          • System.Runtime.DurableInstancing.xml
            • 952CDDB7.bin
          • System.Runtime.Remoting.4.0.0.0.Nullness.Generated.xml
            • 9F932845.bin
          • System.Runtime.Remoting.xml
            • 99D48EF3.bin
            • A5303EB6.bin
          • System.Runtime.Serialization.4.0.0.0.Nullness.Generated.xml
            • 99073725.bin
          • System.Runtime.Serialization.Attributes.xml
            • AA29277F.bin
          • System.Runtime.Serialization.Formatters.Soap.2.0.0.0.Contracts.xml
            • 0AB585D3.bin
          • System.Runtime.Serialization.Formatters.Soap.4.0.0.0.Contracts.xml
            • 13934755.bin
          • System.Runtime.Serialization.Formatters.Soap.4.0.0.0.Nullness.Generated.xml
            • 324D5BA5.bin
          • System.Runtime.Serialization.Formatters.Soap.xml
            • AC344D82.bin
            • E636A127.bin
          • System.Runtime.Serialization.xml
            • 014E8BDC.bin
            • 7CDC3839.bin
          • System.Security.4.0.0.0.Contracts.xml
            • 642F8175.bin
          • System.Security.4.0.0.0.Nullness.Generated.xml
            • 1C73ED85.bin
          • System.Security.4.0.0.0.Pure.xml
            • 66FACF06.bin
          • System.Security.xml
            • 55841E76.bin
            • A33E1173.bin
          • System.ServiceProcess.4.0.0.0.Nullness.Generated.xml
            • 01494905.bin
          • System.ServiceProcess.xml
            • 2335E116.bin
            • DEE59913.bin
          • System.Transactions.4.0.0.0.Nullness.Generated.xml
            • C6F46385.bin
          • System.Transactions.xml
            • A0E212F7.bin
            • DBFAB5F2.bin
          • System.Web.4.0.0.0.Contracts.xml
            • 96C4E455.bin
          • System.Web.4.0.0.0.Nullness.Generated.xml
            • 579F98A5.bin
          • System.Web.4.0.0.0.Pure.xml
            • A1BC4D66.bin
          • System.Web.ApplicationServices.4.0.0.0.Nullness.Generated.xml
            • B6473DA5.bin
          • System.Web.ApplicationServices.xml
            • 331D36EA.bin
            • D971064F.bin
          • System.Web.Attributes.xml
            • 032E88FF.bin
          • System.Web.I18n.xml
            • A93984DE.bin
          • System.Web.RegularExpressions.xml
            • 00CA1780.bin
            • B6E517C5.bin
          • System.Web.Services.4.0.0.0.Nullness.Generated.xml
            • 3E344B85.bin
          • System.Web.Services.Attributes.xml
            • D91AB31F.bin
          • System.Web.Services.xml
            • 057956D0.bin
            • 70FE39D5.bin
          • System.Web.xml
            • 7F630C15.bin
            • C4EB8CF0.bin
          • System.Windows.Forms.4.0.0.0.Contracts.xml
            • 5B44F5D5.bin
          • System.Windows.Forms.4.0.0.0.Nullness.Generated.xml
            • E50B5A25.bin
          • System.Windows.Forms.4.0.0.0.Pure.xml
            • F80B6EE6.bin
          • System.Windows.Forms.I18n.xml
            • 493F265E.bin
          • System.Windows.Forms.Manual.xml
            • 2DC6F1AA.bin
          • System.Windows.Forms.xml
            • 628A07B4.bin
            • EF816551.bin
          • System.Windows.Input.Manipulations.4.0.0.0.Nullness.Generated.xml
            • 0B6548C5.bin
          • System.Windows.Input.Manipulations.xml
            • CD246420.bin
            • DB2249C5.bin
          • System.Xaml.4.0.0.0.Nullness.Generated.xml
            • F1742545.bin
          • System.Xaml.xml
            • C4D1BFD8.bin
            • C856BB1D.bin
          • System.Xml.4.0.0.0.Contracts.xml
            • BD8E5935.bin
          • System.Xml.4.0.0.0.Nullness.Generated.xml
            • FC42DB45.bin
          • System.Xml.4.0.0.0.Pure.xml
            • 1C612E46.bin
          • System.Xml.Attributes.xml
            • 6BFCF35F.bin
          • System.Xml.I18n.xml
            • 16989EBE.bin
          • System.Xml.Linq.4.0.0.0.Contracts.xml
            • 4B08AC75.bin
          • System.Xml.Linq.4.0.0.0.Nullness.Generated.xml
            • 8DCD7885.bin
          • System.Xml.Linq.4.0.0.0.Pure.xml
            • 9BAD1A06.bin
          • System.Xml.Linq.I18n.xml
            • 8C9F1D7E.bin
          • System.Xml.Linq.xml
            • 21CA9248.bin
            • AD7A27CD.bin
          • System.Xml.xml
            • 04E9321C.bin
            • 48B5EA79.bin
          • System.xml
            • 083CE63E.bin
            • 82B05E4B.bin
            • C3B3EEEE.bin
          • UIAutomationProvider.4.0.0.0.Nullness.Generated.xml
            • 53C15AC5.bin
          • UIAutomationProvider.xml
            • CD5CE20C.bin
            • E304A9E9.bin
          • UIAutomationTypes.4.0.0.0.Nullness.Generated.xml
            • E9AFE745.bin
          • UIAutomationTypes.xml
            • 36927266.bin
            • 822993E3.bin
          • WindowsBase.4.0.0.0.Nullness.Generated.xml
            • 178E8B45.bin
          • WindowsBase.4.0.0.0.Pure.xml
            • 1FF8DE46.bin
          • WindowsBase.I18n.xml
            • 95804EBE.bin
          • WindowsBase.xml
            • 30274CA1.bin
            • 6ADA5064.bin
      • CustomResizingWPF.sln
      • CustomResizingWPF.v11.suo
      • CustomResizingWPF
  • CustomResizingWPF.zip
    • AspFileDataCache.dat
    • AssemblyInfoCache.dat
    • .crc
    • .version
    • 6ab1d598.dat
    • .crc
    • .version
    • 2c912289.dat
    • .crc
    • .version
    • 2c912289.dat
    • .crc
    • .version
    • 76fad03e.dat
    • .crc
    • .version
    • ModuleIds.xml
    • .crc
    • .version
    • .crc
    • .version
    • 2c912289.dat
    • .crc
    • .version
    • 53a54654.dat
    • 000005.sst
    • 000006.log
    • LOG.old
    • ResourceDefaultLanguagePropertyProvider.cache.dat
    • ShouldUseHostCompilerProvider.cache.dat
    • projectModel.dat
    • RecentFiles.dat
    • .crc
    • .version
    • 1e0ef40a.dat
    • SymbolCache.bin
    • .crc
    • .version
    • .crc
    • .version
    • 59F683E5.bin
    • 870D5A60.bin
    • E1EA0AC5.bin
    • 3B4F5530.bin
    • 5B4D04B5.bin
    • 50D80BC5.bin
    • 390E8A25.bin
    • FB562A40.bin
    • 07BCA185.bin
    • 1A2D939D.bin
    • BFE953F8.bin
    • A3901AA5.bin
    • D5E37BAF.bin
    • 90D3ABE6.bin
    • 8991B9D5.bin
    • A19B3A1D.bin
    • FFF49E25.bin
    • 4E4DB2E6.bin
    • 337D6A5E.bin
    • AEF920D4.bin
    • 8F252876.bin
    • 063EC469.bin
    • 71BDE13E.bin
    • 743ADB6C.bin
    • CFD54509.bin
    • 7ACB06E5.bin
    • 140A309E.bin
    • 6C0A9723.bin
    • 6F6FC046.bin
    • 9D630BC5.bin
    • C885AAEC.bin
    • 74ED6F3E.bin
    • 2ABE6C74.bin
    • B6BE5621.bin
    • EE659224.bin
    • 26140C85.bin
    • 2B25A025.bin
    • 450C246A.bin
    • DC23344F.bin
    • 244B92C5.bin
    • 9DCFFED5.bin
    • 93108325.bin
    • 7C4CD7E6.bin
    • 6D21B885.bin
    • 51435D7E.bin
    • C448AF2F.bin
    • 3D712C95.bin
    • A7E8ACE5.bin
    • B18D4E26.bin
    • 5BC05F35.bin
    • F21BA145.bin
    • 7FB1C71F.bin
    • F42CC37A.bin
    • 092A1070.bin
    • 51C94CD5.bin
    • B470AF75.bin
    • 2BE8DB85.bin
    • 70473D06.bin
    • DC2C01E2.bin
    • 840981B4.bin
    • E1FED7D6.bin
    • 11686E5B.bin
    • 9057731E.bin
    • E1F5D1F5.bin
    • CB9CCE05.bin
    • 72ECCF86.bin
    • 9BBF6C05.bin
    • 51C970FE.bin
    • F4BC3A63.bin
    • E04152FE.bin
    • 7F324D45.bin
    • 27DDCE31.bin
    • BA96A994.bin
    • 8FCE8945.bin
    • 48CF6F29.bin
    • 9A03804C.bin
    • 7BF6DA70.bin
    • B7FA45F5.bin
    • D299FC85.bin
    • 56CC0FFC.bin
    • CC017739.bin
    • B79FD0C5.bin
    • 1169B4F7.bin
    • 66D504B2.bin
    • E0BB4C05.bin
    • 9B439365.bin
    • 0A97A989.bin
    • A1B5E32C.bin
    • 14397267.bin
    • 17DD44C2.bin
    • 344EECD5.bin
    • 2A3B3125.bin
    • FBB2BE45.bin
    • 8E3A0B79.bin
    • E232227C.bin
    • 62409462.bin
    • 2F425360.bin
    • 39C33485.bin
    • 661A5545.bin
    • 5C938D85.bin
    • 484CBB5B.bin
    • BB58925E.bin
    • 5B278F5E.bin
    • A4E225D4.bin
    • 0917EF05.bin
    • B6F071FD.bin
    • F65D6778.bin
    • 9FFAC805.bin
    • 0FB11A94.bin
    • 9376C751.bin
    • ACCA4445.bin
    • 129CA5BE.bin
    • 6E34C19B.bin
    • 7D775C85.bin
    • 952CDDB7.bin
    • 9F932845.bin
    • 99D48EF3.bin
    • A5303EB6.bin
    • 99073725.bin
    • AA29277F.bin
    • 0AB585D3.bin
    • 13934755.bin
    • 324D5BA5.bin
    • AC344D82.bin
    • E636A127.bin
    • 014E8BDC.bin
    • 7CDC3839.bin
    • 642F8175.bin
    • 1C73ED85.bin
    • 66FACF06.bin
    • 55841E76.bin
    • A33E1173.bin
    • 01494905.bin
    • 2335E116.bin
    • DEE59913.bin
    • C6F46385.bin
    • A0E212F7.bin
    • DBFAB5F2.bin
    • 96C4E455.bin
    • 579F98A5.bin
    • A1BC4D66.bin
    • B6473DA5.bin
    • 331D36EA.bin
    • D971064F.bin
    • 032E88FF.bin
    • A93984DE.bin
    • 00CA1780.bin
    • B6E517C5.bin
    • 3E344B85.bin
    • D91AB31F.bin
    • 057956D0.bin
    • 70FE39D5.bin
    • 7F630C15.bin
    • C4EB8CF0.bin
    • 5B44F5D5.bin
    • E50B5A25.bin
    • F80B6EE6.bin
    • 493F265E.bin
    • 2DC6F1AA.bin
    • 628A07B4.bin
    • EF816551.bin
    • 0B6548C5.bin
    • CD246420.bin
    • DB2249C5.bin
    • F1742545.bin
    • C4D1BFD8.bin
    • C856BB1D.bin
    • BD8E5935.bin
    • FC42DB45.bin
    • 1C612E46.bin
    • 6BFCF35F.bin
    • 16989EBE.bin
    • 4B08AC75.bin
    • 8DCD7885.bin
    • 9BAD1A06.bin
    • 8C9F1D7E.bin
    • 21CA9248.bin
    • AD7A27CD.bin
    • 04E9321C.bin
    • 48B5EA79.bin
    • 083CE63E.bin
    • 82B05E4B.bin
    • C3B3EEEE.bin
    • 53C15AC5.bin
    • CD5CE20C.bin
    • E304A9E9.bin
    • E9AFE745.bin
    • 36927266.bin
    • 822993E3.bin
    • 178E8B45.bin
    • 1FF8DE46.bin
    • 95804EBE.bin
    • 30274CA1.bin
    • 6ADA5064.bin
    • CustomResizingWPF.sln
    • CustomResizingWPF.v11.suo
    • App.config
    • App.xaml
    • App.xaml.cs
    • CustomResizingWPF.exe
    • CustomResizingWPF.exe.config
    • CustomResizingWPF.vshost.exe
    • CustomResizingWPF.vshost.exe.config
    • BoolToVisibilityConverter.cs
    • ContentToMarginConverter.cs
    • ContentToPathConverter.cs
    • CustomResizingWPF.csproj
    • CustomResizingWPF.csproj.user
    • GlassButton.xaml
    • ResourceDictionary.xaml
    • closeIcon.png
    • emailIcon.jpg
    • emailIcon2.jpg
    • MaximizeIcon.png
    • MinimizeIcon.png
    • RestoreIcon.png
    • send_email_button.gif
    • ZoomIconMinus.jpg
    • zoomIconPlus.jpg
    • App.g.cs
    • App.g.i.cs
    • CustomResizingWPF.csproj.FileListAbsolute.txt
    • CustomResizingWPF.exe
    • CustomResizingWPF.g.resources
    • CustomResizingWPF.Properties.Resources.resources
    • CustomResizingWPF_Content.g.i.cs
    • CustomResizingWPF_MarkupCompile.lref
    • GlassButton.baml
    • ResourceDictionary.baml
    • GeneratedInternalTypeHelper.g.cs
    • GeneratedInternalTypeHelper.g.i.cs
    • MainWindow.g.i.cs
    • TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
    • TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
    • TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
    • MainWindow.baml
    • MainWindow.g.cs
    • MainWindow.g.i.cs
    • AssemblyInfo.cs
    • Resources.Designer.cs
    • Resources.resx
    • Settings.Designer.cs
    • Settings.settings
    • MainWindow.xaml
    • MainWindow.xaml.cs
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "FCCABA83DEC4F3ABEBA648C874FBF57B"
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.18010
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using StenoViewerAndWriter.Converters;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;


namespace CustomResizingWPF {
    
    
    /// <summary>
    /// MainWindow
    /// </summary>
    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
        
        
        #line 24 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.Grid outterGrid;
        
        #line default
        #line hidden
        
        
        #line 25 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.Button btnHeader;
        
        #line default
        #line hidden
        
        
        #line 28 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Shapes.Rectangle DragHandleTopLeft;
        
        #line default
        #line hidden
        
        
        #line 29 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Shapes.Rectangle DragHandleTopRight;
        
        #line default
        #line hidden
        
        
        #line 30 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Shapes.Rectangle DragHandleBottomLeft;
        
        #line default
        #line hidden
        
        
        #line 31 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Shapes.Rectangle DragHandleBottomRight;
        
        #line default
        #line hidden
        
        
        #line 32 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Shapes.Rectangle DragHandleLeft;
        
        #line default
        #line hidden
        
        
        #line 33 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Shapes.Rectangle DragHandleRight;
        
        #line default
        #line hidden
        
        
        #line 34 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Shapes.Rectangle DragHandleTop;
        
        #line default
        #line hidden
        
        
        #line 40 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.RowDefinition topRow;
        
        #line default
        #line hidden
        
        
        #line 46 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.StackPanel spWindowsButtons;
        
        #line default
        #line hidden
        
        
        #line 50 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.Image btnMin;
        
        #line default
        #line hidden
        
        
        #line 53 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.Image btnMaxAndRestore;
        
        #line default
        #line hidden
        
        
        #line 56 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.Image btnClose;
        
        #line default
        #line hidden
        
        
        #line 62 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.TabControl TabControl;
        
        #line default
        #line hidden
        
        
        #line 66 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.TabItem TabOne;
        
        #line default
        #line hidden
        
        
        #line 73 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.TabItem StenoViewer;
        
        #line default
        #line hidden
        
        
        #line 74 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.Grid grdViewer;
        
        #line default
        #line hidden
        
        
        #line 107 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.ScrollViewer Scroller;
        
        #line default
        #line hidden
        
        
        #line 132 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.Grid spFooter;
        
        #line default
        #line hidden
        
        
        #line 139 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.StackPanel spMeetingInfo;
        
        #line default
        #line hidden
        
        
        #line 141 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.TextBlock txtMeetingName;
        
        #line default
        #line hidden
        
        
        #line 143 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.TextBlock txtIsMeetingInProgress;
        
        #line default
        #line hidden
        
        
        #line 145 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Controls.Label lblTime;
        
        #line default
        #line hidden
        
        
        #line 146 "..\..\MainWindow.xaml"
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
        internal System.Windows.Shapes.Rectangle DragHandleBottom;
        
        #line default
        #line hidden
        
        private bool _contentLoaded;
        
        /// <summary>
        /// InitializeComponent
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Uri resourceLocater = new System.Uri("/CustomResizingWPF;component/mainwindow.xaml", System.UriKind.Relative);
            
            #line 1 "..\..\MainWindow.xaml"
            System.Windows.Application.LoadComponent(this, resourceLocater);
            
            #line default
            #line hidden
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
            switch (connectionId)
            {
            case 1:
            
            #line 4 "..\..\MainWindow.xaml"
            ((CustomResizingWPF.MainWindow)(target)).Closed += new System.EventHandler(this.MainWindowClosed);
            
            #line default
            #line hidden
            
            #line 11 "..\..\MainWindow.xaml"
            ((CustomResizingWPF.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);
            
            #line default
            #line hidden
            
            #line 13 "..\..\MainWindow.xaml"
            ((CustomResizingWPF.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);
            
            #line default
            #line hidden
            
            #line 14 "..\..\MainWindow.xaml"
            ((CustomResizingWPF.MainWindow)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonUp);
            
            #line default
            #line hidden
            return;
            case 2:
            this.outterGrid = ((System.Windows.Controls.Grid)(target));
            return;
            case 3:
            this.btnHeader = ((System.Windows.Controls.Button)(target));
            
            #line 25 "..\..\MainWindow.xaml"
            this.btnHeader.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.btnHeader_PreviewMouseMove);
            
            #line default
            #line hidden
            
            #line 25 "..\..\MainWindow.xaml"
            this.btnHeader.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.btnHeader_DoubleClicked);
            
            #line default
            #line hidden
            
            #line 25 "..\..\MainWindow.xaml"
            this.btnHeader.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.btnHeader_PreviewMouseLeftButtonDown);
            
            #line default
            #line hidden
            return;
            case 4:
            this.DragHandleTopLeft = ((System.Windows.Shapes.Rectangle)(target));
            
            #line 28 "..\..\MainWindow.xaml"
            this.DragHandleTopLeft.MouseMove += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseMove);
            
            #line default
            #line hidden
            
            #line 28 "..\..\MainWindow.xaml"
            this.DragHandleTopLeft.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonUp);
            
            #line default
            #line hidden
            
            #line 28 "..\..\MainWindow.xaml"
            this.DragHandleTopLeft.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseEnter);
            
            #line default
            #line hidden
            
            #line 28 "..\..\MainWindow.xaml"
            this.DragHandleTopLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonDown);
            
            #line default
            #line hidden
            return;
            case 5:
            this.DragHandleTopRight = ((System.Windows.Shapes.Rectangle)(target));
            
            #line 29 "..\..\MainWindow.xaml"
            this.DragHandleTopRight.MouseMove += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseMove);
            
            #line default
            #line hidden
            
            #line 29 "..\..\MainWindow.xaml"
            this.DragHandleTopRight.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonUp);
            
            #line default
            #line hidden
            
            #line 29 "..\..\MainWindow.xaml"
            this.DragHandleTopRight.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseEnter);
            
            #line default
            #line hidden
            
            #line 29 "..\..\MainWindow.xaml"
            this.DragHandleTopRight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonDown);
            
            #line default
            #line hidden
            return;
            case 6:
            this.DragHandleBottomLeft = ((System.Windows.Shapes.Rectangle)(target));
            
            #line 30 "..\..\MainWindow.xaml"
            this.DragHandleBottomLeft.MouseMove += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseMove);
            
            #line default
            #line hidden
            
            #line 30 "..\..\MainWindow.xaml"
            this.DragHandleBottomLeft.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonUp);
            
            #line default
            #line hidden
            
            #line 30 "..\..\MainWindow.xaml"
            this.DragHandleBottomLeft.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseEnter);
            
            #line default
            #line hidden
            
            #line 30 "..\..\MainWindow.xaml"
            this.DragHandleBottomLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonDown);
            
            #line default
            #line hidden
            return;
            case 7:
            this.DragHandleBottomRight = ((System.Windows.Shapes.Rectangle)(target));
            
            #line 31 "..\..\MainWindow.xaml"
            this.DragHandleBottomRight.MouseMove += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseMove);
            
            #line default
            #line hidden
            
            #line 31 "..\..\MainWindow.xaml"
            this.DragHandleBottomRight.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonUp);
            
            #line default
            #line hidden
            
            #line 31 "..\..\MainWindow.xaml"
            this.DragHandleBottomRight.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseEnter);
            
            #line default
            #line hidden
            
            #line 31 "..\..\MainWindow.xaml"
            this.DragHandleBottomRight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonDown);
            
            #line default
            #line hidden
            return;
            case 8:
            this.DragHandleLeft = ((System.Windows.Shapes.Rectangle)(target));
            
            #line 32 "..\..\MainWindow.xaml"
            this.DragHandleLeft.MouseMove += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseMove);
            
            #line default
            #line hidden
            
            #line 32 "..\..\MainWindow.xaml"
            this.DragHandleLeft.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonUp);
            
            #line default
            #line hidden
            
            #line 32 "..\..\MainWindow.xaml"
            this.DragHandleLeft.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseEnter);
            
            #line default
            #line hidden
            
            #line 32 "..\..\MainWindow.xaml"
            this.DragHandleLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonDown);
            
            #line default
            #line hidden
            return;
            case 9:
            this.DragHandleRight = ((System.Windows.Shapes.Rectangle)(target));
            
            #line 33 "..\..\MainWindow.xaml"
            this.DragHandleRight.MouseMove += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseMove);
            
            #line default
            #line hidden
            
            #line 33 "..\..\MainWindow.xaml"
            this.DragHandleRight.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonUp);
            
            #line default
            #line hidden
            
            #line 33 "..\..\MainWindow.xaml"
            this.DragHandleRight.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseEnter);
            
            #line default
            #line hidden
            
            #line 33 "..\..\MainWindow.xaml"
            this.DragHandleRight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonDown);
            
            #line default
            #line hidden
            return;
            case 10:
            this.DragHandleTop = ((System.Windows.Shapes.Rectangle)(target));
            
            #line 34 "..\..\MainWindow.xaml"
            this.DragHandleTop.MouseMove += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseMove);
            
            #line default
            #line hidden
            
            #line 34 "..\..\MainWindow.xaml"
            this.DragHandleTop.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonUp);
            
            #line default
            #line hidden
            
            #line 34 "..\..\MainWindow.xaml"
            this.DragHandleTop.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseEnter);
            
            #line default
            #line hidden
            
            #line 34 "..\..\MainWindow.xaml"
            this.DragHandleTop.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonDown);
            
            #line default
            #line hidden
            return;
            case 11:
            this.topRow = ((System.Windows.Controls.RowDefinition)(target));
            return;
            case 12:
            this.spWindowsButtons = ((System.Windows.Controls.StackPanel)(target));
            return;
            case 13:
            
            #line 49 "..\..\MainWindow.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnMinimize_Clicked);
            
            #line default
            #line hidden
            return;
            case 14:
            this.btnMin = ((System.Windows.Controls.Image)(target));
            return;
            case 15:
            
            #line 52 "..\..\MainWindow.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnMaxRestore_Clicked);
            
            #line default
            #line hidden
            return;
            case 16:
            this.btnMaxAndRestore = ((System.Windows.Controls.Image)(target));
            return;
            case 17:
            
            #line 55 "..\..\MainWindow.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnClose_Clicked);
            
            #line default
            #line hidden
            return;
            case 18:
            this.btnClose = ((System.Windows.Controls.Image)(target));
            return;
            case 19:
            this.TabControl = ((System.Windows.Controls.TabControl)(target));
            return;
            case 20:
            this.TabOne = ((System.Windows.Controls.TabItem)(target));
            return;
            case 21:
            this.StenoViewer = ((System.Windows.Controls.TabItem)(target));
            return;
            case 22:
            this.grdViewer = ((System.Windows.Controls.Grid)(target));
            return;
            case 23:
            this.Scroller = ((System.Windows.Controls.ScrollViewer)(target));
            return;
            case 24:
            this.spFooter = ((System.Windows.Controls.Grid)(target));
            return;
            case 25:
            this.spMeetingInfo = ((System.Windows.Controls.StackPanel)(target));
            return;
            case 26:
            this.txtMeetingName = ((System.Windows.Controls.TextBlock)(target));
            return;
            case 27:
            this.txtIsMeetingInProgress = ((System.Windows.Controls.TextBlock)(target));
            return;
            case 28:
            this.lblTime = ((System.Windows.Controls.Label)(target));
            return;
            case 29:
            this.DragHandleBottom = ((System.Windows.Shapes.Rectangle)(target));
            
            #line 146 "..\..\MainWindow.xaml"
            this.DragHandleBottom.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseEnter);
            
            #line default
            #line hidden
            
            #line 146 "..\..\MainWindow.xaml"
            this.DragHandleBottom.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonUp);
            
            #line default
            #line hidden
            
            #line 146 "..\..\MainWindow.xaml"
            this.DragHandleBottom.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragHandle_MouseLeftButtonDown);
            
            #line default
            #line hidden
            
            #line 146 "..\..\MainWindow.xaml"
            this.DragHandleBottom.MouseMove += new System.Windows.Input.MouseEventHandler(this.DragHandle_MouseMove);
            
            #line default
            #line hidden
            return;
            }
            this._contentLoaded = true;
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions