Code Search for Developers
 
 
  

ApplicationProperties.cs from MASE: Agile Software Engineering at Krugle


Show ApplicationProperties.cs syntax highlighted

using System;
using System.Drawing;
using System.Windows.Forms;


namespace Whiteboard
{
	/// <summary>
	/// Summary description for ApplicationProperties.
	/// 
	/// This class contains all the basic settings for the application.
	/// This includes such things as color, card sizes, fonts, etc. and their 
	/// accompanying getters and setters.
	/// 
	/// </summary>
	public class ApplicationProperties
	{
		public static int clientSizeWidth = Screen.PrimaryScreen.Bounds.Width;
		public static int clientSizeHeight = Screen.PrimaryScreen.Bounds.Height;
		public static string clientListeningPort = "8888";
		public static string serverWebServiceLocation = "http://localhost:8080/ebe/services/MaseWebServices";

		//private static float referenceWidth = 1024;
		//private static float referenceHeight = 768;

		private static float initX = 50;
		private static float initY = 400;
		private static int cardWidth = 195; 
		private static int cardHeight = 147; 

		public static float territoryLabelImgWidth = 150;
		public static float territoryLabelImgHeight = 15;
		public static float territoryLabelImgLeftTopX = 15.0f;
		public static float territoryLabelImgLeftTopY = 15.0f;

		public static Color BugFixColor = Color.Khaki;
		public static Color RefactorColor = Color.LightSkyBlue;
		public static Color FeatureColor = Color.Honeydew;

		public static PointF iterationCenter = new PointF(290.0f, 623.0f);
		public static Color iterationBackgroundColor = Color.LightGreen;
		private static Color iterationCardColor = Color.MediumSeaGreen;
		public static float iterationWidth = 410;
		public static float iterationHeight = 310;
		
		public static Color backLogBackgroundColor = Color.WhiteSmoke;
		public static Color backLogCardColor = Color.DimGray;
		public static long backLogID = -2;
		public static string backLogName = "Product Backlog";
		public static PointF backlogShowUpPnt = new PointF(400.0f, 200.0f);

		public static PointF completedCenter = new PointF(800.0f, 600.0f);
		public static Color completedBackgroundColor = Color.LightSkyBlue;
		private static Color completedCardColor = Color.RoyalBlue;
		public static float completedWidth = 200;
		public static float completedHeight = 100;
		public static long completedID = -1;
		public static string completedName = "Completed Area";

		public static Color storyFGColor = Color.Black;
		public static Color storyBGColor = Color.White;

		public static string username = "ypliu@cpsc.ucalgary.ca";
		public static string password = "lawrence";
		public static float shrink_ratio = 0.75f;

		private static Font nameFont = new Font("Arial", 10, System.Drawing.FontStyle.Bold); 

		public static float InitX
		{
			set{initX = value;}
			get{return initX;}
		}

		public static float InitY
		{
			set{initY = value;}
			get{return initY;}
		}

		public static int CardWidth
		{
			set{cardWidth = value;}
			get{return cardWidth;}
		}

		public static int CardHeight
		{
			set{cardHeight = value;}
			get{return cardHeight;}
		}

		public static Color IterationBackgroundColor
		{
			set{iterationBackgroundColor=value;}
			get{return iterationBackgroundColor;}
		}

		public static Color IterationCardColor
		{
			set{iterationCardColor=value;}
			get{return iterationCardColor;}
		}

		public static Color BackLogBackgroundColor
		{
			set{backLogBackgroundColor=value;}
			get{return backLogBackgroundColor;}
		}

		public static Color BackLogCardColor
		{
			set{backLogCardColor=value;}
			get{return backLogCardColor;}
		}

		public static Color CompletedBackgroundColor
		{
			set{completedBackgroundColor=value;}
			get{return completedBackgroundColor;}
		}

		public static Color CompletedCardColor
		{
			set{completedCardColor=value;}
			get{return completedCardColor;}
		}

		public Font NameFont
		{
			set{nameFont=value;}
			get{return nameFont;}
		}

		public ApplicationProperties()
		{
		}
	}
}




See more files for this project here

MASE: Agile Software Engineering

The MASE project investigates methods to support the coordination and executable acceptance testing of software projects. Keywords: Agile methods, distributed teams, Extreme Programming. See http://ebe.cpsc.ucalgary.ca/ebe for more information.

Project homepage: http://sourceforge.net/projects/mase
Programming language(s): Java,XML
License: other

  ApplicationProperties.cs
  CardLocationWith4Corners.cs
  HandWrittenObj.cs
  HandwrittenStoryCard.cs
  Iteration.cs
  Iteration.resx
  MaseListen.cs
  MaseUpdate.cs
  ProcessNode.cs
  ProjectNode.cs
  RegisterObj.cs
  Serializer.cs
  SingleWS.cs
  StoryObj.cs
  TabletContentandUtil.cs
  Utility.cs
  VLabel.cs
  VLabel.resx