﻿<?xml version="1.0" encoding="utf-16"?>
<JiwaDocument xmlns:jiwa="http://www.jiwa.com.au/xml/schemas" Type="JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin">
  <RecID>713a79f6-231b-49bc-bc51-8f1953fd6e33</RecID>
  <Name>CRM as C#</Name>
  <IsEnabled>true</IsEnabled>
  <IsIsolatedToOwnAppDomain>false</IsIsolatedToOwnAppDomain>
  <ExecutionOrder>0</ExecutionOrder>
  <Author />
  <Version />
  <Code>using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using JiwaFinancials.Jiwa;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Drawing;
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using Infragistics.UltraChart.Shared.Styles;
using Infragistics.UltraChart.Resources.Appearance;
using Infragistics.UltraChart.Core.Layers;
using System.Data.SqlClient;
using System.ComponentModel;

#region "FormPlugin"
public class FormPlugin : System.MarshalByRefObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaFormPlugin
{

    public override object InitializeLifetimeService()
    {
        // returning null here will prevent the lease manager
        // from deleting the Object.
        return null;
    }

    public void SetupBeforeHandlers(JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm JiwaForm, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin Plugin)
    {
    }

    public void Setup(JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm JiwaForm, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin Plugin)
    {
    }
}
#endregion

#region "BusinessLogicPlugin"
public class BusinessLogicPlugin : System.MarshalByRefObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogicPlugin
{

    public override object InitializeLifetimeService()
    {
        // returning null here will prevent the lease manager
        // from deleting the Object.
        return null;
    }

    public void Setup(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic JiwaBusinessLogic, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin Plugin)
    {
    }
}
#endregion

#region "ApplicationManagerPlugin"
public class ApplicationManagerPlugin : System.MarshalByRefObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaApplicationManagerPlugin
{

    public override object InitializeLifetimeService()
    {
        // returning null here will prevent the lease manager
        // from deleting the Object.
        return null;
    }

    public void Setup(JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin Plugin)
    {
    }
}
#endregion

#region "CustomFieldPlugin"
public class CustomFieldPlugin : System.MarshalByRefObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaCustomFieldPlugin
{
    public override object InitializeLifetimeService()
    {
        // returning null here will prevent the lease manager
        // from deleting the Object.
        return null;
    }

    public void FormatCell(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic BusinessLogicHost, JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid GridObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm FormObject, int Col, int Row, JiwaFinancials.Jiwa.JiwaApplication.IJiwaCustomFieldValues HostObject, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomField CustomField, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomFieldValue CustomFieldValue)
    {
    }

    public void ReadData(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic BusinessLogicHost, JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid GridObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm FormObject, int Row, JiwaFinancials.Jiwa.JiwaApplication.IJiwaCustomFieldValues HostObject, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomField CustomField, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomFieldValue CustomFieldValue)
    {
    }

    public void ButtonClicked(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic BusinessLogicHost, JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid GridObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm FormObject, int Col, int Row, JiwaFinancials.Jiwa.JiwaApplication.IJiwaCustomFieldValues HostObject, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomField CustomField, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomFieldValue CustomFieldValue)
    {
    }
}
#endregion

#region "LineCustomFieldPlugin"
public class LineCustomFieldPlugin : System.MarshalByRefObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaLineCustomFieldPlugin
{
    public override object InitializeLifetimeService()
    {
        // returning null here will prevent the lease manager
        // from deleting the Object.
        return null;
    }

    public void FormatCell(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic BusinessLogicHost, JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid GridObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm FormObject, int Col, int Row, JiwaFinancials.Jiwa.JiwaApplication.IJiwaLineCustomFieldValues HostItem, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomField CustomField, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomFieldValue CustomFieldValue)
    {
    }

    public void ReadData(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic BusinessLogicHost, JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid GridObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm FormObject, int Row, JiwaFinancials.Jiwa.JiwaApplication.IJiwaLineCustomFieldValues HostItem, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomField CustomField, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomFieldValue CustomFieldValue)
    {
    }

    public void ButtonClicked(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic BusinessLogicHost, JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid GridObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm FormObject, int Col, int Row, JiwaFinancials.Jiwa.JiwaApplication.IJiwaLineCustomFieldValues HostItem, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomField CustomField, JiwaFinancials.Jiwa.JiwaApplication.CustomFields.CustomFieldValue CustomFieldValue)
    {
    }
}
#endregion

#region "SystemSettingPlugin"
public class SystemSettingPlugin : System.MarshalByRefObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaSystemSettingPlugin
{
    public override object InitializeLifetimeService()
    {
        // returning null here will prevent the lease manager
        // from deleting the Object.
        return null;
    }

    public void FormatCell(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic BusinessLogicHost, JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid GridObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm FormObject, int Col, int Row, JiwaFinancials.Jiwa.JiwaApplication.SystemSettings.Setting SystemSetting)
    {
    }

    public void ReadData(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic BusinessLogicHost, JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid GridObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm FormObject, int Row, JiwaFinancials.Jiwa.JiwaApplication.SystemSettings.Setting SystemSetting)
    {
    }

    public void ButtonClicked(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic BusinessLogicHost, JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid GridObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaForm FormObject, int Col, int Row, JiwaFinancials.Jiwa.JiwaApplication.SystemSettings.Setting SystemSetting)
    {
    }
}
#endregion

#region "ScheduledExecutionPlugin"
public class ScheduledExecutionPlugin : System.MarshalByRefObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaScheduledExecutionPlugin
{
    public void Execute(JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin Plugin, JiwaFinancials.Jiwa.JiwaApplication.Schedule.Schedule Schedule)
    {
    }


    public void OnServiceStart(JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin Plugin)
    {
    }


    public void OnServiceStopping(JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin Plugin)
    {
    }
}
#endregion




public partial class CRMCS : JiwaFinancials.Jiwa.JiwaApplication.ProcessAction.UserInterface
{

	private JiwaFinancials.Jiwa.JiwaApplication.JiwaToDos.Lister.ToDoList _ToDoList;
	private DataTable QuotesDataTable = new DataTable();
	private JiwaFinancials.Jiwa.JiwaApplication.JiwaCollection&lt;QuoteSummary&gt; QuotesCollection = new JiwaFinancials.Jiwa.JiwaApplication.JiwaCollection&lt;QuoteSummary&gt;();
	private DataTable SalesMonthlyDataTable = new DataTable();
	private JiwaFinancials.Jiwa.JiwaApplication.JiwaCollection&lt;JiwaFinancials.Jiwa.JiwaDashboardUI.SalesSummary&gt; SalesMonthlyBalanceCollection = new JiwaFinancials.Jiwa.JiwaApplication.JiwaCollection&lt;JiwaFinancials.Jiwa.JiwaDashboardUI.SalesSummary&gt;();
	private System.ComponentModel.BackgroundWorker withEventsField_indicatorsBackgroundWorker;
	private System.ComponentModel.BackgroundWorker indicatorsBackgroundWorker {
		get { return withEventsField_indicatorsBackgroundWorker; }
		set {
			if (withEventsField_indicatorsBackgroundWorker != null) {
				withEventsField_indicatorsBackgroundWorker.DoWork -= indicatorsBackgroundWorker_DoWork;
				withEventsField_indicatorsBackgroundWorker.RunWorkerCompleted -= indicatorsBackgroundWorker_RunWorkerCompleted;
			}
			withEventsField_indicatorsBackgroundWorker = value;
			if (withEventsField_indicatorsBackgroundWorker != null) {
				withEventsField_indicatorsBackgroundWorker.DoWork += indicatorsBackgroundWorker_DoWork;
				withEventsField_indicatorsBackgroundWorker.RunWorkerCompleted += indicatorsBackgroundWorker_RunWorkerCompleted;
			}
		}
	}
	private System.ComponentModel.BackgroundWorker withEventsField_quotesBackgroundWorker;
	private System.ComponentModel.BackgroundWorker quotesBackgroundWorker {
		get { return withEventsField_quotesBackgroundWorker; }
		set {
			if (withEventsField_quotesBackgroundWorker != null) {
				withEventsField_quotesBackgroundWorker.DoWork -= quotesBackgroundWorker_DoWork;
				withEventsField_quotesBackgroundWorker.RunWorkerCompleted -= quotesBackgroundWorker_RunWorkerCompleted;
			}
			withEventsField_quotesBackgroundWorker = value;
			if (withEventsField_quotesBackgroundWorker != null) {
				withEventsField_quotesBackgroundWorker.DoWork += quotesBackgroundWorker_DoWork;
				withEventsField_quotesBackgroundWorker.RunWorkerCompleted += quotesBackgroundWorker_RunWorkerCompleted;
			}
		}
	}
	private System.ComponentModel.BackgroundWorker withEventsField_salesBackgroundWorker;
	private System.ComponentModel.BackgroundWorker salesBackgroundWorker {
		get { return withEventsField_salesBackgroundWorker; }
		set {
			if (withEventsField_salesBackgroundWorker != null) {
				withEventsField_salesBackgroundWorker.DoWork -= salesBackgroundWorker_DoWork;
				withEventsField_salesBackgroundWorker.RunWorkerCompleted -= salesBackgroundWorker_RunWorkerCompleted;
			}
			withEventsField_salesBackgroundWorker = value;
			if (withEventsField_salesBackgroundWorker != null) {
				withEventsField_salesBackgroundWorker.DoWork += salesBackgroundWorker_DoWork;
				withEventsField_salesBackgroundWorker.RunWorkerCompleted += salesBackgroundWorker_RunWorkerCompleted;
			}
		}
	}
	private System.ComponentModel.BackgroundWorker withEventsField_myCustomersBackgroundWorker;
	private System.ComponentModel.BackgroundWorker myCustomersBackgroundWorker {
		get { return withEventsField_myCustomersBackgroundWorker; }
		set {
			if (withEventsField_myCustomersBackgroundWorker != null) {
				withEventsField_myCustomersBackgroundWorker.DoWork -= myCustomersBackgroundWorker_DoWork;
				withEventsField_myCustomersBackgroundWorker.RunWorkerCompleted -= myCustomersBackgroundWorker_RunWorkerCompleted;
			}
			withEventsField_myCustomersBackgroundWorker = value;
			if (withEventsField_myCustomersBackgroundWorker != null) {
				withEventsField_myCustomersBackgroundWorker.DoWork += myCustomersBackgroundWorker_DoWork;
				withEventsField_myCustomersBackgroundWorker.RunWorkerCompleted += myCustomersBackgroundWorker_RunWorkerCompleted;
			}
		}

	}
	
	private System.Data.SqlClient.SqlDataReader MyCustomersSQLReader = null;
	public override void SetupBeforeHandlers()
	{
		base.SetupBeforeHandlers();
		this.MdiParent = Manager.MDIParentForm;
		//SetupObjects()
	}

	public override void Setup()
	{
		base.Setup();
		_ToDoList = Manager.BusinessLogicFactory.CreateBusinessLogic&lt;JiwaFinancials.Jiwa.JiwaApplication.JiwaToDos.Lister.ToDoList&gt;(null);
		SetupForm();
		AddHandlers();
	}

	
	

	
//	public void SetPermissionsForControls()
//	{
//	    IEnumerator enumerator = base.Controls.GetEnumerator();
//	    this.ControlsMadeInvisible.Clear();
//	    this.TabsMadeInvisible.Clear();
//	    this.ToolsMadeInvisible.Clear();
//	    this.ColumnsMadeInvisible.Clear();
//	    try
//	    {
//	       // enumerator = base.Controls.GetEnumerator();
//	        while (enumerator.MoveNext())
//	        {
//	            Control current = (Control) enumerator.Current;
//	            this.Manager.SetControlPermissions(current, this);
//	        }
//	    }
//	    finally
//	    {
//	        if (enumerator is IDisposable)
//	        {
//	            (enumerator as IDisposable).Dispose();
//	        }
//	    }
//		
//	     JiwaFinancials.Jiwa.JiwaApplication.SecurityUI.SetPermissions permissions = this.Manager.FormFactory.CreateForm&lt;JiwaFinancials.Jiwa.JiwaApplication.SecurityUI.SetPermissions&gt;(null);
//		                permissions.FormToSecure = this;
//	                    permissions.Start();
//		                
//	                    this.SetPermissionsObject = permissions.UserGroup;
//	                   // return;	
//	    if (this.EditPermission != JiwaFinancials.Jiwa.JiwaApplication.Security.UserGroup.AccessLevels.Allow)
//	    {
//	        this.UltraToolbarsManager1.Tools["ID_RecordNew"].SharedProps.Enabled = false;
//	        this.UltraToolbarsManager1.Tools["ID_RecordDelete"].SharedProps.Enabled = false;
//	        this.UltraToolbarsManager1.Tools["ID_RecordUtilitiesCopy"].SharedProps.Enabled = false;
//	        this.UltraToolbarsManager1.Tools["ID_RecordUtilitiesExportToXML"].SharedProps.Enabled = false;
//	        this.UltraToolbarsManager1.Tools["ID_RecordUtilitiesImportFromXML"].SharedProps.Enabled = false;
//	    }
//	}

	
	
	
	public override void SetToolBar(bool EditMode)
	{
		base.SetToolBar(EditMode);
		UltraToolbarsManager1.Tools["ID_RecordRefresh"].SharedProps.Enabled = true;
	}

	public override void AddHandlers()
	{
		this.Shown += Form_Shown;
		UltraToolbarsManager1.ToolClick += UltraToolbarsManager1_ToolClick1;
		IncludeLastYearSalesUltraCheckEditor.CheckedChanged += IncludeLastYearSalesUltraCheckEditor_CheckedChanged;
		ShowAllStagesUltraCheckEditor.CheckedChanged += ShowAllStagesUltraCheckEditor_CheckedChanged;
		QuotesFunnelUltraChart.ChartDataClicked += QuotesFunnelUltraChart_ChartDataClicked;
		SalesTransactionUltraChart.ChartDataClicked += SalesTransactionUltraChart_ChartDataClicked;
		MyCustomersJiwaGrid.SelectionChanged += MyCustomersJiwaGrid_SelectionChanged;
        
		base.AddHandlers();
	}

	public void SetupForm()
	{
		UltraToolbarsManager1.Tools["ID_RecordProcess"].SharedProps.Visible = false;
		SetupWindow();
		SetupControls();
	}

	private void Form_Shown(object sender, EventArgs e)
	{
		indicatorsBackgroundWorker.RunWorkerAsync();
		quotesBackgroundWorker.RunWorkerAsync();
		salesBackgroundWorker.RunWorkerAsync();
		myCustomersBackgroundWorker.RunWorkerAsync();

		StaffPicture.Image = Manager.Staff.Picture;
		UserNameUltraLabel.Text = string.Format("CRMCS Dashboard For {0}", Manager.Staff.FullName);
		DateUltraLabel.Text = string.Format("As At {0}", Manager.SysDateTime.ToLongDateString());

		PopulateToDosGrid();
	}

