Menu ---
  • Home
  • Tutorials
  • Useful codes
  • Nuget Packages
    • Extension Methods
    • Filter Descriptor for Kendo UI
  • Downloads
    • Active Directory Managing Utility DLL
    • SQL connection methods DLL
  • Contact

C# tutorials and useful codes.

Tag: event

Same event for different controls

Tags c#, event, subscribe, textbox, winform247 Views

Some guy asked a question: Is there any other way to use a routine on InitilizeCompent to handle all textboxes? So he wants to get away from typing a lot: no need to write the same event to all our …

Delegates and Events – Part 2.

Tags anonymous method, c#, delegate, event, event handler267 Views

Events Events are always implemented with delegates in C#. Publishing class defines a delegate, the subscribing class first creates a method that matches the delegate signature and then creates an instance of the delegate type encapsulating that method. Everytime an …

Try-Catch blocks

Tags c#, catch, event, exception, try, try catch, unhandled, winform242 Views

I was asked about try-catch blocks if we use them in multilevel methods (one’s calling another that throws exception -> which catch block will catch it, etc.). Here I show you a simple, 3 level try-catch block. We have a …

Custom TextBox with custom NumbersOnly property and event

Tags c#, control, custom, event, property, winform1551 Views

When you’re creating Winform applications, it could be useful if you also create your own controls. In this example I show you how to create custom control, with new custom property and event. Let’s create a new kind of TextBox …

Site Sidebar

Recent Posts

  • How to serialize and deserialize JSON?
  • Simple login form with remember me and logout function
  • How to create (encode) and decode QR code?
  • How to use generic repository pattern?
  • XML – SQL – custom object

Categories

  • ASP.NET
  • C#
  • Entity Framework
  • MVC
  • SQL
  • Tutorials
  • Useful codes

My personal website

Software Development

Site Footer

You can find me on social networks:

Tags

asp.net blackjack bootstrap c# comboxbox configuring connectionstring css csv datatable decoding decrypt delegate dll encoding encrypt entity framework event excel exception game hash html install ip address log4net mvc outlook printing ref reference regex regular expression repository pattern secure securestring splash sql sqlconnection tablelayoutpanel timer try catch unit of work value winform
Created by Attila Török - https://www.crushsoft.eu

Sliding Sidebar

About Me

About Me

In the past years I worked on almost every part of information technology: planning, implementing, managing server infrastructures, supporting desktops for hundreds of end users, planning wired and wireless networks in home offices and large companies, designing and building web sites using CMS mostly, developing softwares to windows based computers, to android equipments and web applications and services, creating video footages and photo shooting.

Tags

asp.net blackjack bootstrap c# comboxbox configuring connectionstring css csv datatable decoding decrypt delegate dll encoding encrypt entity framework event excel exception game hash html install ip address log4net mvc outlook printing ref reference regex regular expression repository pattern secure securestring splash sql sqlconnection tablelayoutpanel timer try catch unit of work value winform