using Microsoft.VisualBasic;
using System;


namespace StrataFlix.UI
{
	namespace BrowseDialogs
	{
		
		public partial class MoviesBrowseDialog : MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog
		{
			
			
			[System.Diagnostics.DebuggerNonUserCode()]public MoviesBrowseDialog(System.ComponentModel.IContainer container) : this()
			{
				
				//Required for Windows.Forms Class Composition Designer support
				if (container != null)
				{
					container.Add(this);
				}
				
			}
			
			[System.Diagnostics.DebuggerNonUserCode()]public MoviesBrowseDialog()
			{
				
				//This call is required by the Component Designer.
				InitializeComponent();
				
			}
			
			//Component overrides dispose to clean up the component list.
			[System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing)
			{
				try
				{
					if (disposing && (components != null))
					{
						components.Dispose();
					}
				}
				finally
				{
					base.Dispose(disposing);
				}
			}
			
			//Required by the Component Designer
			private System.ComponentModel.Container components = null;
			
			//NOTE: The following procedure is required by the Component Designer
			//It can be modified using the Component Designer.
			//Do not modify it using the code editor.
			[System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent()
			{
				MicroFour.StrataFrame.UI.Windows.Forms.BrowseResultsPopulationSettings BrowseResultsPopulationSettings1 = new MicroFour.StrataFrame.UI.Windows.Forms.BrowseResultsPopulationSettings();
				MicroFour.StrataFrame.UI.Windows.Forms.BrowseColumnItem BrowseColumnItem1 = new MicroFour.StrataFrame.UI.Windows.Forms.BrowseColumnItem();
				MicroFour.StrataFrame.UI.Windows.Forms.BrowseColumnItem BrowseColumnItem2 = new MicroFour.StrataFrame.UI.Windows.Forms.BrowseColumnItem();
				MicroFour.StrataFrame.UI.Windows.Forms.BrowseColumnItem BrowseColumnItem3 = new MicroFour.StrataFrame.UI.Windows.Forms.BrowseColumnItem();
				MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogLayoutSettings BrowseDialogLayoutSettings1 = new MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogLayoutSettings();
				System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MoviesBrowseDialog));
				MicroFour.StrataFrame.UI.Windows.Forms.SearchFieldItem SearchFieldItem1 = new MicroFour.StrataFrame.UI.Windows.Forms.SearchFieldItem();
				MicroFour.StrataFrame.UI.Windows.Forms.SearchFieldItem SearchFieldItem2 = new MicroFour.StrataFrame.UI.Windows.Forms.SearchFieldItem();
				MicroFour.StrataFrame.UI.Windows.Forms.SearchFieldItem SearchFieldItem3 = new MicroFour.StrataFrame.UI.Windows.Forms.SearchFieldItem();
				//
				//MoviesBrowseDialog
				//
				BrowseColumnItem1.ColumnHeaderText = "Title";
				base.RowPopulating += new MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog.RowPopulatingEventHandler(MoviesBrowseDialog_RowPopulating);
				BrowseColumnItem1.ColumnHeaderWidth = 350;
				BrowseColumnItem1.ColumnTextAlignment = System.Windows.Forms.HorizontalAlignment.Left;
				BrowseColumnItem1.DefaultSort = System.Windows.Forms.SortOrder.Ascending;
				BrowseColumnItem1.FormatString = "{0}";
				BrowseColumnItem1.PopulationType = MicroFour.StrataFrame.UI.ListViewColumnPopulationType.FormattedString;
				BrowseColumnItem1.RegExPattern = "";
				BrowseColumnItem1.RegExReplacementValue = "";
				BrowseColumnItem2.ColumnHeaderText = "Rating";
				BrowseColumnItem2.ColumnHeaderWidth = 60;
				BrowseColumnItem2.ColumnTextAlignment = System.Windows.Forms.HorizontalAlignment.Left;
				BrowseColumnItem2.DefaultSort = System.Windows.Forms.SortOrder.None;
				BrowseColumnItem2.FormatString = "N/A";
				BrowseColumnItem2.PopulationType = MicroFour.StrataFrame.UI.ListViewColumnPopulationType.PopulatedThroughEvent;
				BrowseColumnItem2.RegExPattern = "";
				BrowseColumnItem2.RegExReplacementValue = "";
				BrowseColumnItem3.ColumnHeaderText = "Year";
				BrowseColumnItem3.ColumnHeaderWidth = 60;
				BrowseColumnItem3.ColumnTextAlignment = System.Windows.Forms.HorizontalAlignment.Left;
				BrowseColumnItem3.DefaultSort = System.Windows.Forms.SortOrder.None;
				BrowseColumnItem3.FormatString = "{2}";
				BrowseColumnItem3.PopulationType = MicroFour.StrataFrame.UI.ListViewColumnPopulationType.FormattedString;
				BrowseColumnItem3.RegExPattern = "";
				BrowseColumnItem3.RegExReplacementValue = "";
				BrowseResultsPopulationSettings1.BrowseColumns.AddRange(new MicroFour.StrataFrame.UI.Windows.Forms.BrowseColumnItem[] {BrowseColumnItem1, BrowseColumnItem2, BrowseColumnItem3});
				BrowseResultsPopulationSettings1.DisplayFieldNames.AddRange(new string[] {"mv_Title", "mv_Rating", "mv_Year"});
				this.BrowseResultsLayout = BrowseResultsPopulationSettings1;
				this.BusinessObjectType = "StrataFlix.Business.MoviesBO";
				BrowseDialogLayoutSettings1.AllowFormResize = true;
				BrowseDialogLayoutSettings1.BottomPanelContents = MicroFour.StrataFrame.UI.BrowseDialogLayoutType.BrowseResults;
				BrowseDialogLayoutSettings1.FormSize = new System.Drawing.Size(650, 500);
				BrowseDialogLayoutSettings1.LeftSplitterDistance = 134;
				BrowseDialogLayoutSettings1.ShowBottomPanel = true;
				BrowseDialogLayoutSettings1.ShowSidePanel = false;
				BrowseDialogLayoutSettings1.SidePanelContents = MicroFour.StrataFrame.UI.BrowseDialogLayoutType.InformationPanel;
				BrowseDialogLayoutSettings1.SideSplitterDistance = 450;
				BrowseDialogLayoutSettings1.TopPanelContents = MicroFour.StrataFrame.UI.BrowseDialogLayoutType.SearchFields;
				this.FormLayout = BrowseDialogLayoutSettings1;
				this.HeaderDetailText = "Enter the search criteria below to find the desired movies.";
				this.HeaderImage = (System.Drawing.Image) (resources.GetObject("$this.HeaderImage"));
				this.HeaderTitle = "Movie Browse";
				this.RegistryKey = "HKEY_CURRENT_USER\\Software\\MicroFour\\StrataFlix\\Browses\\MovieBrowse";
				this.RenderAsSolidBackground = true;
				SearchFieldItem1.AllowAdvanced = true;
				SearchFieldItem1.DefaultSearchStyle = MicroFour.StrataFrame.UI.BrowseDialogAllSearchTypes.Contains;
				SearchFieldItem1.EnumType = "";
				SearchFieldItem1.FieldLabelText = "Title:";
				SearchFieldItem1.FieldMask = "";
				SearchFieldItem1.FieldName = "mv_Title";
				SearchFieldItem1.IgnoreInitialValueIfNotVisible = true;
				SearchFieldItem1.InitiallyEnabled = true;
				SearchFieldItem1.InitialValue = "";
				SearchFieldItem1.Key = "mv_Title";
				SearchFieldItem1.PopulationDataSourceSettings = null;
				SearchFieldItem1.SecurityKey = "";
				SearchFieldItem1.TextMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
				SearchFieldItem1.TimeAction = MicroFour.StrataFrame.UI.BrowseDialogDateTimeAction.DoNotChangeTime;
				SearchFieldItem1.TopMostText = "<Not Used>";
				SearchFieldItem1.TopMostValue = "-1";
				SearchFieldItem1.Visible = true;
				SearchFieldItem2.AllowAdvanced = true;
				SearchFieldItem2.DefaultSearchStyle = MicroFour.StrataFrame.UI.BrowseDialogAllSearchTypes.Equals;
				SearchFieldItem2.EnumType = "StrataFlix.Business.MovieRating";
				SearchFieldItem2.FieldLabelText = "MPAA Rating:";
				SearchFieldItem2.FieldMask = "";
				SearchFieldItem2.FieldName = "mv_Rating";
				SearchFieldItem2.IgnoreInitialValueIfNotVisible = true;
				SearchFieldItem2.InitiallyEnabled = true;
				SearchFieldItem2.InitialValue = "";
				SearchFieldItem2.Key = "mv_Rating";
				SearchFieldItem2.PopulationDataSourceSettings = null;
				SearchFieldItem2.SecurityKey = "";
				SearchFieldItem2.TextMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
				SearchFieldItem2.TimeAction = MicroFour.StrataFrame.UI.BrowseDialogDateTimeAction.DoNotChangeTime;
				SearchFieldItem2.TopMostText = "<Not Used>";
				SearchFieldItem2.TopMostValue = "-1";
				SearchFieldItem2.Visible = true;
				SearchFieldItem3.AllowAdvanced = true;
				SearchFieldItem3.DefaultSearchStyle = MicroFour.StrataFrame.UI.BrowseDialogAllSearchTypes.BeginsWith;
				SearchFieldItem3.EnumType = "";
				SearchFieldItem3.FieldLabelText = "UPC Code:";
				SearchFieldItem3.FieldMask = "";
				SearchFieldItem3.FieldName = "mv_UPC";
				SearchFieldItem3.IgnoreInitialValueIfNotVisible = true;
				SearchFieldItem3.InitiallyEnabled = true;
				SearchFieldItem3.InitialValue = "";
				SearchFieldItem3.Key = "mv_UPC";
				SearchFieldItem3.PopulationDataSourceSettings = null;
				SearchFieldItem3.SecurityKey = "";
				SearchFieldItem3.TextMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
				SearchFieldItem3.TimeAction = MicroFour.StrataFrame.UI.BrowseDialogDateTimeAction.DoNotChangeTime;
				SearchFieldItem3.TopMostText = "<Not Used>";
				SearchFieldItem3.TopMostValue = "-1";
				SearchFieldItem3.Visible = true;
				this.SearchFields.AddRange(new MicroFour.StrataFrame.UI.Windows.Forms.SearchFieldItem[] {SearchFieldItem1, SearchFieldItem2, SearchFieldItem3});
				this.SearchFieldsGroupBoxTitleStyle = MicroFour.StrataFrame.UI.ThemedGroupBoxTitleType.WindowsGroupBoxStyle;
				
			}
			
		}
		
	}
}
