Free Code Snippets in C#, Net Framework, Office 365, ASP.Net,WPF, Visual Studio, SQL Server, Antivirus free
#
C # Application: Webrobot to read all Ebay Kleinanzeigen Net-Framework/WPF/Code-Samples
C # Application: Webrobot to read all Ebay Kleinanzeigen
20.02.2018 67
Task: The application scours through a full range of Ebay Classifieds The application is written in C #, WPF Base: Ebay Classifieds does not filter the results for fulltext input, it only displays the results which

WPF: Navigate to a page Net-Framework/WPF/Code-Samples
WPF: Navigate to a page
13.02.2018 103
Switch from a window to a page In MainWindows with the code private

WPF: create a selectable list Net-Framework/WPF/Code-Samples
WPF: create a selectable list
13.02.2018 109
The following code example shows how to create a list in WPF with selectable rows The list consists of UserControl elements, which appear stacked in a stack panel as a list A list with its own user control lines makes sense if a data grid or a pure table or

WPF: Set Startup Window Net-Framework/WPF/Code-Samples
WPF: Set Startup Window
17.01.2018 161
Where to put in WPF, with which windows the application should start? Solution: In the file: App xaml in the header is the setting StartupUri = "MainWindow xaml" Here you can change the setting

Add WPF Local SQL Database to Application and Connect Data Net-Framework/WPF/Code-Samples
Add WPF Local SQL Database to Application and Connect Data
04.01.2018 374
If you need a database in WPF that only serves as a data store for the WPF application, then you should create a local database The database is created and linked with Add New Item-> Service Based Database This is a local SQL Server database that places t

Error caused by Caliburn Micro Net-Framework/WPF/Error-Messages
Error caused by Caliburn Micro
14.08.2017 331
Error caused by Caliburn Micro In a download project from Windows 8 1 for the transfer in Windows 10 the error is shown, that there is an internal error to the Caliburnproject and Caliburn Micro The use in the old project can be found in the XAML header Further t

WPF: System.Windows.Interactivity is broken or missing Net-Framework/WPF/Error-Messages
WPF: System.Windows.Interactivity is broken or missing
14.08.2017 440
WPF: System Windows Interactivity is broken or missing In a project, the System Windows Interactivity reference is showing an error System Windows Interactivity

WPF, Bridge: StorageFile access with Windows 10 under Win32 Net-Framework/WPF/Migrate-to-UWP
WPF, Bridge: StorageFile access with Windows 10 under Win32
21.07.2017 403
WPF, Bridge: File access with Windows 10 under Win32 The functionality of the UWP Windows 10 can be integrated under Windows 32 WPF WinForms Then you can open and manage files with asynchronous access as a storage file In contrast to UWP you have the comp

WPF / UWP: Canvas with relative positions and sizes Net-Framework/WPF/Code-Samples
WPF / UWP: Canvas with relative positions and sizes
07.07.2017 618
WPF UWP: Canvas with relative positions and sizes This code example shows a Windows XAML application, where the positions and size of the elements in a Canvas Control match the runtime, relative to the size of the window or canvas element In the Canvas_ChangedSize

C #, WPF, UWP: ScreenShot to save an app or window area as a file Net-Framework/WPF/Code-Samples
C #, WPF, UWP: ScreenShot to save an app or window area as a file
06.07.2017 600
C #, WPF, UWP: ScreenShot to save an app or window area as a file C #, WPF, UWP, RenderTarget Bitmap, Encoder, SaveSave as File, Desktop, Screen Area Render Windows window, app, application or XAML element as bitmap and save the element as a ScreenShot fil

XAML: Text break in the button Net-Framework/WPF/Basics
XAML: Text break in the button
06.07.2017 262
XAML: Text break in the button WPF, UWP, XAML, TextWrap, Wrap, LineBreak The UIElement, Framework ElementButton has no direct option for the text break If you want a text break in a button, you have to either set a sub-element TextBlock inside t

C #: Windows ScreenShot save as file Net-Framework/WPF/Code-Samples
C #: Windows ScreenShot save as file
06.07.2017 410
C #: Windows ScreenShot save as file, Windows Graphics, Desktop This application in Windows WPF saves the current monitor as a screenshot in a png file Video Tutorial This application in Windows WPF saves the cu

WPF Windows Font icons with Segoe MDL2 Asset Net-Framework/WPF/Basics
WPF Windows Font icons with Segoe MDL2 Asset
06.07.2017 989
WPF Windows Font icons with Segoe MDL2 Asset With a trick WPF and C # can be installed in Windows applications under Windows FontFamily: Segoe MDL2 assets One can enter the font a FrameworkElements or UIElements into the Properties->

WPF Color Picker on Color Cube Net-Framework/WPF/Code-Samples
WPF Color Picker on Color Cube
05.07.2017 631
WPF Color Picker on Color Cube, Black White Color This code example contains a color picker (ColorPicker) with which you can determine a color at run-time in RGB values The color is returned, over which the mouse pointer is positioned as a cursor

WPF: Draw ColorWheel in C# by drawing Lines Net-Framework/WPF/Code-Samples
WPF: Draw ColorWheel in C# by drawing Lines
04.07.2017 449
WPF: Draw ColorWheel The following code creates a ColorWheel that is needed to select color in an application The solution is designed to automatically draw lines from the edges of a rectangle directly into the center of the rectangle using the draw_Lines () method

