background preloader

C#

Facebook Twitter

Parser

Image Processing Lab in C# - The Code Project - Multimedia. Introduction Image Processing Lab is a simple tool for image processing, which includes different filters and tools to analyze images available in the AForge.NET framework. It's easy to develop your own filters and to integrate them with the code or use the tools in your own application. The following filters are implemented in the AForge.NET framework and demonstrated in the application: You can create (save and load) your own convolution filters or filters based on standard mathematical morphology operators.

Colorized grid makes it very convenient to work with custom convolution filters. A preview window allows you to view the results of changing filter parameters on the fly. A PhotoShop-like histogram allows you to get information about mean, standard deviation, median, minimum and maximum values. The program allows you to copy to or paste from clipboard, save and print images. Using the Code Most filters are designed to work with 24bpp RGB images or with grayscale images.

HSL Filters. .NET Voice Recorder. Inside C# 2.0 Anonymous Methods - The Code Project - C# Programm. Index 1.

Inside C# 2.0 Anonymous Methods - The Code Project - C# Programm

Basics of anonymous methods Anonymous methods is a new language feature in C# 2.0. The focus of this article is to provide the readers with a better understanding of the internal implementation and working of anonymous methods. This article is not intended to be a complete language feature reference for anonymous methods. Anonymous methods allow us to define a code block where a delegate object is acceptable. Public class MyCollection { public delegate bool SelectItem(string sItem); public string[] GetFilteredItemArray(SelectItem itemFilter) { List<string> sList = new List<string>(); foreach(string sItem in m_sList) { if (itemFilter(sItem) == true) sList.Add(sItem); } return sList.ToArray(); } public List<string> ItemList { get { return m_sList; } } private List<string> m_sList = new List<string>(); } We can write code as shown below to use the above defined class: One can see that for each simple criteria we want to provide, we should define a method (static or instance).

Aptana: The Web IDE. Remote Desktop using C#.Net. Overview: Remote Desktop Services is one of Microsoft Windows components to access a remote computer through network.

Remote Desktop using C#.Net

Only the user interface of the application is presented at the client. Any input is redirected over to the remote computer over the network. At work we use Remote Desktop a great deal. It allows us to login to a remote server to perform health checks, deploy applications, troubleshoot problems, etc. Why do we want to write a .Net application to do this when you have the MS Terminal Services client available from OS? However, tab control is not in scope of this article. Microsoft Terminal Services Control We will be using AxMSTSCLib an ActiveX component in our program to connect to the remote computer.

Microsoft has a "Microsoft RDP client control" ActiveX control that we will be using in our application. This is how we do it We will start by creating a windows application in the Visual Studio IDE. Drag the newly added control from toolbox to the form. That's all folks! Unmanaged Rijndael and ARCFour (RC4 compatible) CSP classes for.