This update does the following:

- Remove the non-functioning CalendarGrid.dll and associated project files.
- Add the code from CalendarGrid.dll generated using reflector.exe to ClinicalScheduling.csproj
This commit is contained in:
sam 2009-12-03 22:36:03 +00:00
parent 0a8d138b14
commit fc430e8990
20 changed files with 2962 additions and 189 deletions

View File

@ -0,0 +1,305 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
using System.Drawing;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
[Serializable]
public class CGAppointment
{
private bool m_bAccessBlock;
private bool m_bNoShow;
private bool m_bSelected = false;
private bool m_bWalkIn;
public DateTime m_dAuxTime;
public DateTime m_dCheckIn;
private DateTime m_EndTime;
public int m_nAccessTypeID = -1;
private int m_nColumn;
public int m_nKey;
private string m_Note;
public int m_nPatientID;
public int m_nSlots;
private Rectangle m_rectangle;
public string m_sAccessTypeName;
private string m_sHRN = "";
private string m_sPatientName;
public string m_sResource;
private DateTime m_StartTime;
private string m_Text;
public void CreateAppointment(DateTime StartTime, DateTime EndTime, string Note, int Key, string sResource)
{
this.m_StartTime = StartTime;
this.m_EndTime = EndTime;
this.m_Note = Note;
this.m_nKey = Key;
this.m_sResource = sResource;
}
public override string ToString()
{
string patientName = "";
if (this.m_bAccessBlock)
{
string str2 = (this.Slots == 1) ? " Slot, " : " Slots, ";
return ((((this.AccessTypeName + ": ") + this.Slots.ToString() + str2) + this.Duration.ToString() + " Minutes. ") + this.Note);
}
patientName = this.PatientName;
if (this.HealthRecordNumber != "")
{
patientName = patientName + " #" + this.HealthRecordNumber;
}
return (patientName + " " + this.Note);
}
public int AccessTypeID
{
get
{
return this.m_nAccessTypeID;
}
set
{
this.m_nAccessTypeID = value;
}
}
public string AccessTypeName
{
get
{
return this.m_sAccessTypeName;
}
set
{
this.m_sAccessTypeName = value;
}
}
public int AppointmentKey
{
get
{
return this.m_nKey;
}
set
{
this.m_nKey = value;
}
}
public DateTime AuxTime
{
get
{
return this.m_dAuxTime;
}
set
{
this.m_dAuxTime = value;
}
}
public DateTime CheckInTime
{
get
{
return this.m_dCheckIn;
}
set
{
this.m_dCheckIn = value;
}
}
public int Duration
{
get
{
TimeSpan span = (TimeSpan) (this.EndTime - this.StartTime);
return (int) span.TotalMinutes;
}
}
public DateTime EndTime
{
get
{
return this.m_EndTime;
}
set
{
this.m_EndTime = value;
}
}
public int GridColumn
{
get
{
return this.m_nColumn;
}
set
{
this.m_nColumn = value;
}
}
public Rectangle GridRectangle
{
get
{
return this.m_rectangle;
}
set
{
this.m_rectangle = value;
}
}
public string HealthRecordNumber
{
get
{
return this.m_sHRN;
}
set
{
this.m_sHRN = value;
}
}
public bool IsAccessBlock
{
get
{
return this.m_bAccessBlock;
}
set
{
this.m_bAccessBlock = value;
}
}
public bool NoShow
{
get
{
return this.m_bNoShow;
}
set
{
this.m_bNoShow = value;
}
}
public string Note
{
get
{
return this.m_Note;
}
set
{
this.m_Note = value;
}
}
public int PatientID
{
get
{
return this.m_nPatientID;
}
set
{
this.m_nPatientID = value;
}
}
public string PatientName
{
get
{
return this.m_sPatientName;
}
set
{
this.m_sPatientName = value;
}
}
public string Resource
{
get
{
return this.m_sResource;
}
set
{
this.m_sResource = value;
}
}
public bool Selected
{
get
{
return this.m_bSelected;
}
set
{
this.m_bSelected = value;
}
}
public int Slots
{
get
{
return this.m_nSlots;
}
set
{
this.m_nSlots = value;
}
}
public DateTime StartTime
{
get
{
return this.m_StartTime;
}
set
{
this.m_StartTime = value;
}
}
public string Text
{
get
{
this.m_Text = this.m_sPatientName;
return this.m_Text;
}
}
public bool WalkIn
{
get
{
return this.m_bWalkIn;
}
set
{
this.m_bWalkIn = value;
}
}
}
}

View File

