Or you could override the OnPaint event of the group box and make your custom painting, but this is some kind of hard.
krieg38
Posts
-
Remove groupbox borders -
OpenFileDialog ProblemHi, I am using the OpenFileDialog to locate a file called "data.csv", located on my Pocket PC. When I place the file in "My Documents\Taxes "I can locate this file and I have no problems. When I place the file in "My Documents\Taxes\Data" the OpenFileDialog can`t locate the file. It even can`t locate the "Data" subdirectory in "Taxes" directory. As I noticed the OpenFileDialog can`t browse deeper than one subdirectory of "My Documents". If anyone had this problem could you please tell me a solution.
-
Custom Component PropertiesI have a Customize class that inherits a TreeView. This class has some extra properties, other than those from the TreeView. Is there a way to make this properties visible in the Properties box during design time?
-
how to use project of visual studtio 2005 in 2003I don`t know if that is posible because VS 2005 has a different way of managing source files within the project. For an example in VS 2005 if you add a new form to the project, it will be represented by to files, one containig your code and one containing autogenerated code like filed init and stuff like that. However in VS 2003 all the code was in a single file.
-
Crystal ReportsYay I found a solution just by adding one line of code to the code from above: CrystalReport2 cs = new CrystalReport2(); cs.SetDataSource(this.dataSet11); this.crystalReportViewer1.ReportSource = cs;
-
Problem Window forms! [modified]Can you please explain better what are you trying to do because I don`t understand exactly. Thanks!
-
Crystal ReportsPlease tell me what I am doing wrong. I have some problems using Crystal Reports. I have for an example an Access database with a table called "Authors". I connect to the database using the server explorer in VS.NET 2005, I create an OleDbConnection and a DataAdapter. I use the Generate Dataset option from the DataAdapter to generate a Typed DataSet called dataSet1. I load data into the DataSet using the Fill method from the DataAdapter. Then I insert a new Crystal Report Document Using the Wizard and I add as data source From the Project Data/ADO.Net Datasets the dataset1.Authors. I add all the fields from the dataset and I add an Crystal Report Viewer control to the main form. I use the folowing code to set the ReportSource filed of the viewer: CrystalReport1 cs = new CrystalReport1(); this.crystalReportViewer1.ReportSource = cs; Ok, when I run the Application the Crystal Report Viewer it lists nothing from the DataSet data. What is wrong?
-
WMI SQLI want to make a WMI explorer but I don`t know some things. I know haw to list elements from a class using WMI SQL(select * from {class}) but I don`t know how to list all namespaces or to list all classes from a namespace. Could anyone provide me a WMI SQL tutorial or some ideas.
-
many dynamic formsYou could store the opened forms in an array list on the form with the contact list and whan opening the new form you could check it if it is already in the arraylist
-
pinging from C#Here is something usefull: http://www.csharphelp.com/archives/archive6.html Or just try to search with google keywordsm like "ping C#" or "icmp C#"
-
IP ListThx, i will see if I manage to solve my problem. And don`t be afraid I don`t want to make port scanners. I try to make an utility that detects all PC from a Lan by pinging them :)
-
IP ListFor an example if I have 2 Ip address 127.0.0.1 and 127.0.2.1 I want to generate 127.0.0.1,127.0.0.2,127.0.0.3.......127.0.0.255....127.0.2.1 Do you understand now. Or if there is a link about this subject that woulb be helpful
-
IP ListCould someone give me a tip or help me make some code wich list all the ip addresses betwen to givel values. I need this for a host scaner and I spent a whole nigth working on it but I wrote only useless code. Thanks
-
RichTextBoxIs there a way to programaticaly add a .gif image toa richtextbox. I found an article that is using the rtf pecifications but I am just a beginer and I can`t understand wery well the code. Is there an easyer way?
-
C# PerformanceThe first methods creates two strings(s,f) and it should be more memory consuming.
-
Service will not startAs for as I know Services must be installed with a Setup Project to work corectly. I never used services, and I am not sure about this, just try it anyway.
-
Invoking GUIIf MyGUI is a form then try with Application.Run(new MyGUI());
-
Context Menu& TreeViewThx:) I didn`t knew about the treeView1.GetNodeAt method
-
get screen coordinateOr you can use Control.MousePosition.X and Y
-
Context Menu& TreeViewIs there a way to display different context menus(or with different submenus) for a treee view for different nodes. Foe example if i have too roots and I want to display a different menu for the child nodes of the forst root, other than for the children of the seccond root. I have tryed with after select or mouse up event but I want also to retrieve the selected node that generated the menu but it does`n works.