|
d@nish wrote: He She-it .
Fixed that for you, otherwise I'll take your word for it.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
You can see the gender of a name like "vinithakizhussery"?
|
|
|
|
|
If you know the naming convention of the culture it comes from when why not?
Where it gets fuzzy is when people do daft things like name their daughter Mackenzie (Son of Kenneth)
|
|
|
|
|
So, what culture does it come from?
|
|
|
|
|
What? The OP's name? No idea. But if a person recognised it and could work out gender from a name...
For example, is "Colin" masculine of femenine? For an English speaker the answer is fairly obvious, but if you are from another culture that has never come in contact with cultural conventions of English speakers then it might no be obvious.
As for Mackenzie it is Gaelic in origin. The "Mac" (or more recently "Mc") prefix on a name means "Son of".
|
|
|
|
|
Very true. I thought Brady Kelly to be female. But its not the case.
|
|
|
|
|
Well Vinitha seems Indian name. That too from South India where people use "th" in places where North Indian will use "t". Rest cannot be decoded by me.
|
|
|
|
|
Eddy Vluggen wrote: grow to become a manager
I thought managers were scraped off the bottom of slimy rocks or something....
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Individuality is fine, as long as we do it together - F. Burns
Help humanity, join the CodeProject grid computing team here
|
|
|
|
|
Wow, cnosidering the number of changes that can be made to an entire file system, that could generate more emails than any spammer on this planet today.
Oh...and how would emailing file system changes be useful to anyone?? After being in this industry for 23 years, wearing many different hats, I fail to see how being notified of file system changes would be useful...
|
|
|
|
|
It's as useful as this is a legitimate MSC level project.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
hello, for example, i have three Textbox and a button int the Form(textBox1,textBox2,textBox3, button2).
private void button2_Click(object sender, EventArgs e)
{
int temp;
temp = int.Parse(textBox2.Text) + int.Parse(textBox1.Text);
textBox3.Text = temp.ToString();
}
A question is : i have two roles (system administrator and commmon user) in this software. if i have written this button2_Click(), can i let system administrator change button2_Click() when software is running.
eg,temp = int.Parse(textBox2.Text) * int.Parse(textBox1.Text);
instead of temp = int.Parse(textBox2.Text) + int.Parse(textBox1.Text);
thank you
|
|
|
|
|
Sure you can. The simplest way is to use a boolean (see below) but there are more complex and elaborate methods if there is a lot of role dependent behavior in your system.
bool isAdmin = false;
private void button2_Click(object sender, EventArgs e)
{
int temp;
if (isAdmin)
{
temp = int.Parse(textBox2.Text) * int.Parse(textBox1.Text);
}
else
{
temp = int.Parse(textBox2.Text) + int.Parse(textBox1.Text);
}
textBox3.Text = temp.ToString();
}
|
|
|
|
|
Somebody please help....
I have a treeview control in my application which loads images for nodes from an imagelist. Problem is that when I set the Form's localizable property to true, all the nodes imageindex was set to default. What i understand was, the Form's designer.cs will change the original code to a generalised one,like this..
resources.ApplyResources(this.treeView1, "treeView1");<br />
this.treeView1.ImageList = this.imageList1;<br />
this.treeView1.Name = "treeView1";<br />
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {<br />
((System.Windows.Forms.TreeNode)(resources.GetObject("treeView1.Nodes")))});
The code which adds images to treeview was lost automatically...
Thanks in advance...
|
|
|
|
|
I think its a bug like this[^] however you can add images on form's load or in constructor.
|
|
|
|
|
Thanks for ur reply.. It works well..But I have lot of nodes in my treeview, so i prefer adding image index for nodes during design time.
I tried declaring treeview like this..
[System.ComponentModel.Localizable(false)]
private System.Windows.Forms.TreeView treeView1;
But no use and even i dont know what this means..Do you have any idea about this??
|
|
|
|
|
It suppose to disable the Localizable for treeview1
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I want insert controls to form at run time and with double click on the one control, open newform and set control properties at the newform, then return setting to control? please help me thanks
|
|
|
|
|
something else sir ?
link[^]
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Maybe you should specify the topic next time, not only C#...
I Love KongFu~
|
|
|
|
|
Hi there!
I have something like this:
abstract class BaseClass<t>
{
protected BaseClass(){}
}
class Class1 : BaseClass<class1>
{
public static Class1 Instance = new Class1();
private Class1(){}
}
class Class2 : BaseClass<class2>
{
public static Class2 Instance = new Class2();
private Class2(){}
}
...
public BaseClass<t> Method<t>(int z) where T: BaseClass<t>
{
switch(z)
{
case 1:
return Class1.Instance;
case 2:
return Class2.Instance;
}
}
That is very important that those classes cannot be instantiated since their construstors are private so we cannot do like
public BaseClass<t> Method<t>(int z) where T: BaseClass<t>, **new()**
The problem arises that I cannot in switch clause return those Class1.Instance because it says "cannot convert Class1 to return type BaseClass" How can I use abstract class as return type ?? I just can not work this out. Would appreciate for any assisstance here.
|
|
|
|
|
|
How to use Image property of button
I am using .Net Framework ver 2.0 & visual studio 2005
thanks
|
|
|
|
|
link[^]
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Select your button, then select the image property in property window. There should be an little button with 3 dots, click on that. The "Select Resource" window will open. Select Local Resource, click on import, select your image(s), click on open, then click OK.
|
|
|
|
|
Hi. I have a datagrid and i want to get the selected text in the first cell when i click on the border of the datagrid. I have gone through some articles but can't find what i need.
Please assist.
Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
|
|
|
|