|
I got the program to work the way I need it, the problem now is to be able to select multiple items and to individually swap one by one I guess.
|
|
|
|
|
i want source code wordpad in c# please healp me
|
|
|
|
|
negar777 wrote: i want source code wordpad in c# please healp me
[STAThread]
static void Main()
{
} I leave the rest up to you.
|
|
|
|
|
I want doesn't get.
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|
|
You mean use a Rich Text Box control in a resizable winform?
|
|
|
|
|
Actually, I think he wants the ENTIRE Source-Code for Wordpad, as if it was coded in C#.
It's like a:
"I need help coding this. Can you code it instead, and give me the source code?" type of question, but very badly phrased
|
|
|
|
|
Like the one in my sig
|
|
|
|
|
because i dont speack english ok
|
|
|
|
|
|
|
|
My guess would be the changes are
1) You editing the file
2) Windows changing the last modified date / antivirus / some file system filter driver
|
|
|
|
|
That's correct behavior. Although you would think one event should be generated, there are actually more file io events happening under the covers that may generate the notification. I'm working with FileWatcher right now and sometime I get four change events when saving a file.
only two letters away from being an asset
|
|
|
|
|
Hello everyone,
When we signal an event (say, invoking set method of ManualResetEvent instance), then two basic questions,
1. no matter how many threads are waiting on the event, all of them will be awoken and executed at the same time, right?
2. If some other threads execute to statement WaitOne, after the ManualResetEvent is signalled -- say, in step (1), but not reset back into non-signalled status, the thread's execution will not be blocked, right?
thanks in advance,
George
|
|
|
|
|
Yes, both are correct. An AutoResetEvent will only release one thread, a ManualResetEvent releases all waiters. Any future thread calling WaitOne (or WaitAny, or WaitAll if all the other objects are also signalled) will be released immediately without blocking, until the event is reset.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Cool, Mike!
Question answered.
regards,
George
|
|
|
|
|
I created a Property Grid and it displays an description at the bottom.
Can anyone please let me know hoe to remove it.
I tried with Description(null) and descriptionattribute(null) , but still it shows the description
Thanks !
|
|
|
|
|
It's cunningly hidden as a property.
progressbar.HelpVisible = false;
|
|
|
|
|
Thanks for your Help . It worked. Not Sure Why in .NET they have did the property Like that !
|
|
|
|
|
i am trying to update my customers table in the northwind database from XML file.
Getting an Wrror
Violation of PRIMARY KEY constraint 'PK_Customers'. Cannot insert duplicate key in object 'dbo.customers'.
i used SqlCommandBuilder to build insert,update and delecte commands.
DataSet DSRead = new DataSet();
DSRead.ReadXml("output.xml");
SqlDataAdapter adapter = new SqlDataAdapter();
adapter.SelectCommand = new SqlCommand (queryString, connection);
SqlCommandBuilder builder = new SqlCommandBuilder(adapter);
connection.Open();
DataSet dataSet = new DataSet();
adapter.Fill(dataSet, tableName);
dataSet = DSRead;
//code to modify data in DataSet here
builder.GetUpdateCommand();
//Without the SqlCommandBuilder this line would fail
adapter.Update(dataSet, tableName);
how can i write CommandBuilder to update, insert and delete.
Thx
|
|
|
|
|
How can i use forgot option in asp.net
|
|
|
|
|
Hi,
Does anyone know how to send parameters through to a crystal report in VS 2008?
I keep on getting this dialog that asks me to enter the discrete value of the parameter.
I would like to send the parameter value through code once the user has selected their filter choice.
This is for Windows Form application and I'm using SQL 2005 Express as the database.
I have googled but cant find a working solution.
Thanks
|
|
|
|
|
There are two of these controls in my windows application.
checking the items in the first one should cause the items in the second control to populate.
At present I use the mouse_leave event on the first control to trigger the event to populate the second control.
Is this the proper event I should use? I do not think the selectedIndex event is the correct one for this purpose either. Any suggestions please?
Thanks
|
|
|
|
|
"Translate" what you have to do in terms of events in your application. Then you'll know what event you have to handle.
SkyWalker
|
|
|
|
|
Hi,
Do not find the relevant event.
|
|
|
|