Exemple #1
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmDbSearch));

            repositoryItemPictureEdit1 = new RepositoryItemPictureEdit();
            repositoryItemDateEdit1    = new RepositoryItemDateEdit();
            groupBox1     = new GroupBox();
            labelControl6 = new LabelControl();
            cbSex         = new ComboBoxEdit();
            labelControl3 = new LabelControl();
            labelControl1 = new LabelControl();
            spinEdit1     = new SpinEdit();
            lbDate        = new LabelControl();
            tbScore       = new TextEdit();
            lbInfo        = new Label();
            btSearch      = new SimpleButton();
            btLoadPicture = new SimpleButton();
            pictureEdit1  = new PictureEdit();
            gbDate        = new GroupBox();
            labelControl5 = new LabelControl();
            labelControl4 = new LabelControl();
            dtBefore      = new DateEdit();
            dtFrom        = new DateEdit();
            gridControl1  = new GridControl();
            gridView1     = new GridView();
            colFaceID     = new GridColumn();
            colPicture    = new GridColumn();
            colName       = new GridColumn();
            colScore      = new GridColumn();
            colBirthday   = new GridColumn();
            colCategory   = new GridColumn();
            colPosition   = new GridColumn();
            btPrint       = new SimpleButton();
            labelControl2 = new LabelControl();
            marqueeProgressBarControl1 = new MarqueeProgressBarControl();
            btClearResults             = new SimpleButton();
            repositoryItemPictureEdit1.BeginInit();
            repositoryItemDateEdit1.BeginInit();
            repositoryItemDateEdit1.VistaTimeProperties.BeginInit();
            groupBox1.SuspendLayout();
            cbSex.Properties.BeginInit();
            spinEdit1.Properties.BeginInit();
            tbScore.Properties.BeginInit();
            pictureEdit1.Properties.BeginInit();
            gbDate.SuspendLayout();
            dtBefore.Properties.VistaTimeProperties.BeginInit();
            dtBefore.Properties.BeginInit();
            dtFrom.Properties.VistaTimeProperties.BeginInit();
            dtFrom.Properties.BeginInit();
            gridControl1.BeginInit();
            gridView1.BeginInit();
            marqueeProgressBarControl1.Properties.BeginInit();
            SuspendLayout();
            repositoryItemPictureEdit1.Name             = "repositoryItemPictureEdit1";
            repositoryItemPictureEdit1.PictureStoreMode = PictureStoreMode.ByteArray;
            repositoryItemPictureEdit1.SizeMode         = PictureSizeMode.Zoom;
            componentResourceManager.ApplyResources(repositoryItemDateEdit1, "repositoryItemDateEdit1");
            repositoryItemDateEdit1.Buttons.AddRange(new EditorButton[1]
            {
                new EditorButton((ButtonPredefines)componentResourceManager.GetObject("repositoryItemDateEdit1.Buttons"))
            });
            repositoryItemDateEdit1.Name = "repositoryItemDateEdit1";
            repositoryItemDateEdit1.VistaTimeProperties.Buttons.AddRange(new EditorButton[1]
            {
                new EditorButton()
            });
            groupBox1.Controls.Add(labelControl6);
            groupBox1.Controls.Add(cbSex);
            groupBox1.Controls.Add(labelControl3);
            groupBox1.Controls.Add(labelControl1);
            groupBox1.Controls.Add(spinEdit1);
            groupBox1.Controls.Add(lbDate);
            groupBox1.Controls.Add(tbScore);
            groupBox1.Controls.Add(lbInfo);
            groupBox1.Controls.Add(btSearch);
            groupBox1.Controls.Add(btLoadPicture);
            groupBox1.Controls.Add(pictureEdit1);
            groupBox1.Controls.Add(gbDate);
            componentResourceManager.ApplyResources(groupBox1, "groupBox1");
            groupBox1.Name                = "groupBox1";
            groupBox1.TabStop             = false;
            groupBox1.Enter              += groupBox1_Enter;
            labelControl6.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl6.Appearance.Font");
            componentResourceManager.ApplyResources(labelControl6, "labelControl6");
            labelControl6.Name = "labelControl6";
            componentResourceManager.ApplyResources(cbSex, "cbSex");
            cbSex.Name = "cbSex";
            cbSex.Properties.AutoHeight = (bool)componentResourceManager.GetObject("cbSex.Properties.AutoHeight");
            cbSex.Properties.Buttons.AddRange(new EditorButton[1]
            {
                new EditorButton((ButtonPredefines)componentResourceManager.GetObject("cbSex.Properties.Buttons"))
            });
            cbSex.Properties.Items.AddRange(new object[2]
            {
                componentResourceManager.GetString("cbSex.Properties.Items"),
                componentResourceManager.GetString("cbSex.Properties.Items1")
            });
            labelControl3.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl3.Appearance.Font");
            componentResourceManager.ApplyResources(labelControl3, "labelControl3");
            labelControl3.Name            = "labelControl3";
            labelControl1.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl1.Appearance.Font");
            componentResourceManager.ApplyResources(labelControl1, "labelControl1");
            labelControl1.Name = "labelControl1";
            componentResourceManager.ApplyResources(spinEdit1, "spinEdit1");
            spinEdit1.Name = "spinEdit1";
            spinEdit1.Properties.AutoHeight = (bool)componentResourceManager.GetObject("spinEdit1.Properties.AutoHeight");
            spinEdit1.Properties.Buttons.AddRange(new EditorButton[1]
            {
                new EditorButton()
            });
            lbDate.Appearance.Font = (Font)componentResourceManager.GetObject("lbDate.Appearance.Font");
            componentResourceManager.ApplyResources(lbDate, "lbDate");
            lbDate.Name = "lbDate";
            componentResourceManager.ApplyResources(tbScore, "tbScore");
            tbScore.Name = "tbScore";
            tbScore.Properties.Appearance.Font            = (Font)componentResourceManager.GetObject("tbScore.Properties.Appearance.Font");
            tbScore.Properties.Appearance.Options.UseFont = true;
            tbScore.TextChanged += tbScore_TextChanged;
            tbScore.Validating  += tbScore_Validating;
            componentResourceManager.ApplyResources(lbInfo, "lbInfo");
            lbInfo.Name = "lbInfo";
            btSearch.Appearance.Font            = (Font)componentResourceManager.GetObject("btSearch.Appearance.Font");
            btSearch.Appearance.Options.UseFont = true;
            componentResourceManager.ApplyResources(btSearch, "btSearch");
            btSearch.Name   = "btSearch";
            btSearch.Click += simpleButton2_Click;
            btLoadPicture.Appearance.Font            = (Font)componentResourceManager.GetObject("btLoadPicture.Appearance.Font");
            btLoadPicture.Appearance.Options.UseFont = true;
            componentResourceManager.ApplyResources(btLoadPicture, "btLoadPicture");
            btLoadPicture.Name   = "btLoadPicture";
            btLoadPicture.Click += btLoadPicture_Click;
            componentResourceManager.ApplyResources(pictureEdit1, "pictureEdit1");
            pictureEdit1.Name = "pictureEdit1";
            pictureEdit1.Properties.SizeMode = PictureSizeMode.Zoom;
            gbDate.Controls.Add(labelControl5);
            gbDate.Controls.Add(labelControl4);
            gbDate.Controls.Add(dtBefore);
            gbDate.Controls.Add(dtFrom);
            componentResourceManager.ApplyResources(gbDate, "gbDate");
            gbDate.Name    = "gbDate";
            gbDate.TabStop = false;
            labelControl5.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl5.Appearance.Font");
            componentResourceManager.ApplyResources(labelControl5, "labelControl5");
            labelControl5.Name            = "labelControl5";
            labelControl4.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl4.Appearance.Font");
            componentResourceManager.ApplyResources(labelControl4, "labelControl4");
            labelControl4.Name = "labelControl4";
            componentResourceManager.ApplyResources(dtBefore, "dtBefore");
            dtBefore.Name = "dtBefore";
            dtBefore.Properties.Buttons.AddRange(new EditorButton[1]
            {
                new EditorButton((ButtonPredefines)componentResourceManager.GetObject("dtBefore.Properties.Buttons"))
            });
            dtBefore.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[1]
            {
                new EditorButton()
            });
            componentResourceManager.ApplyResources(dtFrom, "dtFrom");
            dtFrom.Name = "dtFrom";
            dtFrom.Properties.Buttons.AddRange(new EditorButton[1]
            {
                new EditorButton((ButtonPredefines)componentResourceManager.GetObject("dtFrom.Properties.Buttons"))
            });
            dtFrom.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[1]
            {
                new EditorButton()
            });
            componentResourceManager.ApplyResources(gridControl1, "gridControl1");
            gridControl1.LookAndFeel.SkinName = "Office 2007 Blue";
            gridControl1.MainView             = gridView1;
            gridControl1.Name = "gridControl1";
            gridControl1.ViewCollection.AddRange(new BaseView[1]
            {
                gridView1
            });
            gridView1.ColumnPanelRowHeight = 50;
            gridView1.Columns.AddRange(new GridColumn[7]
            {
                colFaceID,
                colPicture,
                colName,
                colScore,
                colBirthday,
                colCategory,
                colPosition
            });
            gridView1.GridControl                      = gridControl1;
            gridView1.IndicatorWidth                   = 60;
            gridView1.Name                             = "gridView1";
            gridView1.OptionsBehavior.Editable         = false;
            gridView1.OptionsCustomization.AllowFilter = false;
            gridView1.OptionsFind.ClearFindOnClose     = false;
            gridView1.OptionsFind.FindDelay            = 10000;
            gridView1.OptionsFind.FindMode             = FindMode.Always;
            gridView1.OptionsFind.ShowCloseButton      = false;
            gridView1.OptionsSelection.MultiSelect     = true;
            gridView1.OptionsView.RowAutoHeight        = true;
            gridView1.OptionsView.ShowGroupPanel       = false;
            gridView1.SortInfo.AddRange(new GridColumnSortInfo[1]
            {
                new GridColumnSortInfo(colScore, ColumnSortOrder.Descending)
            });
            gridView1.CustomDrawRowIndicator                 += gridView1_CustomDrawRowIndicator;
            colFaceID.AppearanceCell.Font                     = (Font)componentResourceManager.GetObject("colFaceID.AppearanceCell.Font");
            colFaceID.AppearanceCell.Options.UseFont          = true;
            colFaceID.AppearanceHeader.Font                   = (Font)componentResourceManager.GetObject("colFaceID.AppearanceHeader.Font");
            colFaceID.AppearanceHeader.Options.UseFont        = true;
            colFaceID.AppearanceHeader.Options.UseTextOptions = true;
            colFaceID.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center;
            componentResourceManager.ApplyResources(colFaceID, "colFaceID");
            colFaceID.FieldName = "FaceID";
            colFaceID.Name      = "colFaceID";
            colFaceID.OptionsColumn.AllowEdit                  = false;
            colFaceID.OptionsColumn.ReadOnly                   = true;
            colPicture.AppearanceCell.Font                     = (Font)componentResourceManager.GetObject("colPicture.AppearanceCell.Font");
            colPicture.AppearanceCell.Options.UseFont          = true;
            colPicture.AppearanceHeader.Font                   = (Font)componentResourceManager.GetObject("colPicture.AppearanceHeader.Font");
            colPicture.AppearanceHeader.Options.UseFont        = true;
            colPicture.AppearanceHeader.Options.UseTextOptions = true;
            colPicture.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center;
            componentResourceManager.ApplyResources(colPicture, "colPicture");
            colPicture.ColumnEdit = repositoryItemPictureEdit1;
            colPicture.FieldName  = "Image";
            colPicture.Name       = "colPicture";
            colPicture.OptionsColumn.AllowEdit              = false;
            colPicture.OptionsColumn.AllowSort              = DefaultBoolean.False;
            colPicture.OptionsColumn.ReadOnly               = true;
            colName.AppearanceCell.Font                     = (Font)componentResourceManager.GetObject("colName.AppearanceCell.Font");
            colName.AppearanceCell.Options.UseFont          = true;
            colName.AppearanceHeader.Font                   = (Font)componentResourceManager.GetObject("colName.AppearanceHeader.Font");
            colName.AppearanceHeader.Options.UseFont        = true;
            colName.AppearanceHeader.Options.UseTextOptions = true;
            colName.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center;
            componentResourceManager.ApplyResources(colName, "colName");
            colName.FieldName = "Name";
            colName.Name      = "colName";
            colName.OptionsColumn.AllowEdit                  = false;
            colName.OptionsColumn.ReadOnly                   = true;
            colScore.AppearanceCell.Font                     = (Font)componentResourceManager.GetObject("colScore.AppearanceCell.Font");
            colScore.AppearanceCell.Options.UseFont          = true;
            colScore.AppearanceHeader.Font                   = (Font)componentResourceManager.GetObject("colScore.AppearanceHeader.Font");
            colScore.AppearanceHeader.Options.UseFont        = true;
            colScore.AppearanceHeader.Options.UseTextOptions = true;
            colScore.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center;
            colScore.AppearanceHeader.TextOptions.WordWrap   = WordWrap.Wrap;
            componentResourceManager.ApplyResources(colScore, "colScore");
            colScore.FieldName = "Score";
            colScore.Name      = "colScore";
            colScore.OptionsColumn.AllowEdit                    = false;
            colScore.OptionsColumn.FixedWidth                   = true;
            colScore.OptionsColumn.ReadOnly                     = true;
            colBirthday.AppearanceCell.Font                     = (Font)componentResourceManager.GetObject("colBirthday.AppearanceCell.Font");
            colBirthday.AppearanceCell.Options.UseFont          = true;
            colBirthday.AppearanceHeader.Font                   = (Font)componentResourceManager.GetObject("colBirthday.AppearanceHeader.Font");
            colBirthday.AppearanceHeader.Options.UseFont        = true;
            colBirthday.AppearanceHeader.Options.UseTextOptions = true;
            colBirthday.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center;
            colBirthday.AppearanceHeader.TextOptions.WordWrap   = WordWrap.Wrap;
            componentResourceManager.ApplyResources(colBirthday, "colBirthday");
            colBirthday.ColumnEdit = repositoryItemDateEdit1;
            colBirthday.DisplayFormat.FormatString = "dd.MM.yyyy HH:mm:ss";
            colBirthday.DisplayFormat.FormatType   = FormatType.DateTime;
            colBirthday.FieldName = "Birthday";
            colBirthday.Name      = "colBirthday";
            colBirthday.OptionsColumn.AllowEdit                 = false;
            colBirthday.OptionsColumn.ReadOnly                  = true;
            colCategory.AppearanceCell.Font                     = (Font)componentResourceManager.GetObject("colCategory.AppearanceCell.Font");
            colCategory.AppearanceCell.Options.UseFont          = true;
            colCategory.AppearanceHeader.Font                   = (Font)componentResourceManager.GetObject("colCategory.AppearanceHeader.Font");
            colCategory.AppearanceHeader.Options.UseFont        = true;
            colCategory.AppearanceHeader.Options.UseTextOptions = true;
            colCategory.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center;
            componentResourceManager.ApplyResources(colCategory, "colCategory");
            colCategory.FieldName = "Category";
            colCategory.Name      = "colCategory";
            colCategory.OptionsColumn.ReadOnly                  = true;
            colPosition.AppearanceCell.Font                     = (Font)componentResourceManager.GetObject("colPosition.AppearanceCell.Font");
            colPosition.AppearanceCell.Options.UseFont          = true;
            colPosition.AppearanceHeader.Font                   = (Font)componentResourceManager.GetObject("colPosition.AppearanceHeader.Font");
            colPosition.AppearanceHeader.Options.UseFont        = true;
            colPosition.AppearanceHeader.Options.UseTextOptions = true;
            colPosition.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center;
            colPosition.AppearanceHeader.TextOptions.WordWrap   = WordWrap.Wrap;
            componentResourceManager.ApplyResources(colPosition, "colPosition");
            colPosition.FieldName = "Comment";
            colPosition.Name      = "colPosition";
            colPosition.OptionsColumn.AllowEdit = false;
            colPosition.OptionsColumn.ReadOnly  = true;
            componentResourceManager.ApplyResources(btPrint, "btPrint");
            btPrint.Appearance.Font            = (Font)componentResourceManager.GetObject("btPrint.Appearance.Font");
            btPrint.Appearance.Options.UseFont = true;
            btPrint.Name   = "btPrint";
            btPrint.Click += btPrint_Click;
            labelControl2.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl2.Appearance.Font");
            componentResourceManager.ApplyResources(labelControl2, "labelControl2");
            labelControl2.Name = "labelControl2";
            componentResourceManager.ApplyResources(marqueeProgressBarControl1, "marqueeProgressBarControl1");
            marqueeProgressBarControl1.Name              = "marqueeProgressBarControl1";
            marqueeProgressBarControl1.EditValueChanged += marqueeProgressBarControl1_EditValueChanged;
            componentResourceManager.ApplyResources(btClearResults, "btClearResults");
            btClearResults.Appearance.Font            = (Font)componentResourceManager.GetObject("btClearResults.Appearance.Font");
            btClearResults.Appearance.Options.UseFont = true;
            btClearResults.Name        = "btClearResults";
            btClearResults.Click      += btClearResults_Click;
            Appearance.Font            = (Font)componentResourceManager.GetObject("frmDBSearch.Appearance.Font");
            Appearance.Options.UseFont = true;
            AutoScaleMode = AutoScaleMode.None;
            componentResourceManager.ApplyResources(this, "$this");
            Controls.Add(btClearResults);
            Controls.Add(labelControl2);
            Controls.Add(marqueeProgressBarControl1);
            Controls.Add(groupBox1);
            Controls.Add(btPrint);
            Controls.Add(gridControl1);
            FormBorderStyle = FormBorderStyle.None;
            Name            = "FrmDbSearch";
            ShowIcon        = false;
            WindowState     = FormWindowState.Maximized;
            FormClosing    += frmLogSearch_FormClosing;
            Load           += frmDBSearch_Load;
            Resize         += frmDBSearch_Resize;
            repositoryItemPictureEdit1.EndInit();
            repositoryItemDateEdit1.VistaTimeProperties.EndInit();
            repositoryItemDateEdit1.EndInit();
            groupBox1.ResumeLayout(false);
            groupBox1.PerformLayout();
            cbSex.Properties.EndInit();
            spinEdit1.Properties.EndInit();
            tbScore.Properties.EndInit();
            pictureEdit1.Properties.EndInit();
            gbDate.ResumeLayout(false);
            gbDate.PerformLayout();
            dtBefore.Properties.VistaTimeProperties.EndInit();
            dtBefore.Properties.EndInit();
            dtFrom.Properties.VistaTimeProperties.EndInit();
            dtFrom.Properties.EndInit();
            gridControl1.EndInit();
            gridView1.EndInit();
            marqueeProgressBarControl1.Properties.EndInit();
            ResumeLayout(false);
            PerformLayout();
        }