	public void SetupControls()
	{
		//System.Diagnostics.Debugger.Launch();
		this.indicatorsBackgroundWorker = new System.ComponentModel.BackgroundWorker();
		this.indicatorsBackgroundWorker.WorkerReportsProgress = true;
		this.indicatorsBackgroundWorker.WorkerSupportsCancellation = true;

		this.quotesBackgroundWorker = new System.ComponentModel.BackgroundWorker();
		this.quotesBackgroundWorker.WorkerReportsProgress = true;
		this.quotesBackgroundWorker.WorkerSupportsCancellation = true;

		this.salesBackgroundWorker = new System.ComponentModel.BackgroundWorker();
		this.salesBackgroundWorker.WorkerReportsProgress = true;
		this.salesBackgroundWorker.WorkerSupportsCancellation = true;

		this.myCustomersBackgroundWorker = new System.ComponentModel.BackgroundWorker();
		this.myCustomersBackgroundWorker.WorkerReportsProgress = true;
		this.myCustomersBackgroundWorker.WorkerSupportsCancellation = true;

		UltraToolbarsManager1.Tools["ID_RecordRefresh"].SharedProps.Enabled = false;

		CRM_MyQuotesExpiringIn7Days.StoredProcName = "usp_JIWA_Dashboard_Indicator_CRM_MyQuotesExpiring";
		CRM_MyQuotesExpiringIn7Days.Caption = "My Quotes Expiring in 7 Days";
	    CRM_MyQuotesExpiringIn7Days.Manager = this.Manager;
		// This is actually set when we call the stored proc, but we set it here so we can see it in the designer
		CRM_MyQuotesExpiringIn7Days.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@SP_AsAtDate", System.Data.SqlDbType.DateTime) { Value = Manager.SysDateTime });
		CRM_MyQuotesExpiringIn7Days.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@HR_Staff_StaffID", System.Data.SqlDbType.Char) { Value = Manager.Staff.RecID });
		CRM_MyQuotesExpiringIn7Days.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@IN_Logical_LogicalID", System.Data.SqlDbType.Char) { Value = Manager.CurrentLogicalWarehouse.IN_LogicalID });
		CRM_MyQuotesExpiringIn7Days.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@StackScale", System.Data.SqlDbType.Int) { Value = 5 });
		CRM_MyQuotesExpiringIn7Days.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@ExpiryDays", System.Data.SqlDbType.Int) { Value = 7 });

		IndicatorPanelSalesOrdersEnteredNotProcessed.StoredProcName = "usp_JIWA_Dashboard_Indicator_CRM_MySalesOrdersEnteredNotProcessed";
		IndicatorPanelSalesOrdersEnteredNotProcessed.Caption = "Sales Orders Entered Not Processed";
		// This is actually set when we call the stored proc, but we set it here so we can see it in the designer
		IndicatorPanelSalesOrdersEnteredNotProcessed.Manager = this.Manager;
		IndicatorPanelSalesOrdersEnteredNotProcessed.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@SP_AsAtDate", System.Data.SqlDbType.DateTime) { Value = Manager.SysDateTime });
		IndicatorPanelSalesOrdersEnteredNotProcessed.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@HR_Staff_StaffID", System.Data.SqlDbType.Char) { Value = Manager.Staff.RecID });
		IndicatorPanelSalesOrdersEnteredNotProcessed.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@IN_Logical_LogicalID", System.Data.SqlDbType.Char) { Value = Manager.CurrentLogicalWarehouse.IN_LogicalID });
		IndicatorPanelSalesOrdersEnteredNotProcessed.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@StackScale", System.Data.SqlDbType.Int) { Value = 5 });

		IndicatorPanelSalesOrdersWithBackorders.StoredProcName = "usp_JIWA_Dashboard_Indicator_CRM_MySalesOrdersWithBackorders";
		IndicatorPanelSalesOrdersWithBackorders.Caption = "Sales Orders With Back Orders";
		IndicatorPanelSalesOrdersWithBackorders.Manager = this.Manager;
		// This is actually set when we call the stored proc, but we set it here so we can see it in the designer
		IndicatorPanelSalesOrdersWithBackorders.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@SP_AsAtDate", System.Data.SqlDbType.DateTime) { Value = Manager.SysDateTime });
		IndicatorPanelSalesOrdersWithBackorders.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@HR_Staff_StaffID", System.Data.SqlDbType.Char) { Value = Manager.Staff.RecID });
		IndicatorPanelSalesOrdersWithBackorders.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@IN_Logical_LogicalID", System.Data.SqlDbType.Char) { Value = Manager.CurrentLogicalWarehouse.IN_LogicalID });
		IndicatorPanelSalesOrdersWithBackorders.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@StackScale", System.Data.SqlDbType.Int) { Value = 5 });

		IndicatorPanelSalesOrdersReadyToShip.StoredProcName = "usp_JIWA_Dashboard_Indicator_CRM_MySalesOrdersReadyToShip";
		IndicatorPanelSalesOrdersReadyToShip.Caption = "Sales Orders Ready to Ship";
		// This is actually set when we call the stored proc, but we set it here so we can see it in the designer
		IndicatorPanelSalesOrdersReadyToShip.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@SP_AsAtDate", System.Data.SqlDbType.DateTime) { Value = Manager.SysDateTime });
		IndicatorPanelSalesOrdersReadyToShip.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@HR_Staff_StaffID", System.Data.SqlDbType.Char) { Value = Manager.Staff.RecID });
		IndicatorPanelSalesOrdersReadyToShip.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@IN_Logical_LogicalID", System.Data.SqlDbType.Char) { Value = Manager.CurrentLogicalWarehouse.IN_LogicalID });
		IndicatorPanelSalesOrdersReadyToShip.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@StackScale", System.Data.SqlDbType.Int) { Value = 5 });

		IndicatorPanelSalesQuotesOpen.StoredProcName = "usp_JIWA_Dashboard_Indicator_CRM_MySalesQuotesOpen";
		IndicatorPanelSalesQuotesOpen.Caption = "My Open Quotes";
		IndicatorPanelSalesQuotesOpen.Manager = this.Manager;
		// This is actually set when we call the stored proc, but we set it here so we can see it in the designer
		IndicatorPanelSalesQuotesOpen.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@SP_AsAtDate", System.Data.SqlDbType.DateTime) { Value = Manager.SysDateTime });
		IndicatorPanelSalesQuotesOpen.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@HR_Staff_StaffID", System.Data.SqlDbType.Char) { Value = Manager.Staff.RecID });
		IndicatorPanelSalesQuotesOpen.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@IN_Logical_LogicalID", System.Data.SqlDbType.Char) { Value = Manager.CurrentLogicalWarehouse.IN_LogicalID });
		IndicatorPanelSalesQuotesOpen.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@StackScale", System.Data.SqlDbType.Int) { Value = 5 });

		IndicatorPanelDebtorInvoicesOverdue.StoredProcName = "usp_JIWA_Dashboard_Indicator_CRM_MyDebtorInvoicesOverdue";
		IndicatorPanelDebtorInvoicesOverdue.Caption = "My Customer Invoices Overdue";
		IndicatorPanelDebtorInvoicesOverdue.Manager = this.Manager;
		// This is actually set when we call the stored proc, but we set it here so we can see it in the designer
		IndicatorPanelDebtorInvoicesOverdue.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@SP_AsAtDate", System.Data.SqlDbType.DateTime) { Value = Manager.SysDateTime });
		IndicatorPanelDebtorInvoicesOverdue.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@HR_Staff_StaffID", System.Data.SqlDbType.Char) { Value = Manager.Staff.RecID });
		IndicatorPanelDebtorInvoicesOverdue.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@IN_Logical_LogicalID", System.Data.SqlDbType.Char) { Value = Manager.CurrentLogicalWarehouse.IN_LogicalID });
		IndicatorPanelDebtorInvoicesOverdue.SQLParameters.Add(new System.Data.SqlClient.SqlParameter("@StackScale", System.Data.SqlDbType.Int) { Value = 5 });

		SalesTransactionUltraChart.EmptyChartText = "Reading sales data...";

		SetupToDosGrid();
	}

	public void SetupToDosGrid()
	{
		var _with1 = ToDosAssignedToMeJiwaGrid;
		ToDosAssignedToMeJiwaGrid.AddColumn("Key", new JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaTextCellType(), "Key", 10, true, false, true, true, 255, false);
		ToDosAssignedToMeJiwaGrid.AddColumn("ToDoNo", new JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaTextCellType(), "To-Do No.", 8, false, true, true, true, 50, true);
		ToDosAssignedToMeJiwaGrid.AddColumn("Type", new JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaTextCellType(), "Type", 5, false, true, true, true);
		ToDosAssignedToMeJiwaGrid.AddColumn("Subject", new JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaTextCellType(), "Subject", 25, false, true, true, true, 50, true);
		ToDosAssignedToMeJiwaGrid.AddColumn("DueDate", new FarPoint.Win.Spread.CellType.DateTimeCellType(), "Due Date", 8, false, true, true, true);
		((FarPoint.Win.Spread.CellType.DateTimeCellType)_with1.ActiveSheet.Columns["DueDate"].CellType).DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.ShortDate;

		ToDosAssignedToMeJiwaGrid.AddColumn("DueTime", new FarPoint.Win.Spread.CellType.DateTimeCellType(), "Due Time", 8, false, true, true, true);
		((FarPoint.Win.Spread.CellType.DateTimeCellType)_with1.ActiveSheet.Columns["DueTime"].CellType).DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.TimeOnly;

		//.AddColumn("AssignedToName", New JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaTextCellType, "Assigned To Name", 6, False, True, True, True)
		//.AddColumn("AssignedByName", New JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaTextCellType, "Assigned By Name", 6, False, True, True, True)
		//.AddColumn("LastSavedDateTime", New FarPoint.Win.Spread.CellType.DateTimeCellType, "Last Modified", 8, False, True, True, True)
		//DirectCast(.ActiveSheet.Columns("LastSavedDateTime").CellType, FarPoint.Win.Spread.CellType.DateTimeCellType).DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.ShortDateWithTime
		//.AddColumn("LastSavedBy", New JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaTextCellType, "Last Modified By", 5, False, True, True, True)
		//.AddColumn("DurationInHours", New FarPoint.Win.Spread.CellType.NumberCellType, "Duration (Hours)", 5, False, True, True, True)
		//.AddColumn("Priority", New JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaTextCellType, "Priority", 5, False, True, True, True)
		//.AddColumn("UsesStatusTracking", New FarPoint.Win.Spread.CellType.CheckBoxCellType, "Status Tracking", 8, False, True, True, True)
		_with1.AddColumn("Status", new JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaTextCellType(), "Status", 8, false, true, true, true);
		_with1.AddColumn("CompletePercentage", new FarPoint.Win.Spread.CellType.PercentCellType(), "Complete", 8, false, true, true, true);
		//.AddColumn("ReminderEnabled", New FarPoint.Win.Spread.CellType.CheckBoxCellType, "Reminder", 5, False, True, True, True)
		//.AddColumn("ReminderDateTime", New FarPoint.Win.Spread.CellType.DateTimeCellType, "Reminder Date / Time", 8, False, True, True, True)
		//DirectCast(.ActiveSheet.Columns("ReminderDateTime").CellType, FarPoint.Win.Spread.CellType.DateTimeCellType).DateTimeFormat = CellType.DateTimeFormat.ShortDateWithTime
		_with1.FocusRenderer = null;
		_with1.ActiveSheet.OperationMode = FarPoint.Win.Spread.OperationMode.SingleSelect;

		_with1.SetupComplete();
	}

	public bool ReadIndicatorDataAsync(BackgroundWorker worker, DoWorkEventArgs e)
	{
		ReadIndicatorData();
		return true;
	}

	public delegate void ReadIndicatorDataCallback();
	private void ReadIndicatorData()
	{
		// Can't update the control from another thread, so we use the delegate technique to add to message queue which will be pumped when .NET sees fit.
		if (this.InvokeRequired) {
			ReadIndicatorDataCallback delegateReadIndicatorDataCallback = new ReadIndicatorDataCallback(ReadIndicatorData);
			this.Invoke(delegateReadIndicatorDataCallback, new object[]{});
		} else {
			CRM_MyQuotesExpiringIn7Days.Read();
			IndicatorPanelSalesOrdersEnteredNotProcessed.Read();
			IndicatorPanelSalesOrdersWithBackorders.Read();
			IndicatorPanelSalesOrdersReadyToShip.Manager = this.Manager;
			IndicatorPanelSalesOrdersReadyToShip.Read();
			IndicatorPanelSalesQuotesOpen.Read();
			IndicatorPanelDebtorInvoicesOverdue.Read();
		}
	}

	public bool ReadQuotesDataAsync(BackgroundWorker worker, DoWorkEventArgs e)
	{
		ReadQuotesData();
		return true;
	}

	public bool ReadSalesDataAsync(BackgroundWorker worker, DoWorkEventArgs e)
	{
		ReadSalesSummary();
		return true;
	}

	public bool ReadMyCustomersDataAsync(BackgroundWorker worker, DoWorkEventArgs e)
	{
		ReadMyCustomers();
		return true;
	}