WPF: Snap In to Next Lines of Elements Net-Framework/WPF/Code-Samples
WPF: Snap In to Next Lines of Elements
29.06.2017 277
WPF: Snap Next Lines The following code example contains a WPF application in which the moving elements always dock onto the other elements The C # code is based on the fact that when a corner of an element is moved, the new position in the top and left position is

WPF Code: Usercontrol with customizable size at runtime Net-Framework/WPF/Code-Samples
WPF Code: Usercontrol with customizable size at runtime
29.06.2017 378
WPF Code: Usercontrol with customizable size at runtime This code example involves the calculation and adjustment of the size and position of a UserControl at runtime in a superior canvas UIElement C # Code, Code-Example Video ins

WPF: Save the background of a Windows app as a ScreenShot Net-Framework/WPF/Code-Samples
WPF: Save the background of a Windows app as a ScreenShot
28.06.2017 354
WPF: Save the background of a Windows app as a ScreenShot The following C # code saves the current background or the appearance of a Windows 32 WPF app as a bitmap This example also shows that only the app application is captured and not the background desktop behin

WPF, UWP: Create transparent app window Net-Framework/WPF/Code-Samples
WPF, UWP: Create transparent app window
28.06.2017 464
WPF, UWP: Create transparent app window Create a transparent app window A window becomes transparent with WPF when the following settings are entered in the XAML value

WPF: Determine the relative position of an element Net-Framework/WPF/Code-Samples
WPF: Determine the relative position of an element
28.06.2017 323
WPF: Determine the relative position of an element Under WPF, you can use TranslatePoint ( ) The position of a subordinate element to the upper left corner of a parent element C # Code example UIElemen

WPF: Mouse position Net-Framework/WPF/Code-Samples
WPF: Mouse position
28.06.2017 312
WPF: Mouse position How to determine the position of the mouse pointer in a WPF application The position of the mouse is always determined relative to the upper left corner of a superimposed UIElement From the MouseEventArgs parameter in the Mo

WPF: Zoom bitmap with TransformedBitmap Net-Framework/WPF/Images
WPF: Zoom bitmap with TransformedBitmap
14.06.2017 372
WPF: Reduce bitmap C # Code Sample: This code zooms a ScreenShot image to a suitable width in centimeters In this case, the scaling factor is calculated based on the image of dot-in-the-inch of the monitor to a predetermined width in centimeters

WPF: Shrink ImageSource as image Net-Framework/WPF/Images
WPF: Shrink ImageSource as image
13.06.2017 312
The following C # code under WPF makes the following: a screenshot image from the clipboard is reduced to a defined image width 1 Create image as a layer

WPF Error: An error occurred while signing Net-Framework/WPF/Error-Messages
WPF Error: An error occurred while signing
31.05.2017 351
WPF Error: An error occurred while signing When re-editing an older WPF application, the error code comes An error occurred while signing: Failed to sign bin Debug app publish ScreenCapture_to_Clipboard exe

WPF: Read string arguments with spaces Net-Framework/WPF/Folder-Files
WPF: Read string arguments with spaces
25.04.2017 274
If a startup parameter under Windows is given a space, then the program will automatically start with several arguments A path with spaces like this in the example: "C: 2016-12-23 Test" automatically causes the Args [0] to be the first part and contains Arg

WPF: Additional menu items with icon in file explorer for videos, photos, folders and directories Net-Framework/WPF/Folder-Files
WPF: Additional menu items with icon in file explorer for videos, photos, folders and directories
24.04.2017 268
With this C # code I extend my file explorer in such a way that an additional menu point appears in the context menu of the right mouse button to photos, videos, folder directories, Which starts my additional app WPF application The program should then list

WPF Registry. DeleteSubKey: System.UnautohorizedAccessException Net-Framework/WPF/Error-Messages
WPF Registry. DeleteSubKey: System.UnautohorizedAccessException
24.04.2017 276
error message When deleting keys in the Windows registry, the error message is output :; System UnautohorizedAccessException: In den Registrierungsschlüssel kann nicht ge

WPF: Show video in preview Net-Framework/WPF/Controls-Elements
WPF: Show video in preview
18.04.2017 350
Code example in C #, WPF to load a video, which is displayed as thumbnail Subject: MediaElement MediaPlayer, Image,Thumbnail, Preview, Video, mp4, mov

WPF: Select Folder with Startup Directory Net-Framework/WPF/Dialogs
WPF: Select Folder with Startup Directory
18.04.2017 842
If you want to select a folder in a dialog in WPF, you can use the FolderBrowserDialog from Winforms To specify the first set folder when opening the dialog box, you must set the SelectedPath to do this without setting a RootFolder Directory selection, direct

WPF, C# Code: Login into an AVM Fritzbox Net-Framework/WPF/WPF-Projects
WPF, C# Code: Login into an AVM Fritzbox
16.03.2017 441
Fritzbox: WPF Login and evaluation by c # code Project code in C # for logging into an AVM Fritzbox with webrequest or webBrowser This C # code can be used as a basis for reading an AVM Fritzbox such as the telephone book, the call lists or the contacts Su

Mobile

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de