Exemple #2
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmVideo));
            GridLevelNode            gridLevelNode            = new GridLevelNode();

            splitContainerControl1 = new SplitContainerControl();
            pbImage  = new PictureBox();
            gcImages = new GridControl();
            lvImages = new LayoutView();
            colImage = new LayoutViewColumn();
            repositoryItemPictureEdit1        = new RepositoryItemPictureEdit();
            layoutViewField_layoutViewColumn1 = new LayoutViewField();
            layoutViewCard1  = new LayoutViewCard();
            gridView1        = new GridView();
            btPlay           = new SimpleButton();
            btPause          = new SimpleButton();
            btStop           = new SimpleButton();
            btOpen           = new SimpleButton();
            btCancel         = new SimpleButton();
            btAccept         = new SimpleButton();
            trackBarControl1 = new TrackBarControl();
            labelControl1    = new LabelControl();
            btClear          = new SimpleButton();
            splitContainerControl1.BeginInit();
            splitContainerControl1.SuspendLayout();
            ((ISupportInitialize)pbImage).BeginInit();
            gcImages.BeginInit();
            lvImages.BeginInit();
            repositoryItemPictureEdit1.BeginInit();
            layoutViewField_layoutViewColumn1.BeginInit();
            layoutViewCard1.BeginInit();
            gridView1.BeginInit();
            ((ISupportInitialize)trackBarControl1).BeginInit();
            trackBarControl1.Properties.BeginInit();
            SuspendLayout();
            componentResourceManager.ApplyResources(splitContainerControl1, "splitContainerControl1");
            splitContainerControl1.Name = "splitContainerControl1";
            componentResourceManager.ApplyResources(splitContainerControl1.Panel1, "splitContainerControl1.Panel1");
            splitContainerControl1.Panel1.Controls.Add(pbImage);
            componentResourceManager.ApplyResources(splitContainerControl1.Panel2, "splitContainerControl1.Panel2");
            splitContainerControl1.Panel2.Controls.Add(gcImages);
            splitContainerControl1.SplitterPosition = 751;
            componentResourceManager.ApplyResources(pbImage, "pbImage");
            pbImage.Name    = "pbImage";
            pbImage.TabStop = false;
            componentResourceManager.ApplyResources(gcImages, "gcImages");
            gcImages.EmbeddedNavigator.AccessibleDescription  = componentResourceManager.GetString("gcImages.EmbeddedNavigator.AccessibleDescription");
            gcImages.EmbeddedNavigator.AccessibleName         = componentResourceManager.GetString("gcImages.EmbeddedNavigator.AccessibleName");
            gcImages.EmbeddedNavigator.AllowHtmlTextInToolTip = (DefaultBoolean)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.AllowHtmlTextInToolTip");
            gcImages.EmbeddedNavigator.Anchor                = (AnchorStyles)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.Anchor");
            gcImages.EmbeddedNavigator.BackgroundImage       = (Image)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.BackgroundImage");
            gcImages.EmbeddedNavigator.BackgroundImageLayout = (ImageLayout)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.BackgroundImageLayout");
            gcImages.EmbeddedNavigator.ImeMode               = (ImeMode)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.ImeMode");
            gcImages.EmbeddedNavigator.MaximumSize           = (Size)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.MaximumSize");
            gcImages.EmbeddedNavigator.TextLocation          = (NavigatorButtonsTextLocation)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.TextLocation");
            gcImages.EmbeddedNavigator.ToolTip               = componentResourceManager.GetString("gcImages.EmbeddedNavigator.ToolTip");
            gcImages.EmbeddedNavigator.ToolTipIconType       = (ToolTipIconType)componentResourceManager.GetObject("gcImages.EmbeddedNavigator.ToolTipIconType");
            gcImages.EmbeddedNavigator.ToolTipTitle          = componentResourceManager.GetString("gcImages.EmbeddedNavigator.ToolTipTitle");
            gridLevelNode.RelationName = "Level1";
            gcImages.LevelTree.Nodes.AddRange(new GridLevelNode[1]
            {
                gridLevelNode
            });
            gcImages.MainView = lvImages;
            gcImages.Name     = "gcImages";
            gcImages.ViewCollection.AddRange(new BaseView[2]
            {
                lvImages,
                gridView1
            });
            componentResourceManager.ApplyResources(lvImages, "lvImages");
            lvImages.CardHorzInterval = 0;
            lvImages.CardMinSize      = new Size(150, 150);
            lvImages.CardVertInterval = 0;
            lvImages.Columns.AddRange(new LayoutViewColumn[1]
            {
                colImage
            });
            lvImages.GridControl = gcImages;
            lvImages.Name        = "lvImages";
            lvImages.OptionsBehavior.AllowAddRows           = DefaultBoolean.False;
            lvImages.OptionsBehavior.AllowDeleteRows        = DefaultBoolean.False;
            lvImages.OptionsBehavior.AllowExpandCollapse    = false;
            lvImages.OptionsBehavior.AutoPopulateColumns    = false;
            lvImages.OptionsBehavior.AutoSelectAllInEditor  = false;
            lvImages.OptionsCustomization.AllowFilter       = false;
            lvImages.OptionsCustomization.AllowSort         = false;
            lvImages.OptionsItemText.AlignMode              = FieldTextAlignMode.CustomSize;
            lvImages.OptionsItemText.TextToControlDistance  = 0;
            lvImages.OptionsLayout.Columns.AddNewColumns    = false;
            lvImages.OptionsLayout.Columns.RemoveOldColumns = false;
            lvImages.OptionsLayout.Columns.StoreLayout      = false;
            lvImages.OptionsLayout.StoreDataSettings        = false;
            lvImages.OptionsLayout.StoreVisualOptions       = false;
            lvImages.OptionsSelection.MultiSelect           = true;
            lvImages.OptionsView.AllowHotTrackFields        = false;
            lvImages.OptionsView.ShowButtonMode             = ShowButtonModeEnum.ShowAlways;
            lvImages.OptionsView.ShowCardExpandButton       = false;
            lvImages.OptionsView.ShowCardFieldBorders       = true;
            lvImages.OptionsView.ShowCardLines              = false;
            lvImages.OptionsView.ShowFieldHints             = false;
            lvImages.OptionsView.ShowFilterPanelMode        = ShowFilterPanelMode.Never;
            lvImages.OptionsView.ShowHeaderPanel            = false;
            lvImages.OptionsView.ViewMode             = LayoutViewMode.MultiColumn;
            lvImages.TemplateCard                     = layoutViewCard1;
            lvImages.CustomDrawCardCaption           += lvImages_CustomDrawCardCaption;
            colImage.AppearanceCell.Font              = (Font)componentResourceManager.GetObject("colImage.AppearanceCell.Font");
            colImage.AppearanceCell.FontSizeDelta     = (int)componentResourceManager.GetObject("colImage.AppearanceCell.FontSizeDelta");
            colImage.AppearanceCell.FontStyleDelta    = (FontStyle)componentResourceManager.GetObject("colImage.AppearanceCell.FontStyleDelta");
            colImage.AppearanceCell.GradientMode      = (LinearGradientMode)componentResourceManager.GetObject("colImage.AppearanceCell.GradientMode");
            colImage.AppearanceCell.Image             = (Image)componentResourceManager.GetObject("colImage.AppearanceCell.Image");
            colImage.AppearanceCell.Options.UseFont   = true;
            colImage.AppearanceHeader.Font            = (Font)componentResourceManager.GetObject("colImage.AppearanceHeader.Font");
            colImage.AppearanceHeader.FontSizeDelta   = (int)componentResourceManager.GetObject("colImage.AppearanceHeader.FontSizeDelta");
            colImage.AppearanceHeader.FontStyleDelta  = (FontStyle)componentResourceManager.GetObject("colImage.AppearanceHeader.FontStyleDelta");
            colImage.AppearanceHeader.GradientMode    = (LinearGradientMode)componentResourceManager.GetObject("colImage.AppearanceHeader.GradientMode");
            colImage.AppearanceHeader.Image           = (Image)componentResourceManager.GetObject("colImage.AppearanceHeader.Image");
            colImage.AppearanceHeader.Options.UseFont = true;
            componentResourceManager.ApplyResources(colImage, "colImage");
            colImage.ColumnEdit                  = repositoryItemPictureEdit1;
            colImage.FieldName                   = "Image";
            colImage.LayoutViewField             = layoutViewField_layoutViewColumn1;
            colImage.Name                        = "colImage";
            colImage.OptionsColumn.AllowEdit     = false;
            colImage.OptionsColumn.AllowMove     = false;
            colImage.OptionsColumn.AllowShowHide = false;
            colImage.OptionsColumn.AllowSize     = false;
            colImage.OptionsColumn.ReadOnly      = true;
            componentResourceManager.ApplyResources(repositoryItemPictureEdit1, "repositoryItemPictureEdit1");
            repositoryItemPictureEdit1.Name     = "repositoryItemPictureEdit1";
            repositoryItemPictureEdit1.SizeMode = PictureSizeMode.Zoom;
            layoutViewField_layoutViewColumn1.EditorPreferredWidth = 122;
            layoutViewField_layoutViewColumn1.Location             = new Point(0, 0);
            layoutViewField_layoutViewColumn1.Name     = "layoutViewField_layoutViewColumn1";
            layoutViewField_layoutViewColumn1.Padding  = new Padding(0, 0, 0, 0);
            layoutViewField_layoutViewColumn1.Size     = new Size(129, 22);
            layoutViewField_layoutViewColumn1.TextSize = new Size(7, 13);
            componentResourceManager.ApplyResources(layoutViewCard1, "layoutViewCard1");
            layoutViewCard1.ExpandButtonLocation = GroupElementLocation.AfterText;
            layoutViewCard1.Items.AddRange(new BaseLayoutItem[1]
            {
                layoutViewField_layoutViewColumn1
            });
            layoutViewCard1.Name = "layoutViewTemplateCard";
            layoutViewCard1.OptionsItemText.TextToControlDistance = 0;
            layoutViewCard1.Padding = new Padding(0, 0, 0, 0);
            componentResourceManager.ApplyResources(gridView1, "gridView1");
            gridView1.GridControl = gcImages;
            gridView1.Name        = "gridView1";
            componentResourceManager.ApplyResources(btPlay, "btPlay");
            btPlay.Appearance.Font            = (Font)componentResourceManager.GetObject("btPlay.Appearance.Font");
            btPlay.Appearance.FontSizeDelta   = (int)componentResourceManager.GetObject("btPlay.Appearance.FontSizeDelta");
            btPlay.Appearance.FontStyleDelta  = (FontStyle)componentResourceManager.GetObject("btPlay.Appearance.FontStyleDelta");
            btPlay.Appearance.GradientMode    = (LinearGradientMode)componentResourceManager.GetObject("btPlay.Appearance.GradientMode");
            btPlay.Appearance.Image           = (Image)componentResourceManager.GetObject("btPlay.Appearance.Image");
            btPlay.Appearance.Options.UseFont = true;
            btPlay.Image  = Resources.play36;
            btPlay.Name   = "btPlay";
            btPlay.Click += btPlay_Click;
            componentResourceManager.ApplyResources(btPause, "btPause");
            btPause.Appearance.Font            = (Font)componentResourceManager.GetObject("btPause.Appearance.Font");
            btPause.Appearance.FontSizeDelta   = (int)componentResourceManager.GetObject("btPause.Appearance.FontSizeDelta");
            btPause.Appearance.FontStyleDelta  = (FontStyle)componentResourceManager.GetObject("btPause.Appearance.FontStyleDelta");
            btPause.Appearance.GradientMode    = (LinearGradientMode)componentResourceManager.GetObject("btPause.Appearance.GradientMode");
            btPause.Appearance.Image           = (Image)componentResourceManager.GetObject("btPause.Appearance.Image");
            btPause.Appearance.Options.UseFont = true;
            btPause.Image  = Resources.pause36;
            btPause.Name   = "btPause";
            btPause.Click += btPause_Click;
            componentResourceManager.ApplyResources(btStop, "btStop");
            btStop.Appearance.Font            = (Font)componentResourceManager.GetObject("btStop.Appearance.Font");
            btStop.Appearance.FontSizeDelta   = (int)componentResourceManager.GetObject("btStop.Appearance.FontSizeDelta");
            btStop.Appearance.FontStyleDelta  = (FontStyle)componentResourceManager.GetObject("btStop.Appearance.FontStyleDelta");
            btStop.Appearance.GradientMode    = (LinearGradientMode)componentResourceManager.GetObject("btStop.Appearance.GradientMode");
            btStop.Appearance.Image           = (Image)componentResourceManager.GetObject("btStop.Appearance.Image");
            btStop.Appearance.Options.UseFont = true;
            btStop.Image  = Resources.stop36;
            btStop.Name   = "btStop";
            btStop.Click += btStop_Click;
            componentResourceManager.ApplyResources(btOpen, "btOpen");
            btOpen.Appearance.Font            = (Font)componentResourceManager.GetObject("btOpen.Appearance.Font");
            btOpen.Appearance.FontSizeDelta   = (int)componentResourceManager.GetObject("btOpen.Appearance.FontSizeDelta");
            btOpen.Appearance.FontStyleDelta  = (FontStyle)componentResourceManager.GetObject("btOpen.Appearance.FontStyleDelta");
            btOpen.Appearance.GradientMode    = (LinearGradientMode)componentResourceManager.GetObject("btOpen.Appearance.GradientMode");
            btOpen.Appearance.Image           = (Image)componentResourceManager.GetObject("btOpen.Appearance.Image");
            btOpen.Appearance.Options.UseFont = true;
            btOpen.Image  = Resources.Open3;
            btOpen.Name   = "btOpen";
            btOpen.Click += btOpen_Click;
            componentResourceManager.ApplyResources(btCancel, "btCancel");
            btCancel.Appearance.Font            = (Font)componentResourceManager.GetObject("btCancel.Appearance.Font");
            btCancel.Appearance.FontSizeDelta   = (int)componentResourceManager.GetObject("btCancel.Appearance.FontSizeDelta");
            btCancel.Appearance.FontStyleDelta  = (FontStyle)componentResourceManager.GetObject("btCancel.Appearance.FontStyleDelta");
            btCancel.Appearance.GradientMode    = (LinearGradientMode)componentResourceManager.GetObject("btCancel.Appearance.GradientMode");
            btCancel.Appearance.Image           = (Image)componentResourceManager.GetObject("btCancel.Appearance.Image");
            btCancel.Appearance.Options.UseFont = true;
            btCancel.DialogResult = DialogResult.Cancel;
            btCancel.Name         = "btCancel";
            btCancel.Click       += btCancel_Click;
            componentResourceManager.ApplyResources(btAccept, "btAccept");
            btAccept.Appearance.Font            = (Font)componentResourceManager.GetObject("btAccept.Appearance.Font");
            btAccept.Appearance.FontSizeDelta   = (int)componentResourceManager.GetObject("btAccept.Appearance.FontSizeDelta");
            btAccept.Appearance.FontStyleDelta  = (FontStyle)componentResourceManager.GetObject("btAccept.Appearance.FontStyleDelta");
            btAccept.Appearance.GradientMode    = (LinearGradientMode)componentResourceManager.GetObject("btAccept.Appearance.GradientMode");
            btAccept.Appearance.Image           = (Image)componentResourceManager.GetObject("btAccept.Appearance.Image");
            btAccept.Appearance.Options.UseFont = true;
            btAccept.Name   = "btAccept";
            btAccept.Click += btAccept_Click;
            componentResourceManager.ApplyResources(trackBarControl1, "trackBarControl1");
            trackBarControl1.Name = "trackBarControl1";
            trackBarControl1.Properties.AccessibleDescription = componentResourceManager.GetString("trackBarControl1.Properties.AccessibleDescription");
            trackBarControl1.Properties.AccessibleName        = componentResourceManager.GetString("trackBarControl1.Properties.AccessibleName");
            trackBarControl1.Properties.Orientation           = (Orientation)componentResourceManager.GetObject("trackBarControl1.Properties.Orientation");
            trackBarControl1.EditValueChanged += trackBarControl1_EditValueChanged;
            componentResourceManager.ApplyResources(labelControl1, "labelControl1");
            labelControl1.Name = "labelControl1";
            componentResourceManager.ApplyResources(btClear, "btClear");
            btClear.Appearance.Font            = (Font)componentResourceManager.GetObject("btClear.Appearance.Font");
            btClear.Appearance.FontSizeDelta   = (int)componentResourceManager.GetObject("btClear.Appearance.FontSizeDelta");
            btClear.Appearance.FontStyleDelta  = (FontStyle)componentResourceManager.GetObject("btClear.Appearance.FontStyleDelta");
            btClear.Appearance.GradientMode    = (LinearGradientMode)componentResourceManager.GetObject("btClear.Appearance.GradientMode");
            btClear.Appearance.Image           = (Image)componentResourceManager.GetObject("btClear.Appearance.Image");
            btClear.Appearance.Options.UseFont = true;
            btClear.Name   = "btClear";
            btClear.Click += btClear_Click;
            componentResourceManager.ApplyResources(this, "$this");
            AutoScaleMode = AutoScaleMode.Font;
            Controls.Add(btClear);
            Controls.Add(labelControl1);
            Controls.Add(trackBarControl1);
            Controls.Add(splitContainerControl1);
            Controls.Add(btCancel);
            Controls.Add(btAccept);
            Controls.Add(btOpen);
            Controls.Add(btStop);
            Controls.Add(btPause);
            Controls.Add(btPlay);
            FormBorderStyle = FormBorderStyle.FixedSingle;
            MaximizeBox     = false;
            MinimizeBox     = false;
            Name            = "FrmVideo";
            FormClosing    += frmVideo_FormClosing;
            Load           += frmVideo_Load;
            splitContainerControl1.EndInit();
            splitContainerControl1.ResumeLayout(false);
            ((ISupportInitialize)pbImage).EndInit();
            gcImages.EndInit();
            lvImages.EndInit();
            repositoryItemPictureEdit1.EndInit();
            layoutViewField_layoutViewColumn1.EndInit();
            layoutViewCard1.EndInit();
            gridView1.EndInit();
            trackBarControl1.Properties.EndInit();
            ((ISupportInitialize)trackBarControl1).EndInit();
            ResumeLayout(false);
            PerformLayout();
        }