@ -0,0 +1,104 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
[Serializable]
public class CGAppointmentChangedArgs : EventArgs
{
private DateTime m_dEnd;
private DateTime m_dStart;
private int m_nAccessTypeID;
private int m_nSlots;
private CGAppointment m_pAppt;
private string m_sOldResource;
private string m_sResource;
public int AccessTypeID
{
get
{
return this.m_nAccessTypeID;
}
set
{
this.m_nAccessTypeID = value;
}
}
public CGAppointment Appointment
{
get
{
return this.m_pAppt;
}
set
{
this.m_pAppt = value;
}
}
public DateTime EndTime
{
get
{
return this.m_dEnd;
}
set
{
this.m_dEnd = value;
}
}
public string OldResource
{
get
{
return this.m_sOldResource;
}
set
{
this.m_sOldResource = value;
}
}
public string Resource
{
get
{
return this.m_sResource;
}
set
{
this.m_sResource = value;
}
}
public int Slots
{
get
{
return this.m_nSlots;
}
set
{
this.m_nSlots = value;
}
}
public DateTime StartTime
{
get
{
return this.m_dStart;
}
set
{
this.m_dStart = value;
}
}
}
}

View File

@ -0,0 +1,11 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
using System.Runtime.CompilerServices;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
public delegate void CGAppointmentChangedHandler(object sender, CGAppointmentChangedArgs e);
}

View File

@ -0,0 +1,60 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
using System.Collections;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
[Serializable]
public class CGAppointments : IEnumerable
{
private Hashtable apptList = new Hashtable();
public void AddAppointment(CGAppointment appt)
{
if (this.apptList.ContainsKey(appt.AppointmentKey))
{
this.apptList.Remove(appt.AppointmentKey);
}
this.apptList.Add(appt.AppointmentKey, appt);
}
public void ClearAllAppointments()
{
this.apptList.Clear();
}
public CGAppointment GetAppointment(int nKey)
{
return (CGAppointment) this.apptList[nKey];
}
public IEnumerator GetEnumerator()
{
return this.apptList.GetEnumerator();
}
public void RemoveAppointment(int nKey)
{
this.apptList.Remove(nKey);
}
public int AppointmentCount
{
get
{
return this.apptList.Count;
}
}
public Hashtable AppointmentTable
{
get
{
return this.apptList;
}
}
}
}

View File

@ -0,0 +1,218 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
using System.Drawing;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
public class CGAvailability
{
private DateTime m_EndTime;
private int m_nAvailabilityType;
private int m_nBlue;
private int m_nGreen;
private int m_nRed;
private int m_nSlots;
private string m_sAccessRuleList;
private string m_sAccessTypeName;
private string m_sDisplayColor = "Cornsilk";
private string m_sNote;
private string m_sResourceList;
private DateTime m_StartTime;
public CGAvailability()
{
Color color = Color.FromName("Khaki");
this.m_nRed = color.R;
this.m_nGreen = color.G;
this.m_nBlue = color.B;
this.m_sNote = "";
}
public void Create(DateTime StartTime, DateTime EndTime, int nSlots)
{
this.m_StartTime = StartTime;
this.m_EndTime = EndTime;
this.m_nAvailabilityType = 0;
this.m_nSlots = nSlots;
this.m_sResourceList = "";
this.m_sAccessRuleList = "";
}
public void Create(DateTime StartTime, DateTime EndTime, int nAvailabilityType, int nSlots)
{
this.m_StartTime = StartTime;
this.m_EndTime = EndTime;
this.m_nAvailabilityType = nAvailabilityType;
this.m_nSlots = nSlots;
this.m_sResourceList = "";
this.m_sAccessRuleList = "";
}
public void Create(DateTime StartTime, DateTime EndTime, int nAvailabilityType, int nSlots, string sResourceList)
{
this.m_StartTime = StartTime;
this.m_EndTime = EndTime;
this.m_nAvailabilityType = nAvailabilityType;
this.m_nSlots = nSlots;
this.m_sResourceList = sResourceList;
this.m_sAccessRuleList = "";
}
public void Create(DateTime StartTime, DateTime EndTime, int nAvailabilityType, int nSlots, string sResourceList, string sAccessRuleList)
{
this.m_StartTime = StartTime;
this.m_EndTime = EndTime;
this.m_nAvailabilityType = nAvailabilityType;
this.m_nSlots = nSlots;
this.m_sResourceList = sResourceList;
this.m_sAccessRuleList = sAccessRuleList;
}
public string AccessRuleList
{
get
{
return this.m_sAccessRuleList;
}
set
{
this.m_sAccessRuleList = value;
}
}
public string AccessTypeName
{
get
{
return this.m_sAccessTypeName;
}
set
{
this.m_sAccessTypeName = value;
}
}
public int AvailabilityType
{
get
{
return this.m_nAvailabilityType;
}
set
{
this.m_nAvailabilityType = value;
}
}
public int Blue
{
get
{
return this.m_nBlue;
}
set
{
this.m_nBlue = value;
}
}
public string DisplayColor
{
get
{
return this.m_sDisplayColor;
}
set
{
this.m_sDisplayColor = value;
}
}
public DateTime EndTime
{
get
{
return this.m_EndTime;
}
set
{
this.m_EndTime = value;
}
}
public int Green
{
get
{
return this.m_nGreen;
}
set
{
this.m_nGreen = value;
}
}
public string Note
{
get
{
return this.m_sNote;
}
set
{
this.m_sNote = value;
}
}
public int Red
{
get
{
return this.m_nRed;
}
set
{
this.m_nRed = value;
}
}
public string ResourceList
{
get
{
return this.m_sResourceList;
}
set
{
this.m_sResourceList = value;
}
}
public int Slots
{
get
{
return this.m_nSlots;
}
set
{
this.m_nSlots = value;
}
}
public DateTime StartTime
{
get
{
return this.m_StartTime;
}
set
{
this.m_StartTime = value;
}
}
}
}

