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
C

Charith Jayasundara

@Charith Jayasundara
About
Posts
85
Topics
32
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Left Side bar for the ToolStripDropDown Button menu times
    C Charith Jayasundara

    Hi, I am using a ToolStrip DropDown Button and there are several ToolStripMenuItems. I would like to have the left side bar (like in right click context menus) there. Is it possible to do so? Is there any property to set? Thanks!

    CJ

    C# question

  • IButtonControl instance for Form.AcceptButton
    C Charith Jayasundara

    Hi, I want to support Esc key and Enter key for CancelButton and AcceptButton in my windows form application. I cannot directly use the buttons since they are ToolStripButton. Therefore, I have written a Wrapper like below extending the IButtonControl. The below thing works perfectly for the cancel button but not working for the AcceptButton. Please have a look and let me know if you have any idea. public struct IButtonWrapper : System.Windows.Forms.IButtonControl { public Action MyAction; #region IButtonControl Members public DialogResult DialogResult { get { return System.Windows.Forms.DialogResult.None; } set { } } public void NotifyDefault(bool value) { } public void PerformClick() { MyAction.Invoke(); } #endregion } Thank you,

    CJ

    C#

  • Question on string.Format(...)
    C Charith Jayasundara

    Great :) Thank you!

    Charith Jayasundara

    C# tutorial question

  • Question on string.Format(...)
    C Charith Jayasundara

    Hi, Thank you for the reply. I understand how it works for numbers. But what is the purpose of setting the culture for normal strings?

    Charith Jayasundara

    C# tutorial question

  • Question on string.Format(...)
    C Charith Jayasundara

    Hi, Can you please give me a practical example to distingish below two methods.. Method 1 string.Format("something","Something"); Method 2 string.Format(CultureInfo.CurrentCulture,"something","Something"); Thanks!

    Charith Jayasundara

    C# tutorial question

  • String Concatenation
    C Charith Jayasundara

    What is the best way to contact three strings. Method1 string key = "test" +"::"+ "test"; Method2 sting key = String.Format("{0}::{1}","test","test"); Is there any memory enhancement in using the second method? Thanks!

    Charith Jayasundara

    C# question performance

  • Question on DSL Flows
    C Charith Jayasundara

    Hi, I am not sure whether this is the correct place to post my question. Anyway I'll post it here :) I am developing a DSL application, in my application we can run several FLOWs at the same time. Is there any way to find the selected (activated) flow of them? Thanks!

    Charith Jayasundara

    WCF and WF question

  • How to override animation in wpf progress bar in indeterminate state?
    C Charith Jayasundara

    I am not sure, did you try BackgroundWorker, progressReport() ?

    Charith Jayasundara

    WPF csharp wpf tutorial question

  • SQL Server 2008 Connection Problem
    C Charith Jayasundara

    Hi, try this .. connectionString="Data Source=;Initial Catalog=;Persist Security Info=True;User ID=;Pwd=password"

    Charith Jayasundara

    C# help database sql-server sysadmin business

  • Debugging gone crazy
    C Charith Jayasundara

    Is it multi-threaded application?

    Charith Jayasundara

    C# debugging help lounge learning

  • What is the Best one ? Thread.Sleep() OR Timer
    C Charith Jayasundara

    Hi, I am running something on a loop till a certain condition meets. I have two options, 1. Create a timer and execute the loop. 2. This is already running in a child thread so I can just add a while (condition) loop with Thread.Sleep() I prefer to use the second one. But I am not sure which one is the best.. Any Idea? Thanks!

    Charith Jayasundara

    C# question

  • DataGrid and poibt to new added recodr
    C Charith Jayasundara

    You can catch some event of the DataGrid and set the selectedRow ?

    Charith Jayasundara

    C# question

  • Can I add new fields to an existing type using reflection( FieldBuilder) ?
    C Charith Jayasundara

    "the trick is that cecil doesn't load the assembly into AppDomain" How this will affect the other stuff? Thanks!

    Charith Jayasundara

    C# question

  • Can I add new fields to an existing type using reflection( FieldBuilder) ?
    C Charith Jayasundara

    Hi, If can, Could you please tell me how? Thanks!

    Charith Jayasundara

    C# question

  • help in designing a project
    C Charith Jayasundara

    Browser addin can do anything, so you will be able to do whatever you want to do. But, you will have to create separate addins for separate browsers. There is no way to create a generic addin that can be installed with all browsers. So you have that challage there... I also think JS will be the most feasible solution...

    Charith Jayasundara

    C# csharp javascript help question discussion

  • Convert utf16 to utf8
    C Charith Jayasundara

    oh, Encoding.Unicode = Encoding.UTF16 :-) I got it, Thanks!

    Charith Jayasundara

    C# question

  • Convert utf16 to utf8
    C Charith Jayasundara

    Actually there is no UTF16 in the Encoding class. (No Encoding.UTF16) Then what is the best way to convert it to a string? Thanks!

    Charith Jayasundara

    C# question

  • Convert utf16 to utf8
    C Charith Jayasundara

    Can you please give an example or any link? Thanks!!!

    Charith Jayasundara

    C# question

  • Convert utf16 to utf8
    C Charith Jayasundara

    What is the most appropriate method to convert utf16 to utf8? Thanks,

    Charith Jayasundara

    C# question

  • Creating user control for WPF
    C Charith Jayasundara

    Hi Karl, Yes, I want to create my own language service with Syntax Highlighting and Intellisense. I want to create a usercontrol something like text box. Is this possible? Thanks,

    Charith Jayasundara

    WPF csharp wpf com question
  • Login

  • Don't have an account? Register

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