	public void UltraToolbarsManager1_ToolClick1(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
	{
		switch (e.Tool.Key) {
			case "ID_RecordRefresh":
				//re - read
				UltraToolbarsManager1.Tools["ID_RecordRefresh"].SharedProps.Enabled = false;
				indicatorsBackgroundWorker.RunWorkerAsync();
				quotesBackgroundWorker.RunWorkerAsync();
				salesBackgroundWorker.RunWorkerAsync();
				myCustomersBackgroundWorker.RunWorkerAsync();
				break;
//			case "Set Permissions":
//				SetPermissionsForControls();
//				break;
		}
	}

	private void indicatorsBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
	{
		// Get the BackgroundWorker object that raised this event. 
		BackgroundWorker worker = (BackgroundWorker)sender;

		// Assign the result of the computation 
		// to the Result property of the DoWorkEventArgs 
		// object. This is will be available to the  
		// RunWorkerCompleted eventhandler.
		e.Result = ReadIndicatorDataAsync(worker, e);
	}
	//backgroundWorker1_DoWork


	private void indicatorsBackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
	{
		// First, handle the case where an exception was thrown. 
		if ((e.Error != null)) {
			MessageBox.Show(e.Error.Message);
		} else if (e.Cancelled) {
			// Next, handle the case where the user canceled the  
			// operation. 
			// Note that due to a race condition in  
			// the DoWork event handler, the Cancelled 
			// flag may not have been set, even though 
			// CancelAsync was called.
			//resultLabel.Text = "Canceled"
		} else {
			// Finally, handle the case where the operation succeeded.
			//resultLabel.Text = e.Result.ToString()            
		}

		// Enable the refresh tool
		UpdateRefreshTool();
	}

	private void quotesBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
	{
		// Get the BackgroundWorker object that raised this event. 
		BackgroundWorker worker = (BackgroundWorker)sender;

		// Assign the result of the computation 
		// to the Result property of the DoWorkEventArgs 
		// object. This is will be available to the  
		// RunWorkerCompleted eventhandler.
		e.Result = ReadQuotesDataAsync(worker, e);
	}
	//backgroundWorker1_DoWork


	private void quotesBackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
	{
		// First, handle the case where an exception was thrown. 
		if ((e.Error != null)) {
			MessageBox.Show(e.Error.Message);
		} else if (e.Cancelled) {
			// Next, handle the case where the user canceled the  
			// operation. 
			// Note that due to a race condition in  
			// the DoWork event handler, the Cancelled 
			// flag may not have been set, even though 
			// CancelAsync was called.
			//resultLabel.Text = "Canceled"
		} else {
			// Finally, handle the case where the operation succeeded.
			//resultLabel.Text = e.Result.ToString()
			DrawQuotesChart();
		}

		// Enable the refresh tool
		UpdateRefreshTool();
	}

	private void salesBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
	{
		// Get the BackgroundWorker object that raised this event. 
		BackgroundWorker worker = (BackgroundWorker)sender;

		// Assign the result of the computation 
		// to the Result property of the DoWorkEventArgs 
		// object. This is will be available to the  
		// RunWorkerCompleted eventhandler.
		e.Result = ReadSalesDataAsync(worker, e);
	}
	//backgroundWorker1_DoWork


	private void salesBackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
	{
		// First, handle the case where an exception was thrown. 
		if ((e.Error != null)) {
			MessageBox.Show(e.Error.Message);
		} else if (e.Cancelled) {
			// Next, handle the case where the user canceled the  
			// operation. 
			// Note that due to a race condition in  
			// the DoWork event handler, the Cancelled 
			// flag may not have been set, even though 
			// CancelAsync was called.
			//resultLabel.Text = "Canceled"
		} else {
			// Finally, handle the case where the operation succeeded.
			//resultLabel.Text = e.Result.ToString()
			DrawSalesChart();
		}

		// Enable the refresh tool
		UpdateRefreshTool();
	}

	private void myCustomersBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
	{
		// Get the BackgroundWorker object that raised this event. 
		BackgroundWorker worker = (BackgroundWorker)sender;

		// Assign the result of the computation 
		// to the Result property of the DoWorkEventArgs 
		// object. This is will be available to the  
		// RunWorkerCompleted eventhandler.
		e.Result = ReadMyCustomersDataAsync(worker, e);
	}
	//backgroundWorker1_DoWork


	private void myCustomersBackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
	{
		// First, handle the case where an exception was thrown. 
		if ((e.Error != null)) {
			MessageBox.Show(e.Error.Message);
		} else if (e.Cancelled) {
			// Next, handle the case where the user canceled the  
			// operation. 
			// Note that due to a race condition in  
			// the DoWork event handler, the Cancelled 
			// flag may not have been set, even though 
			// CancelAsync was called.
			//resultLabel.Text = "Canceled"
		} else {
			// Finally, handle the case where the operation succeeded.
			//resultLabel.Text = e.Result.ToString() 
			MyCustomersJiwaGrid.BuildGridFromDataReader(MyCustomersSQLReader);
			// Set the row mode to allow multiple selections of debtors
			var _with2 = MyCustomersJiwaGrid;
			_with2.EditModePermanent = false;
			_with2.EditModeReplace = false;
			_with2.SelectionBlockOptions = FarPoint.Win.Spread.SelectionBlockOptions.Rows;
			_with2.ActiveSheet.OperationMode = FarPoint.Win.Spread.OperationMode.MultiSelect;

		}

		if ((MyCustomersSQLReader != null)) {
			MyCustomersSQLReader.Close();
			MyCustomersSQLReader = null;
		}

		// Enable the refresh tool
		UpdateRefreshTool();
	}

	public void UpdateRefreshTool()
	{
		if (indicatorsBackgroundWorker.IsBusy || quotesBackgroundWorker.IsBusy || salesBackgroundWorker.IsBusy || myCustomersBackgroundWorker.IsBusy) {
			UltraToolbarsManager1.Tools["ID_RecordRefresh"].SharedProps.Enabled = false;
		} else {
			UltraToolbarsManager1.Tools["ID_RecordRefresh"].SharedProps.Enabled = true;
		}

	}

	public void DrawQuotesChart()
	{
		QuotesDataTable = new DataTable();

		QuotesDataTable.Columns.Add("Sales Stage", typeof(System.String));
		QuotesDataTable.Columns.Add("PercentComplete", typeof(System.Decimal));
		QuotesDataTable.Columns.Add("Count", typeof(System.Decimal));
		QuotesDataTable.Columns.Add("Value", typeof(System.Decimal));
		QuotesDataTable.Columns.Add("RecID", typeof(System.String));

		foreach (QuoteSummary QuoteSummary in QuotesCollection) {
			if (ShowAllStagesUltraCheckEditor.Checked || QuoteSummary.Count &gt; 0) {
				QuotesDataTable.Rows.Add(new object[] {
					QuoteSummary.SalesStage,
					1,
					QuoteSummary.Count,
					QuoteSummary.Value,
					QuoteSummary.RecID
				});
			}
		}
         
		//Color[] colours = JiwaFinancials.Jiwa.JiwaApplication.Manager.ColourPalette_Primary;
		Color[] colours = this.Manager .ColourPalette_Primary;
		// JiwaFinancials.Jiwa.JiwaApplication.Manager.ColourPalette_Primary.Union(JiwaFinancials.Jiwa.JiwaApplication.Manager.ColourPalette_Secondary).ToArray
		this.QuotesFunnelUltraChart.ColorModel.ModelStyle = ColorModels.CustomLinear;
		this.QuotesFunnelUltraChart.ColorModel.CustomPalette = colours;

		this.QuotesFunnelUltraChart.Tooltips.Format = Infragistics.UltraChart.Shared.Styles.TooltipStyle.Custom;
		Hashtable labelHash = new Hashtable();
		labelHash.Add("MYCUSTOMTOOLTIP", new MyCustomTooltip());
		labelHash.Add("MYCUSTOMLABEL", new MyCustomLabel());
		labelHash.Add("QuotesDataTable", QuotesDataTable);
		this.QuotesFunnelUltraChart.LabelHash = labelHash;
		this.QuotesFunnelUltraChart.Tooltips.FormatString = "&lt;MYCUSTOMTOOLTIP&gt;";

		this.QuotesFunnelUltraChart.FunnelChart.Labels.FormatString = "&lt;MYCUSTOMLABEL&gt;";

		this.QuotesFunnelUltraChart.ChartType = Infragistics.UltraChart.Shared.Styles.ChartType.FunnelChart;
		this.QuotesFunnelUltraChart.FunnelChart.Axis = Infragistics.UltraChart.Shared.Styles.HierarchicalChartAxis.HeightWithSlopeConstant;
		this.QuotesFunnelUltraChart.FunnelChart.Sort = Infragistics.UltraChart.Shared.Styles.SortStyle.Ascending;

		this.QuotesFunnelUltraChart.Data.DataSource = QuotesDataTable;
		this.QuotesFunnelUltraChart.Data.DataBind();

		//Dim Series1 As System.Windows.Forms.DataVisualization.Charting.Series = Chart1.Series("Series1")
		//Series1.Name = "Opportunities"
		//Series1.ChartType = DataVisualization.Charting.SeriesChartType.Funnel
		//Chart1.Series(Series1.Name).MarkerSize = 10
		//Chart1.Series(Series1.Name).LabelFormat = "0.00%"
		//Chart1.Series(Series1.Name).XValueMember = "Sales Stage"
		//Chart1.Series(Series1.Name).YValueMembers = "Count"
		//Chart1.Series(Series1.Name).AxisLabel = "Sales Stage"
		//Chart1.Series(Series1.Name).IsValueShownAsLabel = True
		//Chart1.Series(Series1.Name).IsXValueIndexed = True

		//Me.Chart1.DataSource = QuotesDataTable

	}

	public void ReadQuotesData()
	{
		string Sql = null;
		SqlDataReader SQLReader = null;
		SqlParameter SQLParam = null;

		try {
			var _with3 = Manager.Database;

			QuotesCollection.Clear();

			Sql = "usp_JIWA_Dashboard_CRM_QuoteOpportunity ";


			using (SqlCommand SQLCmd = new SqlCommand(Sql, _with3.SQLConnection, _with3.SQLTransaction)) {

				// timeout is in seconds.
				SQLCmd.CommandType = CommandType.StoredProcedure;

				SQLParam = new SqlParameter("@SP_AsAtDate", System.Data.SqlDbType.DateTime);
				SQLParam.Value = Manager.SysDateTime;
				SQLCmd.Parameters.Add(SQLParam);

				SQLParam = new SqlParameter("@HR_Staff_StaffID", System.Data.SqlDbType.Char);
				SQLParam.Value = Manager.Staff.RecID;
				SQLCmd.Parameters.Add(SQLParam);

				SQLParam = new SqlParameter("@IN_Logical_LogicalID", System.Data.SqlDbType.Char);
				SQLParam.Value = Manager.CurrentLogicalWarehouse.IN_LogicalID;
				SQLCmd.Parameters.Add(SQLParam);

				SQLReader = _with3.ExecuteReader(SQLCmd);

				while (SQLReader.Read() == true) {
					QuoteSummary quoteSummary = new QuoteSummary();

					quoteSummary.RecID = _with3.Sanitise(SQLReader, "RecID").ToString();
					quoteSummary.SalesStage = _with3.Sanitise(SQLReader, "Description").ToString();
					quoteSummary.Count = decimal.Parse( _with3.Sanitise(SQLReader, "Count").ToString());
					quoteSummary.Value = decimal.Parse(_with3.Sanitise(SQLReader, "Value").ToString());
					quoteSummary.PercentComplete =decimal.Parse( _with3.Sanitise(SQLReader, "PercentComplete").ToString());

					QuotesCollection.Add(quoteSummary);
				}

				SQLReader.Close();
			}


		} finally {
			if ((SQLReader != null)) {
				SQLReader.Close();
			}

		}

	}

	public void ReadSalesSummary()
	{
		string Sql = null;
		SqlDataReader SQLReader = null;
		SqlParameter SQLParam = null;

		try {
			SalesMonthlyBalanceCollection.Clear();

			System.DateTime summaryDate = new System.DateTime(Manager.SysDateTime.Year, Manager.SysDateTime.Month, 1);
			for (int monthLoop = 1; monthLoop &lt;= 12; monthLoop++) {
				JiwaFinancials.Jiwa.JiwaDashboardUI.SalesSummary salesSummary = new JiwaFinancials.Jiwa.JiwaDashboardUI.SalesSummary();
				salesSummary.SummaryDate = summaryDate;
				salesSummary.RecID = summaryDate.Year.ToString() + "-" + summaryDate.Month.ToString();
				SalesMonthlyBalanceCollection.Add(salesSummary);
				summaryDate = summaryDate.AddMonths(-1);
			}

			var _with4 = Manager.Database;

			Sql = "usp_JIWA_Dashboard_CRM_MyDebtorSales";

			using (SqlCommand SQLCmd = new SqlCommand(Sql, _with4.SQLConnection, _with4.SQLTransaction)) {

				// timeout is in seconds.
				SQLCmd.CommandType = CommandType.StoredProcedure;

				SQLParam = new SqlParameter("@SP_AsAtDate", System.Data.SqlDbType.DateTime);
				SQLParam.Value = Manager.SysDateTime;
				SQLCmd.Parameters.Add(SQLParam);

				SQLParam = new SqlParameter("@HR_Staff_StaffID", System.Data.SqlDbType.Char);
				SQLParam.Value = Manager.Staff.RecID;
				SQLCmd.Parameters.Add(SQLParam);

				SQLParam = new SqlParameter("@IN_Logical_LogicalID", System.Data.SqlDbType.Char);
				SQLParam.Value = Manager.CurrentLogicalWarehouse.IN_LogicalID;
				SQLCmd.Parameters.Add(SQLParam);

				DataTable debtorIDs = new DataTable();
				debtorIDs.Clear();
				debtorIDs.Columns.Add("RecID");

				// Add the selected debtors from the MyCustomersJiwaGrid (Note if none are selected, then the stored proc is smart enough to link in the debtors linked to the staff member)
				FarPoint.Win.Spread.Model.CellRange[] selectedCells = null;
				selectedCells = MyCustomersJiwaGrid.ActiveSheet.GetSelections();

				foreach (FarPoint.Win.Spread.Model.CellRange selectedCellRange in selectedCells) {
					DataRow debtorRow = debtorIDs.NewRow();
					
					debtorRow["RecID"] = MyCustomersJiwaGrid.get_GridText("DebtorID", selectedCellRange.Row);
					debtorIDs.Rows.Add(debtorRow);
				}

				SQLParam = SQLCmd.Parameters.AddWithValue("@DebtorList", debtorIDs);
				SQLParam.SqlDbType = SqlDbType.Structured;

				SQLReader = _with4.ExecuteReader(SQLCmd);


				while (SQLReader.Read() == true) {
					JiwaFinancials.Jiwa.JiwaDashboardUI.SalesSummary salesSummary = SalesMonthlyBalanceCollection[_with4.Sanitise(SQLReader, "YearNo").ToString() + "-" + _with4.Sanitise(SQLReader, "MonthNo").ToString()];

					if ((salesSummary != null)) {
						salesSummary.Amount =decimal.Parse( _with4.Sanitise(SQLReader, "Amount").ToString());
					} else {
						int yearNo = Convert.ToInt32(_with4.Sanitise(SQLReader, "YearNo")) + 1;
						salesSummary = SalesMonthlyBalanceCollection[yearNo.ToString() + "-" + _with4.Sanitise(SQLReader, "MonthNo").ToString()];
						if ((salesSummary != null)) {
							salesSummary.LYAmount = decimal.Parse(_with4.Sanitise(SQLReader, "Amount").ToString());
						}
					}

				}

				SQLReader.Close();
			}


		} finally {
			if ((SQLReader != null)) {
				SQLReader.Close();
			}

		}

	}

	// Note the below was an attempt to make the chart use datetime data for the x-axis - so when we click on the bar for a particular month we have a date value, not a string,
	// But the chart does not support datetime for x-axis of bar charts, only line charts.
	//Public Sub DrawSalesChart()
	//    SalesMonthlyDataTable = New DataTable

	//    SalesMonthlyDataTable.Columns.Add("Date", GetType(System.DateTime))
	//    SalesMonthlyDataTable.Columns.Add("This Year", GetType(System.Decimal))

	//    If IncludeLastYearSalesUltraCheckEditor.Checked Then
	//        SalesMonthlyDataTable.Columns.Add("Last Year", GetType(System.Decimal))
	//    End If

	//    For index As Integer = 12 To 1 Step -1
	//        If IncludeLastYearSalesUltraCheckEditor.Checked Then
	//            SalesMonthlyDataTable.Rows.Add(New Object() {New DateTime(SalesMonthlyBalanceCollection(index).SummaryDate.Year, SalesMonthlyBalanceCollection(index).SummaryDate.Month, 1), SalesMonthlyBalanceCollection(index).Amount, SalesMonthlyBalanceCollection(index).LYAmount})
	//        Else
	//            SalesMonthlyDataTable.Rows.Add(New Object() {New DateTime(SalesMonthlyBalanceCollection(index).SummaryDate.Year, SalesMonthlyBalanceCollection(index).SummaryDate.Month, 1), SalesMonthlyBalanceCollection(index).Amount})
	//        End If
	//    Next

	//    ' Setup Chart
	//    Me.SalesTransactionUltraChart.Tooltips.Format = Infragistics.UltraChart.Shared.Styles.TooltipStyle.Custom
	//    Me.SalesTransactionUltraChart.Tooltips.FormatString = "$&lt;DATA_VALUE:###,###,###,###&gt;"

	//    ' Change Chart type to "composite"
	//    Me.SalesTransactionUltraChart.ChartType = ChartType.Composite

	//    ' Add a Chart Area
	//    Dim myChartArea As New ChartArea()
	//    myChartArea.Bounds = New Rectangle(0, 0, 100, 100)
	//    myChartArea.BoundsMeasureType = MeasureType.Percentage
	//    Me.SalesTransactionUltraChart.CompositeChart.ChartAreas.Add(myChartArea)

	//    ' Add the X Axis to the chart
	//    Dim axisX As New AxisItem()
	//    axisX.OrientationType = AxisNumber.X_Axis
	//    axisX.DataType = AxisDataType.Time
	//    axisX.Labels.ItemFormat = AxisItemLabelFormat.Custom
	//    axisX.Labels.ItemFormatString = "&lt;ITEM_LABEL: MMM yy&gt;"
	//    axisX.Labels.Layout.Behavior = AxisLabelLayoutBehaviors.UseCollection

	//    ' Add the Y Axis to the chart
	//    Dim axisY As New AxisItem()
	//    axisY.OrientationType = AxisNumber.Y_Axis
	//    axisY.DataType = AxisDataType.Numeric
	//    axisY.Labels.ItemFormatString = "$&lt;DATA_VALUE:###,###,###,###&gt;"

	//    myChartArea.Axes.Add(axisX)
	//    myChartArea.Axes.Add(axisY)

	//    ' Add the series data
	//    Dim series1 As New Infragistics.UltraChart.Resources.Appearance.NumericTimeSeries
	//    series1.Label = "This Year"
	//    series1.DataBind(SalesMonthlyDataTable, "Date", "This Year")
	//    Me.SalesTransactionUltraChart.CompositeChart.Series.Add(series1)

	//    Dim series2 As New Infragistics.UltraChart.Resources.Appearance.NumericTimeSeries
	//    If IncludeLastYearSalesUltraCheckEditor.Checked Then
	//        series2.Label = "Last Year"
	//        series2.DataBind(SalesMonthlyDataTable, "Date", "Last Year")
	//        Me.SalesTransactionUltraChart.CompositeChart.Series.Add(series2)
	//    End If

	//    ' Add a Chart Layer
	//    Dim ChartLayer As New ChartLayerAppearance()
	//    ChartLayer.ChartType = ChartType.BarChart
	//    ChartLayer.ChartArea = myChartArea
	//    ChartLayer.AxisX = axisX
	//    ChartLayer.AxisY = axisY
	//    ChartLayer.Series.Add(series1)

	//    If IncludeLastYearSalesUltraCheckEditor.Checked Then
	//        ChartLayer.Series.Add(series2)
	//    End If

	//    Me.SalesTransactionUltraChart.CompositeChart.ChartLayers.Add(ChartLayer)

	//    ' Add a Legend
	//    'Dim myLegend As New CompositeLegend()
	//    'myLegend.ChartLayers.Add(ChartLayer)
	//    'myLegend.Bounds = New Rectangle(0, 10, 20, 25)
	//    'myLegend.BoundsMeasureType = MeasureType.Percentage
	//    'myLegend.PE.ElementType = PaintElementType.Gradient
	//    'myLegend.PE.FillGradientStyle = GradientStyle.Circular
	//    'myLegend.PE.Fill = Color.Cornsilk
	//    'myLegend.PE.FillStopColor = Color.White
	//    'myLegend.Border.CornerRadius = 10
	//    'myLegend.Border.Thickness = 0
	//    'Me.SalesTransactionUltraChart.CompositeChart.Legends.Add(myLegend)

	//    Me.SalesTransactionUltraChart.Legend.SpanPercentage = 10
	//    Me.SalesTransactionUltraChart.TitleTop.Text = "Sales younger than 12 months (Ex-GST)"

	//    If IncludeLastYearSalesUltraCheckEditor.Checked Then
	//        Me.SalesTransactionUltraChart.Legend.Visible = True
	//    Else
	//        Me.SalesTransactionUltraChart.Legend.Visible = False
	//    End If
	//End Sub

	public void DrawSalesChart()
	{
		SalesMonthlyDataTable = new DataTable();

		SalesMonthlyDataTable.Columns.Add("Date", typeof(System.String));
		SalesMonthlyDataTable.Columns.Add("This Year", typeof(System.Decimal));

		if (IncludeLastYearSalesUltraCheckEditor.Checked) {
			SalesMonthlyDataTable.Columns.Add("Last Year", typeof(System.Decimal));
		}

		for (int index = 12; index &gt;= 1; index += -1) {
			if (IncludeLastYearSalesUltraCheckEditor.Checked) {
				SalesMonthlyDataTable.Rows.Add(new object[] {
					SalesMonthlyBalanceCollection[index].SummaryDate.ToString("MMM yy"),
					SalesMonthlyBalanceCollection[index].Amount,
					SalesMonthlyBalanceCollection[index].LYAmount
				});
			} else {
				SalesMonthlyDataTable.Rows.Add(new object[] {
					SalesMonthlyBalanceCollection[index].SummaryDate.ToString("MMM yy"),
					SalesMonthlyBalanceCollection[index].Amount
				});
			}
		}

		Color[] colours = this.Manager .ColourPalette_Primary;
		this.SalesTransactionUltraChart.ColorModel.ModelStyle = ColorModels.CustomLinear;
		this.SalesTransactionUltraChart.ColorModel.CustomPalette = colours;

		this.SalesTransactionUltraChart.Tooltips.Format = Infragistics.UltraChart.Shared.Styles.TooltipStyle.Custom;
		this.SalesTransactionUltraChart.Tooltips.FormatString = "$&lt;DATA_VALUE:###,###,###,###&gt;";

		this.SalesTransactionUltraChart.Data.DataSource = SalesMonthlyDataTable;
		this.SalesTransactionUltraChart.Data.DataBind();

		this.SalesTransactionUltraChart.Axis.Y.Labels.ItemFormat = Infragistics.UltraChart.Shared.Styles.AxisItemLabelFormat.Custom;
		this.SalesTransactionUltraChart.Axis.Y.Labels.ItemFormatString = "$&lt;DATA_VALUE:###,###,###,###&gt;";
		this.SalesTransactionUltraChart.Axis.Y.Extent = 55;

		this.SalesTransactionUltraChart.ColumnChart.SeriesSpacing = 0;
		this.SalesTransactionUltraChart.Axis.X.Labels.Visible = false;
		this.SalesTransactionUltraChart.Axis.X.Labels.SeriesLabels.Visible = true;
		this.SalesTransactionUltraChart.Axis.X.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.SalesTransactionUltraChart.Axis.X.Extent = 10;

		this.SalesTransactionUltraChart.Legend.SpanPercentage = 10;
		this.SalesTransactionUltraChart.TitleTop.Text = "Sales younger than 12 months (Ex-GST)";

		if (IncludeLastYearSalesUltraCheckEditor.Checked) {
			this.SalesTransactionUltraChart.Legend.Visible = true;
		} else {
			this.SalesTransactionUltraChart.Legend.Visible = false;
		}
	}


	public void ReadMyCustomers()
	{
		if (MyCustomersSQLReader != null) {
			MyCustomersSQLReader.Close();
			MyCustomersSQLReader = null;
		}

		var _with5 = Manager.Database;
		using (System.Data.SqlClient.SqlCommand SQLCmd = new System.Data.SqlClient.SqlCommand("usp_JIWA_NavigationList_MyCustomers", _with5.SQLConnection, _with5.SQLTransaction)) {
			SQLCmd.CommandType = CommandType.StoredProcedure;

			System.Data.SqlClient.SqlParameter staffSQLParameter = new System.Data.SqlClient.SqlParameter("@HR_Staff_StaffID", SqlDbType.Char) { Value = Manager.Staff.RecID };
			SQLCmd.Parameters.Add(staffSQLParameter);

			System.DateTime currentFinancialYearStart = default(System.DateTime);
			Manager.GeneralLedgerConfiguration.GetCurrentYearStartingDate(ref currentFinancialYearStart);
			System.Data.SqlClient.SqlParameter financialYearStartDateSQLParameter = new System.Data.SqlClient.SqlParameter("@SP_FinancialYearStartDate", SqlDbType.DateTime) { Value = currentFinancialYearStart };
			SQLCmd.Parameters.Add(financialYearStartDateSQLParameter);

			System.Data.SqlClient.SqlParameter dateSQLParameter = new System.Data.SqlClient.SqlParameter("@SP_AsAtDate", SqlDbType.DateTime) { Value = Manager.SysDateTime };
			SQLCmd.Parameters.Add(dateSQLParameter);

			MyCustomersSQLReader = _with5.ExecuteReader(SQLCmd);

		}

	}

	private void IncludeLastYearSalesUltraCheckEditor_CheckedChanged(object sender, EventArgs e)
	{
		DrawSalesChart();
	}

	private void ShowAllStagesUltraCheckEditor_CheckedChanged(object sender, EventArgs e)
	{
		DrawQuotesChart();
	}

	private void SalesTransactionUltraChart_ChartDataClicked(object sender, Infragistics.UltraChart.Shared.Events.ChartDataEventArgs e)
	{
		// Turn the date string into a date (need to do this due to limitations on the chart not allowing time series data for barcharts)
		string dateString = SalesMonthlyDataTable.Rows[e.DataRow]["Date"].ToString();
			//.ItemArray.GetValue("Date").ToString();
		int year = int.Parse(dateString.Substring(4)) + 2000;
		int month = 0;
		switch (dateString.Substring(0, 3).ToUpper()) {
			case "JAN":
				month = 1;
				break;
			case "FEB":
				month = 2;
				break;
			case "MAR":
				month = 3;
				break;
			case "APR":
				month = 4;
				break;
			case "MAY":
				month = 5;
				break;
			case "JUN":
				month = 6;
				break;
			case "JUL":
				month = 7;
				break;
			case "AUG":
				month = 8;
				break;
			case "SEP":
				month = 9;
				break;
			case "OCT":
				month = 10;
				break;
			case "NOV":
				month = 11;
				break;
			case "DEC":
				month = 12;
				break;
		}

		System.DateTime dateValue = new DateTime(year, month, 1);
		if (e.ColumnLabel == "Last Year") {
			dateValue = dateValue.AddYears(-1);
		}

		JiwaFinancials.Jiwa.JiwaApplication.NavigationListUI.NavigationList NavigationList = Manager.FormFactory.CreateForm&lt;JiwaFinancials.Jiwa.JiwaApplication.NavigationListUI.NavigationList&gt;(string.Format("Sales For Month {0}", dateValue.ToString("MMM yy")));
		NavigationList.StoredProcName = "usp_JIWA_NavigationList_Dashboard_CRM_MyDebtorSales";

		System.Data.SqlClient.SqlParameter newSQLParameter1 = new System.Data.SqlClient.SqlParameter("@HR_Staff_StaffID", SqlDbType.Char) { Value = Manager.Staff.RecID };
		NavigationList.SQLParameters.Add(newSQLParameter1);

		System.Data.SqlClient.SqlParameter newSQLParameter2 = new System.Data.SqlClient.SqlParameter("@IN_Logical_LogicalID", SqlDbType.Char) { Value = Manager.CurrentLogicalWarehouse.IN_LogicalID };
		NavigationList.SQLParameters.Add(newSQLParameter2);

		System.Data.SqlClient.SqlParameter newSQLParameter3 = new System.Data.SqlClient.SqlParameter("@SP_AsAtDate", SqlDbType.DateTime) { Value = dateValue };
		NavigationList.SQLParameters.Add(newSQLParameter3);

		DataTable debtorIDs = new DataTable();
		debtorIDs.Clear();
		debtorIDs.Columns.Add("RecID");

		// Add the selected debtors from the MyCustomersJiwaGrid (Note if none are selected, then the stored proc is smart enough to link in the debtors linked to the staff member)
		FarPoint.Win.Spread.Model.CellRange[] selectedCells = null;
		selectedCells = MyCustomersJiwaGrid.ActiveSheet.GetSelections();

		foreach (FarPoint.Win.Spread.Model.CellRange selectedCellRange in selectedCells) {
			DataRow debtorRow = debtorIDs.NewRow();
			debtorRow["RecID"] = MyCustomersJiwaGrid.get_GridText("DebtorID", selectedCellRange.Row);
			debtorIDs.Rows.Add(debtorRow);
		}

		System.Data.SqlClient.SqlParameter newSQLParameter4 = new System.Data.SqlClient.SqlParameter("@DebtorList", SqlDbType.Structured);
		newSQLParameter4.Value = debtorIDs;
		NavigationList.SQLParameters.Add(newSQLParameter4);

		NavigationList.Start();

		var _with6 = NavigationList.JiwaGrid1;
		//Show the footer.
		_with6.ActiveSheet.ColumnFooter.Visible = true;
		_with6.ActiveSheet.ColumnFooter.RowCount = 1;
		_with6.ActiveSheet.ColumnFooter.Cells[0, 1].Text = "Total";

		foreach (FarPoint.Win.Spread.Column column in _with6.ActiveSheet.Columns) {
			if (column.CellType is JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaCurrencyCellType) {
				_with6.ActiveSheet.ColumnFooter.SetAggregationType(0, column.Index, FarPoint.Win.Spread.Model.AggregationType.Sum);
				_with6.ActiveSheet.ColumnFooter.Cells[0, column.Index].CellType = column.CellType;
				_with6.ActiveSheet.ColumnFooter.Cells[0, column.Index].HorizontalAlignment = _with6.ActiveSheet.Cells[0, column.Index].HorizontalAlignment;
			}
		}

	}

	private void QuotesFunnelUltraChart_ChartDataClicked(object sender, Infragistics.UltraChart.Shared.Events.ChartDataEventArgs e)
	{
		JiwaFinancials.Jiwa.JiwaApplication.NavigationListUI.NavigationList NavigationList = Manager.FormFactory.CreateForm&lt;JiwaFinancials.Jiwa.JiwaApplication.NavigationListUI.NavigationList&gt;(string.Format("My Quotes ({0})", QuotesDataTable.Rows[e.DataRow]["Sales Stage"]));
		NavigationList.StoredProcName = "usp_JIWA_NavigationList_MyQuotes";

		System.Data.SqlClient.SqlParameter newSQLParameter1 = new System.Data.SqlClient.SqlParameter("@HR_Staff_StaffID", SqlDbType.Char) { Value = Manager.Staff.RecID };
		NavigationList.SQLParameters.Add(newSQLParameter1);

		System.Data.SqlClient.SqlParameter newSQLParameter2 = new System.Data.SqlClient.SqlParameter("@QO_OpportunityStatusReasons_RecID", SqlDbType.Char) { Value = QuotesDataTable.Rows[e.DataRow]["RecID"] };
		NavigationList.SQLParameters.Add(newSQLParameter2);

		NavigationList.Start();

		var _with7 = NavigationList.JiwaGrid1;
		// Show the footer.
		_with7.ActiveSheet.ColumnFooter.Visible = true;
		_with7.ActiveSheet.ColumnFooter.RowCount = 1;

		_with7.ActiveSheet.ColumnFooter.Cells[0, 1].Text = "Total";

		foreach (FarPoint.Win.Spread.Column column in _with7.ActiveSheet.Columns) {
			if (column.CellType is JiwaFinancials.Jiwa.JiwaApplication.JiwaManageGrid.JiwaCurrencyCellType) {
				_with7.ActiveSheet.ColumnFooter.SetAggregationType(0, column.Index, FarPoint.Win.Spread.Model.AggregationType.Sum);
				_with7.ActiveSheet.ColumnFooter.Cells[0, column.Index].CellType = column.CellType;
				_with7.ActiveSheet.ColumnFooter.Cells[0, column.Index].HorizontalAlignment = _with7.ActiveSheet.Cells[0, column.Index].HorizontalAlignment;
			}
		}


	}

	private void MyCustomersJiwaGrid_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
	{
		salesBackgroundWorker.RunWorkerAsync();
	}

	public void PopulateToDosGrid()
	{
		_ToDoList.ReadAssignedToMe();
		DisplayAssignedToMeToDoLines();
	}

	public void DisplayAssignedToMeToDoLines()
	{
		var _with8 = ToDosAssignedToMeJiwaGrid;
		//Clear grid
		if (_with8.ActiveSheet.RowCount &gt; 0) {
			_with8.ActiveSheet.RemoveRows(0, _with8.ActiveSheet.RowCount);
		}

		//Display each ToDo in the grid.
		foreach (JiwaFinancials.Jiwa.JiwaApplication.JiwaToDos.Lister.ToDo exisitingToDo in _ToDoList.ToDosAssignedToMe) {
			_with8.ActiveSheet.RowCount += 1;
			_with8.set_GridText("Key", _with8.ActiveSheet.RowCount - 1, exisitingToDo.RecID);
			DisplayAssignedToMeToDoLine(exisitingToDo, _with8.ActiveSheet.RowCount - 1);
			_with8.ActiveSheet.Rows[_with8.ActiveSheet.RowCount - 1].Locked = true;
		}
	}

	public void DisplayAssignedToMeToDoLine(JiwaFinancials.Jiwa.JiwaApplication.JiwaToDos.Lister.ToDo ToDo, int Row = -1)
	{
		var _with9 = ToDosAssignedToMeJiwaGrid;
		if (Row == -1) {
			string Key = null;
			for (int MyLoop = 0; MyLoop &lt;= _with9.ActiveSheet.RowCount - 1; MyLoop++) {
				Key = _with9.get_GridText("Key", MyLoop).ToString();
				if (Key.Trim() == ToDo.RecID.Trim()) {
					Row = MyLoop;
					break; // TODO: might not be correct. Was : Exit For
				}
			}
		}

		if (Row != -1) {
			// copy col header tag into each cell tag.
			foreach (FarPoint.Win.Spread.Column column in _with9.ActiveSheet.Columns) {
				_with9.ActiveSheet.Cells[Row, column.Index].Tag = _with9.ActiveSheet.ColumnHeader.Cells[1, column.Index].Tag;
			}

			_with9.set_GridText("Key", Row, ToDo.RecID);
			_with9.set_GridText("ToDoNo", Row,ToDo.ToDoNo);
			_with9.SetDrillDown("ToDoNo", Row, "JiwaFinancials.Jiwa.JiwaApplication.JiwaToDosUI.MainForm", ToDo.RecID);
			_with9.set_GridText("Type", Row, ToDo.ToDoType.Description);
			_with9.set_GridText("Subject", Row, ToDo.Subject);
			_with9.set_GridText("DueDate", Row, ToDo.DueDateTime.ToShortDateString());
			_with9.set_GridText("DueTime", Row, ToDo.DueDateTime.ToShortTimeString());
			_with9.set_GridText("Status", Row, ToDo.Status.Description);
			_with9.set_GridText("Status", Row, ToDo.Status.Name);
			_with9.set_GridText("CompletePercentage", Row, ToDo.CompletePercentage / 100);

			// set font for entire row
			if (bool.Parse(ToDo.IsOverdue.ToString())) {
				_with9.ActiveSheet.Rows[Row].ForeColor = System.Drawing.Color.Red;
			} else if (bool.Parse(ToDo.IsDueToday.ToString())) {
				_with9.ActiveSheet.Rows[Row].ForeColor = System.Drawing.Color.Blue;
			} else {
				_with9.ActiveSheet.Rows[Row].ForeColor = System.Drawing.Color.Black;
			}

			if (ToDo.HasBeenRead == false) {
				_with9.ActiveSheet.Rows[Row].Font = new System.Drawing.Font(_with9.Font.FontFamily.Name, _with9.Font.Size, System.Drawing.FontStyle.Bold);
			} else {
				_with9.ActiveSheet.Rows[Row].Font = new System.Drawing.Font(_with9.Font.FontFamily.Name, _with9.Font.Size, System.Drawing.FontStyle.Regular);
			}

			if (bool.Parse(ToDo.IsCompleted.ToString())) {
				_with9.ActiveSheet.Rows[Row].Font = new System.Drawing.Font(_with9.Font.FontFamily.Name, _with9.Font.Size, System.Drawing.FontStyle.Strikeout);
				_with9.ActiveSheet.Rows[Row].ForeColor = System.Drawing.Color.Gray;
			}
		}
	}

}

public class QuoteSummary : JiwaFinancials.Jiwa.JiwaApplication.JiwaCollectionItem&lt;QuoteSummary&gt;
{

