Every security systems have its limits. I understand that hardware key logger cannot be beaten as it is connected to the hardware itself. Also it is not a concern at this point as most of the time it is used by programmers and ethical hackers to log themselves, on top of which most of the time cautious users will be able to visually iden...
Hi,
For a long time I had the following bookmark in Firefox:
http://www.codeguru.com/csharp/.net/net_general/keyboard/article.php/c4639
I know decided to read it and implement it in the application it was supposed to be implemented some time ago. However, I don't see any benefit in such a method...
I know that the idea behind the hast...
Despite the growing popularity Web Applications, and WPF, there's still a lot of work being done in "old-style" Windows.Forms, especially for in-house ("bespoke") business software systems.
So, what are the best (and most hidden) features and tricks of Windows.Forms, the things that can help us turn out useful applications faster?
(I w...
I have a class which inherits System.Windows.Forms.Form. I need to make the form available via a Web browser. The form currently allows a graph to be generated given various parameters. So embedding it directly in a web page would be ideal for my needs.
How would I go about doing this?
Thanks.
...
I want to store once Column data of Table in combobox1? Here is the code that isn't working:
SqlCommand cmdRe = new SqlCommand("select FK_RoleID from SO_User_Table", cn);
SqlDataAdapter da = new SqlDataAdapter();
DataTable dt = new DataTable();
try
{
cn.Open();
da.SelectCommand = c...
I plan to translate an .net 2.0 application to different languages. For that I enabled the localizable attribute in every form. The problem with that is, that I have to apply changes to the UI in every language supported. Is there a way to just translate the captions of buttons, labels etc. without "translating" the positon, size etc? I ...
I've got one Form, custom drawing, no controls.
When I need to get the input from the user I go to OnKeyDown event and then map event's KeyData to a string** - so that I can recognize that user has pressed "ctrl X", etc, so everything is almost ok... the problem is with different keyboard settings and language specific letters - so for...
In a Winform I have a groupbox and in it several Textbox controls. If I delete the Groupbox the Textboxes get deleted as well. They are somehow tied to the Groupbox though I didn't do anything knowingly for this to happen.
Question - how can I remove this connection, so that I can delete the groupbox and still have the textboxes on the ...
I have a WPF UserControl nested inside an ElementHost in a WinForm UserControl intended for use inside an Excel Custom Task Pane (CTP). WinForms isn't displaying a border present on my WPF UserControl. Why is this?
WPF UserControl:
<UserControl x:Class="InventoryCreator.MyWPFControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/...
Hi There,
I have built a library that dumps most of its debug text using Console.WriteLine();
I am now I am the process of using the library in a Windows Forms Application, and still need access to the Console output. ( To Display in a List/RichText box )
I Noticed I can override the standard out of the console to a TextWriter, b...
Hey there!
Winforms .net 3.5 app. In my app I have a generic class that looks like so:
public class FilterItem {
public FilterItem() { }
public string FilterProperty { get; set; }
public bool FilterPropertyChecked { get; set; }
public ComparitiveOperator FilterOperator { get; set; }
public string FilterValue { get; set; }
}
...
The existing application mixture of native and third party controls and hosts IE in a webbrowser control for rendering html. Also there is bi-directional update of UI - selecting anything in native controls ( e.g. treeview ) updates html , and vice verse javascript or hyperlinks in a webrowser may cause certain actions which update UI o...
When I set SelectedNode to null the tree updates correctly but BeforeSelect and AfterSelect do not fire.
Is there any way to tell when the selection has been changed to null?
My first thought is to extend the control and add an event though I would have thought something like this would already be available.
...
I have a strange problem with a Windows Forms event. To be exact, it's a KryptonHeaderGroup's ButtonSpec Click event, but it also happens with a plain vanilla System.Windows.Forms.Button.
In the click event, the user interface is brought down (there's a label and a cancel button left), and then an expensive LINQ query is built from prev...
this is for winforms using c#
I have a datagridview which lists the email messages (.msg) in a folder.
my aim: if user double clicks on a cell in the datagridview, the corresponding email message must be opened for view
how do I do this?
...
Hey everyone,
I've been working with C# for over a year now, and I was wondering what other functionality the tag attribute has of a control, till now each .net control I've used (buttons, labels, textboxes, gridview, etc.) have a tag attribute that you can define.
I only know you can put something in it like a string of text.
The vis...
Hi, as the title says, I'm looking for an event to catch after a user control has been shown.
At the moment, I have to set a do-once variable and catch the Invalidated event.
...
I have the following structure in a Windows Form:
Form (AutoResize = true, AutoSizeMode = GrowAndShrink)
FlowLayout (AutoResize = true, AutoSizeMode = GrowAndShrink)
GroupBox
GroupBox
GroupBox
StatusStrip
My expectation is that changing the visibility of the GroupBoxes should cause the Window to snap to...
I would like to render Form to bitmap... Is it possible in .net 2.0?
...
Call me crazy, but I'm the type of guy that likes constructors with parameters (if needed), as opposed to a constructor with no parameters followed by setting properties. My thought process: if the properties are required to actually construct the object, they should go in the constructor. I get two advantages:
I know that when an ob...