XML Comments In Class Diagram?
Jan 7, 2010I am busy creating documentation for my application and want to implement xml comments in my class diagram. Is it possible to show xml comments of a class in the class designer/diagram?
View 1 RepliesI am busy creating documentation for my application and want to implement xml comments in my class diagram. Is it possible to show xml comments of a class in the class designer/diagram?
View 1 Repliesif I put controls on form1 like button,textbox....etcwhy called this control fields not object in the class diagram ?
View 7 RepliesI'm wondering why I can't create an association from a class to a static class in the class diagram editor of VS. Any reason for this?
View 1 RepliesI have built a class diagram for a proram i am building in vb, and i need some help to enhance it.The program description:"Modeling Car Parking System Modeling Car Parking System (MCPS) is the software that manages a parking for cars. The dedicated employees in that parking will use this system to control the parking. This software will facilitate the work in the parking and covers most activities performed, such as booking, cashing, and organizing. In the following, we will provide a comprehensive description of the parking (the scope of the system) followed by a description of the system with the functions that will be performed.
The Parking (The scope of the system)The parking consists of two floors, with a capacity of three hundred car places, and opens 24 hours all the week�s days. It has two main control stations; one is located at the entrance gate, and managed by an employee whose main functions are entering data to the system, then providing a receipt to the driver, and the other is located at the exit gate (cashier station), managed by an employee whose main functions are checking the receipt, entering data to the system, cashing, and providing an invoice.
The parking has three barriers, two main barriers are placed at the entrance and exit gates, and the third one is located at the second floor�s gate. They are controlled by using a remote control.When a driver wants to park his car, he has to drive it to the entrance where an employee (receptionist) will enter the car plate number to the system, then prints out a receipt to the driver. This receipt will contain information such as, the car plate number and the entry time. After that, the receptionist will open the barrier to allow the car enters the parking.
Inside the parking, the second floor will be kept empty (closed by the barrier) until the first floor will be full. When the first floor becomes full, the employee will open the barrier to allow the cars to park in the second floor. A driver can park his car in any vacant place in the available floor.When a driver wants to leave the parking, he drives his car to the exit gate and presents the receipt to the employee in the cashier station, who in turn, will check if the number recorded in this receipt (at the entrance) is similar to the real plate number of the car. After that, the employee will enter that number to the system, take the money, provide an invoice to the driver, and finally, open the barrier to allow the car leaves the parking.The list price in the parking, declares that parking a car for an hour costs 3850 LBP, and each extra parking hour will cost 3000 LBP.
Description of the System :The system will operate 24 hours, and will perform the tasks related to the work in the parking. The following scenario will explain what we mean by �will perform the tasks� in the parking.
At the entrance gate, the employee will enter the car plate number to the system as a (driver ID), and select the available floor which is in service from a menu. The system, in its turn, will store these data and additional data such as the time entered, and then issues a receipt including information such as driver ID, entry time, date, and the available floor reference.
At the exit gate, the employee will enter the car plate number (driver ID) to the system which will generate the data related to it, and prints out an invoice including the current time, date, total parking time, and the total amount of money (parking fee); since the parking fee and the duration will automatically be calculated and displayed by the system.
In addition to the tasks which the system will achieve at the entrance and exit gates, it also will provide statistical information such as the total count of cars that exist in the parking at any time, and the number of the vacant or busy parking lots (car places) in each available floor. Also, the simulation which will be part of the system will play a role in managing the parking since it will show an up to date comprehensive scheme of the parking.
The graphical simulation of the car movement flow When a car will enter the parking, and after an employee has implemented all the tasks associated by the entrance such as entering the car plate number, and selecting the available floor, the system will issue a receipt and automatically will lead the user (employee) to the simulation part. The simulation part is a form that contains cars and parking lots as graphical components, when a user click such a button �Drive-in a car� a car will move to occupy an available empty parking lot.
When a car will exit the parking, and after an employee has implemented all the tasks associated by the exit gate such as entering the car plate number, the system will issue a receipt and automatically will lead the user (an employee) again to the simulation part. When a user clicks such a button �Drive-out a car�, the car will leave to parking lot was occupied.
We can add class in class diagram and voila the code show up. What about the other way around. Say we already have a class. Can we add that to class diagrams?
View 3 RepliesI need to make a class diagram for a scrabble game. I know the classes are game, player, board, tile, square , tile bank?
View 4 RepliesI have a solution made up of several projects. Everything is properly referenced, the solution builds and runs. Now, when "view class diagram" for this class, it doesn't show any fields. It shows "dmxProgram" as a property, but it doesn't show any of the non-property private fields. Therefore I can't add associations to my class diagram for those fields that do not appear.
[Code]...
I've noticed that in C# XML comments and code comments can have different colors by changing the settings in Tools > Options > Environment > Fonts and Colors > Display Items:
- Comment: controls code comments XML comment: controls XML comments
This works well in C# <summary>This XML comment is green</summary>
[Code]...
Imports System.Drawing.Drawing2D Imports System.Math
[Code]...
I am beginner in programming and developed an application of mine. Although, I am finished with the coding part, but I have to present my software architecture diagram. I am not a software engineer and so familiar with basics of software engineering, layering etc.I have used 1) .NET GDI Graphics in my application, 2) Text to Speech, 3) RichTextBox which retireives pictures etc. How do I proceed with the architecture diagram now?
View 1 RepliesI want to draw a software Function Diagram which show the calling relationships between functions in my VB.Net project. Like which function calls which function and what the called function does... I have look through VISIO couple times and can't know find anything I like. What type of diagram should I use? Which template should I use in VISIO?
View 2 Repliesthis is more of a organizational question rather than a technical one. As your project grows and has more and more forms, objects and classes, how does one keep an overview?
Is there an application available which allows you to graphically organize the relationships between forms in a diagram? An "organigram" for your project?
I'm trying to draw some kind of circle diagram. Input data are only two integers: "a" (even or odd) and "b" (even). Here is the
HTML Imports System.Drawing.Drawing2D
Public Class Form1
Dim P As New Pen(Brushes.Red, 1)
Dim a As Integer = 24
Dim b As Integer = 2
Dim Angle As Single = b / a * Math.PI
[Code]...
I am trying to write a program that allows user input information and plot a bifurcation diagram that looks like this:I haven't program in 2 years so I am all rusty and such. Here is what I have got so far and more information about what I am doing.
Bifurcation:
f(x) = kx(1-x)
and k = xL + i * (xR-xL) / 500
[code].....
i m trying to create logigrame or flowchart using vb.net,it s possible using visio,but visio must be installed in every computer that use my application,and we need to buy license of this tool.i have searched in google,i found metadraw but it s not free. so is there any activx or any dll that will replace visio and metadraw??
View 4 RepliesI am trying to utilize the DATAbase Diagram designer feature of SQL Server 2005 Express Edition and I get the following messages:
1) This database does not have a valid dbo user or you don not have permissions to impersonate the dbo user, so database diagramming is not available. Do you want to make yourself the dbo of this database in order to use the database diagramming?
2) When I select YES I get the following notification: Could not obtain information about Windows NT group/user xxx/xxxxxx,
error code 0x54b
Need to show visio diagram on .net FORM, and need to be able to click on the shapes. Thats it. no creation, no stencils, no editing. Basicly just catch the click event from axDrawingControl.I'm having a "very" hard time to dig trough the visio DOM, disabling all of the functions, tool bars, menus..I basically will ever need a view-only diagram. So, to all the interop gurus out there, point me in the right direction please..I have the SDK, its (crap) not very useful in my case. Seems like a lot of resources wasted and lots of hustle for view only.
View 3 RepliesI'm upgrading to VB2008 from VB6 and have noticed that when drawing a small diagram on the screen it is much slower. In VB6 is is drawn 'instantly' in VB2008, 34 lines, 5 arcs and 15 text items are taking 112000,000 ticks to draw- I can see it being drawn line by line. The codes contains the code to draw the diagram and some minor calculations to determine what to draw. If I just draw 4 lines directly it takes 80,000 ticks which looks 'instant'. It looks as if the calculations are slowing it down. Is there some reason for this, is there a box I have not ticked that makes it slow?
View 7 RepliesI have a requirement to show genealogy diagram to user based on readily available data. Our existing database is as follows
1- Every person has unique ID
2- Relation field's has id of respective persons based on relationship like Father, Mother, Spouse etc.
I wish to build and display a simple diagram that is built from data entered by the user. Because I can't post a picture of the types of diagrams here I'll use the following example. Image a picture of a house as a child might draw it a large square, with a triangle for a roof, a rectangle for a door, and two smaller squares for windows. Now I want to build an application that lets the user enter data and change that drawing according. For example, by entering the length and height of the house the size changes, change the number of windows, size of the door or height of the roof.
Now this may seem like a useless application but keep in mind the house is just an example the real purpose is different but should be as simply drawn. I'm looking for suggestions on make this work. Should I use a paint? or is something like this better done with a tie into the Visio references?
i am writing a vb.net program which gets a c program as an input and checks it for errors,now i want my program to skip the comments in the c program,i have written some code but its not working
For Each line In TextBox1.Lines
sample = TextBox1.Lines(k)
Dim len As String
len = sample.Length
[code]....
I used to be a C# developer so this commenting style was very easy in C#. This is driving me crazy but how do you do this in VB.NET without getting a syntax error?: Private ReadOnly Property AcceptableDataFormat(ByVal e As System.Windows.Forms.DragEventArgs) As Boolean
[Code]...
I do not understand vb comments. I read that it is possible to give a hint in the code completion box when someone (or myself?) is using my code. But I do not find something in visual studio.
View 4 RepliesI have been using the method summary XML Comments at the top of my procedures lately and am wondering if there are any logical or good practices related to this.I never put anything in the remarks because I put the description of the method in the summary tag. What belongs in the summary and what belongs in remarks?I seldom put anything in the returns tag because it seems like it would be redundant as I usually explain what is being returned in the summary. Should I simply keep the type of object returned in the returns tag?
View 4 Repliesi am writing a program which takes a c program as input and it has to check whether there is a nesting of comments in that c program and gives an output based on that,how do i go about that
View 1 RepliesIs there a way to add comments to an array initialization? For example:
Dim test As UShort() = { _
1, _
2, _
3, _
4 _
}
I'd like to add a comment on each line, but the obvious syntaxes fail (for obvious reasons)
1, 'test _
1 'test, _
So, am I out of luck?
When I'm writing comments in my code, I often forget to add the initial space after the comment identifier.
'this is a comment
when really it is supposed to be
' this is a comment
I realize this is quite trivial, and you could simply say "just add the damn space you idiot", but I'd really like to automate this so that I just don't have to worry about it. add the comment space?note I do realize that a catch all string replace or regex replace could screw up other things ... IE:
Dim something As String = "I'm a nerd"
would actually come out
Dim something As String = "I' m a nerd"
if it's only on a line by it's self and is not followed by a second single quote... IE: '' would not trigger the replacement.
I am working with a datagridview on my form and have a CellContent Click event as shown below;
[code...]
Now, when I check the checkbox Yes and type in the comments textbox, the Comments are not stored to the table. However, the checkbox is set to a true value.
Is it possible to compile the code without the comments? Or are the comments not compiled as default?
View 3 RepliesI've been searching for this for the last 2 days, but can't find anything that works.
I just want to generate a chm, html, word document it doesn't matter what, form my xml comments. It needs to be freeware.