	public string SalesStage { get; set; }
	public decimal Count { get; set; }
	public decimal PercentComplete { get; set; }
	public decimal Value { get; set; }


	protected override void iSave()
	{
	}
}


public class MyCustomTooltip : Infragistics.UltraChart.Resources.IRenderLabel
{


	public MyCustomTooltip()
	{
	}
	//New

	public string ToString(System.Collections.Hashtable Context)
	{
		double dataValue = System.Convert.ToDouble(Context["DATA_VALUE"]);
		int dataRow = System.Convert.ToInt32(Context["DATA_ROW"]);
		DataTable QuotesDataTable = (DataTable)Context["QuotesDataTable"];

		decimal quoteCount = (decimal)QuotesDataTable.Rows[dataRow]["Count"];
		decimal quoteValue = (decimal)QuotesDataTable.Rows[dataRow]["Value"];

		return string.Format("{0} {1} ({2:C})", quoteCount, quoteCount &gt; 1 ? "quotes" : "quote", quoteValue);

	}
}

public class MyCustomLabel : Infragistics.UltraChart.Resources.IRenderLabel
{


	public MyCustomLabel()
	{
	}
	//New

	public string ToString(System.Collections.Hashtable Context)
	{
		double dataValue = System.Convert.ToDouble(Context["DATA_VALUE"]);
		int dataRow = System.Convert.ToInt32(Context["DATA_ROW"]);
		DataTable QuotesDataTable = (DataTable)Context["QuotesDataTable"];

		decimal quoteCount = (decimal)QuotesDataTable.Rows[dataRow]["Count"];
		decimal quoteValue = (decimal)QuotesDataTable.Rows[dataRow]["Value"];
		string quoteStage = (string)QuotesDataTable.Rows[dataRow]["Sales Stage"];

		return string.Format("{0}: {1} {2} ({3:C})", quoteStage, quoteCount, quoteCount &gt; 1 ? "quotes" : "quote", quoteValue);

	}
}

[Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]
partial class CRMCS : JiwaFinancials.Jiwa.JiwaApplication.ProcessAction.UserInterface
{

	//Form overrides dispose to clean up the component list.
	[System.Diagnostics.DebuggerNonUserCode()]
	protected override void Dispose(bool disposing)
	{
		try {
			if (disposing &amp;&amp; components != null) {
				components.Dispose();
			}
		} finally {
			base.Dispose(disposing);
		}
	}

	
	public CRMCS()
	{
		//System.Diagnostics.Debugger.Break();
		InitializeComponent();
	}
	
	//Required by the Windows Form Designer

