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
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
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
Great :) Thank you!
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
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
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
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
I am not sure, did you try BackgroundWorker, progressReport() ?
Charith Jayasundara
Hi, try this .. connectionString="Data Source=;Initial Catalog=;Persist Security Info=True;User ID=;Pwd=password"
Charith Jayasundara
Is it multi-threaded application?
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
You can catch some event of the DataGrid and set the selectedRow ?
Charith Jayasundara
"the trick is that cecil doesn't load the assembly into AppDomain" How this will affect the other stuff? Thanks!
Charith Jayasundara
Hi, If can, Could you please tell me how? Thanks!
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
oh, Encoding.Unicode = Encoding.UTF16 :-) I got it, Thanks!
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
Can you please give an example or any link? Thanks!!!
Charith Jayasundara
What is the most appropriate method to convert utf16 to utf8? Thanks,
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