View File

@ -0,0 +1,113 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
using System.Drawing;
using System.Text;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
public class CGCell
{
private Brush m_ApptTypeColor;
public bool m_bIsSelected;
private int m_Col;
private Rectangle m_Rectangle;
private int m_Row;
private string m_sKey;
public CGCell()
{
this.m_ApptTypeColor = Brushes.Cornsilk;
}
public CGCell(Rectangle r, int row, int col)
{
this.m_Rectangle = r;
this.m_Row = row;
this.m_Col = col;
this.m_sKey = BuildKey(this.m_Row, this.m_Col);
this.m_ApptTypeColor = Brushes.Cornsilk;
}
public static string BuildKey(int nRow, int nCol)
{
StringBuilder builder = new StringBuilder("r");
builder.Append(nRow.ToString());
builder.Append("c");
builder.Append(nCol.ToString());
return builder.ToString();
}
public Brush AppointmentTypeColor
{
get
{
return this.m_ApptTypeColor;
}
set
{
this.m_ApptTypeColor = value;
}
}
public int CellColumn
{
get
{
return this.m_Col;
}
set
{
this.m_Col = value;
this.m_sKey = BuildKey(this.m_Row, this.m_Col);
}
}
public Rectangle CellRectangle
{
get
{
return this.m_Rectangle;
}
set
{
this.m_Rectangle = value;
}
}
public int CellRow
{
get
{
return this.m_Row;
}
set
{
this.m_Row = value;
this.m_sKey = BuildKey(this.m_Row, this.m_Col);
}
}
public bool IsSelected
{
get
{
return this.m_bIsSelected;
}
set
{
this.m_bIsSelected = value;
}
}
public string Key
{
get
{
return this.m_sKey;
}
}
}
}

View File

@ -0,0 +1,60 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
using System.Collections;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
public class CGCells : IEnumerable
{
private Hashtable cellList = new Hashtable();
internal CGCells()
{
}
public void AddCell(CGCell r)
{
this.cellList.Add(r.Key, r);
}
public void ClearAllCells()
{
this.cellList.Clear();
}
public CGCell GetCellFromRowCol(int nRow, int nCol)
{
string str = CGCell.BuildKey(nRow, nCol);
return (CGCell) this.cellList[str];
}
public IEnumerator GetEnumerator()
{
return this.cellList.GetEnumerator();
}
public void RemoveCell(string sKey)
{
this.cellList.Remove(sKey);
}
public int CellCount
{
get
{
return this.cellList.Count;
}
}
public Hashtable CellHashTable
{
get
{
return this.cellList;
}
}
}
}

View File