	private System.ComponentModel.IContainer components;
	//NOTE: The following procedure is required by the Windows Form Designer
	//It can be modified using the Windows Form Designer.  
	//Do not modify it using the code editor.
	[System.Diagnostics.DebuggerStepThrough()]
	private void InitializeComponent()
	{
		this.components = new System.ComponentModel.Container();
		FarPoint.Win.Spread.EnhancedFocusIndicatorRenderer EnhancedFocusIndicatorRenderer1 = new FarPoint.Win.Spread.EnhancedFocusIndicatorRenderer();
		FarPoint.Win.Spread.EnhancedScrollBarRenderer EnhancedScrollBarRenderer1 = new FarPoint.Win.Spread.EnhancedScrollBarRenderer();
		FarPoint.Win.Spread.EnhancedScrollBarRenderer EnhancedScrollBarRenderer2 = new FarPoint.Win.Spread.EnhancedScrollBarRenderer();
		FarPoint.Win.Spread.InputMap MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal = default(FarPoint.Win.Spread.InputMap);
		FarPoint.Win.Spread.EnhancedScrollBarRenderer EnhancedScrollBarRenderer3 = new FarPoint.Win.Spread.EnhancedScrollBarRenderer();
		FarPoint.Win.Spread.EnhancedScrollBarRenderer EnhancedScrollBarRenderer4 = new FarPoint.Win.Spread.EnhancedScrollBarRenderer();
		FarPoint.Win.Spread.InputMap ToDosAssignedToMeJiwaGrid_InputMapWhenAncestorOfFocusedNormal = default(FarPoint.Win.Spread.InputMap);
		Infragistics.UltraChart.Resources.Appearance.PaintElement PaintElement1 = new Infragistics.UltraChart.Resources.Appearance.PaintElement();
		Infragistics.UltraChart.Resources.Appearance.GradientEffect GradientEffect1 = new Infragistics.UltraChart.Resources.Appearance.GradientEffect();
		Infragistics.Win.Appearance Appearance1 = new Infragistics.Win.Appearance();
		Infragistics.Win.Appearance Appearance2 = new Infragistics.Win.Appearance();
		Infragistics.Win.Appearance Appearance3 = new Infragistics.Win.Appearance();
		//Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(CRM))
		Infragistics.UltraChart.Resources.Appearance.PaintElement PaintElement2 = new Infragistics.UltraChart.Resources.Appearance.PaintElement();
		Infragistics.UltraChart.Resources.Appearance.GradientEffect GradientEffect2 = new Infragistics.UltraChart.Resources.Appearance.GradientEffect();
		this.UltraPanel1 = new Infragistics.Win.Misc.UltraPanel();
		this.UltraPanel12 = new Infragistics.Win.Misc.UltraPanel();
		this.MyCustomersDashboardPanel = new JiwaFinancials.Jiwa.JiwaDashboardUI.DashboardPanel();
		this.MyCustomersJiwaGrid = new JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid();
		this.MyToDosDashboardPanel = new JiwaFinancials.Jiwa.JiwaDashboardUI.DashboardPanel();
		this.ToDosAssignedToMeJiwaGrid = new JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid();
		this.SalesChartDashboardPanel = new JiwaFinancials.Jiwa.JiwaDashboardUI.DashboardPanel();
		this.IncludeLastYearSalesUltraCheckEditor = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
		this.SalesTransactionUltraChart = new Infragistics.Win.UltraWinChart.UltraChart();
		this.UltraPanel2 = new Infragistics.Win.Misc.UltraPanel();
		this.DateUltraLabel = new Infragistics.Win.Misc.UltraLabel();
		this.UserNameUltraLabel = new Infragistics.Win.Misc.UltraLabel();
		this.StaffPicture = new Infragistics.Win.UltraWinEditors.UltraPictureBox();
		this.DashboardPanelOpportunitiesFunnel = new JiwaFinancials.Jiwa.JiwaDashboardUI.DashboardPanel();
		this.ShowAllStagesUltraCheckEditor = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
		this.QuotesFunnelUltraChart = new Infragistics.Win.UltraWinChart.UltraChart();
		this.DashboardPanelQuotes = new JiwaFinancials.Jiwa.JiwaDashboardUI.DashboardPanel();
		this.IndicatorPanelDebtorInvoicesOverdue = new JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel();
		this.IndicatorPanelSalesOrdersReadyToShip = new JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel();
		this.IndicatorPanelSalesOrdersWithBackorders = new JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel();
		this.IndicatorPanelSalesOrdersEnteredNotProcessed = new JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel();
		this.IndicatorPanelSalesQuotesOpen = new JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel();
		//System.Diagnostics.Debugger.Launch();
		this.CRM_MyQuotesExpiringIn7Days = new JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel();
		this.UltraFlowLayoutManager1 = new Infragistics.Win.Misc.UltraFlowLayoutManager(this.components);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal = new FarPoint.Win.Spread.InputMap();
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent = new FarPoint.Win.Spread.InputMap();
		ToDosAssignedToMeJiwaGrid_InputMapWhenAncestorOfFocusedNormal = new FarPoint.Win.Spread.InputMap();
		((System.ComponentModel.ISupportInitialize)this.UltraToolbarsManager1).BeginInit();
		this.UserInterface_Fill_Panel.ClientArea.SuspendLayout();
		this.UserInterface_Fill_Panel.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.UltraStatusBar1).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.InboxControlStyler1).BeginInit();
		this.UltraPanel1.ClientArea.SuspendLayout();
		this.UltraPanel1.SuspendLayout();
		this.UltraPanel12.ClientArea.SuspendLayout();
		this.UltraPanel12.SuspendLayout();
		this.MyCustomersDashboardPanel.ControlArea.ClientArea.SuspendLayout();
		this.MyCustomersDashboardPanel.ControlArea.SuspendLayout();
		this.MyCustomersDashboardPanel.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.MyCustomersJiwaGrid).BeginInit();
		this.MyToDosDashboardPanel.ControlArea.ClientArea.SuspendLayout();
		this.MyToDosDashboardPanel.ControlArea.SuspendLayout();
		this.MyToDosDashboardPanel.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.ToDosAssignedToMeJiwaGrid).BeginInit();
		this.SalesChartDashboardPanel.ControlArea.ClientArea.SuspendLayout();
		this.SalesChartDashboardPanel.ControlArea.SuspendLayout();
		this.SalesChartDashboardPanel.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.IncludeLastYearSalesUltraCheckEditor).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.SalesTransactionUltraChart).BeginInit();
		this.UltraPanel2.ClientArea.SuspendLayout();
		this.UltraPanel2.SuspendLayout();
		this.DashboardPanelOpportunitiesFunnel.ControlArea.ClientArea.SuspendLayout();
		this.DashboardPanelOpportunitiesFunnel.ControlArea.SuspendLayout();
		this.DashboardPanelOpportunitiesFunnel.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.ShowAllStagesUltraCheckEditor).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.QuotesFunnelUltraChart).BeginInit();
		this.DashboardPanelQuotes.ControlArea.ClientArea.SuspendLayout();
		this.DashboardPanelQuotes.ControlArea.SuspendLayout();
		this.DashboardPanelQuotes.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.UltraFlowLayoutManager1).BeginInit();
		this.SuspendLayout();
		//
		//_UserInterface_Toolbars_Dock_Area_Left
		//
		this._UserInterface_Toolbars_Dock_Area_Left.InitialResizeAreaExtent = 4;
		this._UserInterface_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(4, 748);
		//
		//_UserInterface_Toolbars_Dock_Area_Right
		//
		this._UserInterface_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1509, 147);
		this._UserInterface_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(4, 748);
		//
		//_UserInterface_Toolbars_Dock_Area_Top
		//
		this._UserInterface_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1513, 147);
		//
		//_UserInterface_Toolbars_Dock_Area_Bottom
		//
		this._UserInterface_Toolbars_Dock_Area_Bottom.InitialResizeAreaExtent = 0;
		this._UserInterface_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 895);
		this._UserInterface_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1513, 0);
		//
		//UltraToolbarsManager1
		//
		this.UltraToolbarsManager1.MenuSettings.ForceSerialization = true;
		this.UltraToolbarsManager1.Ribbon.FileMenuStyle = Infragistics.Win.UltraWinToolbars.FileMenuStyle.None;
		this.UltraToolbarsManager1.Ribbon.QuickAccessToolbar.Visible = false;
		this.UltraToolbarsManager1.Ribbon.Visible = true;
		this.UltraToolbarsManager1.ToolbarSettings.ForceSerialization = true;
		//
		//UserInterface_Fill_Panel
		//
		//
		//UserInterface_Fill_Panel.ClientArea
		//
		this.UserInterface_Fill_Panel.ClientArea.Controls.Add(this.UltraPanel1);
		this.UserInterface_Fill_Panel.Location = new System.Drawing.Point(4, 147);
		this.UserInterface_Fill_Panel.Size = new System.Drawing.Size(1505, 748);
		//
		//UltraStatusBar1
		//
		this.UltraStatusBar1.Location = new System.Drawing.Point(0, 895);
		this.UltraStatusBar1.Size = new System.Drawing.Size(1513, 23);
		//
		//UltraPanel1
		//
		//
		//UltraPanel1.ClientArea
		//
		this.UltraPanel1.ClientArea.Controls.Add(this.UltraPanel12);
		this.UltraPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
		this.UltraPanel1.Location = new System.Drawing.Point(0, 0);
		this.UltraPanel1.Name = "UltraPanel1";
		this.UltraPanel1.Size = new System.Drawing.Size(1505, 748);
		this.UltraPanel1.TabIndex = 0;
		//
		//UltraPanel12
		//
		//
		//UltraPanel12.ClientArea
		//
		this.UltraPanel12.ClientArea.Controls.Add(this.MyCustomersDashboardPanel);
		this.UltraPanel12.ClientArea.Controls.Add(this.MyToDosDashboardPanel);
		this.UltraPanel12.ClientArea.Controls.Add(this.SalesChartDashboardPanel);
		this.UltraPanel12.ClientArea.Controls.Add(this.UltraPanel2);
		this.UltraPanel12.ClientArea.Controls.Add(this.DashboardPanelOpportunitiesFunnel);
		this.UltraPanel12.ClientArea.Controls.Add(this.DashboardPanelQuotes);
		this.UltraPanel12.Dock = System.Windows.Forms.DockStyle.Fill;
		this.UltraPanel12.Location = new System.Drawing.Point(0, 0);
		this.UltraPanel12.Name = "UltraPanel12";
		this.UltraPanel12.Size = new System.Drawing.Size(1505, 748);
		this.UltraPanel12.TabIndex = 3;
		//
		//MyCustomersDashboardPanel
		//
		//
		//MyCustomersDashboardPanel.ControlArea
		//
		this.MyCustomersDashboardPanel.ControlArea.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
		//
		//MyCustomersDashboardPanel.ControlArea.ClientArea
		//
		this.MyCustomersDashboardPanel.ControlArea.ClientArea.Controls.Add(this.MyCustomersJiwaGrid);
		this.MyCustomersDashboardPanel.ControlArea.Dock = System.Windows.Forms.DockStyle.Fill;
		this.MyCustomersDashboardPanel.ControlArea.Location = new System.Drawing.Point(0, 23);
		this.MyCustomersDashboardPanel.ControlArea.Name = "ControlArea";
		this.MyCustomersDashboardPanel.ControlArea.Size = new System.Drawing.Size(514, 377);
		this.MyCustomersDashboardPanel.ControlArea.TabIndex = 2;
		this.MyCustomersDashboardPanel.ControlAreaPanel = this.MyCustomersDashboardPanel.ControlArea;
		this.MyCustomersDashboardPanel.Location = new System.Drawing.Point(983, 109);
		this.MyCustomersDashboardPanel.Name = "MyCustomersDashboardPanel";
		this.MyCustomersDashboardPanel.Size = new System.Drawing.Size(514, 400);
		this.MyCustomersDashboardPanel.TabIndex = 89;
		this.MyCustomersDashboardPanel.Title = "My Customers";
		//
		//MyCustomersJiwaGrid
		//
		this.MyCustomersJiwaGrid.AccessibleDescription = "";
		this.MyCustomersJiwaGrid.AllowColumnMove = true;
		this.MyCustomersJiwaGrid.AllowColumnMoveMultiple = true;
		this.MyCustomersJiwaGrid.AllowSorting = true;
		this.MyCustomersJiwaGrid.ButtonDrawMode = FarPoint.Win.Spread.ButtonDrawModes.CurrentRow;
		this.MyCustomersJiwaGrid.ClipboardOptions = FarPoint.Win.Spread.ClipboardOptions.ColumnHeaders;
		this.MyCustomersJiwaGrid.EditModePermanent = true;
		this.MyCustomersJiwaGrid.EditModeReplace = true;
		this.MyCustomersJiwaGrid.FocusRenderer = EnhancedFocusIndicatorRenderer1;
		this.MyCustomersJiwaGrid.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
		this.MyCustomersJiwaGrid.HorizontalScrollBar.Name = "";
		this.MyCustomersJiwaGrid.HorizontalScrollBar.Renderer = EnhancedScrollBarRenderer1;
		this.MyCustomersJiwaGrid.HorizontalScrollBar.TabIndex = 2;
		this.MyCustomersJiwaGrid.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
		this.MyCustomersJiwaGrid.InputMapWhenAncestorOfFocusedNormal = null;
		this.MyCustomersJiwaGrid.Location = new System.Drawing.Point(2, 8);
		this.MyCustomersJiwaGrid.Name = "MyCustomersJiwaGrid";
		this.MyCustomersJiwaGrid.RetainSelectionBlock = false;
		this.MyCustomersJiwaGrid.ScrollBarTrackPolicy = FarPoint.Win.Spread.ScrollBarTrackPolicy.Both;
		this.MyCustomersJiwaGrid.selectedCellRanges = null;
		this.MyCustomersJiwaGrid.ShowCellErrors = true;
		this.MyCustomersJiwaGrid.ShowingTotals = false;
		this.MyCustomersJiwaGrid.Size = new System.Drawing.Size(508, 356);
		this.MyCustomersJiwaGrid.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2007;
		this.MyCustomersJiwaGrid.SourceCollection = null;
		this.InboxControlStyler1.SetStyleSettings(this.MyCustomersJiwaGrid, new Infragistics.Win.AppStyling.Runtime.InboxControlStyleSettings(Infragistics.Win.DefaultableBoolean.Default));
		this.MyCustomersJiwaGrid.TabIndex = 0;
		this.MyCustomersJiwaGrid.TypeCurrencyDecimalPlaces = new decimal(new int[] {
			2,
			0,
			0,
			0
		});
		this.MyCustomersJiwaGrid.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
		this.MyCustomersJiwaGrid.VerticalScrollBar.Name = "";
		this.MyCustomersJiwaGrid.VerticalScrollBar.Renderer = EnhancedScrollBarRenderer2;
		this.MyCustomersJiwaGrid.VerticalScrollBar.TabIndex = 3;
		this.MyCustomersJiwaGrid.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Delete, System.Windows.Forms.Keys.None), "DeleteKey");
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Up, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToPreviousRow);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Down, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextRow);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Left, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToPreviousColumnVisual);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Right, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextColumnVisual);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Up, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToPreviousRow);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Down, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToNextRow);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Left, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToPreviousColumnVisual);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Right, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToNextColumnVisual);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Up, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.MoveToPreviousRow);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Down, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.MoveToNextRow);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Left, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.MoveToPreviousColumnVisual);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Right, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.MoveToNextColumnVisual);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Up, (System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToPreviousRow);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Down, (System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToNextRow);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Left, (System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToPreviousColumnVisual);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Right, (System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToNextColumnVisual);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.PageUp, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToPreviousPageOfRows);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Next, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextPageOfRows);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.PageUp, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.MoveToPreviousPageOfColumns);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Next, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.MoveToNextPageOfColumns);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.PageUp, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToPreviousPageOfRows);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Next, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToNextPageOfRows);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.PageUp, (System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToPreviousPageOfColumns);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Next, (System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToNextPageOfColumns);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Home, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToFirstColumn);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.End, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToLastColumn);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Home, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.MoveToFirstCell);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.End, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.MoveToLastCell);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Home, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToFirstColumn);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.End, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToLastColumn);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Home, (System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToFirstCell);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.End, (System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ExtendToLastCell);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Space, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.SelectColumn);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Space, (System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.SelectSheet);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Escape, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.CancelEditing);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Return, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.StopEditing);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Tab, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextColumnWrap);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Tab, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.MoveToPreviousColumnWrap);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.F2, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.ClearCell);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.F3, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.DateTimeNow);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.F4, System.Windows.Forms.Keys.None), FarPoint.Win.Spread.SpreadActions.ShowSubEditor);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Down, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ComboShowList);
		MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Parent.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Up, (System.Windows.Forms.Keys)(System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.None)), FarPoint.Win.Spread.SpreadActions.ComboShowList);
		this.MyCustomersJiwaGrid.SetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused, FarPoint.Win.Spread.OperationMode.Normal, MyCustomersJiwaGrid_InputMapWhenAncestorOfFocusedNormal);
		//
		//MyToDosDashboardPanel
		//
		//
		//MyToDosDashboardPanel.ControlArea
		//
		this.MyToDosDashboardPanel.ControlArea.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
		//
		//MyToDosDashboardPanel.ControlArea.ClientArea
		//
		this.MyToDosDashboardPanel.ControlArea.ClientArea.Controls.Add(this.ToDosAssignedToMeJiwaGrid);
		this.MyToDosDashboardPanel.ControlArea.Dock = System.Windows.Forms.DockStyle.Fill;
		this.MyToDosDashboardPanel.ControlArea.Location = new System.Drawing.Point(0, 23);
		this.MyToDosDashboardPanel.ControlArea.Name = "ControlArea";
		this.MyToDosDashboardPanel.ControlArea.Size = new System.Drawing.Size(514, 206);
		this.MyToDosDashboardPanel.ControlArea.TabIndex = 2;
		this.MyToDosDashboardPanel.ControlAreaPanel = this.MyToDosDashboardPanel.ControlArea;
		this.MyToDosDashboardPanel.Location = new System.Drawing.Point(983, 515);
		this.MyToDosDashboardPanel.Name = "MyToDosDashboardPanel";
		this.MyToDosDashboardPanel.Size = new System.Drawing.Size(514, 229);
		this.MyToDosDashboardPanel.TabIndex = 88;
		this.MyToDosDashboardPanel.Title = "My To-Do's";
		//
		//ToDosAssignedToMeJiwaGrid
		//
		this.ToDosAssignedToMeJiwaGrid.AccessibleDescription = "";
		this.ToDosAssignedToMeJiwaGrid.AllowColumnMove = true;
		this.ToDosAssignedToMeJiwaGrid.AllowColumnMoveMultiple = true;
		this.ToDosAssignedToMeJiwaGrid.AllowSorting = true;
		this.ToDosAssignedToMeJiwaGrid.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left);
		this.ToDosAssignedToMeJiwaGrid.ButtonDrawMode = FarPoint.Win.Spread.ButtonDrawModes.CurrentRow;
		this.ToDosAssignedToMeJiwaGrid.ClipboardOptions = FarPoint.Win.Spread.ClipboardOptions.ColumnHeaders;
		this.ToDosAssignedToMeJiwaGrid.EditModePermanent = true;
		this.ToDosAssignedToMeJiwaGrid.EditModeReplace = true;
		this.ToDosAssignedToMeJiwaGrid.FocusRenderer = EnhancedFocusIndicatorRenderer1;
		this.ToDosAssignedToMeJiwaGrid.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
		this.ToDosAssignedToMeJiwaGrid.HorizontalScrollBar.Name = "";
		this.ToDosAssignedToMeJiwaGrid.HorizontalScrollBar.Renderer = EnhancedScrollBarRenderer3;
		this.ToDosAssignedToMeJiwaGrid.HorizontalScrollBar.TabIndex = 2;
		this.ToDosAssignedToMeJiwaGrid.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
		this.ToDosAssignedToMeJiwaGrid.InputMapWhenAncestorOfFocusedNormal = null;
		this.ToDosAssignedToMeJiwaGrid.Location = new System.Drawing.Point(2, 5);
		this.ToDosAssignedToMeJiwaGrid.Name = "ToDosAssignedToMeJiwaGrid";
		this.ToDosAssignedToMeJiwaGrid.RetainSelectionBlock = false;
		this.ToDosAssignedToMeJiwaGrid.ScrollBarTrackPolicy = FarPoint.Win.Spread.ScrollBarTrackPolicy.Both;
		this.ToDosAssignedToMeJiwaGrid.selectedCellRanges = null;
		this.ToDosAssignedToMeJiwaGrid.ShowCellErrors = true;
		this.ToDosAssignedToMeJiwaGrid.ShowingTotals = false;
		this.ToDosAssignedToMeJiwaGrid.Size = new System.Drawing.Size(508, 195);
		this.ToDosAssignedToMeJiwaGrid.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2007;
		this.ToDosAssignedToMeJiwaGrid.SourceCollection = null;
		this.InboxControlStyler1.SetStyleSettings(this.ToDosAssignedToMeJiwaGrid, new Infragistics.Win.AppStyling.Runtime.InboxControlStyleSettings(Infragistics.Win.DefaultableBoolean.Default));
		this.ToDosAssignedToMeJiwaGrid.TabIndex = 36;
		this.ToDosAssignedToMeJiwaGrid.TypeCurrencyDecimalPlaces = new decimal(new int[] {
			2,
			0,
			0,
			0
		});
		this.ToDosAssignedToMeJiwaGrid.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
		this.ToDosAssignedToMeJiwaGrid.VerticalScrollBar.Name = "";
		this.ToDosAssignedToMeJiwaGrid.VerticalScrollBar.Renderer = EnhancedScrollBarRenderer4;
		this.ToDosAssignedToMeJiwaGrid.VerticalScrollBar.TabIndex = 3;
		this.ToDosAssignedToMeJiwaGrid.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
		ToDosAssignedToMeJiwaGrid_InputMapWhenAncestorOfFocusedNormal.Put(new FarPoint.Win.Spread.Keystroke(System.Windows.Forms.Keys.Delete, System.Windows.Forms.Keys.None), "DeleteKey");
		this.ToDosAssignedToMeJiwaGrid.SetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused, FarPoint.Win.Spread.OperationMode.Normal, ToDosAssignedToMeJiwaGrid_InputMapWhenAncestorOfFocusedNormal);
		//
		//SalesChartDashboardPanel
		//
		//
		//SalesChartDashboardPanel.ControlArea
		//
		this.SalesChartDashboardPanel.ControlArea.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
		//
		//SalesChartDashboardPanel.ControlArea.ClientArea
		//
		this.SalesChartDashboardPanel.ControlArea.ClientArea.Controls.Add(this.IncludeLastYearSalesUltraCheckEditor);
		this.SalesChartDashboardPanel.ControlArea.ClientArea.Controls.Add(this.SalesTransactionUltraChart);
		this.SalesChartDashboardPanel.ControlArea.Dock = System.Windows.Forms.DockStyle.Fill;
		this.SalesChartDashboardPanel.ControlArea.Location = new System.Drawing.Point(0, 23);
		this.SalesChartDashboardPanel.ControlArea.Name = "ControlArea";
		this.SalesChartDashboardPanel.ControlArea.Size = new System.Drawing.Size(967, 206);
		this.SalesChartDashboardPanel.ControlArea.TabIndex = 2;
		this.SalesChartDashboardPanel.ControlAreaPanel = this.SalesChartDashboardPanel.ControlArea;
		this.SalesChartDashboardPanel.Location = new System.Drawing.Point(10, 515);
		this.SalesChartDashboardPanel.Name = "SalesChartDashboardPanel";
		this.SalesChartDashboardPanel.Size = new System.Drawing.Size(967, 229);
		this.SalesChartDashboardPanel.TabIndex = 87;
		this.SalesChartDashboardPanel.Title = "Sales History (Last 12 Months)";
		//
		//IncludeLastYearSalesUltraCheckEditor
		//
		this.IncludeLastYearSalesUltraCheckEditor.Location = new System.Drawing.Point(2, 5);
		this.IncludeLastYearSalesUltraCheckEditor.Name = "IncludeLastYearSalesUltraCheckEditor";
		this.IncludeLastYearSalesUltraCheckEditor.Size = new System.Drawing.Size(192, 20);
		this.IncludeLastYearSalesUltraCheckEditor.TabIndex = 36;
		this.IncludeLastYearSalesUltraCheckEditor.Text = "Include Last Year";
		//
		//SalesTransactionUltraChart
		//
		this.SalesTransactionUltraChart.Axis.BackColor = System.Drawing.Color.FromArgb(Convert.ToInt32(Convert.ToByte(255)), Convert.ToInt32(Convert.ToByte(248)), Convert.ToInt32(Convert.ToByte(220)));
		PaintElement1.ElementType = Infragistics.UltraChart.Shared.Styles.PaintElementType.None;
		PaintElement1.Fill = System.Drawing.Color.FromArgb(Convert.ToInt32(Convert.ToByte(255)), Convert.ToInt32(Convert.ToByte(248)), Convert.ToInt32(Convert.ToByte(220)));
		this.SalesTransactionUltraChart.Axis.PE = PaintElement1;
		this.SalesTransactionUltraChart.Axis.X.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.X.Labels.FontColor = System.Drawing.Color.DimGray;
		this.SalesTransactionUltraChart.Axis.X.Labels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.SalesTransactionUltraChart.Axis.X.Labels.ItemFormatString = "&lt;ITEM_LABEL&gt;";
		this.SalesTransactionUltraChart.Axis.X.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.X.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
		this.SalesTransactionUltraChart.Axis.X.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.X.Labels.SeriesLabels.FontColor = System.Drawing.Color.DimGray;
		this.SalesTransactionUltraChart.Axis.X.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.X.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.X.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.SalesTransactionUltraChart.Axis.X.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.X.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.X.LineThickness = 1;
		this.SalesTransactionUltraChart.Axis.X.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.X.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.SalesTransactionUltraChart.Axis.X.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.X.MajorGridLines.Visible = true;
		this.SalesTransactionUltraChart.Axis.X.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.X.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.SalesTransactionUltraChart.Axis.X.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.X.MinorGridLines.Visible = false;
		this.SalesTransactionUltraChart.Axis.X.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.SalesTransactionUltraChart.Axis.X.Visible = true;
		this.SalesTransactionUltraChart.Axis.X2.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.X2.Labels.FontColor = System.Drawing.Color.Gray;
		this.SalesTransactionUltraChart.Axis.X2.Labels.HorizontalAlign = System.Drawing.StringAlignment.Far;
		this.SalesTransactionUltraChart.Axis.X2.Labels.ItemFormatString = "&lt;ITEM_LABEL&gt;";
		this.SalesTransactionUltraChart.Axis.X2.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.X2.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
		this.SalesTransactionUltraChart.Axis.X2.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.X2.Labels.SeriesLabels.FontColor = System.Drawing.Color.Gray;
		this.SalesTransactionUltraChart.Axis.X2.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.X2.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.X2.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.SalesTransactionUltraChart.Axis.X2.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.X2.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.X2.Labels.Visible = false;
		this.SalesTransactionUltraChart.Axis.X2.LineThickness = 1;
		this.SalesTransactionUltraChart.Axis.X2.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.X2.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.SalesTransactionUltraChart.Axis.X2.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.X2.MajorGridLines.Visible = true;
		this.SalesTransactionUltraChart.Axis.X2.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.X2.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.SalesTransactionUltraChart.Axis.X2.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.X2.MinorGridLines.Visible = false;
		this.SalesTransactionUltraChart.Axis.X2.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.SalesTransactionUltraChart.Axis.X2.Visible = false;
		this.SalesTransactionUltraChart.Axis.Y.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.Y.Labels.FontColor = System.Drawing.Color.DimGray;
		this.SalesTransactionUltraChart.Axis.Y.Labels.HorizontalAlign = System.Drawing.StringAlignment.Far;
		this.SalesTransactionUltraChart.Axis.Y.Labels.ItemFormatString = "&lt;DATA_VALUE:00.##&gt;";
		this.SalesTransactionUltraChart.Axis.Y.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.Y.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.SalesTransactionUltraChart.Axis.Y.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.Y.Labels.SeriesLabels.FontColor = System.Drawing.Color.DimGray;
		this.SalesTransactionUltraChart.Axis.Y.Labels.SeriesLabels.FormatString = "";
		this.SalesTransactionUltraChart.Axis.Y.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Far;
		this.SalesTransactionUltraChart.Axis.Y.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.Y.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
		this.SalesTransactionUltraChart.Axis.Y.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.Y.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.Y.LineThickness = 1;
		this.SalesTransactionUltraChart.Axis.Y.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.Y.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.SalesTransactionUltraChart.Axis.Y.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.Y.MajorGridLines.Visible = true;
		this.SalesTransactionUltraChart.Axis.Y.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.Y.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.SalesTransactionUltraChart.Axis.Y.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.Y.MinorGridLines.Visible = false;
		this.SalesTransactionUltraChart.Axis.Y.TickmarkInterval = 100.0;
		this.SalesTransactionUltraChart.Axis.Y.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.SalesTransactionUltraChart.Axis.Y.Visible = true;
		this.SalesTransactionUltraChart.Axis.Y2.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.Y2.Labels.FontColor = System.Drawing.Color.Gray;
		this.SalesTransactionUltraChart.Axis.Y2.Labels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.SalesTransactionUltraChart.Axis.Y2.Labels.ItemFormatString = "&lt;DATA_VALUE:00.##&gt;";
		this.SalesTransactionUltraChart.Axis.Y2.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.Y2.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.SalesTransactionUltraChart.Axis.Y2.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.Y2.Labels.SeriesLabels.FontColor = System.Drawing.Color.Gray;
		this.SalesTransactionUltraChart.Axis.Y2.Labels.SeriesLabels.FormatString = "";
		this.SalesTransactionUltraChart.Axis.Y2.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.SalesTransactionUltraChart.Axis.Y2.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.Y2.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
		this.SalesTransactionUltraChart.Axis.Y2.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.Y2.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.Y2.Labels.Visible = false;
		this.SalesTransactionUltraChart.Axis.Y2.LineThickness = 1;
		this.SalesTransactionUltraChart.Axis.Y2.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.Y2.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.SalesTransactionUltraChart.Axis.Y2.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.Y2.MajorGridLines.Visible = true;
		this.SalesTransactionUltraChart.Axis.Y2.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.Y2.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.SalesTransactionUltraChart.Axis.Y2.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.Y2.MinorGridLines.Visible = false;
		this.SalesTransactionUltraChart.Axis.Y2.TickmarkInterval = 100.0;
		this.SalesTransactionUltraChart.Axis.Y2.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.SalesTransactionUltraChart.Axis.Y2.Visible = false;
		this.SalesTransactionUltraChart.Axis.Z.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.Z.Labels.FontColor = System.Drawing.Color.DimGray;
		this.SalesTransactionUltraChart.Axis.Z.Labels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.SalesTransactionUltraChart.Axis.Z.Labels.ItemFormatString = "&lt;ITEM_LABEL&gt;";
		this.SalesTransactionUltraChart.Axis.Z.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.Z.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.SalesTransactionUltraChart.Axis.Z.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.Z.Labels.SeriesLabels.FontColor = System.Drawing.Color.DimGray;
		this.SalesTransactionUltraChart.Axis.Z.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.SalesTransactionUltraChart.Axis.Z.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.Z.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.SalesTransactionUltraChart.Axis.Z.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.Z.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.Z.Labels.Visible = false;
		this.SalesTransactionUltraChart.Axis.Z.LineThickness = 1;
		this.SalesTransactionUltraChart.Axis.Z.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.Z.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.SalesTransactionUltraChart.Axis.Z.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.Z.MajorGridLines.Visible = true;
		this.SalesTransactionUltraChart.Axis.Z.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.Z.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.SalesTransactionUltraChart.Axis.Z.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.Z.MinorGridLines.Visible = false;
		this.SalesTransactionUltraChart.Axis.Z.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.SalesTransactionUltraChart.Axis.Z.Visible = false;
		this.SalesTransactionUltraChart.Axis.Z2.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.Z2.Labels.FontColor = System.Drawing.Color.Gray;
		this.SalesTransactionUltraChart.Axis.Z2.Labels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.SalesTransactionUltraChart.Axis.Z2.Labels.ItemFormatString = "&lt;ITEM_LABEL&gt;";
		this.SalesTransactionUltraChart.Axis.Z2.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.Z2.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.SalesTransactionUltraChart.Axis.Z2.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.SalesTransactionUltraChart.Axis.Z2.Labels.SeriesLabels.FontColor = System.Drawing.Color.Gray;
		this.SalesTransactionUltraChart.Axis.Z2.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.SalesTransactionUltraChart.Axis.Z2.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.SalesTransactionUltraChart.Axis.Z2.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.SalesTransactionUltraChart.Axis.Z2.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.Z2.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.SalesTransactionUltraChart.Axis.Z2.Labels.Visible = false;
		this.SalesTransactionUltraChart.Axis.Z2.LineThickness = 1;
		this.SalesTransactionUltraChart.Axis.Z2.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.Z2.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.SalesTransactionUltraChart.Axis.Z2.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.Z2.MajorGridLines.Visible = true;
		this.SalesTransactionUltraChart.Axis.Z2.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.SalesTransactionUltraChart.Axis.Z2.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.SalesTransactionUltraChart.Axis.Z2.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.SalesTransactionUltraChart.Axis.Z2.MinorGridLines.Visible = false;
		this.SalesTransactionUltraChart.Axis.Z2.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.SalesTransactionUltraChart.Axis.Z2.Visible = false;
		this.SalesTransactionUltraChart.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
		this.SalesTransactionUltraChart.ColorModel.AlphaLevel = Convert.ToByte(150);
		this.SalesTransactionUltraChart.ColorModel.ColorBegin = System.Drawing.Color.Pink;
		this.SalesTransactionUltraChart.ColorModel.ColorEnd = System.Drawing.Color.DarkRed;
		this.SalesTransactionUltraChart.ColorModel.ModelStyle = Infragistics.UltraChart.Shared.Styles.ColorModels.CustomLinear;
		this.SalesTransactionUltraChart.Effects.Effects.Add(GradientEffect1);
		this.SalesTransactionUltraChart.Location = new System.Drawing.Point(2, 29);
		this.SalesTransactionUltraChart.Name = "SalesTransactionUltraChart";
		this.SalesTransactionUltraChart.Size = new System.Drawing.Size(961, 171);
		this.SalesTransactionUltraChart.TabIndex = 35;
		this.SalesTransactionUltraChart.Tooltips.HighlightFillColor = System.Drawing.Color.DimGray;
		this.SalesTransactionUltraChart.Tooltips.HighlightOutlineColor = System.Drawing.Color.DarkGray;
		//
		//UltraPanel2
		//
		//
		//UltraPanel2.ClientArea
		//
		this.UltraPanel2.ClientArea.Controls.Add(this.DateUltraLabel);
		this.UltraPanel2.ClientArea.Controls.Add(this.UserNameUltraLabel);
		this.UltraPanel2.ClientArea.Controls.Add(this.StaffPicture);
		this.UltraPanel2.Location = new System.Drawing.Point(10, 6);
		this.UltraPanel2.Name = "UltraPanel2";
		this.UltraPanel2.Size = new System.Drawing.Size(584, 97);
		this.UltraPanel2.TabIndex = 86;
		//
		//DateUltraLabel
		//
		Appearance1.BackColor = System.Drawing.Color.Transparent;
		this.DateUltraLabel.Appearance = Appearance1;
		this.DateUltraLabel.Font = new System.Drawing.Font("Segoe UI", 15.75f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
		this.DateUltraLabel.Location = new System.Drawing.Point(107, 35);
		this.DateUltraLabel.Name = "DateUltraLabel";
		this.DateUltraLabel.Size = new System.Drawing.Size(480, 34);
		this.DateUltraLabel.TabIndex = 88;
		this.DateUltraLabel.Text = "As At 25 June 2015";
		//
		//UserNameUltraLabel
		//
		Appearance2.BackColor = System.Drawing.Color.Transparent;
		this.UserNameUltraLabel.Appearance = Appearance2;
		this.UserNameUltraLabel.Font = new System.Drawing.Font("Segoe UI", 15.75f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
		this.UserNameUltraLabel.Location = new System.Drawing.Point(107, 3);
		this.UserNameUltraLabel.Name = "UserNameUltraLabel";
		this.UserNameUltraLabel.Size = new System.Drawing.Size(480, 42);
		this.UserNameUltraLabel.TabIndex = 87;
		this.UserNameUltraLabel.Text = "CRM Dashboard For Mr John Smith";
		//
		//StaffPicture
		//
		Appearance3.BackColor = System.Drawing.Color.Transparent;
		Appearance3.BackColor2 = System.Drawing.Color.Transparent;
		Appearance3.BackColorAlpha = Infragistics.Win.Alpha.Transparent;
		this.StaffPicture.Appearance = Appearance3;
		this.StaffPicture.BorderShadowColor = System.Drawing.Color.Empty;
		this.StaffPicture.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
		//Me.StaffPicture.DefaultImage = CType(resources.GetObject("StaffPicture.DefaultImage"), System.Drawing.Image)
		//Me.StaffPicture.Image = CType(resources.GetObject("StaffPicture.Image"), Object)
		this.StaffPicture.ImageTransparentColor = System.Drawing.Color.White;
		this.StaffPicture.Location = new System.Drawing.Point(3, 3);
		this.StaffPicture.Name = "StaffPicture";
		this.StaffPicture.Size = new System.Drawing.Size(98, 94);
		this.StaffPicture.TabIndex = 86;
		//
		//DashboardPanelOpportunitiesFunnel
		//
		//
		//DashboardPanelOpportunitiesFunnel.ControlArea
		//
		this.DashboardPanelOpportunitiesFunnel.ControlArea.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
		//
		//DashboardPanelOpportunitiesFunnel.ControlArea.ClientArea
		//
		this.DashboardPanelOpportunitiesFunnel.ControlArea.ClientArea.Controls.Add(this.ShowAllStagesUltraCheckEditor);
		this.DashboardPanelOpportunitiesFunnel.ControlArea.ClientArea.Controls.Add(this.QuotesFunnelUltraChart);
		this.InboxControlStyler1.SetStyleSettings(this.DashboardPanelOpportunitiesFunnel.ControlArea.ClientArea, new Infragistics.Win.AppStyling.Runtime.InboxControlStyleSettings(Infragistics.Win.DefaultableBoolean.Default));
		this.DashboardPanelOpportunitiesFunnel.ControlArea.Dock = System.Windows.Forms.DockStyle.Fill;
		this.DashboardPanelOpportunitiesFunnel.ControlArea.Location = new System.Drawing.Point(0, 23);
		this.DashboardPanelOpportunitiesFunnel.ControlArea.Name = "ControlArea";
		this.DashboardPanelOpportunitiesFunnel.ControlArea.Size = new System.Drawing.Size(698, 377);
		this.DashboardPanelOpportunitiesFunnel.ControlArea.TabIndex = 2;
		this.DashboardPanelOpportunitiesFunnel.ControlAreaPanel = this.DashboardPanelOpportunitiesFunnel.ControlArea;
		this.DashboardPanelOpportunitiesFunnel.Location = new System.Drawing.Point(279, 109);
		this.DashboardPanelOpportunitiesFunnel.Name = "DashboardPanelOpportunitiesFunnel";
		this.DashboardPanelOpportunitiesFunnel.Size = new System.Drawing.Size(698, 400);
		this.DashboardPanelOpportunitiesFunnel.TabIndex = 42;
		this.DashboardPanelOpportunitiesFunnel.Title = "Opportunities Funnel";
		//
		//ShowAllStagesUltraCheckEditor
		//
		this.ShowAllStagesUltraCheckEditor.Location = new System.Drawing.Point(2, 8);
		this.ShowAllStagesUltraCheckEditor.Name = "ShowAllStagesUltraCheckEditor";
		this.ShowAllStagesUltraCheckEditor.Size = new System.Drawing.Size(192, 20);
		this.ShowAllStagesUltraCheckEditor.TabIndex = 37;
		this.ShowAllStagesUltraCheckEditor.Text = "Show All Sales Stages";
		//
		//			'UltraChart' properties's serialization: Since 'ChartType' changes the way axes look,
		//			'ChartType' must be persisted ahead of any Axes change made in design time.
		//		
		this.QuotesFunnelUltraChart.ChartType = Infragistics.UltraChart.Shared.Styles.ChartType.FunnelChart;
		//
		//QuotesFunnelUltraChart
		//
		this.QuotesFunnelUltraChart.Axis.BackColor = System.Drawing.Color.FromArgb(Convert.ToInt32(Convert.ToByte(255)), Convert.ToInt32(Convert.ToByte(248)), Convert.ToInt32(Convert.ToByte(220)));
		PaintElement2.ElementType = Infragistics.UltraChart.Shared.Styles.PaintElementType.None;
		PaintElement2.Fill = System.Drawing.Color.FromArgb(Convert.ToInt32(Convert.ToByte(255)), Convert.ToInt32(Convert.ToByte(248)), Convert.ToInt32(Convert.ToByte(220)));
		this.QuotesFunnelUltraChart.Axis.PE = PaintElement2;
		this.QuotesFunnelUltraChart.Axis.X.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.X.Labels.FontColor = System.Drawing.Color.DimGray;
		this.QuotesFunnelUltraChart.Axis.X.Labels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.QuotesFunnelUltraChart.Axis.X.Labels.ItemFormatString = "&lt;ITEM_LABEL&gt;";
		this.QuotesFunnelUltraChart.Axis.X.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.X.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
		this.QuotesFunnelUltraChart.Axis.X.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.X.Labels.SeriesLabels.FontColor = System.Drawing.Color.DimGray;
		this.QuotesFunnelUltraChart.Axis.X.Labels.SeriesLabels.FormatString = "";
		this.QuotesFunnelUltraChart.Axis.X.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.QuotesFunnelUltraChart.Axis.X.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.X.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
		this.QuotesFunnelUltraChart.Axis.X.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.X.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.X.LineThickness = 1;
		this.QuotesFunnelUltraChart.Axis.X.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.X.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.QuotesFunnelUltraChart.Axis.X.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.X.MajorGridLines.Visible = true;
		this.QuotesFunnelUltraChart.Axis.X.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.X.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.QuotesFunnelUltraChart.Axis.X.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.X.MinorGridLines.Visible = false;
		this.QuotesFunnelUltraChart.Axis.X.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.QuotesFunnelUltraChart.Axis.X.Visible = true;
		this.QuotesFunnelUltraChart.Axis.X2.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.X2.Labels.FontColor = System.Drawing.Color.Gray;
		this.QuotesFunnelUltraChart.Axis.X2.Labels.HorizontalAlign = System.Drawing.StringAlignment.Far;
		this.QuotesFunnelUltraChart.Axis.X2.Labels.ItemFormatString = "";
		this.QuotesFunnelUltraChart.Axis.X2.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.X2.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
		this.QuotesFunnelUltraChart.Axis.X2.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.X2.Labels.SeriesLabels.FontColor = System.Drawing.Color.Gray;
		this.QuotesFunnelUltraChart.Axis.X2.Labels.SeriesLabels.FormatString = "";
		this.QuotesFunnelUltraChart.Axis.X2.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Far;
		this.QuotesFunnelUltraChart.Axis.X2.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.X2.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
		this.QuotesFunnelUltraChart.Axis.X2.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.X2.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.X2.Labels.Visible = false;
		this.QuotesFunnelUltraChart.Axis.X2.LineThickness = 1;
		this.QuotesFunnelUltraChart.Axis.X2.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.X2.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.QuotesFunnelUltraChart.Axis.X2.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.X2.MajorGridLines.Visible = true;
		this.QuotesFunnelUltraChart.Axis.X2.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.X2.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.QuotesFunnelUltraChart.Axis.X2.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.X2.MinorGridLines.Visible = false;
		this.QuotesFunnelUltraChart.Axis.X2.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.QuotesFunnelUltraChart.Axis.X2.Visible = false;
		this.QuotesFunnelUltraChart.Axis.Y.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.Y.Labels.FontColor = System.Drawing.Color.DimGray;
		this.QuotesFunnelUltraChart.Axis.Y.Labels.HorizontalAlign = System.Drawing.StringAlignment.Far;
		this.QuotesFunnelUltraChart.Axis.Y.Labels.ItemFormatString = "&lt;DATA_VALUE:00.##&gt;";
		this.QuotesFunnelUltraChart.Axis.Y.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.Y.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.QuotesFunnelUltraChart.Axis.Y.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.Y.Labels.SeriesLabels.FontColor = System.Drawing.Color.DimGray;
		this.QuotesFunnelUltraChart.Axis.Y.Labels.SeriesLabels.FormatString = "";
		this.QuotesFunnelUltraChart.Axis.Y.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Far;
		this.QuotesFunnelUltraChart.Axis.Y.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.Y.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.QuotesFunnelUltraChart.Axis.Y.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.Y.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.Y.LineThickness = 1;
		this.QuotesFunnelUltraChart.Axis.Y.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.Y.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.QuotesFunnelUltraChart.Axis.Y.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.Y.MajorGridLines.Visible = true;
		this.QuotesFunnelUltraChart.Axis.Y.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.Y.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.QuotesFunnelUltraChart.Axis.Y.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.Y.MinorGridLines.Visible = false;
		this.QuotesFunnelUltraChart.Axis.Y.TickmarkInterval = 10.0;
		this.QuotesFunnelUltraChart.Axis.Y.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.QuotesFunnelUltraChart.Axis.Y.Visible = true;
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.FontColor = System.Drawing.Color.Gray;
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.ItemFormatString = "";
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.SeriesLabels.FontColor = System.Drawing.Color.Gray;
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.SeriesLabels.FormatString = "";
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.Y2.Labels.Visible = false;
		this.QuotesFunnelUltraChart.Axis.Y2.LineThickness = 1;
		this.QuotesFunnelUltraChart.Axis.Y2.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.Y2.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.QuotesFunnelUltraChart.Axis.Y2.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.Y2.MajorGridLines.Visible = true;
		this.QuotesFunnelUltraChart.Axis.Y2.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.Y2.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.QuotesFunnelUltraChart.Axis.Y2.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.Y2.MinorGridLines.Visible = false;
		this.QuotesFunnelUltraChart.Axis.Y2.TickmarkInterval = 10.0;
		this.QuotesFunnelUltraChart.Axis.Y2.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.QuotesFunnelUltraChart.Axis.Y2.Visible = false;
		this.QuotesFunnelUltraChart.Axis.Z.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.Z.Labels.FontColor = System.Drawing.Color.DimGray;
		this.QuotesFunnelUltraChart.Axis.Z.Labels.HorizontalAlign = System.Drawing.StringAlignment.Far;
		this.QuotesFunnelUltraChart.Axis.Z.Labels.ItemFormatString = "";
		this.QuotesFunnelUltraChart.Axis.Z.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.Z.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.QuotesFunnelUltraChart.Axis.Z.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.Z.Labels.SeriesLabels.FontColor = System.Drawing.Color.DimGray;
		this.QuotesFunnelUltraChart.Axis.Z.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Far;
		this.QuotesFunnelUltraChart.Axis.Z.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.Z.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.QuotesFunnelUltraChart.Axis.Z.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.Z.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.Z.LineThickness = 1;
		this.QuotesFunnelUltraChart.Axis.Z.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.Z.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.QuotesFunnelUltraChart.Axis.Z.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.Z.MajorGridLines.Visible = true;
		this.QuotesFunnelUltraChart.Axis.Z.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.Z.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.QuotesFunnelUltraChart.Axis.Z.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.Z.MinorGridLines.Visible = false;
		this.QuotesFunnelUltraChart.Axis.Z.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.QuotesFunnelUltraChart.Axis.Z.Visible = true;
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.FontColor = System.Drawing.Color.Gray;
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.ItemFormatString = "";
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.SeriesLabels.FontColor = System.Drawing.Color.Gray;
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Near;
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
		this.QuotesFunnelUltraChart.Axis.Z2.Labels.Visible = false;
		this.QuotesFunnelUltraChart.Axis.Z2.LineThickness = 1;
		this.QuotesFunnelUltraChart.Axis.Z2.MajorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.Z2.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
		this.QuotesFunnelUltraChart.Axis.Z2.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.Z2.MajorGridLines.Visible = true;
		this.QuotesFunnelUltraChart.Axis.Z2.MinorGridLines.AlphaLevel = Convert.ToByte(255);
		this.QuotesFunnelUltraChart.Axis.Z2.MinorGridLines.Color = System.Drawing.Color.LightGray;
		this.QuotesFunnelUltraChart.Axis.Z2.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
		this.QuotesFunnelUltraChart.Axis.Z2.MinorGridLines.Visible = false;
		this.QuotesFunnelUltraChart.Axis.Z2.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
		this.QuotesFunnelUltraChart.Axis.Z2.Visible = false;
		this.QuotesFunnelUltraChart.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
		this.QuotesFunnelUltraChart.ColorModel.AlphaLevel = Convert.ToByte(150);
		this.QuotesFunnelUltraChart.ColorModel.ColorBegin = System.Drawing.Color.Pink;
		this.QuotesFunnelUltraChart.ColorModel.ColorEnd = System.Drawing.Color.DarkRed;
		this.QuotesFunnelUltraChart.ColorModel.ModelStyle = Infragistics.UltraChart.Shared.Styles.ColorModels.CustomLinear;
		this.QuotesFunnelUltraChart.Effects.Effects.Add(GradientEffect2);
		this.QuotesFunnelUltraChart.Location = new System.Drawing.Point(2, 34);
		this.QuotesFunnelUltraChart.Name = "QuotesFunnelUltraChart";
		this.QuotesFunnelUltraChart.Size = new System.Drawing.Size(692, 339);
		this.QuotesFunnelUltraChart.TabIndex = 0;
		this.QuotesFunnelUltraChart.Tooltips.HighlightFillColor = System.Drawing.Color.DimGray;
		this.QuotesFunnelUltraChart.Tooltips.HighlightOutlineColor = System.Drawing.Color.DarkGray;
		//
		//DashboardPanelQuotes
		//
		//
		//DashboardPanelQuotes.ControlArea
		//
		this.DashboardPanelQuotes.ControlArea.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
		//
		//DashboardPanelQuotes.ControlArea.ClientArea
		//
		this.DashboardPanelQuotes.ControlArea.ClientArea.Controls.Add(this.IndicatorPanelDebtorInvoicesOverdue);
		this.DashboardPanelQuotes.ControlArea.ClientArea.Controls.Add(this.IndicatorPanelSalesOrdersReadyToShip);
		this.DashboardPanelQuotes.ControlArea.ClientArea.Controls.Add(this.IndicatorPanelSalesOrdersWithBackorders);
		this.DashboardPanelQuotes.ControlArea.ClientArea.Controls.Add(this.IndicatorPanelSalesOrdersEnteredNotProcessed);
		this.DashboardPanelQuotes.ControlArea.ClientArea.Controls.Add(this.IndicatorPanelSalesQuotesOpen);
		this.DashboardPanelQuotes.ControlArea.ClientArea.Controls.Add(this.CRM_MyQuotesExpiringIn7Days);
		this.InboxControlStyler1.SetStyleSettings(this.DashboardPanelQuotes.ControlArea.ClientArea, new Infragistics.Win.AppStyling.Runtime.InboxControlStyleSettings(Infragistics.Win.DefaultableBoolean.Default));
		this.DashboardPanelQuotes.ControlArea.Dock = System.Windows.Forms.DockStyle.Fill;
		this.DashboardPanelQuotes.ControlArea.Location = new System.Drawing.Point(0, 23);
		this.DashboardPanelQuotes.ControlArea.Name = "ControlArea";
		this.DashboardPanelQuotes.ControlArea.Size = new System.Drawing.Size(263, 377);
		this.DashboardPanelQuotes.ControlArea.TabIndex = 2;
		this.DashboardPanelQuotes.ControlAreaPanel = this.DashboardPanelQuotes.ControlArea;
		this.DashboardPanelQuotes.Location = new System.Drawing.Point(10, 109);
		this.DashboardPanelQuotes.Name = "DashboardPanelQuotes";
		this.DashboardPanelQuotes.Size = new System.Drawing.Size(263, 400);
		this.DashboardPanelQuotes.TabIndex = 36;
		this.DashboardPanelQuotes.Title = "Quotes And Sales";
		//
		//IndicatorPanelDebtorInvoicesOverdue
		//
		this.IndicatorPanelDebtorInvoicesOverdue.Caption = "Invoices Overdue";
		this.IndicatorPanelDebtorInvoicesOverdue.Location = new System.Drawing.Point(137, 252);
		this.IndicatorPanelDebtorInvoicesOverdue.Name = "IndicatorPanelDebtorInvoicesOverdue";
		this.IndicatorPanelDebtorInvoicesOverdue.NavigationListStoredProc = null;
		this.IndicatorPanelDebtorInvoicesOverdue.Size = new System.Drawing.Size(112, 112);
		this.IndicatorPanelDebtorInvoicesOverdue.StackSize = 0;
		this.IndicatorPanelDebtorInvoicesOverdue.StoredProcName = "";
		this.IndicatorPanelDebtorInvoicesOverdue.TabIndex = 46;
		this.IndicatorPanelDebtorInvoicesOverdue.Value = 99;
		//
		//IndicatorPanelSalesOrdersReadyToShip
		//
		this.IndicatorPanelSalesOrdersReadyToShip.Caption = "Sales Orders Ready to Ship";
		this.IndicatorPanelSalesOrdersReadyToShip.Location = new System.Drawing.Point(12, 252);
		this.IndicatorPanelSalesOrdersReadyToShip.Name = "IndicatorPanelSalesOrdersReadyToShip";
		this.IndicatorPanelSalesOrdersReadyToShip.NavigationListStoredProc = null;
		this.IndicatorPanelSalesOrdersReadyToShip.Size = new System.Drawing.Size(112, 112);
		this.IndicatorPanelSalesOrdersReadyToShip.StackSize = 0;
		this.IndicatorPanelSalesOrdersReadyToShip.StoredProcName = "";
		this.IndicatorPanelSalesOrdersReadyToShip.TabIndex = 7;
		this.IndicatorPanelSalesOrdersReadyToShip.Value = 99;
		//
		//IndicatorPanelSalesOrdersWithBackorders
		//
		this.IndicatorPanelSalesOrdersWithBackorders.Caption = "Sales Orders With Backorders";
		this.IndicatorPanelSalesOrdersWithBackorders.Location = new System.Drawing.Point(137, 130);
		this.IndicatorPanelSalesOrdersWithBackorders.Name = "IndicatorPanelSalesOrdersWithBackorders";
		this.IndicatorPanelSalesOrdersWithBackorders.NavigationListStoredProc = null;
		this.IndicatorPanelSalesOrdersWithBackorders.Size = new System.Drawing.Size(112, 112);
		this.IndicatorPanelSalesOrdersWithBackorders.StackSize = 0;
		this.IndicatorPanelSalesOrdersWithBackorders.StoredProcName = "";
		this.IndicatorPanelSalesOrdersWithBackorders.TabIndex = 6;
		this.IndicatorPanelSalesOrdersWithBackorders.Value = 99;
		//
		//IndicatorPanelSalesOrdersEnteredNotProcessed
		//
		this.IndicatorPanelSalesOrdersEnteredNotProcessed.Caption = "Sales Orders Entered Not Processed";
		this.IndicatorPanelSalesOrdersEnteredNotProcessed.Location = new System.Drawing.Point(12, 130);
		this.IndicatorPanelSalesOrdersEnteredNotProcessed.Name = "IndicatorPanelSalesOrdersEnteredNotProcessed";
		this.IndicatorPanelSalesOrdersEnteredNotProcessed.NavigationListStoredProc = null;
		this.IndicatorPanelSalesOrdersEnteredNotProcessed.Size = new System.Drawing.Size(112, 112);
		this.IndicatorPanelSalesOrdersEnteredNotProcessed.StackSize = 0;
		this.IndicatorPanelSalesOrdersEnteredNotProcessed.StoredProcName = "";
		this.IndicatorPanelSalesOrdersEnteredNotProcessed.TabIndex = 5;
		this.IndicatorPanelSalesOrdersEnteredNotProcessed.Value = 99;
		//
		//IndicatorPanelSalesQuotesOpen
		//
		this.IndicatorPanelSalesQuotesOpen.Caption = "Open Quotes";
		this.IndicatorPanelSalesQuotesOpen.Location = new System.Drawing.Point(137, 8);
		this.IndicatorPanelSalesQuotesOpen.Name = "IndicatorPanelSalesQuotesOpen";
		this.IndicatorPanelSalesQuotesOpen.NavigationListStoredProc = null;
		this.IndicatorPanelSalesQuotesOpen.Size = new System.Drawing.Size(112, 112);
		this.IndicatorPanelSalesQuotesOpen.StackSize = 0;
		this.IndicatorPanelSalesQuotesOpen.StoredProcName = "";
		this.IndicatorPanelSalesQuotesOpen.TabIndex = 4;
		this.IndicatorPanelSalesQuotesOpen.Value = 99;
		//
		//CRM_MyQuotesExpiringIn7Days
		//
		this.CRM_MyQuotesExpiringIn7Days.Caption = "My Quotes Expiring in 7 Days";
		this.CRM_MyQuotesExpiringIn7Days.Location = new System.Drawing.Point(12, 8);
		this.CRM_MyQuotesExpiringIn7Days.Name = "CRM_MyQuotesExpiringIn7Days";
		this.CRM_MyQuotesExpiringIn7Days.NavigationListStoredProc = null;
		this.CRM_MyQuotesExpiringIn7Days.Size = new System.Drawing.Size(112, 112);
		this.CRM_MyQuotesExpiringIn7Days.StackSize = 0;
		this.CRM_MyQuotesExpiringIn7Days.StoredProcName = "";
		this.CRM_MyQuotesExpiringIn7Days.TabIndex = 0;
		this.CRM_MyQuotesExpiringIn7Days.Value = 99;
		//
		//CRM
		//
		this.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
		this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
		this.ClientSize = new System.Drawing.Size(1513, 918);
		this.Name = "CRM";
		this.InboxControlStyler1.SetStyleSettings(this, new Infragistics.Win.AppStyling.Runtime.InboxControlStyleSettings(Infragistics.Win.DefaultableBoolean.Default));
		this.Text = "CRM Dashboard";
		((System.ComponentModel.ISupportInitialize)this.UltraToolbarsManager1).EndInit();
		this.UserInterface_Fill_Panel.ClientArea.ResumeLayout(false);
		this.UserInterface_Fill_Panel.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.UltraStatusBar1).EndInit();
		((System.ComponentModel.ISupportInitialize)this.InboxControlStyler1).EndInit();
		this.UltraPanel1.ClientArea.ResumeLayout(false);
		this.UltraPanel1.ResumeLayout(false);
		this.UltraPanel12.ClientArea.ResumeLayout(false);
		this.UltraPanel12.ResumeLayout(false);
		this.MyCustomersDashboardPanel.ControlArea.ClientArea.ResumeLayout(false);
		this.MyCustomersDashboardPanel.ControlArea.ResumeLayout(false);
		this.MyCustomersDashboardPanel.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.MyCustomersJiwaGrid).EndInit();
		this.MyToDosDashboardPanel.ControlArea.ClientArea.ResumeLayout(false);
		this.MyToDosDashboardPanel.ControlArea.ResumeLayout(false);
		this.MyToDosDashboardPanel.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.ToDosAssignedToMeJiwaGrid).EndInit();
		this.SalesChartDashboardPanel.ControlArea.ClientArea.ResumeLayout(false);
		this.SalesChartDashboardPanel.ControlArea.ResumeLayout(false);
		this.SalesChartDashboardPanel.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.IncludeLastYearSalesUltraCheckEditor).EndInit();
		((System.ComponentModel.ISupportInitialize)this.SalesTransactionUltraChart).EndInit();
		this.UltraPanel2.ClientArea.ResumeLayout(false);
		this.UltraPanel2.ResumeLayout(false);
		this.DashboardPanelOpportunitiesFunnel.ControlArea.ClientArea.ResumeLayout(false);
		this.DashboardPanelOpportunitiesFunnel.ControlArea.ResumeLayout(false);
		this.DashboardPanelOpportunitiesFunnel.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.ShowAllStagesUltraCheckEditor).EndInit();
		((System.ComponentModel.ISupportInitialize)this.QuotesFunnelUltraChart).EndInit();
		this.DashboardPanelQuotes.ControlArea.ClientArea.ResumeLayout(false);
		this.DashboardPanelQuotes.ControlArea.ResumeLayout(false);
		this.DashboardPanelQuotes.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.UltraFlowLayoutManager1).EndInit();
		this.ResumeLayout(false);

	}
	public Infragistics.Win.Misc.UltraPanel UltraPanel1;
	public Infragistics.Win.Misc.UltraFlowLayoutManager UltraFlowLayoutManager1;
	public Infragistics.Win.Misc.UltraPanel UltraPanel12;
	public JiwaFinancials.Jiwa.JiwaDashboardUI.DashboardPanel DashboardPanelQuotes;
	public JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel CRM_MyQuotesExpiringIn7Days;
	public JiwaFinancials.Jiwa.JiwaDashboardUI.DashboardPanel DashboardPanelOpportunitiesFunnel;
	public JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel IndicatorPanelSalesQuotesOpen;
	public JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel IndicatorPanelDebtorInvoicesOverdue;
	public JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel IndicatorPanelSalesOrdersReadyToShip;
	public JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel IndicatorPanelSalesOrdersWithBackorders;
	public JiwaFinancials.Jiwa.JiwaDashboardUI.IndicatorPanel IndicatorPanelSalesOrdersEnteredNotProcessed;
	public Infragistics.Win.Misc.UltraPanel UltraPanel2;
	public Infragistics.Win.Misc.UltraLabel DateUltraLabel;
	public Infragistics.Win.Misc.UltraLabel UserNameUltraLabel;
	public Infragistics.Win.UltraWinEditors.UltraPictureBox StaffPicture;
	public JiwaFinancials.Jiwa.JiwaDashboardUI.DashboardPanel SalesChartDashboardPanel;
	public Infragistics.Win.UltraWinEditors.UltraCheckEditor IncludeLastYearSalesUltraCheckEditor;
	public Infragistics.Win.UltraWinChart.UltraChart SalesTransactionUltraChart;
	private Infragistics.Win.UltraWinChart.UltraChart QuotesFunnelUltraChart;
	public Infragistics.Win.UltraWinEditors.UltraCheckEditor ShowAllStagesUltraCheckEditor;
	public JiwaFinancials.Jiwa.JiwaDashboardUI.DashboardPanel MyToDosDashboardPanel;
	public JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid ToDosAssignedToMeJiwaGrid;
	public JiwaFinancials.Jiwa.JiwaDashboardUI.DashboardPanel MyCustomersDashboardPanel;

	public JiwaFinancials.Jiwa.JiwaApplication.Controls.JiwaGrid MyCustomersJiwaGrid;
}


