Click here to Skip to main content
15,886,786 members
Articles / Programming Languages / Visual Basic

TeamVision

Rate me:
Please Sign up or sign in to vote.
3.08/5 (11 votes)
16 Nov 2009CPL3 min read 84K   5.4K   69  
A simple project task management application. A managed approach to help keep on top of your projects.
<?xml version="1.0"?>
<doc>
<assembly>
<name>
TeamVision
</name>
</assembly>
<members>
<member name="F:TeamVision.Gui.Components.SplitButton.components">
	<summary> 
 Required designer variable.
 </summary>
</member><member name="M:TeamVision.Gui.Components.SplitButton.Dispose(System.Boolean)">
	<summary> 
 Clean up any resources being used.
 </summary>
	<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member><member name="M:TeamVision.Gui.Components.SplitButton.InitializeComponent">
	<summary> 
 Required method for Designer support - do not modify 
 the contents of this method with the code editor.
 </summary>
</member><member name="T:TeamVision.Gui.Grids.TasksGrid">
	<summary>
 The TaskGrid acts as the full action container for all events and display of Tasks
 </summary>
	<remarks></remarks>
</member><member name="P:TeamVision.My.Resources.Resources.ResourceManager">
	<summary>
  Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:TeamVision.My.Resources.Resources.Culture">
	<summary>
  Overrides the current thread's CurrentUICulture property for all
  resource lookups using this strongly typed resource class.
</summary>
</member><member name="T:TeamVision.My.Resources.Resources">
	<summary>
  A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member><member name="P:TeamVision.Localize.ResourceManager">
	<summary>
  Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:TeamVision.Localize.Culture">
	<summary>
  Overrides the current thread's CurrentUICulture property for all
  resource lookups using this strongly typed resource class.
</summary>
</member><member name="P:TeamVision.Localize.Add_new_task_to">
	<summary>
  Looks up a localized string similar to Add new task to .
</summary>
</member><member name="P:TeamVision.Localize.An_unknown_error_has_occurred">
	<summary>
  Looks up a localized string similar to An unknown error has occurred..
</summary>
</member><member name="P:TeamVision.Localize.Are_you_sure_you_want_to_delete">
	<summary>
  Looks up a localized string similar to Are you sure you want to delete this task?.
</summary>
</member><member name="P:TeamVision.Localize.Bad_DataLayerURL">
	<summary>
  Looks up a localized string similar to The TeamVision.exe.config file contains an invalid URL..
</summary>
</member><member name="P:TeamVision.Localize.Confirm_Task_Delete">
	<summary>
  Looks up a localized string similar to Confirm Task Delete.
</summary>
</member><member name="P:TeamVision.Localize.Do_you_want_to_go_online">
	<summary>
  Looks up a localized string similar to Do you want to go online and lose all offline changes?.
</summary>
</member><member name="P:TeamVision.Localize.Email_address_is_not_valid">
	<summary>
  Looks up a localized string similar to Email address is not valid..
</summary>
</member><member name="P:TeamVision.Localize.Error_Error">
	<summary>
  Looks up a localized string similar to Error.
</summary>
</member><member name="P:TeamVision.Localize.ExitException_Unable_to_load_lookup_tables">
	<summary>
  Looks up a localized string similar to Unable to load lookup tables..
</summary>
</member><member name="P:TeamVision.Localize.ExitException_Unable_to_load_projects">
	<summary>
  Looks up a localized string similar to Unable to load projects..
</summary>
</member><member name="P:TeamVision.Localize.ExitException_Unable_to_load_tasks">
	<summary>
  Looks up a localized string similar to Unable to load tasks..
</summary>
</member><member name="P:TeamVision.Localize.File_Not_Found">
	<summary>
  Looks up a localized string similar to File Not Found.
</summary>
</member><member name="P:TeamVision.Localize.Filter_All">
	<summary>
  Looks up a localized string similar to All Tasks.
</summary>
</member><member name="P:TeamVision.Localize.Filter_My">
	<summary>
  Looks up a localized string similar to My Tasks.
</summary>
</member><member name="P:TeamVision.Localize.Filter_Open">
	<summary>
  Looks up a localized string similar to Open Tasks.
</summary>
</member><member name="P:TeamVision.Localize.Full_name_must_be_between">
	<summary>
  Looks up a localized string similar to Full name must be between 3 and 50 characters long..
</summary>
</member><member name="P:TeamVision.Localize.gif_was_not_found">
	<summary>
  Looks up a localized string similar to .gif was not found..
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_AssignedTo">
	<summary>
  Looks up a localized string similar to Assigned To.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_AssignedTo_Width">
	<summary>
  Looks up a localized string similar to 75.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_DateCreated">
	<summary>
  Looks up a localized string similar to Date Created.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_DateCreated_Width">
	<summary>
  Looks up a localized string similar to 0.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_DateDue">
	<summary>
  Looks up a localized string similar to Due Date.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_DateDue_Width">
	<summary>
  Looks up a localized string similar to 65.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_ID">
	<summary>
  Looks up a localized string similar to ID.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_ID_Width">
	<summary>
  Looks up a localized string similar to 30.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_LastChanged">
	<summary>
  Looks up a localized string similar to Last Changed.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_LastChanged_Width">
	<summary>
  Looks up a localized string similar to 0.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_Priority">
	<summary>
  Looks up a localized string similar to !.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_Priority_Width">
	<summary>
  Looks up a localized string similar to 15.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_Progress">
	<summary>
  Looks up a localized string similar to Progress.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_Progress_Width">
	<summary>
  Looks up a localized string similar to 55.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_Status">
	<summary>
  Looks up a localized string similar to Status.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_Status_Width">
	<summary>
  Looks up a localized string similar to 55.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_Summary">
	<summary>
  Looks up a localized string similar to Summary.
</summary>
</member><member name="P:TeamVision.Localize.GridColHeader_Summary_Width">
	<summary>
  Looks up a localized string similar to 128.
</summary>
</member><member name="P:TeamVision.Localize.history_unavailable">
	<summary>
  Looks up a localized string similar to (history unavailable).
</summary>
</member><member name="P:TeamVision.Localize.Items">
	<summary>
  Looks up a localized string similar to  Items.
</summary>
</member><member name="P:TeamVision.Localize.Loading_TeamVision">
	<summary>
  Looks up a localized string similar to Loading TeamVision....
</summary>
</member><member name="P:TeamVision.Localize.MessageBoxShow_An_error_has_occurred">
	<summary>
  Looks up a localized string similar to An error has occurred on the remote server..
</summary>
</member><member name="P:TeamVision.Localize.MessageBoxShow_The_remote_server_is_unreachable">
	<summary>
  Looks up a localized string similar to The remote server is unreachable or request has timed-out.
</summary>
</member><member name="P:TeamVision.Localize.MessageBoxShow_There_was_an_error_reading_theoffline_files">
	<summary>
  Looks up a localized string similar to There was an error reading the offline files..
</summary>
</member><member name="P:TeamVision.Localize.MessageBoxShow_Unable_to_write_files">
	<summary>
  Looks up a localized string similar to Unable to write files to disk..
</summary>
</member><member name="P:TeamVision.Localize.no_history">
	<summary>
  Looks up a localized string similar to (no history).
</summary>
</member><member name="P:TeamVision.Localize.no_printer">
	<summary>
  Looks up a localized string similar to Please install a printer or contact your system administrator..
</summary>
</member><member name="P:TeamVision.Localize.Password_fields_do_not_match">
	<summary>
  Looks up a localized string similar to Password fields do not match..
</summary>
</member><member name="P:TeamVision.Localize.Password_may_not_contain_spaces">
	<summary>
  Looks up a localized string similar to Password may not contain 'spaces'..
</summary>
</member><member name="P:TeamVision.Localize.Password_must_be_between">
	<summary>
  Looks up a localized string similar to Password must be between 3 and 16 characters long..
</summary>
</member><member name="P:TeamVision.Localize.Please_check_your_connection_and_try_again">
	<summary>
  Looks up a localized string similar to Please check your connection and try again..
</summary>
</member><member name="P:TeamVision.Localize.Please_contact_your_network_administrator">
	<summary>
  Looks up a localized string similar to Please contact your network administrator..
</summary>
</member><member name="P:TeamVision.Localize.Please_enter_a_Summary">
	<summary>
  Looks up a localized string similar to Please enter a Summary for this task..
</summary>
</member><member name="P:TeamVision.Localize.Please_re_type_your_information">
	<summary>
  Looks up a localized string similar to Please re-type your information..
</summary>
</member><member name="P:TeamVision.Localize.Please_review_the_event_log_for_more_information">
	<summary>
  Looks up a localized string similar to Please review the event log for more information..
</summary>
</member><member name="P:TeamVision.Localize.Priority">
	<summary>
  Looks up a localized string similar to Priority.
</summary>
</member><member name="P:TeamVision.Localize.ProjectID">
	<summary>
  Looks up a localized string similar to ProjectID = .
