Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~4K People Reached
Favorite Forums
Member Avatar for sumitrapaul123

Hi, Its an c# winform application. I have different parameters such as UI colors, Fonts, control size which user changes from UI and saves it. Each parameter implementation is kind of big so we have a saparate assemblies also. All the parameters will be displayed in one UI and if …

Member Avatar for Ketsuekiame
0
246
Member Avatar for sumitrapaul123

Hi, I have two buttons (button1 and button2) in a form which does two different things. button1 instantiates class A and does something and similarly button2 instantiates class B and does something. private void button1_Click(object sender, EventArgs e) { A a = new A(); a.DoSumthingWithA(); } private void button2_Click(object sender, …

Member Avatar for sumitrapaul123
0
102
Member Avatar for sumitrapaul123

Hi, I have to make listview editable. I am doing it on BeforeLabelEdit event. I want to do the same thing on double click of an item. How to invoke BeforeLabelEdit event on listview item double click?? Can someone help me on this. Please see my code below.` public partial …

0
95
Member Avatar for sumitrapaul123

Hi, I have creatd a custom lisview. I have subscribed to some of its event like MouseDown, DoubleClick. I want to explicitely unsubcribe it. I know GC will automatically do it but still i want to do it explicitely. Which is the best way to do this ?? Shall I …

Member Avatar for tinstaafl
0
114
Member Avatar for sumitrapaul123

Hi, i am creating a text box in listview item. How I create is, I just take the location of the item and create a textbox on that location. OnFocus over, I just take the textbox text and put it in that perticular listview item and hide the textbox. Now …

Member Avatar for sumitrapaul123
0
214
Member Avatar for sumitrapaul123

Hi, I am new to c# windows application. I have added a listview programatically to c# win form. I want to add a listview row (editable row) dynamically on click of Add button so that user can type new items and save it. Please see the code which adds a …

Member Avatar for tinstaafl
0
2K
Member Avatar for sumitrapaul123

Hi, I am very week in design and program to interface. I have a task to design few classes. I have some simple interfaces like below. Sample interfaces. public interface IParameterValue { string ParameterName { get; set; } string ParameterValu { get; set; } } the above interface is a …

Member Avatar for TnTinMN
0
271
Member Avatar for sumitrapaul123

hi, I have to write an algorithm for getting a matching string from list of saves string after comparing it with the given string. say example: Saved string: ` ` Book ABC Book ABC XYZ Note Copy Note Book YYYe` If user gives Book, then the algorithm can return Book …

Member Avatar for xerohomicide
0
148
Member Avatar for sumitrapaul123

Hi, I have a class which implements dispose patteren. Please see the sample code below. public class MyClass : IDisposable { private readonly IBanking mybanking; public MyClass(IBanking banking) { if (banking == null) { throw new ArgumentNullException("banking"); } mybanking = banking; } ~MyClass() { Dispose(false); } #region IDisposable Members public …

Member Avatar for deceptikon
0
125
Member Avatar for sumitrapaul123

I have a combo box. I want to make it editable on click of an item so that user can add new item to the combo box. Please find the code below. private void Form1_Load(object sender, EventArgs e) { comboBox1 = new ComboBox(); comboBox1.Location = new Point(20, 60); comboBox1.Name = …

Member Avatar for deceptikon
0
316