@ -0,0 +1,109 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
public class CGRange
{
private CGCells m_Cells;
private CGCell m_gcEnd;
private CGCell m_gcStart;
public CGRange()
{
this.m_Cells = new CGCells();
}
public CGRange(CGCells gridCells, CGCell gcStart, CGCell gcEnd)
{
this.CreateRange(gridCells, gcStart, gcEnd);
}
public void AppendCell(CGCells gridCells, CGCell aCell)
{
if ((aCell != this.StartCell) && (aCell.CellColumn == this.StartCell.CellColumn))
{
CGCell startCell = this.StartCell;
this.m_Cells.ClearAllCells();
this.CreateRange(gridCells, startCell, aCell);
}
}
public bool CellIsInRange(CGCell cgCell)
{
return this.m_Cells.CellHashTable.ContainsKey(cgCell.Key);
}
public void CreateRange(CGCells gridCells, CGCell sCell, CGCell eCell)
{
this.m_Cells.ClearAllCells();
this.m_Cells.AddCell(sCell);
this.m_gcStart = sCell;
this.m_gcEnd = eCell;
if (sCell != eCell)
{
int num;
CGCell r = null;
if (sCell.CellRow < eCell.CellRow)
{
for (num = sCell.CellRow + 1; num <= eCell.CellRow; num++)
{
r = gridCells.GetCellFromRowCol(num, eCell.CellColumn);
this.m_Cells.AddCell(r);
}
}
else
{
for (num = sCell.CellRow - 1; num >= eCell.CellRow; num--)
{
r = gridCells.GetCellFromRowCol(num, eCell.CellColumn);
this.m_Cells.AddCell(r);
}
}
}
}
public void SubtractCell(CGCells gridCells, CGCell aCell, bool bUp)
{
int nRow = bUp ? (this.m_gcEnd.CellRow - 1) : (this.m_gcEnd.CellRow + 1);
int cellColumn = this.m_gcEnd.CellColumn;
this.Cells.RemoveCell(this.m_gcEnd.Key);
this.m_gcEnd = gridCells.GetCellFromRowCol(nRow, cellColumn);
}
public CGCells Cells
{
get
{
return this.m_Cells;
}
}
public CGCell EndCell
{
get
{
return this.m_gcEnd;
}
set
{
this.m_gcEnd = value;
}
}
public CGCell StartCell
{
get
{
return this.m_gcStart;
}
set
{
this.m_gcStart = value;
}
}
}
}

View File

@ -0,0 +1,129 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
public class CGResource
{
private bool m_bInactive = false;
private int m_nHospitalLocationID = 0;
private int m_nResourceID = 0;
private int m_nTimeScale = 15;
private string m_sCancellationLetterText;
private string m_sHospitalLocation = "";
private string m_sLetterText;
private string m_sNoShowLetterText;
private string m_sResourceName = "";
public string CancellationLetterText
{
get
{
return this.m_sCancellationLetterText;
}
set
{
this.m_sCancellationLetterText = value;
}
}
public string HospitalLocation
{
get
{
return this.m_sHospitalLocation;
}
set
{
this.m_sHospitalLocation = value;
}
}
public int HospitalLocationID
{
get
{
return this.m_nHospitalLocationID;
}
set
{
this.m_nHospitalLocationID = value;
}
}
public bool Inactive
{
get
{
return this.m_bInactive;
}
set
{
this.m_bInactive = value;
}
}
public string LetterText
{
get
{
return this.m_sLetterText;
}
set
{
this.m_sLetterText = value;
}
}
public string NoShowLetterText
{
get
{
return this.m_sNoShowLetterText;
}
set
{
this.m_sNoShowLetterText = value;
}
}
public int ResourceID
{
get
{
return this.m_nResourceID;
}
set
{
this.m_nResourceID = value;
}
}
public string ResourceName
{
get
{
return this.m_sResourceName;
}
set
{
this.m_sResourceName = value;
}
}
public int TimeScale
{
get
{
return this.m_nTimeScale;
}
set
{
this.m_nTimeScale = value;
}
}
}
}

View File

@ -0,0 +1,52 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
[Serializable]
public class CGSelectionChangedArgs : EventArgs
{
private DateTime m_dEnd;
private DateTime m_dStart;
private string m_sResource;
public DateTime EndTime
{
get
{
return this.m_dEnd;
}
set
{
this.m_dEnd = value;
}
}
public string Resource
{
get
{
return this.m_sResource;
}
set
{
this.m_sResource = value;
}
}
public DateTime StartTime
{
get
{
return this.m_dStart;
}
set
{
this.m_dStart = value;
}
}
}
}

View File

@ -0,0 +1,11 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
using System.Runtime.CompilerServices;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
public delegate void CGSelectionChangedHandler(object sender, CGSelectionChangedArgs e);
}

File diff suppressed because it is too large Load Diff

View File

@ -1,129 +0,0 @@
<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectType>Local</ProjectType>
<ProductVersion>8.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{8D1686A4-87D3-43F9-9E54-6CFB307A734E}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationIcon>
</ApplicationIcon>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>CalendarGrid</AssemblyName>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<DefaultClientScript>JScript</DefaultClientScript>
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<OutputType>Library</OutputType>
<RootNamespace>CalendarGrid</RootNamespace>
<StartupObject>
</StartupObject>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>0.0</OldToolsVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>bin\Debug\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>true</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>false</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>false</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>true</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>none</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="RPX20Lib">
<Name>RPX20Lib</Name>
<HintPath>..\..\RPX20\ReleaseMinDependency\RPX20Lib.dll</HintPath>
</Reference>
<Reference Include="System">
<Name>System</Name>
</Reference>
<Reference Include="System.Data">
<Name>System.Data</Name>
</Reference>
<Reference Include="System.Design">
<Name>System.Design</Name>
</Reference>
<Reference Include="System.Drawing">
<Name>System.Drawing</Name>
</Reference>
<Reference Include="System.Windows.Forms">
<Name>System.Windows.Forms</Name>
</Reference>
<Reference Include="System.Xml">
<Name>System.XML</Name>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="CalendarGrid.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CGAppointment.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGAppointments.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGCell.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGCells.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGDocument.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGRange.cs">
<SubType>Code</SubType>
</Compile>
<EmbeddedResource Include="CalendarGrid.resx">
<DependentUpon>CalendarGrid.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@ -1,56 +0,0 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ReferencePath>C:\Documents and Settings\hwhitt\My Documents\Visual Studio Projects\RPX20\ReleaseMinDependency\</ReferencePath>
<CopyProjectDestinationFolder>
</CopyProjectDestinationFolder>
<CopyProjectUncPath>
</CopyProjectUncPath>
<CopyProjectOption>0</CopyProjectOption>
<ProjectView>ProjectFiles</ProjectView>
<ProjectTrust>0</ProjectTrust>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<EnableASPDebugging>false</EnableASPDebugging>
<EnableASPXDebugging>false</EnableASPXDebugging>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<EnableSQLServerDebugging>false</EnableSQLServerDebugging>
<RemoteDebugEnabled>false</RemoteDebugEnabled>
<RemoteDebugMachine>
</RemoteDebugMachine>
<StartAction>Project</StartAction>
<StartArguments>
</StartArguments>
<StartPage>
</StartPage>
<StartProgram>
</StartProgram>
<StartURL>
</StartURL>
<StartWorkingDirectory>
</StartWorkingDirectory>
<StartWithIE>true</StartWithIE>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<EnableASPDebugging>false</EnableASPDebugging>
<EnableASPXDebugging>false</EnableASPXDebugging>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<EnableSQLServerDebugging>false</EnableSQLServerDebugging>
<RemoteDebugEnabled>false</RemoteDebugEnabled>
<RemoteDebugMachine>
</RemoteDebugMachine>
<StartAction>Project</StartAction>
<StartArguments>
</StartArguments>
<StartPage>
</StartPage>
<StartProgram>
</StartProgram>
<StartURL>
</StartURL>
<StartWorkingDirectory>
</StartWorkingDirectory>
<StartWithIE>true</StartWithIE>
</PropertyGroup>
</Project>

View File

@ -101,10 +101,6 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>.\BMXNet20.dll</HintPath>
</Reference>
<Reference Include="CalendarGrid, Version=1.0.2790.30319, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>.\CalendarGrid.dll</HintPath>
</Reference>
<Reference Include="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL">
<Private>True</Private>
</Reference>
@ -189,21 +185,35 @@
<Compile Include="AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CalendarGrid.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CGAppointment.cs" />
<Compile Include="CGAppointmentChangedArgs.cs" />
<Compile Include="CGAppointmentChangedHandler.cs" />
<Compile Include="CGAppointments.cs" />
<Compile Include="CGAvailability.cs" />
<Compile Include="CGAVDocument.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGAVView.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="CGCell.cs" />
<Compile Include="CGCells.cs" />
<Compile Include="CGDocument.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGDocumentManager.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="CGRange.cs" />
<Compile Include="CGResource.cs" />
<Compile Include="CGSchedLib.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="CGSelectionChangedArgs.cs" />
<Compile Include="CGSelectionChangedHandler.cs" />
<Compile Include="CGView.cs">
<SubType>Form</SubType>
</Compile>
@ -237,6 +247,9 @@
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
<Compile Include="DAccessBlock.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DAccessGroup.cs">
<SubType>Form</SubType>
</Compile>

View File