</summary>
</member><member name="P:TeamVision.Localize.restartApp1">
	<summary>
  Looks up a localized string similar to The application must be restarted in order for these changes to take affect..
</summary>
</member><member name="P:TeamVision.Localize.restartApp2">
	<summary>
  Looks up a localized string similar to Restart TeamVision Now?.
</summary>
</member><member name="P:TeamVision.Localize.restartApp3">
	<summary>
  Looks up a localized string similar to Restart Application.
</summary>
</member><member name="P:TeamVision.Localize.Retrieving_Lookup_tables">
	<summary>
  Looks up a localized string similar to Retrieving lookup tables....
</summary>
</member><member name="P:TeamVision.Localize.Retrieving_projects">
	<summary>
  Looks up a localized string similar to Retrieving projects....
</summary>
</member><member name="P:TeamVision.Localize.Retrieving_tasks">
	<summary>
  Looks up a localized string similar to Retrieving tasks....
</summary>
</member><member name="P:TeamVision.Localize.sbrPanelLeftText">
	<summary>
  Looks up a localized string similar to  Items.
</summary>
</member><member name="P:TeamVision.Localize.sbrPanelRightOfflineText">
	<summary>
  Looks up a localized string similar to Offline.
</summary>
</member><member name="P:TeamVision.Localize.sbrPanelRightOnlineText">
	<summary>
  Looks up a localized string similar to Online.
</summary>
</member><member name="P:TeamVision.Localize.sbrPanelRightText">
	<summary>
  Looks up a localized string similar to Internet.
</summary>
</member><member name="P:TeamVision.Localize.Search_0items">
	<summary>
  Looks up a localized string similar to No matching items found..
</summary>
</member><member name="P:TeamVision.Localize.That_user_name_is_already_taken">
	<summary>
  Looks up a localized string similar to That user name is already taken..
</summary>
</member><member name="P:TeamVision.Localize.The_application_must_be_restarted">
	<summary>
  Looks up a localized string similar to The application must be restarted in order for these changes to take affect..
</summary>
</member><member name="P:TeamVision.Localize.The_image_file">
	<summary>
  Looks up a localized string similar to The image file.
</summary>
</member><member name="P:TeamVision.Localize.The_username_and_password_must_be_supplied">
	<summary>
  Looks up a localized string similar to The username and password must be supplied..
</summary>
</member><member name="P:TeamVision.Localize.The_username_or_password_is_incorrect">
	<summary>
  Looks up a localized string similar to The username or password is incorrect.

.
</summary>
</member><member name="P:TeamVision.Localize.TopButtonsOfflineText">
	<summary>
  Looks up a localized string similar to Work Offline.
</summary>
</member><member name="P:TeamVision.Localize.TopButtonsOfflineToolTipText">
	<summary>
  Looks up a localized string similar to Work Offline.
</summary>
</member><member name="P:TeamVision.Localize.TopButtonsOnlineText">
	<summary>
  Looks up a localized string similar to Work Online.
</summary>
</member><member name="P:TeamVision.Localize.TopButtonsOnlineToolTipText">
	<summary>
  Looks up a localized string similar to Work Online.
</summary>
</member><member name="P:TeamVision.Localize.Try_Again">
	<summary>
  Looks up a localized string similar to Try Again?.
</summary>
</member><member name="P:TeamVision.Localize.Unable_to_add_project">
	<summary>
  Looks up a localized string similar to Unable to add project at this time..
</summary>
</member><member name="P:TeamVision.Localize.Unable_to_add_user_at_this_time">
	<summary>
  Looks up a localized string similar to Unable to add user at this time..
</summary>
</member><member name="P:TeamVision.Localize.Unable_to_change_password_at_this_time">
	<summary>
  Looks up a localized string similar to Unable to change password at this time..
</summary>
</member><member name="P:TeamVision.Localize.Unable_to_edit_user_at_this_time">
	<summary>
  Looks up a localized string similar to Unable to edit user at this time..
</summary>
</member><member name="P:TeamVision.Localize.Updating_tasks">
	<summary>
  Looks up a localized string similar to Updating tasks....
</summary>
</member><member name="P:TeamVision.Localize.User_name_may_not_contain_spaces">
	<summary>
  Looks up a localized string similar to User name may not contain 'spaces'..
</summary>
</member><member name="P:TeamVision.Localize.User_name_must_be_between">
	<summary>
  Looks up a localized string similar to User name must be between 3 and 16 characters long..
