|
papa1980 wrote: ???
You hit the nail on the head, thats what the rest of us were thinking!
Why dont you start over by posting a proper question instead of 1 line of gibberish.
|
|
|
|
|
you sed
" 2nm WSW of Nellieville."
this is a book or what ???
-- modified at 11:49 Tuesday 29th November, 2005
|
|
|
|
|
papa1980 wrote: " 2nm WSW of Nellieville."
this is a book or what ???
I think it's a location, "2 nautical miles west southwest of Nellieville" (wherever that is).
|
|
|
|
|
No, it's a position.
If I'm not mistaken: Two nautic miles west-south-west of Nellieville.
I believe that the intention of giving this position was to supply a nonsense answer to a nonsense question...
---
b { font-weight: normal; }
-- modified at 13:15 Tuesday 29th November, 2005
|
|
|
|
|
ok .Sorry may be was stupid question or i shoot go to ask in some beginer forum.
best regards
|
|
|
|
|
The problem is that noone understood what your question was.
|
|
|
|
|
ops.I am sorry i don't type correctly so question is.Why i shoot use "Thread".For what i need threads???
|
|
|
|
|
Hi,
What language do you speak best... maybe someone here can talk to you in that language. There are lots of people here
In case you can understand english fairly well, a thread is like a separate running "bit" of code. One common use is to load data on a separate thread to the user-interface so that the interface remains responsive and does not "hang". You can find many many articles on Threading here at code project or via a search on google.
Good luck, and sorry for the original sarcastic answer
|
|
|
|
|
Can you recomend any good scheme/product for protecting a .Net application against piracy? Something that can be used for when you have a production application.
It seems to me there isn't too many options out there, as all assemblies compile into IL, which is wide opened for anybody who wants to look into it.
Thanks.
Sarajevo, Bosnia
|
|
|
|
|
mirano wrote: Can you recomend any good scheme/product for protecting a .Net application against piracy?
Lock every copy in a safe. Or buy an expensive obsfucator before you start, so that your clients can't find your protection method and disable it. Then really if you want to stop your program being distributed, your program needs to access the web, and your copies need unique keys, so that you can verify that each key is in use on one machine only.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
hi,
i am having a problem accessing an enum.
i declared enum as:
public enum Rating {Good,Bad}
i have no problem accessing from the same class but i cannot access it from the other class though i can access the methods defined in the class where enum is specified.
will really appreciate if u can let me know what i did wrong here.
rnv
|
|
|
|
|
Because you put the enum inside a class, you have to prefix the classname before it.
class A
{
public enum B
{Good, Bad}
}
class C
{
void Method()
{
A.B b = A.B.Bad;
}
}
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
You can also create a class with enums that another class inherits. Then you don't need the explicit cast. If you have a whole bunch of enums then such an approach makes sense. If you have a few, then probably not. Besides using the fully qualified class.enum is good if you have a lot of modules or complex code. But if all you want to do is cut down on the amount of class names you have to type you can certainly do this:
class A
{
public enum eB {
Good, Bad
}
public enum eC {
Apples, Oranges, Grapes
}
public enum eD {
Yes = 0x800, No = 0x200, Maybe = 0xFF }
public enum eE {
Red, Yellow, Blue
}
}
class B: A
{
private eD myMask = 0;
public eD Mask {
get { return myMask; }
set { myMask |= value; }
}
int Main(String args[])
{
Mask = Maybe;
Console.WriteLine("enum eB elements {0}, {1}", eB.Good, eB.Bad);
Console.WriteLine("enum eC elements {0}, {1}, {2}", eC.Apples, eC.Oranges, eC.Grapes);
Console.WriteLine("enum eD elements {0}, {1}, {2}", eD.Yes, eD.No, eD.Maybe);
Console.WriteLine("enum eE elements {0}, {1}, {2}", eE.Red, eE.Yellow, eE.Blue);
Console.WriteLine("My Mask is {0}", myMask);
Mask = No; // logical AND of Maybe and No
Console.WriteLine("My Mask is {0}", myMask);
return 0;
}
}
}
Mike
|
|
|
|
|
I have a dataset in C# that generates 5-6 reports which I want to save in a single Workbook. But the reports should come in seperate worksheets. How to do that? If anybody has code for that, please provide. Advance thanks for any help.
Raja Raman S
Reuters India Pvt.Ltd.
Bangalore
|
|
|
|
|
Hi
how can I set a specific printer tray without any Dialog?
I have a printer with two trays and a special report needs always to be printed to a red paper, but how can I set this?
Thanks a lot for helping me
Greets
Michael
|
|
|
|
|
Hello,
I have a form with dataGrid.
I want to asign a dblClick evnt to the dataGrid lines.
but on the form it's not possible to click on any compenent inside the data grid.
thanx.
|
|
|
|
|
Hi There
For example purposes let us assume the datagrid name is dataGrid1.
Go to you Windows Form Designer region and look for:
//
// dataGrid1
//
Type the following anywhere underneath this:
this.dataGrid1.DoubleClick += new System.EventHandler(this.dataGrid1_DoubleClick);
And then on your form create the Handler for the event, like so:
private void dataGrid1_DoubleClick(object sender, System.EventArgs e)
{
// Type code that must execute when you double click the datagrid here
}
Tada! It's that simple
|
|
|
|
|
|
who can tell me about how to hide windows TitleBar in c#,like windows Media Player 10.0 .
thanx
d
|
|
|
|
|
Set the dialog box style to not have a title bar.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
thanks,for ur reply, i want to know how to hide the window titlebar,and its sizeable property still useing
d
-- modified at 12:47 Tuesday 29th November, 2005
|
|
|
|
|
Yes, there's a different property to set the dialog frame type, you can make it not sizable there.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
tankx,but i need the Form resizeable without title bar,My applications UI like MSN 7.5, can u answer me before look over MSN or MS MediaPlayer UI? thank u
d
-- modified at 23:18 Tuesday 29th November, 2005
|
|
|
|
|
If you hide the title bar, can't you still resize the form by the edges ? If not, then you can easily code this behaviour, just capture the mouse on the edges, and if it's down, use the amount the mouse moves to resize your form.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
yes, i can't resize the form after hide tile bar in runtime, i know ur means,and code it easily in VC++,but u can give me the code in C# , i dont know well C#.
thankx very much!
d
|
|
|
|