|
Yes you can show all you got to do is declare the attributes and description on the top of function which ever you want to expose and then you would be able to deal with it through your property grid
|
|
|
|
|
Humm, that was very vague.
Can you point me to a place where that is explain in detail?
At least, a simple example?
Thx
Nuno
|
|
|
|
|
<<<.csharpcorner.com/UploadFile/mgold/PropertyGridInCSharp11302005004139AM/PropertyGridInCSharp.aspx>>>>>>
|
|
|
|
|
Hi,
Thx for the reply but in the mean while i found a cool class here in codeproject which help me manipulating the property grid.
Thx,
Nuno
|
|
|
|
|
Hi Nuno,
I have compiled a list of PropertyGrid resources (see signature) and you will find a lot of informations along all these articles to work with the MS Grid.
|
|
|
|
|
Hello,
Does anybody know if there is ANY way to either get a reference to or just remove event handlers that you didn't declare yourself? (I am writing a plugin, but want to change the functionality of some buttons etc.) I've gathered that this is at least difficult if not impossible from other posts, but if anyone has a horrendous hack I'd like to hear it.
Alternatively, I wondered if it would be possible to identify an event handler through Reflection in order to remove it. Does anybody have any thoughts on this?
Thanks very much,
Keiron
|
|
|
|
|
Hi,
I have got this string "Test\Test1\Test2" and i want to extract Test2 string, how can i do that.
I am using C#.
Warm Regards,
Mushq
|
|
|
|
|
Hello,
You could work with the LastIndexOf(@"\") of the string class.
And then use the Remove(0, lastindex) method of the same class.
All the best,
Martin
|
|
|
|
|
If you need a powerful tool, C# has the Regex class [] [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
How save image to Microsoft Access Database in C#
|
|
|
|
|
first you have to add a Blob column to your table.
Then you read the picture into a Byte[] which
you can insert into your Blob column. There's
also an example in the sdk help which covers
that content.
Open the SDK Help choose the index tab insert BLOBs.
Regards,
Satips.
|
|
|
|
|
|
Hi this code in c#...,How to write in vb.net...,
string strinput;
char[] chararrinput=strinput.ToCharArray();
Byte[] arrbyteinput=new byte[chararrinput.Length-1];
specially,this line "Byte[] arrbyteinput=new byte[chararrinput.Length-1];"
becoz here they are converting that character in to byte....
how to write in vb.net
if any one knows plz help me....,
Magi
|
|
|
|
|
Magh_M wrote: becoz here they are converting that character in to byte
Well, that's not even the correct way to convert characters into bytes in C#. You should be using the relevant encoder.
|
|
|
|
|
No i worked out in c# that code is execute and giving output...,
see this that code:
char[] chararrinput=strinput.ToCharArray();
Byte[] arrbyteinput=new byte[chararrinput.Length-1];
for(i=0;i<chararrinput.length-1;i++)
arrbyteinput[i]="Convert.ToByte(chararrinput[i]);</b">
But i need this in vb.net...,
Magi
|
|
|
|
|
Magh_M wrote: No i worked out in c# that code is execute and giving output
Yes, well done. But it doesn't handle all cases. It will only work if you limit yourself to a basic latin character set.
|
|
|
|
|
ok yar but now i want to convert the character in to byte what i want to do...,
tell that one...............
Magi
|
|
|
|
|
|
(via Instant C#):
Dim chararrinput As Char()=strinput.ToCharArray()
Dim arrbyteinput As Byte() = New Byte(chararrinput.Length-2){}
Note that you have to specify the upper bound of the array in VB, not the length as in C#. (by the way, the online converters, including devfusion, do not catch this).
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter, VB to C++ converter
Instant Python: C# to Python converter, VB to Python converter
|
|
|
|
|
Hello every 1
I am trying to make certain row of a datagridview invisible through my program but i am receiving following
InvalidOperatoinException:
"Row associated with the currency manager's position cannot be made invisible."
I have noticed that this problem occurs only if a row is selected in the datagridview
(My Solution: I have set the row selection property to single row and i deselect the row before making it invisible) even then the error is still coming
<code> private void button1_Click(object sender, EventArgs e)
{
this.dgvActiveHorse.SelectedRows[0].Selected = false;
foreach (DataGridViewRow dRow in this.dgvActiveHorse.Rows)
{
if (isClear(1, dRow.Index))
{
dRow.Visible = false;
Application.DoEvents();
}
}</code>
o O º(`'·.,(`'·., ☆,.·''),.·'')º O o°
»·'"`»* *☆ t4ure4n ☆* *«·'"`«
°o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°
|
|
|
|
|
try
dgvActiveHorse.CurrentCell = null;
|
|
|
|
|
Hi,
I am trying to write text data to an xml file via an
XMLTextWriter object. When I try to initialize the
XmlTextReader object, I get an IOException: The process
cannot access the file "path/filename here" because it is
being used by another process. Any idea what could be
causing this?
with regards
prasad
|
|
|
|
|
71 wrote: IOException: The process
cannot access the file "path/filename here" because it is
being used by another process.
71 wrote: Any idea what could be
causing this?
It would seem that another process (or even the current process) is already accessing the file. Although the error message told you that... right?
|
|
|
|
|
hi,
how can i release the process
|
|
|
|
|
71 wrote: how can i release the process
I presume you mean the file.
You release the file by closing any file handles open to it. Ensure that no other applications are using the file. Ensure that when you open the file yourself you close it properly.
|
|
|
|