Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

JF2015

@JF2015
About
Posts
120
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • invoke DoubleClick event
    J JF2015

    Try the following approach - anything else is unclean:

    private void gridPatients_DoubleClick(object sender, System.EventArgs e)
    {
    DoStuff();
    }

    private void gridPatients_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
    {
    DoStuff();
    }

    private void DoStuff()
    {
    //do the things that you want to do in KeyDown and DoubleClick
    }

    C# question csharp

  • How to use FileSystemWatcher Control ?
    J JF2015

    I suggest you read the following article and work through it since it gives you a good understanding of how the file system watcher is used: Watching Folder Activity in VB.NET[^]

    .NET (Core and Framework) csharp tutorial question

  • Multiple Instance form
    J JF2015

    Hi, this is quite simple. Normally if you open a second instance of the form, the content of the first form is not modified. If it is, you are accessing a static object or some other shared resource. Here is some code that opens two instances of the same form (Form2) when clicking a button.

    private void button1_Click(object sender, EventArgs e)
    {
    Form2 frm2_1 = new Form2();
    frm2_1.Show();
    Form2 frm2_2 = new Form2();
    frm2_2.Show();
    }

    C# tutorial

  • digit roundoff
    J JF2015

    See this code to get the idea:

    double t1 = 200.36;
    double t2 = 300.62;
    int t11 = (int)Math.Round(t1, 0);
    int t21 = (int)Math.Round(t2, 0);
    MessageBox.Show("t1=" + t1.ToString() + " roundoff=" + (t11 - t1).ToString("0.00") + " total=" + Math.Round(t1, 0).ToString());
    MessageBox.Show("t2=" + t2.ToString() + " roundoff=" + (t21 - t2).ToString("0.00") + " total=" + Math.Round(t2, 0).ToString());

    C#

  • converting to different pixel formats.
    J JF2015

    I suggest you read the following articles: Image Processing for Dummies with C# and GDI+ Part 1 - Per Pixel Filters[^] Image Processing using C#[^]

    C# csharp question

  • name of C# book
    J JF2015

    Although I think you got enough answers the last time you asked this identical question, here another resource for some free books: http://www.readwriteweb.com/hack/2011/05/free-e-books-on-c.php[^]

    C# csharp learning

  • constructor
    J JF2015

    Although it is hard to guess without seeing your code, I think that the most probale reason is, that the control in question is private. So, to access the control from the second form, just set the control to public or provide public accessor in the first form.

    C#

  • Mortgage Calculator Error
    J JF2015

    txtPayment.Text = payment.ToString();

    or:

    txtPayment.Text = payment.ToString("0.00 $");

    C# help

  • Windows Forms Applications
    J JF2015

    We usually use the DeveloperExpress controls since they support all these and have tons of options to modify them to look and behave as you want them to. http://www.devexpress.com/Subscriptions/DXperience/winforms-features.xml[^]

    C# winforms performance help question

  • How to create .chm file that is help file
    J JF2015

    Hi, see this MSDN site for more information about how to create a chm file: http://msdn.microsoft.com/en-us/library/ms669985[^] There are also some commercial tools available (some have a freeware version): http://www.softany.com/winchm/[^] http://www.helpsmith.com/htmlhelp.php[^]

    C# question help tutorial

  • docking control
    J JF2015

    Hi, you may use the control from this CodeProject library: Visual Studio IDE like Dock Container[^] or any other free library (google is your friend when searching for "docking control c#"). Alternatively you may buy commercial control libraries such as the DeveloperExpress controls: http://www.devexpress.com/Products/NET/Controls/WinForms/#main|controls[^]

    C# question csharp

  • C# object Problem
    J JF2015

    Hi, one easy way to do this is using .NET remoting. This allows you to communicate with another application on the same PC or another PC on the network. Here are some links to get you started: .NET Remoting with an easy example[^] http://generally.wordpress.com/2007/05/31/a-simple-remoting-example-in-c/[^] http://www.csharpfriends.com/articles/getarticle.aspx?articleid=62[^]

    C# question csharp help

  • TDES
    J JF2015

    First thing: This is an english forum, so please use english for your questions/answers - this will greatly improve your chance of getting a reply. Here is a link that might help you (at least from what I understood of your question): http://www.dijksterhuis.org/encrypting-decrypting-string/[^] And a hint to the MSDN documentation of the TripleDES class: http://msdn.microsoft.com/en-us/library/system.security.cryptography.tripledes.aspx[^]

    C# help

  • Whirlpool Hash Algorithm.
    J JF2015

    Here is a C# solution: https://code.google.com/p/csharptest-net/source/browse/src/Library/Crypto/WhirlpoolManaged.cs[^] and Java: http://www.koders.com/java/fidBFB2DBB482D667F81B228C2E14E597FAA256D2E4.aspx[^]

    C# csharp java algorithms cryptography question

  • Unable to add event handler for Minimizing the Ribbon Control in WPF
    J JF2015

    Which "Ribbon Library" are you using? If you use Telerik, you might find this here helpful: http://www.telerik.com/community/forums/silverlight/ribbonbar/isminimize-true.aspx[^]

    C# csharp wpf help

  • default value in combobox
    J JF2015

    In the designer, you can set comboBox1.Text = "First Item"; or you simply display the first item in your collection in the e.g. form load event.

    C# question csharp

  • How do I defined property in C#?
    J JF2015

    Hi, see here for the MSDN documentation: http://msdn.microsoft.com/en-us/library/x9fsa0sw%28VS.80%29.aspx[^]

    C# question csharp tutorial

  • Why Today doesn't suck, Today
    J JF2015

    5ed for solving this code :-D

    The Lounge question

  • Baked beans!!!
    J JF2015

    Old one but still awesome!

    The Lounge adobe

  • Well, my job was made redundant today...
    J JF2015

    What did you do??? Did you invent a coding robot which now does your work? Why did you invent something like this?? I hope you know that this might get us all unemployed :laugh:

    The Lounge career
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups