|
|
hi all.
i have alittle problem ?
how can i show different font styles and font colors for different lines in textboxes or even listboxes ?
Miss With The Best And Die Like The Rest
|
|
|
|
|
snouto wrote:
how can i show different font styles and font colors for different lines in textboxes
Use a RichTextBox.
snouto wrote:
or even listboxes
Owner draw. Which also applies to a TextBox, if you don't want to go the RTF route.
Marc
My website
Latest Articles:
Undo/Redo Buffer
Memento Design Pattern
|
|
|
|
|
so how can set specific font for each line in richtext box
by code please
Miss With The Best And Die Like The Rest
|
|
|
|
|
You might check out the documentation on the RichTextBox here[^].
|
|
|
|
|
Hi im programming with the enterprise library, where can i find help for it? some guides for programming dataconections, dataaccess...thanks
|
|
|
|
|
There's about 10 MB of documentation and quick starts that come with the distribution. Look for the "Docs" and "QuickStarts" directories sitting under where you installed it.
You can find info on the official site[^, as well as a group of webcasts[^] that are pretty informative, if you don't mind the rather jovial tone of most of the sessions.
There are also links to more information on Channel9[^].
There is no shortage of information about the Enterprise Library. All you have to do is look for it. Google is your friend.
Charlie
if(!curlies){ return; }
|
|
|
|
|
thank u very much, and yea! i have found lot of information on google, but i need a step by step manual, cause im new in this, so its kind of hard to me....anyway ill keep looking..thanks
BECK
|
|
|
|
|
How to clear ComboBox items?
thanks
|
|
|
|
|
The Items.Clear() method contained in your ComboBox instance.
Roger Stewart
"I Owe, I Owe, it's off to work I go..."
|
|
|
|
|
I've made an interface in C# in which is it possible to load multiple images in pictureboxes. The problem is that the boxes are not transparent.
When the pictureboxes are overlapping, there is a white square around it.
Does anyone know how to solve this problem?
Greetz,
Sebastiaan
|
|
|
|
|
how do i select the whole row in datagrid when clicking on single cell without selecting text in it
|
|
|
|
|
hey you want to do it in client side or server side.
If you want in client side,you can add the JaveScript function to each item of the DataGrid in Item created event.
For Server side use select button.
But client sied will be very easy and fast.
If you want code stuff for that ask me i will send it to you
Tnx
M.Sendilkumar
Thomson,Blore,India
|
|
|
|
|
im interested about client side and im talking about visual selection
same happen if you click on row header (the whole row is selected without texi in single cell) and i wana same to happen when i click on any cell
if you have the code to solve this ..please
bye
|
|
|
|
|
I need to keep informations in memory, so i am using System.Collections - ArrayList, my structure is a Father and Son and grandson, where each Father can have any Son and each Son can have any grandson .
Father and Son and grandson are Arraylist, is there any problem adding then in each other ?
this structure is a tree, is there another to do this ?
ArrayList father = new ArrayList();
ArrayList son = new ArrayList();
ArrayList grandson = new ArrayList();
grandson.Add("joão");
grandson.Add("MAx"):
grandson.Add("Junior"):
son.Add(grandson);
father.Add(son);
thanks
|
|
|
|
|
Why not a class for each, which carries an arraylist of it's children and one of it's parents ? Ideally, you could give each person an ID, and store the names in a single hashtable by ID, so you can look up names when you need them, but the classes just carry an array of numbers ( nice and efficient, each name is only stored once ).
Then you could have a single arraylist of person objects, each of which has it's own ID, and the ID's of it's relatives. Of course, I'm not sure how this would suit you in terms of your searching needs.
So
Person bob = new Person("Bob");
Person fred = new Person("Fred");
Person Bill = new Person("Bill");
Inside the person class:
ArrayList myChildren = new ArrayList();
static Hashtable Names = new Hashtable();
static int IDs = 0;
Inside the constructor:
this.ID = IDs++;
Person.Names[this.ID] = name;
Then a method to add a child:
public int AddChild(Person child)
{
myChildren.Add(child.ID);
return myChildren.Count;
}
You could either add grandchildren with a method, or implicitly ( have a GetGrandchildren method that works out who the children of my children are ).
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi Christian Graus thanks for helping
i would like to know one more thing, how does an ArrayList works ?it is like a linked node or it is like a common Array ?
Thanks
|
|
|
|
|
|
It uses an array in the background. If the number of items added are more than the number of items in the array, the array is copied, and reallocated to a larger array, usually 2x the size of the original.
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Conversation With a Muslim
Judah Himango
|
|
|
|
|
how do i transfer files / folders from one server to client without ftp
|
|
|
|
|
Set the page heading to be of the required file type and stuff the file bytes into the request.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi,Sometimes when you want to clean an infected file from a virus you cannot do this ,so you must delete the infected file.....please I want to know when this happen so I must delete the file
|
|
|
|
|
You're writing a virus checker in C#, or.... ???
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Are you going to the same class as AristotleYu?
Lots of clueless people wanting to write a virus scanner in C#...
mav
|
|
|
|
|
hi all
is there anyway in C# or using winAPI that can help me in arranging desktop icons on a small area in the middle of the desktop wallpaper or in more detail can i set the coordinates of each icon as i wish
thx all
|
|
|
|