</summary>
</member><member name="T:TeamVision.Localize">
	<summary>
  A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member><member name="F:TeamVision.Gui.Components.ExtendedRichTextBox.borderRect">
	<summary>
 Contains the size of the visual style borders
 </summary>
</member><member name="P:TeamVision.Gui.Components.ExtendedRichTextBox.CreateParams">
	<summary>
 Update the control parameters.
 </summary>
</member><member name="M:TeamVision.Gui.Components.ExtendedRichTextBox.WndProc(System.Windows.Forms.Message@)">
	<summary>
 Filter some message we need to draw the border.
 </summary>
</member><member name="M:TeamVision.Gui.Components.ExtendedRichTextBox.WmNccalcsize(System.Windows.Forms.Message@)">
	<summary>
 Calculates the size of the window frame and client area of the ExtendedRichTextBox
 </summary>
</member><member name="M:TeamVision.Gui.Components.ExtendedRichTextBox.WmNcpaint(System.Windows.Forms.Message@)">
	<summary>
 The border painting is done here.
 </summary>
</member><member name="M:TeamVision.Gui.Components.ExtendedRichTextBox.VisualStylesEnabled">
	<summary>
 Returns true, when visual styles are enabled in this application.
 </summary>
</member><member name="M:TeamVision.Gui.Components.ExtendedRichTextBox.RenderWithVisualStyles">
	<summary>
 Return true, when this control should render with visual styles.
 </summary>
	<returns></returns>
</member><member name="T:TeamVision.Gui.Components.ExtendedRichTextBox">
	<summary>
 ExtendedRichTextBox is derived from ExtendedRichTextBox and supports XP Visual Styles.
 </summary>
</member><member name="F:TeamVision.Gui.Components.SplitButton._AlwaysDropDown">
	<summary>
 Toggle between button-part click as action causing vs. click 
 to displays the dropdown list.
 </summary>
</member><member name="F:TeamVision.Gui.Components.SplitButton._AlwaysHoverChange">
	<summary>
 Mouse hover causes the image of the split-part to change to hover 
 image and drop down occurrs on button click.
 </summary>
</member><member name="F:TeamVision.Gui.Components.SplitButton._persistDropDownName">
	<summary>
 One potential problem with drop down menu items is the fact that 
 you do not have an after the fact indication to which item was 
 pressed.  This is an attempt to come up with such a solution.
 
 After the user selected an option from the drop down, this flag 
 will instruct the software weather to switch the meaning of the 
 button to the just clicked menu item or to keep the default, original
 value.
 </summary>
</member><member name="F:TeamVision.Gui.Components.SplitButton._NormalImage">
	<summary>
 Store the 4 possible image names (5 image states).  _HoverImage and 
 _FocusedImage share the same image state.
 </summary>
</member><member name="F:TeamVision.Gui.Components.SplitButton._DefaultSplitImages">
	<summary>
 Images are housed here
 </summary>
</member><member name="F:TeamVision.Gui.Components.SplitButton._dropDownsEventHandlers">
	<summary>
 A dictionary allowing the events to be tied to the drop down list.
 
 The first generic type, string, is the identifier of the event the key 
 and we will make it the text display of the drop down item.  The second 
 generic type, EventHandler is the EventHandler for the event.
 
 This is the mechanism through which we keep the control's interface to 
 its client without exposing the ContextMenuStrip itself.
 </summary>
</member><member name="F:TeamVision.Gui.Components.SplitButton.ZeroTime">
	<summary>
 I am using the timers to keep track of the open/close state of the
 drop-down menu.
 </summary>
</member><member name="M:TeamVision.Gui.Components.SplitButton.EventFire(System.EventHandler,System.EventArgs)">
	<summary>
 Notice the NoInlining decoration of the method as a mechanism for 
 preventing the optimized compiler from optimizing this call away.
 See article for further discussion.
 </summary>
	<param name="evntHndlr"></param>
	<param name="ea"></param>
