Search Result

Collapse
16 results in 0.0074 seconds.
Keywords
Members
Tags
winforms
  •  

  • Problem in creating numeric textbox (.Net 4.0 - Winforms).

    Hi,
    I'm trying to create my own numeric textbox that will handle decimal as well as whole number values. The concept is, unlike the regular textbox, this one will accept a value of 'Double' data type and show it with proper formatting e.g. Leading Digits, Digit Grouping etc. When the textbox value is called, it returns the actual 'Double' data type value. The entire thing is done through the 'Text' property; wherein the regular 'Text' property...
    See more | Go to post

  • Detecting X button click of a window in winforms.

    How can I detect the click event of the close (X) button at the top right corner of the control box of a form/window? Please note, I don't want to know about CloseReason, FormClosing, FormClosed or stuffs like these, unless they are inevitable. I exactly want to detect if the user clicked the X button of the form. Thanks.
    See more | Go to post

  • Changing default value of a property of a control (DataGridView).

    I am inheriting my own datagridview (say MyDataGridView) from the standard datagridview control. What I want is that certain properties of MyDataGridView should have a different default value than what its base have. For example, AllowUserToAddR ows, AllowUserToDele teRows, AllowUserToResi zeRows properties should have the default values of False; so that when I drag MyDataGridView into a form in the IDE, the default values shown in the properties grid...
    See more | Go to post

  • bhagyap
    started a topic StackOverflowExceptionUnhandled

    StackOverflowExceptionUnhandled

    this.tableLayou tPanel1.ResumeL ayout(false);

    An unhandled exception of type 'System.StackOv erflowException ' occurred in mscorlib.dll occurred for the above line.. Please help me...
    See more | Go to post

  • Listing subfolders and files from an main folder within treeview c#

    Hi..

    I am populating a treeview in form1 based on the checkeditems in checkedlistbox which is in form2 but am unable to list the subfolders and files of the checked folder..

    Can anyone please help me????

    Thanks..

    hi..

    This is my scenario but am not getting any error..

    I have two forms form1 and form2,in form1 i have an treeview and in form2 i have checkedlistbox...
    See more | Go to post
    Last edited by Niheel; Dec 12 '11, 03:19 AM. Reason: merged code into description

  • What if BackgroundWorker control used massively?

    I'm being afraid if a mass usage of BackgroundWorke r control in a C# program will make the program slow and poorly responsible. So tell me if there is any such or any other problem if BackgroundWorke r control used massively?
    See more | Go to post

  • Paul Johnson
    started a topic A redraw problem which is perplexing me

    A redraw problem which is perplexing me

    Hi,

    I have a simple winform which creates has in it a NumericUpDown, two group boxes and two buttons. The code then dynamically inserts a number of NumberBox objects into one group box and a pile of labels into the other.

    (A numberbox is just an overloaded TextBox - details are at http://www.all-the-johnsons.co.uk/csharp/numberbox.html)

    If I click the NumericUpDown, the code inserts new boxes and also...
    See more | Go to post

  • DisplayFormat/DisplayStyle property of TextBox (Visual Studio 2010, .Net Framework 4)

    Is there any predefined property by which I can set the DisplayFormat/DisplayStyle of a textbox? Suppose I want a textbox to hold the actual value 888888888888.88 and show it formatted as 888,888,888,888 .88. In short it should hold 'Double' data type value and show it with thousand separators and decimal places upto two digits. If text is cleared from the textbox, it should have 0 as value and 0.00 as displayed value. Also the number of digits in...
    See more | Go to post

  • Harry Gates
    started a topic Play embedded video resources as stream
    in .NET

    Play embedded video resources as stream

    I've added some video resources to my winforms project. Now my purpose is to play the embedded video resource as a stream and without needing to write the resource contents to hard drive.

    I'm going to prevent the users from accessing the video file. Searching the google, I came across VideoLAN, DirectShow, VLC.Net and etc.

    I've also did some research on silverlight and found out that the MediaElement does support video...
    See more | Go to post

  • NormanB
    started a topic Bound Access database update and fill problem

    Bound Access database update and fill problem

    I have a bound Access database which contains tables "Recipes", "Ingredient s" and "Units". A linked table "Recipe ingredients" holds id references to each of these tables.

    My problem occurs when importing a new recipe from a text file. I create the reipe first and call the adapter update for the recipes table and then refill it. Then I create an entry in the recipe_ingredie nts table which I also...
    See more | Go to post

  • kommrad Homer
    started a topic webbrowser control positioning
    in .NET

    webbrowser control positioning

    i have a textbox and a status bar and a webbrowser on a tabpage. it is a chat screen for a messaging application. i want it to be like webbrowser on top , then textbox where i type , and then the status bar. but the webbrowser is filling the entire area always . the text box and the status bar are just where i want them to be.but then the bottom rows of the web browser are hidden behing these two controls. what can i do ?
    See more | Go to post

  • babai28
    started a topic Crystal Report Viewer group tree hiding Issue!

    Crystal Report Viewer group tree hiding Issue!

    Hi,
    I wish to hide the group tree of the crystal report viewer programatically .
    Intellisense denied any "DisplayGroupTr ee" property of the control!
    A little googling yielded the fact that in VS 2008 the "ToolPanelV iew" property serves the purpose.
    The intellisense denied even this property.
    I am using VS 2008 and the build is with target 3.5 framework.
    I feel betrayed.
    Please help!...
    See more | Go to post

  • babai28
    started a topic Crystal Report.Net Image Question

    Crystal Report.Net Image Question

    Hi There,

    I have a need of displaying simple static image in my report which will be hosted in a WINFORM crystal report viewer.
    I have no requirement of loading dynamic images or anything.
    I tried googling which yielded results of only loading dynamic images.
    I am using a typed dataset for runtime supply of data to the report. And adding another table for the same report apeared a hazy and bad idea.
    I am...
    See more | Go to post

  • How to serialise and deserialize a WinForm and all of its content including controls

    I am working on a application where I have to serialize a Winform with controls add by the user when he clicks the save button. I have to do the reverse of deserialization to restore the form to its edit level when he selects the form for opening.
    How can I do that...

    Any ideas??

    Thanks
    See more | Go to post

  • DataGridView properties not being set when called from Form Load

    I'm having a really strange issue with the DataGridView control in a VS2008 / .NET 3.5 winforms project. I have a simple form with a grid. In the form constructor I call a function to bind the grind to a DataTable, and then loop through the rows setting the background colour of the last cell to LightGrey and the cell itself to read-only if the column value is true. After the form finishes loading the code didn't work i.e. the cells are not set to...
    See more | Go to post
Working...