</Code>
  <ExceptionPolicy>Report</ExceptionPolicy>
  <Language>CSharp</Language>
  <ReferenceCollection>
    <Reference>
      <RecID>11e59c00-7ee5-4feb-95a0-bf2b27c9ceb5</RecID>
      <AssemblyFullName>JiwaApplication, Version=7.0.182.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaApplication.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaApplication.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>fae2fb13-0b0a-48cd-a1b9-b72256da4e95</RecID>
      <AssemblyFullName>mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>mscorlib.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>e1aed594-b8e5-438e-86a5-e99e8405f026</RecID>
      <AssemblyFullName>System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>d92e2b76-2ce9-486c-92f0-7ac3eaa6d4f1</RecID>
      <AssemblyFullName>Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</AssemblyFullName>
      <AssemblyName>Microsoft.VisualBasic.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>1421ffef-3aed-4a88-8b1e-ab444c7792b1</RecID>
      <AssemblyFullName>System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</AssemblyFullName>
      <AssemblyName>System.Drawing.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>b8b55082-ac8a-44df-bf7c-71b610ef4caa</RecID>
      <AssemblyFullName>JiwaODBC, Version=7.0.182.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaODBC.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaODBC.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>a92daa9c-cd53-4029-8227-72845c805c2f</RecID>
      <AssemblyFullName>System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Data.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>8df402bd-bfaa-461f-9081-50dc4f783f9d</RecID>
      <AssemblyFullName>System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Xml.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>bf302d1c-063c-49a0-9b7c-908f7d5ff7b6</RecID>
      <AssemblyFullName>System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Runtime.Serialization.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>215e0607-3181-4334-afbf-d2887b9f840a</RecID>
      <AssemblyFullName>System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Windows.Forms.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>b1a617b3-5abd-4027-8524-9f9bc1ce9a66</RecID>
      <AssemblyFullName>JiwaServiceModel, Version=7.0.182.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaServiceModel.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaServiceModel.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>c9817b3a-9451-4990-a4ee-a559561180fa</RecID>
      <AssemblyFullName>Infragistics4.Win.Misc.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.Misc.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.Misc.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.Misc.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>9b6b0e06-1b0a-432f-b21c-e31c2ac9c51d</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinEditors.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinEditors.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinEditors.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinEditors.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>5ae3f4cb-2387-4991-949d-ec4ac96764df</RecID>
      <AssemblyFullName>Infragistics4.Win.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>b23ec037-35ba-4a84-a42e-1545aaa9aa41</RecID>
      <AssemblyFullName>Microsoft.SqlServer.Smo, Version=14.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91</AssemblyFullName>
      <AssemblyName>Microsoft.SqlServer.Smo.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Microsoft.SqlServer.Smo.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>2fcc8302-b8c3-48f4-a2f7-cc6bd24b93b3</RecID>
      <AssemblyFullName>Microsoft.SqlServer.ConnectionInfo, Version=14.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91</AssemblyFullName>
      <AssemblyName>Microsoft.SqlServer.ConnectionInfo.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Microsoft.SqlServer.ConnectionInfo.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>e8e5f68a-03c0-4a61-90b9-021f3194a1d9</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinExplorerBar.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinExplorerBar.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinExplorerBar.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinExplorerBar.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>921c90ae-fab6-497d-8070-a169fc3ae828</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinTree.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinTree.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinTree.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinTree.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>27f512af-13c8-47f6-98e6-1c81a7ffcc7b</RecID>
      <AssemblyFullName>FarPoint.Win.Spread, Version=8.35.20151.0, Culture=neutral, PublicKeyToken=327c3516b1b18457</AssemblyFullName>
      <AssemblyName>FarPoint.Win.Spread.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\FarPoint.Win.Spread\8.35.20151.0__327c3516b1b18457\FarPoint.Win.Spread.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>1fd5b5d3-155e-4f6f-884f-ac6992c22e3b</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinTabControl.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinTabControl.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinTabControl.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinTabControl.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>470a49d7-c5a1-49d7-9935-d943a1127bcd</RecID>
      <AssemblyFullName>Infragistics4.Shared.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Shared.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Shared.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Shared.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>e97c3f8a-dd51-4f34-b489-47da10839877</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinToolbars.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinToolbars.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinToolbars.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinToolbars.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>1330fc53-5eaa-4f7b-9ee6-cb413ec08bc6</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinStatusBar.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinStatusBar.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinStatusBar.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinStatusBar.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>ab067310-7479-4c02-b7b5-a93de9e78b0a</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinSchedule.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinSchedule.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinSchedule.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinSchedule.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>4ebad114-3448-4d51-a0e5-9072082d8e56</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinListView.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinListView.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinListView.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinListView.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>c1dee83a-cece-48d3-bb1e-7448eef51c70</RecID>
      <AssemblyFullName>ServiceStack, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e06fbc6124f57c43</AssemblyFullName>
      <AssemblyName>ServiceStack.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\ServiceStack.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>a61747c9-1f08-4791-a78d-8cc068546a82</RecID>
      <AssemblyFullName>EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>EntityFramework.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\EntityFramework.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>9079fd91-30e5-45f5-ab54-f0f0c2e48af1</RecID>
      <AssemblyFullName>System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>System.Core.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>dae2b6a5-71a7-4ab6-808e-d4e8cff20d11</RecID>
      <AssemblyFullName>ActiproSoftware.SyntaxEditor.WinForms, Version=16.1.330.0, Culture=neutral, PublicKeyToken=c27e062d3c1a4763</AssemblyFullName>
      <AssemblyName>ActiproSoftware.SyntaxEditor.WinForms.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\ActiproSoftware.SyntaxEditor.WinForms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>fa6b4c99-b5ea-4f4f-8d50-7599cf9693d4</RecID>
      <AssemblyFullName>ZetaHtmlEditControl, Version=1.1.0.3, Culture=neutral, PublicKeyToken=2e2e5ba5da72b6c0</AssemblyFullName>
      <AssemblyName>ZetaHtmlEditControl.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\ZetaHtmlEditControl.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>5a40ae1f-2162-4231-871b-ec8595d35530</RecID>
      <AssemblyFullName>ActiproSoftware.SyntaxEditor.Addons.DotNet.WinForms, Version=16.1.330.0, Culture=neutral, PublicKeyToken=c27e062d3c1a4763</AssemblyFullName>
      <AssemblyName>ActiproSoftware.SyntaxEditor.Addons.DotNet.WinForms.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\ActiproSoftware.SyntaxEditor.Addons.DotNet.WinForms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>15749b72-8459-465f-b526-9b37accdd373</RecID>
      <AssemblyFullName>JiwaEncryption, Version=7.0.182.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaEncryption.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaEncryption.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f7851d2f-9eb3-411b-a3bb-8e11cd6150c6</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinGrid.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinGrid.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinGrid.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinGrid.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>89682dd6-efc6-48fa-8f03-0eb318fcbbf0</RecID>
      <AssemblyFullName>Microsoft.SqlServer.Dac, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</AssemblyFullName>
      <AssemblyName>Microsoft.SqlServer.Dac.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Microsoft.SqlServer.Dac.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f0b867fd-b56c-42f1-8b3d-fe26d9398667</RecID>
      <AssemblyFullName>CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.CrystalReports.Engine.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.2000.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>83014acf-611a-4c39-9be6-9e7cedef7c80</RecID>
      <AssemblyFullName>CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.Shared.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.Shared\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Shared.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>cfe3528f-4e29-417a-aa67-d7bb5d1bf469</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.Controllers.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.ReportAppServer.Controllers\13.0.2000.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.Controllers.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>b98c8c47-c151-487b-97bf-f5068a758b68</RecID>
      <AssemblyFullName>Infragistics4.Win.AppStylistSupport.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.AppStylistSupport.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.AppStylistSupport.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.AppStylistSupport.v13.1.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>5269a9e5-4040-4cb2-bd79-b8e0109be059</RecID>
      <AssemblyFullName>JiwaLib, Version=7.0.182.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaLib.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaLib.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>46683c6b-1e12-4804-aa31-09109b34fe63</RecID>
      <AssemblyFullName>Microsoft.ApplicationInsights, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</AssemblyFullName>
      <AssemblyName>Microsoft.ApplicationInsights.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Microsoft.ApplicationInsights.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>3f8426be-99d9-41fb-9b5d-f330d8d222c1</RecID>
      <AssemblyFullName>CrystalDecisions.Windows.Forms, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.Windows.Forms.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.Windows.Forms\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Windows.Forms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>79192ac4-012d-413a-9acd-484c8228c9c1</RecID>
      <AssemblyFullName>Microsoft.Office.Interop.Outlook, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</AssemblyFullName>
      <AssemblyName>Microsoft.Office.Interop.Outlook.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\Microsoft.Office.Interop.Outlook.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>8a4ffc19-b06b-4a44-b8b9-4a264a2b8c8e</RecID>
      <AssemblyFullName>EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</AssemblyFullName>
      <AssemblyName>EntityFramework.SqlServer.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\EntityFramework.SqlServer.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>d199e1b9-0772-40df-be56-d77a85684ee7</RecID>
      <AssemblyFullName>ActiproSoftware.Shared.WinForms, Version=16.1.330.0, Culture=neutral, PublicKeyToken=c27e062d3c1a4763</AssemblyFullName>
      <AssemblyName>ActiproSoftware.Shared.WinForms.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\ActiproSoftware.Shared.WinForms.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>6b66effb-cc3c-4cd7-ae66-2ae20bcdc133</RecID>
      <AssemblyFullName>System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</AssemblyFullName>
      <AssemblyName>System.Security.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Security\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Security.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>221f657a-5000-4284-a3df-28b6ec76080b</RecID>
      <AssemblyFullName>ServiceStack.Text, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e06fbc6124f57c43</AssemblyFullName>
      <AssemblyName>ServiceStack.Text.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\ServiceStack.Text.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>fe53ddec-849d-41d3-bc5e-2a430f5a340e</RecID>
      <AssemblyFullName>FarPoint.Win, Version=8.35.20151.0, Culture=neutral, PublicKeyToken=327c3516b1b18457</AssemblyFullName>
      <AssemblyName>FarPoint.Win.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\FarPoint.Win\8.35.20151.0__327c3516b1b18457\FarPoint.Win.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>56e27429-263c-4a7f-a93a-3789bc72cdea</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.ClientDoc.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.ReportAppServer.ClientDoc\13.0.2000.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.ClientDoc.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f41be248-ac23-40a0-909d-ac83633121f8</RecID>
      <AssemblyFullName>CrystalDecisions.ReportAppServer.ReportDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304</AssemblyFullName>
      <AssemblyName>CrystalDecisions.ReportAppServer.ReportDefModel.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\assembly\GAC_MSIL\CrystalDecisions.ReportAppServer.ReportDefModel\13.0.2000.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.ReportDefModel.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>baa33b4d-483d-4142-b594-1a0e93e6d4c1</RecID>
      <AssemblyFullName>ServiceStack.Interfaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e06fbc6124f57c43</AssemblyFullName>
      <AssemblyName>ServiceStack.Interfaces.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\ServiceStack.Interfaces.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>58872529-56f7-492c-b2ec-81143e35f828</RecID>
      <AssemblyFullName>ServiceStack.Server, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = e06fbc6124f57c43</AssemblyFullName>
      <AssemblyName>ServiceStack.Server.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\ServiceStack.Server.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>3cf4556e-62e3-4be2-8d87-e4642226fc2e</RecID>
      <AssemblyFullName>ServiceStack.OrmLite, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = e06fbc6124f57c43</AssemblyFullName>
      <AssemblyName>ServiceStack.OrmLite.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\ServiceStack.OrmLite.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>f314f7b1-79de-4bff-8065-f04f68afbbcc</RecID>
      <AssemblyFullName>JiwaDashboardUI, Version=7.0.182.0, Culture=neutral, PublicKeyToken=e30ce81e37f29c8c</AssemblyFullName>
      <AssemblyName>JiwaDashboardUI.dll</AssemblyName>
      <AssemblyLocation>C:\Program Files (x86)\Jiwa Financials\Jiwa 7\JiwaDashboardUI.dll</AssemblyLocation>
    </Reference>
    <Reference>
      <RecID>978b8fae-07e8-4ef6-8b95-a7702cf76134</RecID>
      <AssemblyFullName>Infragistics4.Win.UltraWinChart.v13.1, Version=13.1.20131.2060, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</AssemblyFullName>
      <AssemblyName>Infragistics4.Win.UltraWinChart.v13.1.dll</AssemblyName>
      <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Infragistics4.Win.UltraWinChart.v13.1\v4.0_13.1.20131.2060__7dd5c3163f2cd0cb\Infragistics4.Win.UltraWinChart.v13.1.dll</AssemblyLocation>
    </Reference>
  </ReferenceCollection>
</JiwaDocument>