@ -0,0 +1,418 @@
namespace IndianHealthService.ClinicalScheduling
{
using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using System.Xml;
/// <summary>
/// This class was regenerated from Calendargrid.dll using Reflector.exe
/// by Sam Habiel for WorldVista. The original source code is lost.
/// </summary>
public class DAccessBlock : Form
{
private ComboBox cboAccessTypeFilter;
private Button cmdCancel;
private Button cmdOK;
private Container components;
private Label label1;
private Label label15;
private Label label2;
private Label label3;
private Label label4;
private Label label6;
private Label label7;
private Label lblClinic;
private Label lblEndTime;
private Label lblStartTime;
private ListBox lstAccessTypes;
private DataSet m_dsGlobal;
private DataTable m_dtTypes;
private DataView m_dvTypes;
private CGAppointment m_pAppt;
private NumericUpDown nudSlots;
private Panel panel1;
private Panel panel2;
private TextBox txtNote;
public DAccessBlock()
{
this.InitializeComponent();
}
private void cboAccessTypeFilter_SelectionChangeCommitted(object sender, EventArgs e)
{
if (this.cboAccessTypeFilter.Text == "<Show All Access Types>")
{
this.LoadListBox("ALL");
}
else
{
this.LoadListBox("SELECTED");
}
}
private void cmdOK_Click(object sender, EventArgs e)
{
this.UpdateDialogData(false);
}
protected override void Dispose(bool disposing)
{
if (disposing && (this.components != null))
{
this.components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.panel1 = new Panel();
this.cmdCancel = new Button();
this.cmdOK = new Button();
this.panel2 = new Panel();
this.label4 = new Label();
this.cboAccessTypeFilter = new ComboBox();
this.lstAccessTypes = new ListBox();
this.nudSlots = new NumericUpDown();
this.label6 = new Label();
this.lblEndTime = new Label();
this.label7 = new Label();
this.label2 = new Label();
this.lblClinic = new Label();
this.label15 = new Label();
this.txtNote = new TextBox();
this.label1 = new Label();
this.lblStartTime = new Label();
this.label3 = new Label();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.nudSlots.BeginInit();
base.SuspendLayout();
this.panel1.Controls.Add(this.cmdCancel);
this.panel1.Controls.Add(this.cmdOK);
this.panel1.Dock = DockStyle.Bottom;
this.panel1.Location = new Point(0, 0x14e);
this.panel1.Name = "panel1";
this.panel1.Size = new Size(0x192, 40);
this.panel1.TabIndex = 2;
this.cmdCancel.DialogResult = DialogResult.Cancel;
this.cmdCancel.Location = new Point(0x120, 8);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new Size(0x40, 0x18);
this.cmdCancel.TabIndex = 1;
this.cmdCancel.Text = "Cancel";
this.cmdOK.DialogResult = DialogResult.OK;
this.cmdOK.Location = new Point(0xd0, 8);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new Size(0x40, 0x18);
this.cmdOK.TabIndex = 0;
this.cmdOK.Text = "OK";
this.cmdOK.Click += new EventHandler(this.cmdOK_Click);
this.panel2.Controls.Add(this.label4);
this.panel2.Controls.Add(this.cboAccessTypeFilter);
this.panel2.Controls.Add(this.lstAccessTypes);
this.panel2.Controls.Add(this.nudSlots);
this.panel2.Controls.Add(this.label6);
this.panel2.Controls.Add(this.lblEndTime);
this.panel2.Controls.Add(this.label7);
this.panel2.Controls.Add(this.label2);
this.panel2.Controls.Add(this.lblClinic);
this.panel2.Controls.Add(this.label15);
this.panel2.Controls.Add(this.txtNote);
this.panel2.Controls.Add(this.label1);
this.panel2.Controls.Add(this.lblStartTime);
this.panel2.Controls.Add(this.label3);
this.panel2.Dock = DockStyle.Fill;
this.panel2.Location = new Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new Size(0x192, 0x14e);
this.panel2.TabIndex = 3;
this.label4.Location = new Point(8, 0x88);
this.label4.Name = "label4";
this.label4.Size = new Size(80, 0x10);
this.label4.TabIndex = 0x29;
this.label4.Text = "Access Group:";
this.label4.TextAlign = ContentAlignment.MiddleRight;
this.cboAccessTypeFilter.DropDownStyle = ComboBoxStyle.DropDownList;
this.cboAccessTypeFilter.Location = new Point(0x58, 0x88);
this.cboAccessTypeFilter.Name = "cboAccessTypeFilter";
this.cboAccessTypeFilter.Size = new Size(0x128, 0x15);
this.cboAccessTypeFilter.TabIndex = 40;
this.cboAccessTypeFilter.SelectionChangeCommitted += new EventHandler(this.cboAccessTypeFilter_SelectionChangeCommitted);
this.lstAccessTypes.Location = new Point(0x58, 0xb0);
this.lstAccessTypes.Name = "lstAccessTypes";
this.lstAccessTypes.Size = new Size(0x128, 0x52);
this.lstAccessTypes.TabIndex = 0x26;
this.nudSlots.Location = new Point(0x58, 0x38);
int[] bits = new int[4];
bits[0] = 0x3e6;
this.nudSlots.Maximum = new decimal(bits);
this.nudSlots.Name = "nudSlots";
this.nudSlots.Size = new Size(40, 20);
this.nudSlots.TabIndex = 0x25;
int[] numArray2 = new int[4];
numArray2[0] = 1;
this.nudSlots.Value = new decimal(numArray2);
this.label6.Location = new Point(40, 0x38);
this.label6.Name = "label6";
this.label6.Size = new Size(40, 0x10);
this.label6.TabIndex = 0x24;
this.label6.Text = "Slots:";
this.label6.TextAlign = ContentAlignment.MiddleRight;
this.lblEndTime.BorderStyle = BorderStyle.Fixed3D;
this.lblEndTime.Location = new Point(0x110, 8);
this.lblEndTime.Name = "lblEndTime";
this.lblEndTime.Size = new Size(0x70, 0x10);
this.lblEndTime.TabIndex = 0x22;
this.label7.Location = new Point(0xd0, 8);
this.label7.Name = "label7";
this.label7.Size = new Size(0x40, 0x10);
this.label7.TabIndex = 0x21;
this.label7.Text = "End Time:";
this.label7.TextAlign = ContentAlignment.MiddleRight;
this.label2.Location = new Point(0x10, 0xb0);
this.label2.Name = "label2";
this.label2.Size = new Size(0x48, 0x10);
this.label2.TabIndex = 0x1d;
this.label2.Text = "Access Type:";
this.label2.TextAlign = ContentAlignment.MiddleRight;
this.lblClinic.BorderStyle = BorderStyle.Fixed3D;
this.lblClinic.Location = new Point(0x58, 0x20);
this.lblClinic.Name = "lblClinic";
this.lblClinic.Size = new Size(0x128, 0x10);
this.lblClinic.TabIndex = 0x1b;
this.label15.Location = new Point(40, 0x20);
this.label15.Name = "label15";
this.label15.Size = new Size(40, 0x10);
this.label15.TabIndex = 0x1a;
this.label15.Text = "Clinic:";
this.label15.TextAlign = ContentAlignment.MiddleRight;
this.txtNote.AcceptsReturn = true;
this.txtNote.Location = new Point(0x58, 80);
this.txtNote.Multiline = true;
this.txtNote.Name = "txtNote";
this.txtNote.Size = new Size(0x128, 0x30);
this.txtNote.TabIndex = 0x19;
this.label1.Location = new Point(0x18, 0x58);
this.label1.Name = "label1";
this.label1.Size = new Size(0x38, 0x10);
this.label1.TabIndex = 0x18;
this.label1.Text = "Note:";
this.label1.TextAlign = ContentAlignment.MiddleRight;
this.lblStartTime.BorderStyle = BorderStyle.Fixed3D;
this.lblStartTime.Location = new Point(0x58, 8);
this.lblStartTime.Name = "lblStartTime";
this.lblStartTime.Size = new Size(120, 0x10);
this.lblStartTime.TabIndex = 0x16;
this.label3.Location = new Point(0x18, 8);
this.label3.Name = "label3";
this.label3.Size = new Size(0x40, 0x10);
this.label3.TabIndex = 20;
this.label3.Text = "Start Time:";
this.label3.TextAlign = ContentAlignment.MiddleRight;
base.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new Size(5, 13);
base.CancelButton = this.cmdCancel;
base.ClientSize = new Size(0x192, 0x176);
base.Controls.Add(this.panel2);
base.Controls.Add(this.panel1);
base.FormBorderStyle = FormBorderStyle.FixedDialog;
base.Name = "DAccessBlock";
base.StartPosition = FormStartPosition.CenterParent;
this.Text = "Access Block";
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.nudSlots.EndInit();
base.ResumeLayout(false);
}
public void InitializePage(CGAppointment pAppt, DataSet dsGlobal)
{
this.m_pAppt = new CGAppointment();
this.m_pAppt.StartTime = pAppt.StartTime;
this.m_pAppt.EndTime = pAppt.EndTime;
this.m_pAppt.Resource = pAppt.Resource;
this.m_pAppt.Note = pAppt.Note;
this.m_pAppt.Slots = pAppt.Slots;
this.m_pAppt.AccessTypeID = pAppt.AccessTypeID;
this.m_pAppt.AccessTypeName = pAppt.AccessTypeName;
this.m_dsGlobal = dsGlobal;
this.LoadListBox("ALL");
DataTable table = dsGlobal.Tables["AccessGroup"];
DataSet set = new DataSet("dsTemp");
set.Tables.Add(table.Copy());
DataTable table2 = set.Tables["AccessGroup"];
DataView view = new DataView(table2);
view.AddNew()["ACCESS_GROUP"] = "<Show All Access Types>";
view.Sort = "ACCESS_GROUP ASC";
this.cboAccessTypeFilter.DataSource = view;
this.cboAccessTypeFilter.DisplayMember = "ACCESS_GROUP";
this.cboAccessTypeFilter.SelectedIndex = this.cboAccessTypeFilter.Items.Count - 1;
this.UpdateDialogData(true);
}
public void InitializePage(DateTime dStart, DateTime dEnd, string sClinic, string sNote, DataSet dsGlobal)
{
this.m_pAppt = new CGAppointment();
this.m_pAppt.StartTime = dStart;
this.m_pAppt.EndTime = dEnd;
this.m_pAppt.Resource = sClinic;
this.m_pAppt.Note = sNote;
this.m_pAppt.Slots = 1;
this.m_dsGlobal = dsGlobal;
this.LoadListBox("ALL");
DataTable table = dsGlobal.Tables["AccessGroup"];
DataSet set = new DataSet("dsTemp");
set.Tables.Add(table.Copy());
DataTable table2 = set.Tables["AccessGroup"];
DataView view = new DataView(table2);
view.AddNew()["ACCESS_GROUP"] = "<Show All Access Types>";
view.Sort = "ACCESS_GROUP ASC";
this.cboAccessTypeFilter.DataSource = view;
this.cboAccessTypeFilter.DisplayMember = "ACCESS_GROUP";
this.cboAccessTypeFilter.SelectedIndex = this.cboAccessTypeFilter.Items.Count - 1;
this.m_pAppt.AccessTypeID = 0;
this.UpdateDialogData(true);
}
public void LoadListBox(string sGroup)
{
string str = "";
if (sGroup == "ALL")
{
this.m_dtTypes = this.m_dsGlobal.Tables["AccessTypes"];
this.m_dvTypes = new DataView(this.m_dtTypes);
str = "INACTIVE <> 'YES'";
this.m_dvTypes.RowFilter = str;
this.lstAccessTypes.DataSource = this.m_dvTypes;
this.lstAccessTypes.DisplayMember = "ACCESS_TYPE_NAME";
this.lstAccessTypes.ValueMember = "BMXIEN";
}
else
{
this.m_dtTypes = this.m_dsGlobal.Tables["AccessGroupType"];
this.m_dvTypes = new DataView(this.m_dtTypes);
str = "ACCESS_GROUP = '" + this.cboAccessTypeFilter.Text + "'";
this.m_dvTypes.RowFilter = str;
this.lstAccessTypes.DataSource = this.m_dvTypes;
this.lstAccessTypes.DisplayMember = "ACCESS_TYPE";
this.lstAccessTypes.ValueMember = "ACCESS_TYPE_ID";
}
}
private void UpdateDialogData(bool b)
{
if (b)
{
this.lblClinic.Text = this.m_pAppt.Resource;
this.lblEndTime.Text = this.m_pAppt.EndTime.ToShortDateString() + " " + this.m_pAppt.EndTime.ToShortTimeString();
this.lblStartTime.Text = this.m_pAppt.StartTime.ToShortDateString() + " " + this.m_pAppt.StartTime.ToShortTimeString();
this.txtNote.Text = this.m_pAppt.Note;
this.nudSlots.Value = this.m_pAppt.Slots;
if (this.m_pAppt.AccessTypeID != 0)
{
this.lstAccessTypes.SelectedValue = this.m_pAppt.AccessTypeID;
}
}
else
{
this.m_pAppt.Note = this.txtNote.Text;
int selectedIndex = this.lstAccessTypes.SelectedIndex;
string str = this.lstAccessTypes.SelectedValue.ToString();
str = (str == "") ? "-1" : str;
int num = Convert.ToInt16(str);
this.m_pAppt.AccessTypeID = num;
this.m_pAppt.Slots = Convert.ToInt16(this.nudSlots.Value);
}
}
public int AccessTypeID
{
get
{
return this.m_pAppt.AccessTypeID;
}
set
{
this.m_pAppt.AccessTypeID = value;
}
}
public CGAppointment Appointment
{
get
{
return this.m_pAppt;
}
set
{
this.m_pAppt = value;
}
}
public DateTime EndTime
{
get
{
return this.m_pAppt.EndTime;
}
set
{
this.m_pAppt.EndTime = value;
}
}
public string Note
{
get
{
return this.m_pAppt.Note;
}
set
{
this.m_pAppt.Note = value;
}
}
public string Resource
{
get
{
return this.m_pAppt.Resource;
}
set
{
this.m_pAppt.Resource = value;
}
}
public int Slots
{
get
{
return this.m_pAppt.Slots;
}
set
{
this.m_pAppt.Slots = value;
}
}
public DateTime StartTime
{
get
{
return this.m_pAppt.StartTime;
}
set
{
this.m_pAppt.StartTime = value;
}
}
}
}

View File

@ -1083,5 +1083,83 @@
Contains the beginning date of the appointment document
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CalendarGrid">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.DAccessBlock">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CGAppointment">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CGAppointmentChangedArgs">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CGAppointmentChangedHandler">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CGAppointments">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CGAvailability">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CGCell">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CGCells">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CGRange">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CGResource">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CGSelectionChangedArgs">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
<member name="T:IndianHealthService.ClinicalScheduling.CGSelectionChangedHandler">
<summary>
This class was regenerated from Calendargrid.dll using Reflector.exe
by Sam Habiel for WorldVista. The original source code is lost.
</summary>
</member>
</members>
</doc>