</member><member name="M:TeamVision.Gui.Components.SplitButton.IsTooSoonAfterCloseMenuDropDown">
	<summary>
 Upon a click on the split part of the button the default behavior 
 depends on the current state:
 1 if state of the drop-down is closed then the click will simply 
   open the drop down menu
 2 if the state is open, then the click on the split part will first 
   close the drop down menu then reopen it.
 
 Therefore, if the drop-down was open, to begin with, the time between 
 close and re-open is very short.  On my machine it is between 25 - 218 
 milli-seconds.  As such we can capture this time and prevent a reopen.

 I was tempted create a private member variable, 
 _isDropDownMenuShowing, and a corresponding public Property,
 IsDropDownMenuShowing.  Then use it to Show/Close the 
 ConextMenuStrip's drop-down menu
 like so:
		if (_isDropDownMenuShowing)
			ContextMenuStrip.Close();
		else
			ContextMenuStrip.Show(this, new Point(0, Height));

 It turns out to be a bad idea.  Let's review the callback sequence in 
 the two scenarios:
 Scenario 1 menu-drop down is closed (not showing)
		1	_isDropDownMenuShowing == false
		2	OnMouseUp() is fired and therefore ContextMenuStrip.Show() will 
			show the drop-down.
 all is well--this is the desired result.

 Scenario 2 menu-drop down is open and client clicked on 
 the triangle icon
		1	_isDropDownMenuShowing == true
		2	system first closes the drop down calling the
			SplitButtonDropDown_Closed()
		3	now: _isDropDownMenuShowing == false
		4	system calls OnMouseUp() which will run the ContextMenuStrip.Show() 
			function -- NOT DESIRED BEHAVIOR
		5	system calls SplitButtonDropDown_Opening()
		6	now: _isDropDownMenuShowing == true

 Therefore we need to use the timer here too and I deem it
 too risky to use such a member/property _isDropDownMenuShowing/
 IsDropDownMenuShowing.  
 </summary>
	<returns></returns>
</member><member name="P:TeamVision.Gui.Components.SplitButton.FillSplitHeight">
	<summary>
 Gets or sets a value indicating whether [fill split height].
 </summary>
	<value><c>true</c> if [fill split height]; otherwise, <c>false</c>.</value>
</member><member name="M:TeamVision.Gui.Components.SplitButton.ClearDropDownItems">
	<summary>
 Purpose: Clears the dropdown items and clears the EventHandler list
 corresponding to these items.
 </summary>
</member><member name="M:TeamVision.Gui.Components.SplitButton.AddDropDownItemAndHandle(System.String,System.EventHandler)">
	<summary>
 Purpose: Add an item to the drop down menu and bind an appropriate
 the event handler.  
 </summary>
	<param name="text">the text display of the drop down item</param>
	<param name="handler">
 The event handler for that drop down item.  The client will provide 
 a function attached to the handler with signature: 
		"private void [methodname](object sender, EventArgs e)
 </param>
</member><member name="M:TeamVision.Gui.Components.SplitButton.SplitButtonDropDown_ItemClicked(System.Object,System.Windows.Forms.ToolStripItemClickedEventArgs)">
	<summary>
 Note the implementation where the one event, e (the input drop-down 
 event), is being translated into another, adaptorEvent which is the 
 event bound by the client.
 </summary>
	<param name="sender"></param>
	<param name="e"></param>
</member><member name="M:TeamVision.Gui.Components.SplitButton.SplitButtonDropDown_Closed(System.Object,System.Windows.Forms.ToolStripDropDownClosedEventArgs)">
	<summary>
 Set the time when the menu drop-down was closed.
 </summary>
	<param name="sender"></param>
	<param name="e"></param>
</member><member name="M:TeamVision.Gui.Components.SplitButton.SplitButtonDropDown_Opening(System.Object,System.ComponentModel.CancelEventArgs)">
	<summary>
 Clear the time when the menu drop-down was closed.
 </summary>
	<param name="sender"></param>
	<param name="e"></param>
</member><member name="T:TeamVision.Gui.Components.SplitButton">
	<summary>
 Note.  This control has two challanges to overcome
 1	allow the client to bind to the drop down click events
 2	have design time support.  This design time support will
	be covered in a subsequent article
 </summary>
</member><member name="M:TeamVision.FrmOffline.clbProjects_ItemCheck(System.Object,System.Windows.Forms.ItemCheckEventArgs)">
	<summary>
  This event handler creates some custom behavior, when "(All)" is clicked all other items are unchecked,
   and when an item is checked that "(All)" is unchecked
 </summary>
	<param name="sender"></param>
	<param name="e"></param>
	<remarks></remarks>
</member>
</members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Common Public License Version 1.0 (CPL)


Written By
Founder Arkitech EBC Corporation
United States United States
MS, BBA, software developer, consultant, and trainer. Specializing in building data-centric applications designed for business, university, community & faith based organizations. Started developing Excel VBA macros and never looked back. Freelance developer utilizing VB.Net, SQL Server, Microsoft Access, and ASP.Net.

Comments and Discussions