public XtraReportTSCD_Grid(DevExpress.XtraGrid.GridControl _GridControl, Boolean ALLSUM)
 {
     InitializeComponent();
     this._GridControl = _GridControl;
     this._GridControl.Dock = System.Windows.Forms.DockStyle.Fill;
     SHARED.Libraries.ReportHelper.InitGridView(this._GridControl, ALLSUM);
     winControlContainer_GridControl.WinControl = this._GridControl;
 }
        public BasicInfoElectricMeter()
        {
            InitializeComponent();
            this.Dock = DockStyle.Fill;
            DataTable _electricityMeterTable = new DataTable();
            DataTable ElectricityMeterTbl = BusinessLogicBridge.DataStore.getElectricityMeter();
            ElectricityMeterTbl.Columns.Add("colElecStatus_text", typeof(string));
            ElectricityMeterTbl.Columns.Add("colCutStatus_text", typeof(string));

            gridViewNick = gridView3;
            gridViewNick.OptionsBehavior.ReadOnly = true;

            for (int i = 0; i < ElectricityMeterTbl.Rows.Count; i++)
            {
                string change = ElectricityMeterTbl.Rows[i]["meter_status"].ToString();
                string cut      = ElectricityMeterTbl.Rows[i]["meter_cut"].ToString();

                if (cut == "1")
                {
                    ElectricityMeterTbl.Rows[i]["colCutStatus_text"] = "ต่อไฟ";

                }
                else
                {
                    ElectricityMeterTbl.Rows[i]["colCutStatus_text"] = "ตัดไฟ";

                }
                gridView3.RowCellStyle +=new RowCellStyleEventHandler(gridView3_RowCellStyle);

                if (change == "1")
                {
                    ElectricityMeterTbl.Rows[i]["colElecStatus_text"] = "การสื่อสารสมบูรณ์";

                }
                else
                {
                    ElectricityMeterTbl.Rows[i]["colElecStatus_text"] = "การสื่อสารผิดพลาด";

                }
            }

            //ElectricityMeterTbl
            gridControlNick = gridControl1;
            gridControlNick.DataSource = ElectricityMeterTbl;
            gridControlNick.UseEmbeddedNavigator = true;

            gridViewNick.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
            gridViewNick.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;

            gridViewNick.FocusedRowChanged +=new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(gridViewNick_FocusedRowChanged);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 把数据绑定到动态聚组结果展示的xtraGrid中
        /// </summary>
        /// <param name="xtraGrid"></param>
        /// <param name="dataSource">数据源</param>
        /// <param name="xmlFileName">动态聚组的客户端配置文件</param>
        /// <returns></returns>
        public bool BindingToXtraGridForDynamicGroup(DevExpress.XtraGrid.GridControl xtraGrid, object dataSource, string xmlFileName)
        {
            DynamicGroupCfgHelper cfgHelper = new DynamicGroupCfgHelper(xmlFileName);
            var cols = cfgHelper.GetResultColPropertys();

            return(BindingToXtraGrid(xtraGrid, dataSource, cols, null, string.Empty, false));
        }
Ejemplo n.º 4
0
        private void grid_DragDrop(object sender, System.Windows.Forms.DragEventArgs e)
        {
            DevExpress.XtraGrid.GridControl grid = sender as DevExpress.XtraGrid.GridControl;
            //if (grid.Name == "_gdMAIN")
            //    return;
            DataTable table = grid.DataSource as DataTable;
            DataRow   row   = e.Data.GetData(typeof(DataRow)) as DataRow;

            if (row != null && table != null && row.Table != table)
            {
                if (row.ItemArray.Length < 7)
                {
                    return;
                }
                //bool isChack = CoFAS_ConvertManager.DataTable_FindCount(table, String.Format("CONFIGURATION_CODE = '{0}'", row["CONFIGURATION_CODE"].ToString()), "");
                //if (!isChack)
                //{
                //table.ImportRow(row);

                _pScheduling_T50Entity.ORDER_ID   = row["PRODUCTION_ORDER_ID"].ToString();
                _pScheduling_T50Entity.ORDER_SEQ  = row["PRODUCTION_ORDER_SEQ"].ToString();
                _pScheduling_T50Entity.order_date = row["PRODUCTION_ORDER_DATE"].ToString();

                DataTable dt = new Scheduling_T50Business().ucScheduling_T50_U10(_pScheduling_T50Entity);

                GetGrid();

                OnPopup(this, new EventArgs());

                //}
            }
        }
Ejemplo n.º 5
0
        /// <summary>
        /// 그리드 순환 - 입력컨트롤 그리드 컨트롤 포커스 이동
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.Windows.Forms.KeyPressEventArgs"/> instance containing the event data.</param>
        private void CBRAS06_KeyPress(object sender, KeyPressEventArgs e)
        {
            try
            {
                //그리드를 배열에 담는다.
                //그리드가 여러개일때
                DevExpress.XtraGrid.GridControl[] arryGrid =
                    new DevExpress.XtraGrid.GridControl[] { this.grid,
                                                            this.gridDetail };

                if (Convert.ToString(e.KeyChar, 10) == Parm.STR_GRID_LOOP)
                {
                    Cls.Common.Basic.SetGridFocus(arryGrid, Cls.Common.Basic.FocusKind.GridLoop);
                }
                else if (Convert.ToString(e.KeyChar, 10) == Parm.STR_CONVERT_FOCUS)
                {
                    if (Cls.Common.Basic.SetGridFocus(arryGrid, Cls.Common.Basic.FocusKind.Control))
                    {
                        dtpFrom.Focus();
                    }
                    else
                    {
                        this.grid.Focus();
                    }
                }
            }
            catch (Exception ex)
            {
                Basic.ShowMessage(1, ex.Message);
            }
        }
Ejemplo n.º 6
0
        /// <summary>
        /// 把XtraGrid中的数据倒出到Txt 中
        /// </summary>
        /// <param name="pDg"></param>
        /// <param name="pExportFullName"></param>
        public void ExportToText(DevExpress.XtraGrid.GridControl pDg, string pExportFullName)
        {
            if (pDg.MainView != null)
            {
                try
                {
                    //ExportTxtProvider ex = new ExportTxtProvider(pExportFullName);
                    //ExportTo(pDg, ex);

                    TextExportOptions option = new TextExportOptions();
                    //option.Encoding = Encoding.UTF8;
                    //转成中文格式,方便EXCEL直接打开
                    option.Encoding                   = System.Text.Encoding.GetEncoding("GB2312");
                    option.TextExportMode             = TextExportMode.Value;
                    option.Separator                  = "\t";
                    option.QuoteStringsWithSeparators = false;

                    pDg.MainView.ExportToText(pExportFullName, option);
                }
                catch (Exception e)
                {
                    throw e;
                }
            }
        }
Ejemplo n.º 7
0
        /// <summary>
        /// 设置grid的编辑方式。
        /// </summary>
        /// <param name="xtraGrid"></param>
        /// <param name="autoNewRow"></param>
        public void SetGridViewNewItem(DevExpress.XtraGrid.GridControl xtraGrid, bool autoNewRow) {
            XtraContextMenuType viewPopuMenus = XtraContextMenuType.SaveGridState | XtraContextMenuType.Export | XtraContextMenuType.ColumnsAllowSort;
            if (autoNewRow)
                viewPopuMenus = viewPopuMenus | XtraContextMenuType.BatchAdd;

            SetGridViewNewItem(xtraGrid, autoNewRow, viewPopuMenus);
        }
Ejemplo n.º 8
0
        /// <summary>
        ///  把数据绑定到XtraGrid 控件中。
        /// </summary>
        /// <param name="xtraGrid"></param>
        /// <param name="dataSource"></param>
        /// <param name="xmlFileName"></param>
        /// <returns></returns>
        public bool BindingToXtraGrid(DevExpress.XtraGrid.GridControl xtraGrid, object dataSource, string xmlFileName)
        {
            var cols     = MB.WinBase.LayoutXmlConfigHelper.Instance.GetColumnPropertys(xmlFileName);
            var editCols = MB.WinBase.LayoutXmlConfigHelper.Instance.GetColumnEdits(cols, xmlFileName);

            return(BindingToXtraGrid(xtraGrid, dataSource, cols, editCols, xmlFileName, false));
        }
Ejemplo n.º 9
0
 public XtraReportTSCD_Grid(DevExpress.XtraGrid.GridControl _GridControl, Boolean ALLSUM)
 {
     InitializeComponent();
     this._GridControl      = _GridControl;
     this._GridControl.Dock = System.Windows.Forms.DockStyle.Fill;
     SHARED.Libraries.ReportHelper.InitGridView(this._GridControl, ALLSUM);
     winControlContainer_GridControl.WinControl = this._GridControl;
 }
Ejemplo n.º 10
0
 /// <summary>
 /// 取消冻结。
 /// </summary>
 /// <param name="xtraGrid"></param>
 public void UnSixedColumn(DevExpress.XtraGrid.GridControl xtraGrid) {
     DevExpress.XtraGrid.Views.Base.ColumnView girdView = xtraGrid.MainView as DevExpress.XtraGrid.Views.Base.ColumnView;
     if (girdView.FocusedColumn == null)
         return;
     for (int i = girdView.Columns.Count - 1; i > -1; i--) {
         girdView.Columns[i].Fixed = DevExpress.XtraGrid.Columns.FixedStyle.None;
     }
 }
Ejemplo n.º 11
0
 /// <summary>
 /// 생성자 : 초기화, 그리드뷰,그리드컨트롤 참조, 그리드뷰 기본설정
 /// </summary>
 /// <param name="gc"></param>
 /// <param name="gv"></param>
 public GridStyle(DevExpress.XtraGrid.GridControl gc, DevExpress.XtraGrid.Views.Grid.GridView gv)
 {
     InitGridStyle();
     this._GridControl = gc;
     this._GridView    = gv;
     SetView();
     this._GridView.Columns.Clear();
 }
Ejemplo n.º 12
0
        /// <summary>
        /// 设置Card View 的属性
        /// </summary>
        /// <param name="pView"></param>
        public void SetCardView(DevExpress.XtraGrid.GridControl xtraGrid) {
            DevExpress.XtraGrid.Views.Card.CardView cardView = xtraGrid.MainView as DevExpress.XtraGrid.Views.Card.CardView;
            cardView.CardWidth = CARD_VIEW_WIDTH;
            cardView.OptionsBehavior.FieldAutoHeight = true;
            cardView.OptionsView.ShowCardCaption = false;
            //cardView.DetailHeight = 160;

            // xtraGrid.Styles.AddReplace("FieldCaption", new DevExpress.Utils.ViewStyleEx("FieldCaption", "CardView", new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))), "", true, false, false, DevExpress.Utils.HorzAlignment.Near, DevExpress.Utils.VertAlignment.Top, null, System.Drawing.SystemColors.HotTrack, System.Drawing.SystemColors.WindowText, System.Drawing.Color.Empty, System.Drawing.Drawing2D.LinearGradientMode.Horizontal));
        }
Ejemplo n.º 13
0
 public void FillGridForCardSettings(string tabloadi, DevExpress.XtraGrid.GridControl grid, GridView view)
 {
     System.Data.DataTable dt = db.GetDataTable("select * from " + tabloadi);
     grid.DataSource         = dt;
     view.Columns[0].Visible = false;
     view.Columns[1].Caption = "Ad";
     view.Columns[2].Caption = "Kod";
     view.Columns[3].Caption = "Kısa Ad";
     view.Columns[4].Caption = "Durum";
 }
Ejemplo n.º 14
0
 public XtraReport_XtraGrid(DevExpress.XtraGrid.GridControl _GridControl, Boolean Landscape)
 {
     InitializeComponent();
     this.Landscape = Landscape;
     SetPositionXRLabel();
     this._GridControl      = _GridControl;
     this._GridControl.Dock = System.Windows.Forms.DockStyle.Fill;
     SHARED.Libraries.ReportHelper.InitGridView(this._GridControl);
     winControlContainer_GridControl.WinControl = this._GridControl;
 }
Ejemplo n.º 15
0
        /// <summary>
        /// 设置GridView 控件的IndicatorWidth 。
        /// </summary>
        /// <param name="xtraGCtl"></param>
        /// <param name="maxIndex"></param>
        /// <returns></returns>
        public void SetGridIndicatorWidth(DevExpress.XtraGrid.GridControl xtraGrid, int maxIndex) {
            DevExpress.XtraGrid.Views.Grid.GridView gridView = xtraGrid.MainView as DevExpress.XtraGrid.Views.Grid.GridView;
            if (gridView == null)
                return;
            System.Drawing.Graphics g = System.Drawing.Graphics.FromHwnd(xtraGrid.Handle);
            System.Drawing.SizeF size = g.MeasureString(maxIndex.ToString(), gridView.PaintAppearance.Row.Font);

            gridView.IndicatorWidth = MB.Util.MyConvert.Instance.ToInt(size.Width) + 10; //在配置的基础上在加上10
            g.Dispose();
        }
 public XtraReport_XtraGrid(DevExpress.XtraGrid.GridControl _GridControl, Boolean Landscape)
 {
     InitializeComponent();
     this.Landscape = Landscape;
     SetPositionXRLabel();
     this._GridControl = _GridControl;
     this._GridControl.Dock = System.Windows.Forms.DockStyle.Fill;
     SHARED.Libraries.ReportHelper.InitGridView(this._GridControl);
     winControlContainer_GridControl.WinControl = this._GridControl;
 }
Ejemplo n.º 17
0
        public static List <string> GridToCSV(DevExpress.XtraGrid.GridControl grid)
        {
            DevExpress.XtraGrid.Views.Grid.GridView view =
                (DevExpress.XtraGrid.Views.Grid.GridView)grid.DefaultView;
            Dictionary <int, string> Titles      = new Dictionary <int, string>();
            List <string>            CSV         = new List <string>();
            StringBuilder            sb          = new StringBuilder();
            Dictionary <int, int>    rowSequence = new Dictionary <int, int>();

            for (int i = 0; i < view.Columns.Count; i++)
            {
                if (view.Columns[i].Visible)
                {
                    int k = view.Columns[i].VisibleIndex;
                    rowSequence[k] = i;
                }
            }
            for (int key = 0; key < rowSequence.Count; key++)
            {
                int i = rowSequence[key];
                Titles.Add(i, view.Columns[i].Caption);
                sb.Append(string.Format("\"{0}\",", Titles[i]));
            }
            CSV.Add(RemoveComma(sb.ToString()));
            int dataRowCount = view.DataRowCount;

            for (int i = 0; i < dataRowCount; i++)
            {
                sb.Length = 0;
                for (int key = 0; key < rowSequence.Count; key++)
                {
                    int k = rowSequence[key];
                    DevExpress.XtraGrid.Columns.GridColumn col = view.Columns[k];
                    var cellValue = view.GetRowCellValue(i, col); //GetRowCellDisplayText(i, col,);
                    if (cellValue != null)
                    {
                        if (cellValue is DateTime)
                        {
                            DateTime dt = (DateTime)cellValue;
                            sb.Append(string.Format("\"{0}\",", dt.ToShortDateString()));
                        }
                        else
                        {
                            sb.Append(string.Format("\"{0}\",", cellValue.ToString()));
                        }
                    }
                    else
                    {
                        sb.Append(",");
                    }
                }
                CSV.Add(RemoveComma(sb.ToString()));
            }
            return(CSV);
        }
Ejemplo n.º 18
0
        /// <summary>
        /// 设置grid的编辑方式。
        /// </summary>
        /// <param name="xtraGCtl"></param>
        /// <param name="autoNewRow"></param>
        /// <param name="enterMoveNext"></param>
        public void SetEditGridAutoInfo(DevExpress.XtraGrid.GridControl xtraGrid) {
            DevExpress.XtraGrid.Views.Grid.GridView gridView = xtraGrid.MainView as DevExpress.XtraGrid.Views.Grid.GridView;
            if (gridView == null)
                return;
            gridView.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
            gridView.OptionsNavigation.AutoFocusNewRow = true;
            gridView.OptionsNavigation.AutoMoveRowFocus = true;
            gridView.OptionsNavigation.EnterMoveNextColumn = true;


        }
Ejemplo n.º 19
0
        //public Winforms.Components.ApplicationIdle AppIdle
        //{
        //    get
        //    {
        //        return this.applicationIdle1;
        //    }

        //}

        protected void UpdateControls(Control control, string formName)
        {
            if (RwX == null)
            {
                RwX = new ResXResourceWriter("D:\\Temps\\ResxFile\\" + formName + ".resx");
            }
            // update the controls that we can do automatically
            if (control is DevExpress.XtraEditors.LabelControl || //Label
                control is DevExpress.XtraTab.XtraTabPage ||      //TabPage
                control is DevExpress.XtraEditors.PanelControl || //Panel
                control is DevExpress.XtraEditors.SimpleButton || //Button
                control is DevExpress.XtraEditors.CheckEdit ||    //Checkbox
                control is DevExpress.XtraEditors.XtraForm ||     //Form
                control is DevExpress.XtraGrid.GridControl)       //GridColumn
            {
                try
                {
                    //control.Text = ResourceManager.Instance.GetString(control);


                    string contrlName = string.Empty;
                    int    i          = 0;
                    if (control is DevExpress.XtraEditors.XtraForm)
                    {
                        RwX.AddResource(control.Name, control.Text);
                    }
                    else if (control is DevExpress.XtraGrid.GridControl)
                    {
                        DevExpress.XtraGrid.GridControl         grd  = (control as DevExpress.XtraGrid.GridControl);
                        DevExpress.XtraGrid.Views.Grid.GridView view = (DevExpress.XtraGrid.Views.Grid.GridView)grd.Views[0];
                        foreach (DevExpress.XtraGrid.Columns.GridColumn gColumn in view.Columns)
                        {
                            contrlName = string.Format("{0}_{1}", formName, gColumn.Name);
                            RwX.AddResource(contrlName, gColumn.Caption);
                        }
                    }
                    else
                    {
                        contrlName = string.Format("{0}_{1}", formName, control.Name);
                        RwX.AddResource(contrlName, control.Text);
                    }
                }
                catch
                {
                    // log the error if desired
                }
            }

            foreach (Control c in control.Controls)
            {
                // get any nested controls
                UpdateControls(c, formName);
            }
        }
Ejemplo n.º 20
0
        public void Excel2007(string RaporAdi, DevExpress.XtraGrid.GridControl Liste)
        {
            SaveFileDialog Save = new SaveFileDialog();

            Save.Filter   = "Excel 2007 | *.xlsx";
            Save.FileName = RaporAdi;
            if (Save.ShowDialog() == DialogResult.OK)
            {
                Liste.ExportToXlsx(Save.FileName);
                Process.Start(Save.FileName);
            }
        }
Ejemplo n.º 21
0
 static public void gridviewSetGroupSummaryStyle(DevExpress.XtraGrid.GridControl _grid_ctrl)
 {
     // set style
     DevExpress.XtraGrid.Views.Grid.GridView grid_view = (DevExpress.XtraGrid.Views.Grid.GridView)(_grid_ctrl.MainView);
     if (null != grid_view)
     {
         grid_view.OptionsView.GroupFooterShowMode = DevExpress.XtraGrid.Views.Grid.GroupFooterShowMode.VisibleAlways;
         grid_view.OptionsView.ShowGroupPanel      = false;
         grid_view.OptionsMenu.EnableFooterMenu    = false;
         grid_view.GroupRowHeight = 0;
     }
 }
Ejemplo n.º 22
0
        /// <summary>
        ///  冻结列
        /// </summary>
        /// <param name="girdView"></param>
        public void FixedFocusColumn(DevExpress.XtraGrid.GridControl xtraGrid) {
            DevExpress.XtraGrid.Views.Base.ColumnView girdView = xtraGrid.MainView as DevExpress.XtraGrid.Views.Base.ColumnView;
            if (girdView.FocusedColumn == null)
                return;

            int index = girdView.FocusedColumn.VisibleIndex;
            foreach (DevExpress.XtraGrid.Columns.GridColumn dc in girdView.Columns) {
                if (dc.VisibleIndex > index)
                    continue;
                dc.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left;
            }
        }
Ejemplo n.º 23
0
        public static void BindingSearchResultGridControl(DevExpress.XtraGrid.GridControl gridControl, DataSet dsSearchResults)
        {
            if (dsSearchResults.Tables.Count > 0)
            {
                GridView gridView = (GridView)gridControl.ViewCollection[0];
                gridView.OptionsBehavior.AutoPopulateColumns = false;

                BindingSource bdsSearchResults = new BindingSource();
                bdsSearchResults.DataSource = dsSearchResults.Tables[0];
                gridControl.DataSource      = bdsSearchResults;
            }
        }
Ejemplo n.º 24
0
        /// <summary>
        /// 把XtraGrid中的数据倒出到Excel 中 并打开Excel 进行显示
        /// edit cdc 2012-01-09 修改为导出后不再直接打开
        /// </summary>
        /// <param name="pDg"></param>
        public void ExportToExcelAndShow(DevExpress.XtraGrid.GridControl pDg)
        {
            //string temPath = MB.Util.General.GeApplicationDirectory() + @"Temp\";
            //bool b = System.IO.Directory.Exists(temPath);
            //if (!b) {
            //    System.IO.Directory.CreateDirectory(temPath);
            //}
            //string fullPath = temPath + System.Guid.NewGuid().ToString() + ".xls";

            var fileDialog = new System.Windows.Forms.SaveFileDialog();

            fileDialog.Filter = "文本文件|.txt|Excel 文件|.xls";
            fileDialog.ShowDialog();
            var fileFullName = fileDialog.FileName;

            if (string.IsNullOrEmpty(fileFullName))
            {
                return;
            }
            //var b = System.IO.File.Exists(fullPath);
            try {
                //MB.WinBase.InvokeMethodWithWaitCursor.InvokeWithWait(() => ExportToExcel(pDg, fileFullName));
                MessageBox.Show(fileFullName);

                if (fileFullName.EndsWith(".txt"))
                {
                    ExportToText(pDg, fileFullName);
                }
                else
                {
                    ExportToExcel(pDg, fileFullName);
                }

                var b = System.IO.File.Exists(fileFullName);
                //判断该文件是否导出成功,如果是那么直接打开该文件
                if (b)
                {
                    var dre = MB.WinBase.MessageBoxEx.Question("文件导出成功,是否需要打开文件所在的目录");
                    if (dre == DialogResult.Yes)
                    {
                        System.Diagnostics.ProcessStartInfo explore = new System.Diagnostics.ProcessStartInfo();
                        explore.FileName  = "explorer.exe";
                        explore.Arguments = System.IO.Path.GetDirectoryName(fileFullName);
                        System.Diagnostics.Process.Start(explore);
                    }
                }
            }
            catch (Exception e) {
                MB.Util.TraceEx.Write("导出Excel 文件出错!" + e.Message, MB.Util.APPMessageType.SysErrInfo);
                MB.WinBase.MessageBoxEx.Show("导出Excel 文件出错!");
            }
        }
        public BasicInfoElectricMeter()
        {
            InitializeComponent();
            this.Dock = DockStyle.Fill;
            DataTable _electricityMeterTable = new DataTable();
            DataTable ElectricityMeterTbl    = BusinessLogicBridge.DataStore.getElectricityMeter();

            ElectricityMeterTbl.Columns.Add("colElecStatus_text", typeof(string));
            ElectricityMeterTbl.Columns.Add("colCutStatus_text", typeof(string));

            gridViewNick = gridView3;
            gridViewNick.OptionsBehavior.ReadOnly = true;


            for (int i = 0; i < ElectricityMeterTbl.Rows.Count; i++)
            {
                string change = ElectricityMeterTbl.Rows[i]["meter_status"].ToString();
                string cut    = ElectricityMeterTbl.Rows[i]["meter_cut"].ToString();

                if (cut == "1")
                {
                    ElectricityMeterTbl.Rows[i]["colCutStatus_text"] = "ต่อไฟ";
                }
                else
                {
                    ElectricityMeterTbl.Rows[i]["colCutStatus_text"] = "ตัดไฟ";
                }
                gridView3.RowCellStyle += new RowCellStyleEventHandler(gridView3_RowCellStyle);


                if (change == "1")
                {
                    ElectricityMeterTbl.Rows[i]["colElecStatus_text"] = "การสื่อสารสมบูรณ์";
                }
                else
                {
                    ElectricityMeterTbl.Rows[i]["colElecStatus_text"] = "การสื่อสารผิดพลาด";
                }
            }

            //ElectricityMeterTbl
            gridControlNick                      = gridControl1;
            gridControlNick.DataSource           = ElectricityMeterTbl;
            gridControlNick.UseEmbeddedNavigator = true;

            gridViewNick.OptionsBehavior.AllowAddRows    = DevExpress.Utils.DefaultBoolean.False;
            gridViewNick.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;

            gridViewNick.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(gridViewNick_FocusedRowChanged);
        }
Ejemplo n.º 26
0
 private void GridControlSearchResults_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     DevExpress.XtraGrid.GridControl dgcSearchResults       = (DevExpress.XtraGrid.GridControl)sender;
     DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo hi = ((GridView)dgcSearchResults.MainView).CalcHitInfo(new Point(e.X, e.Y));
     if (hi.RowHandle >= 0)
     {
         //VinaERPScreen _guiDataMainScreen = ((BaseModuleERP)Screen.Module).GetDataMainScreen(null, String.Empty);
         //if (_guiDataMainScreen != null)
         //{
         //    _guiDataMainScreen.Activate();
         //    Screen.Module.ActiveScreen = _guiDataMainScreen;
         //}
     }
 }
Ejemplo n.º 27
0
        private void ExportTo(DevExpress.XtraGrid.GridControl pDg, IExportProvider provider)
        {
            Cursor currentCursor = Cursor.Current;

            Cursor.Current = Cursors.WaitCursor;

            BaseExportLink link = pDg.MainView.CreateExportLink(provider);

            (link as GridViewExportLink).ExpandAll = false;
            link.ExportTo(true);
            provider.Dispose();

            Cursor.Current = currentCursor;
        }
Ejemplo n.º 28
0
        static public DevExpress.XtraGrid.Views.Grid.GridView gridviewSetCommonStyle(DevExpress.XtraGrid.GridControl _grid_ctrl, Font _font)
        {
            // set style
            DevExpress.XtraGrid.Views.Grid.GridView grid_view = (DevExpress.XtraGrid.Views.Grid.GridView)(_grid_ctrl.MainView);
            if (null != grid_view)
            {
                grid_view.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;

                grid_view.OptionsBehavior.Editable        = false;
                grid_view.OptionsFilter.AllowFilterEditor = false;

                //grid_view.OptionsMenu.EnableColumnMenu = false;  // 소팅 초기화가 필요하므로 숨기지 않는다.

                grid_view.OptionsView.ShowIndicator       = false;
                grid_view.OptionsView.ShowGroupPanel      = false;
                grid_view.OptionsView.ColumnAutoWidth     = false;
                grid_view.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;

                grid_view.OptionsSelection.EnableAppearanceHideSelection = true;
                grid_view.OptionsSelection.EnableAppearanceFocusedCell   = false;
                grid_view.OptionsSelection.EnableAppearanceFocusedRow    = true; // 설정 시 포커싱한 Row 전체가 색이 바뀐다.

                grid_view.FocusRectStyle       = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFullFocus;
                grid_view.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;

                grid_view.OptionsMenu.ShowAutoFilterRowItem = false;
                grid_view.OptionsView.ShowAutoFilterRow     = false;

                grid_view.OptionsFilter.AllowAutoFilterConditionChange = DefaultBoolean.False;
                grid_view.OptionsFilter.AllowColumnMRUFilterList       = false;
                grid_view.OptionsFilter.AllowFilterEditor                    = false;
                grid_view.OptionsFilter.AllowFilterIncrementalSearch         = false;
                grid_view.OptionsFilter.AllowMRUFilterList                   = false;
                grid_view.OptionsFilter.AllowMultiSelectInCheckedFilterPopup = false;

                grid_view.OptionsFind.AllowFindPanel = false;
                grid_view.OptionsFind.AlwaysVisible  = false;

                // set font
                foreach (AppearanceObject ap in grid_view.Appearance)
                {
                    ap.Font = _font;
                }

                // height
                grid_view.RowHeight = 21;
            }
            return(grid_view);
        }
Ejemplo n.º 29
0
 /// <summary>
 /// 把XtraGrid中的数据倒出到Excel 中
 /// </summary>
 /// <param name="pGridView"></param>
 /// <param name="pExportFullName"></param>
 public void ExportToExcel(DevExpress.XtraGrid.GridControl pDg, string pExportFullName)
 {
     if (pDg.MainView != null)
     {
         try {
             ExportXlsProvider ex   = new ExportXlsProvider(pExportFullName);
             BaseExportLink    link = pDg.MainView.CreateExportLink(ex);
             ((GridViewExportLink)link).ExpandAll = false;
             link.ExportTo(true);
         }
         catch (Exception e) {
             throw e;
         }
     }
 }
Ejemplo n.º 30
0
        /// <summary>
        /// 把数据绑定到XtraGrid 控件中。
        /// </summary>
        /// <param name="xtraGrid"></param>
        /// <param name="dataSource"></param>
        /// <param name="colPropertys"></param>
        /// <param name="imageDockRow"></param>
        /// <param name="editCols"></param>
        /// <returns></returns>
        public bool BindingToXtraGrid(DevExpress.XtraGrid.GridControl xtraGrid, object dataSource,
                                      Dictionary <string, MB.WinBase.Common.ColumnPropertyInfo> colPropertys,
                                      Dictionary <string, MB.WinBase.Common.ColumnEditCfgInfo> editCols, string xmlFileName,
                                      bool imageDockRow)
        {
            using (MB.Util.MethodTraceWithTime trace = new MB.Util.MethodTraceWithTime("MB.XWinLib.XtraGrid.XtraGridHelper.BindingToXtraGrid", xmlFileName)) {
                try {
                    MB.WinBase.Common.GridViewLayoutInfo gridViewLayoutInfo = null;
                    #region 根据GridViewLayoutInfo的配置来决定GridView的类型,甚至动态创建GridView
                    if (!string.IsNullOrEmpty(xmlFileName))
                    {
                        gridViewLayoutInfo =
                            MB.WinBase.LayoutXmlConfigHelper.Instance.GetGridColumnLayoutInfo(xmlFileName, GRID_VIEW_LAYOUT_NAME);
                        //首先看是否配置为DefaultGridView,如果是,则不做任何事情
                        if (gridViewLayoutInfo == null || gridViewLayoutInfo.GridLayoutColumns == null)
                        {
                            //如果没有配置DefaultGridView,则看是否有配置其他的GridView
                            gridViewLayoutInfo = MB.WinBase.LayoutXmlConfigHelper.Instance.GetGridColumnLayoutInfo(xmlFileName, string.Empty);
                            if (gridViewLayoutInfo != null && gridViewLayoutInfo.GridLayoutColumns != null)
                            {
                                if (gridViewLayoutInfo.GridViewType == WinBase.Common.GridViewType.AdvBandedGridView)
                                {
                                    //动态创建AdvBandedGridView
                                    DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView advBandedView = new DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView(xtraGrid);
                                    xtraGrid.MainView = advBandedView;
                                }
                            }
                        }
                    }

                    #endregion
                    string viewTypeName = xtraGrid.MainView.GetType().Name;

                    if (viewTypeName == "GridView")
                    {
                        return(createGridView(xtraGrid, dataSource, colPropertys, imageDockRow, editCols, gridViewLayoutInfo));
                    }
                    else
                    {
                        XtraGridEditHelper.Instance.CreateEditBandXtraGrid(new GridDataBindingParam(xtraGrid, dataSource), colPropertys, editCols, gridViewLayoutInfo);
                        return(true);
                    }
                }
                catch (Exception ex) {
                    throw MB.Util.APPExceptionHandlerHelper.PromoteException(ex, string.Format("通过XML文件{0}绑定XtraGrid 出错", xmlFileName));
                }
            }
        }
Ejemplo n.º 31
0
        /// <summary>
        /// 设置grid的编辑方式。
        /// </summary>
        /// <param name="xtraGrid"></param>
        /// <param name="autoNewRow"></param>
        public void SetGridViewNewItem(DevExpress.XtraGrid.GridControl xtraGrid, bool autoNewRow, XtraContextMenuType appendMenus) {
            DevExpress.XtraGrid.Views.Grid.GridView gridView = xtraGrid.MainView as DevExpress.XtraGrid.Views.Grid.GridView;
            if (gridView == null)
                return;
            gridView.OptionsView.NewItemRowPosition = autoNewRow ? DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom : DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.None;
            gridView.OptionsNavigation.AutoFocusNewRow = autoNewRow;
            gridView.OptionsNavigation.AutoMoveRowFocus = true;
            gridView.OptionsNavigation.EnterMoveNextColumn = true;


            //重新设置弹出菜单的操作项。
            GridControlEx grdEx = xtraGrid as GridControlEx;
            if (grdEx != null) {
                grdEx.ReSetContextMenu(appendMenus);
            }
        }
Ejemplo n.º 32
0
 private void fDanhSoCT_Load(object sender, EventArgs e)
 {
     gcMain = _designer.GenGridControl(_data.DsStruct.Tables[0], false, DockStyle.Fill);
     gvMain = gcMain.MainView as DevExpress.XtraGrid.Views.Grid.GridView;
     setImage();
     tb = _data.DsData.Tables[0].Copy();
     gcMain.DataSource = tb;
     panelControl3.Controls.Add(gcMain);
     textEdit1.Text = _data.DrTable["MaCT"].ToString();
     textEdit2.Text = _data.DrTable["MasterTable"].ToString();
     DataRow[] ldrSoCT = _data.DsStruct.Tables[0].Select("FieldName='SoCT'");
     if (ldrSoCT != null && ldrSoCT.Length > 0)
     {
         textEdit3.Text = ldrSoCT[0]["EditMask"].ToString();
     }
     //getRelationConfig();
 }
Ejemplo n.º 33
0
        public void ExportToGridControl(DevExpress.XtraGrid.GridControl grid)
        {
            using (SaveFileDialog saveDialog = new SaveFileDialog())
            {
                saveDialog.Filter = "Excel (*.xlsx)|*.xlsx|Pdf Dosyaları (*.pdf)|*.pdf";
                if (saveDialog.ShowDialog() != DialogResult.Cancel)
                {
                    string exportFilePath = saveDialog.FileName;
                    string fileExtenstion = new FileInfo(exportFilePath).Extension;

                    switch (fileExtenstion)
                    {
                    case ".xlsx":
                        grid.ExportToXlsx(exportFilePath);
                        break;

                    case ".pdf":
                        grid.ExportToPdf(exportFilePath);
                        break;

                    default:
                        break;
                    }

                    if (File.Exists(exportFilePath))
                    {
                        try
                        {
                            //Try to open the file and let windows decide how to open it.
                            System.Diagnostics.Process.Start(exportFilePath);
                        }
                        catch
                        {
                            String msg = "Dosya Açılamadı." + Environment.NewLine + Environment.NewLine + "Yol: " + exportFilePath;
                            DevExpress.XtraEditors.XtraMessageBox.Show(msg, "Hata!", MessageBoxButtons.OK, MessageBoxIcon.Error);
                        }
                    }
                    else
                    {
                        String msg = "Dosya Kaydedilemedi." + Environment.NewLine + Environment.NewLine + "Yol: " + exportFilePath;
                        DevExpress.XtraEditors.XtraMessageBox.Show(msg, "Hata!", MessageBoxButtons.OK, MessageBoxIcon.Error);
                    }
                }
            }
        }
Ejemplo n.º 34
0
        //- Cách sử dụng còn phức tạp có thể hỗ trợ nhiều hơn để việc khai
        //báo sử dụng de hon
        //- Giải pháp không hiệu quả lắm chỗ mảng DataTable
        /// <summary>
        /// Thay đổi đối tượng trên cột thứ nhất sẽ load tất cả giá trị liên quan đến đối tượng đó trên cột thứ 2 
        /// </summary>
        /// <param name="gridView">GridView chứa 2 cột đối tượng và giá trị tương ứng của đối tượng</param>
        /// <param name="colObject">Cột đối tượng</param>
        /// <param name="valueOfObj">Cột thay đổi giá trị khi đối tượng thay đổi</param>
        /// <param name="fieldNames">Lần lượt là fieldName của cột đối tượng và giá trị liên quan đến đối tượng</param>
        /// <param name="DisplayMember">Giá trị Field hiện lên trên cột giá trị của đối tượng</param>
        /// <param name="ValueMember">Giá trị cần lấy trên cột giá trị của đối tượng</param>
        /// <param name="srcObj">Có bao nhiêu đối tượng thì truyền vào bấy nhiều datasource cho nó</param>
        /// 
        public static void ObjectChange(GridView gridView, GridColumn colObject, GridColumn valueOfObj, string[] fieldNames, string fieldForeignKey, string tableNameObj, string IdField, string tableNameValObj, string DisplayMember, string ValueMember)
        {
            DataTable srcValueObj = HelpDB.getDatabase().LoadTable(tableNameValObj).Tables[0];
            DataTable srcObj = DABase.getDatabase().LoadTable(tableNameObj).Tables[0];
            DataTable srcNew = new DataTable();
            srcNew.Columns.Add(new DataColumn("OBJVALUE"));
            srcNew.Columns.Add(new DataColumn(ValueMember));
            srcNew.Columns.Add(new DataColumn(DisplayMember));
            RepositoryItemImageComboBox resCombo = (RepositoryItemImageComboBox)colObject.ColumnEdit;
            for (int i = 0; i < resCombo.Items.Count; i++)
            {
                string objId = resCombo.Items[i].Value.ToString();
                DataRow[] selRow = srcObj.Select(IdField + "=" + objId);
                string typeObj = "";
                if (selRow.Length > 0)
                    typeObj = selRow[0][fieldForeignKey].ToString();

                DataRow[] srcRowObj = srcValueObj.Select(fieldForeignKey + "=" + typeObj);

                foreach (DataRow dr in srcRowObj)
                {
                    DataRow newRow = srcNew.NewRow();
                    newRow["OBJVALUE"] = objId;
                    newRow[ValueMember] = dr[ValueMember];
                    newRow[DisplayMember] = dr[DisplayMember];
                    srcNew.Rows.Add(newRow);
                }

            }
            string cotAo = fieldNames[1] + "_PLV";
            // colObject.FieldName = fieldNames[0];
            //Tao cot ao trong GridView
            try
            {
                DataTable source = (DataTable)gridView.GridControl.DataSource;
                if (source != null)
                    source.Columns.Add(new DataColumn(cotAo));
                else
                {
                    gridView.GridControl.DataSourceChanged += delegate(object sender, EventArgs e)
                    {
                        // gridView.SetFocusedRowCellValue(valueOfObj, "");
                        DataTable src = (DataTable)(gridView.GridControl.DataSource);
                        if (!src.Columns.Contains(cotAo))
                            src.Columns.Add(new DataColumn(cotAo));
                        SetValueTable(ref src, srcNew, fieldNames, cotAo, DisplayMember, ValueMember);
                    };
                }
            }
            catch { }
            valueOfObj.FieldName = cotAo;

            //Tao datasource moi

            int isUpdateLookup = 0;
            //Khoi tao doi tuong GridControl va GridView
            DevExpress.XtraGrid.Views.Grid.GridView gridViewLookup = new GridView();
            DevExpress.XtraGrid.GridControl gridLookup = new DevExpress.XtraGrid.GridControl();

            //Thiet lap cac thuoc tinh cho doi tuong GridControl va GridView
            gridLookup.Dock = System.Windows.Forms.DockStyle.Fill;
            gridLookup.EmbeddedNavigator.Name = "";
            gridLookup.FormsUseDefaultLookAndFeel = false;
            gridLookup.Location = new System.Drawing.Point(0, 0);
            gridLookup.MainView = gridViewLookup;
            gridLookup.Name = "gridLookup";
            gridLookup.Size = new System.Drawing.Size(200, 100);
            gridLookup.TabIndex = 2;
            gridLookup.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridViewLookup });
            gridLookup.MouseMove += delegate(object sender, MouseEventArgs e)
            {
                DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo hi = gridViewLookup.CalcHitInfo(new System.Drawing.Point(e.X, e.Y));
                if (hi.RowHandle >= 0)
                    gridViewLookup.FocusedRowHandle = hi.RowHandle;
            };
            gridLookup.Click += delegate(object sender, EventArgs e)
            {
                isUpdateLookup = 1;
                gridView.Focus();
            };
            gridLookup.DataSource = srcNew;
            //Tao gridView

            gridViewLookup.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            gridViewLookup.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
            gridViewLookup.GridControl = gridLookup;
            gridViewLookup.Name = "gridViewLookup";
            gridViewLookup.OptionsBehavior.Editable = false;
            gridViewLookup.OptionsSelection.EnableAppearanceFocusedCell = false;
            gridViewLookup.OptionsView.ShowColumnHeaders = false;
            gridViewLookup.OptionsView.ShowDetailButtons = false;
            gridViewLookup.OptionsView.ShowGroupPanel = false;
            gridViewLookup.OptionsView.ShowIndicator = false;
            DevExpress.XtraGrid.Columns.GridColumn gridColumnNameObject = new DevExpress.XtraGrid.Columns.GridColumn();
            gridColumnNameObject.Caption = "NAME";
            gridColumnNameObject.FieldName = "NAME";
            gridColumnNameObject.Name = "gridColumnNameObject";
            gridColumnNameObject.Visible = true;
            gridColumnNameObject.VisibleIndex = 0;
            gridViewLookup.Columns.Add(gridColumnNameObject);

            gridViewLookup.KeyDown += delegate(object sender, KeyEventArgs e)
            {
                if (e.KeyCode == Keys.Enter)
                {
                    isUpdateLookup = 1;
                    gridView.Focus();
                }
            };
            //Tao Grid Control

            DevExpress.XtraEditors.PopupContainerControl popupContainer = new DevExpress.XtraEditors.PopupContainerControl();
            popupContainer.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
            popupContainer.AutoSize = true;
            popupContainer.Controls.Add(gridLookup);
            popupContainer.Location = new System.Drawing.Point(617, 242);
            popupContainer.Name = "popupContainer";
            popupContainer.Size = new System.Drawing.Size(200, 100);
            popupContainer.TabIndex = 1;

            //
            //containEdit
            //
            DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit containEdit = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
            valueOfObj.ColumnEdit = containEdit;
            containEdit.AutoHeight = true;
            containEdit.Name = "containEdit";
            containEdit.PopupControl = popupContainer;
            containEdit.PopupSizeable = false;
            containEdit.ShowPopupCloseButton = false;
            containEdit.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
            containEdit.QueryResultValue += delegate(object sender, DevExpress.XtraEditors.Controls.QueryResultValueEventArgs e)
            {
                try
                {
                    if (isUpdateLookup == 1)
                    {
                        DataRow rowGridLookup = (gridLookup.MainView as GridView).GetDataRow((gridLookup.MainView as GridView).FocusedRowHandle);
                        DataRow rowGridView = gridView.GetDataRow(gridView.FocusedRowHandle);
                        rowGridView[cotAo] = rowGridLookup[DisplayMember];
                        e.Value = rowGridLookup[DisplayMember];
                        rowGridView[fieldNames[1]] = rowGridLookup[ValueMember];
                    }
                }
                catch { }
            };
            containEdit.Popup += delegate(object sender, EventArgs e)
            {
                if ((DataTable)gridView.GridControl.DataSource != null)
                {
                    DataTable dt = (DataTable)gridLookup.DataSource;
                    if (dt != null)
                    {
                        DataRow dr = gridView.GetDataRow(gridView.FocusedRowHandle);
                        if (dr != null)
                        {
                            string objName = dr[fieldNames[0]].ToString();
                            dt.DefaultView.RowFilter = "OBJVALUE='" + objName + "'";
                        }
                        else
                            dt.DefaultView.RowFilter = "OBJVALUE=''";
                    }
                }
            };

            if (colObject.ColumnEdit is DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox)
            {
                DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox imgComboBoxLoai = colObject.ColumnEdit as DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox;
                imgComboBoxLoai.SelectedIndexChanged += delegate(object sender, EventArgs e)
                {
                    gridView.SetFocusedRowCellValue(valueOfObj, "");
                    DataTable dt = (DataTable)gridLookup.DataSource;
                    if (dt != null)
                    {
                        dt.DefaultView.RowFilter = "OBJVALUE='" + ((DevExpress.XtraEditors.ImageComboBoxEdit)sender).EditValue.ToString() + "'";
                    }
                };
            }
        }
Ejemplo n.º 35
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.gridControl = new DevExpress.XtraGrid.GridControl();
     this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colUseID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTypeUID = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl
     //
     this.gridControl.Dock = System.Windows.Forms.DockStyle.Fill;
     //
     //
     //
     this.gridControl.EmbeddedNavigator.Buttons.Append.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.Edit.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
     this.gridControl.EmbeddedNavigator.Buttons.Remove.Visible = false;
     this.gridControl.EmbeddedNavigator.Name = "";
     this.gridControl.Location = new System.Drawing.Point(0, 0);
     this.gridControl.MainView = this.gridView;
     this.gridControl.Name = "gridControl";
     this.gridControl.Size = new System.Drawing.Size(572, 223);
     this.gridControl.TabIndex = 5;
     this.gridControl.UseEmbeddedNavigator = true;
     this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView});
     //
     // gridView
     //
     this.gridView.AppearancePrint.HeaderPanel.Options.UseTextOptions = true;
     this.gridView.AppearancePrint.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colUseID,
     this.colTypeUID});
     this.gridView.GridControl = this.gridControl;
     this.gridView.Name = "gridView";
     this.gridView.OptionsBehavior.Editable = false;
     this.gridView.OptionsCustomization.AllowRowSizing = true;
     this.gridView.OptionsPrint.PrintDetails = true;
     this.gridView.OptionsPrint.UsePrintStyles = true;
     this.gridView.OptionsView.RowAutoHeight = true;
     //
     // colUseID
     //
     this.colUseID.AppearanceHeader.Options.UseTextOptions = true;
     this.colUseID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colUseID.Caption = "��·����";
     this.colUseID.FieldName = "ObligateField2";
     this.colUseID.Name = "colUseID";
     this.colUseID.OptionsColumn.ReadOnly = true;
     this.colUseID.Visible = true;
     this.colUseID.VisibleIndex = 0;
     //
     // colTypeUID
     //
     this.colTypeUID.AppearanceCell.Options.UseTextOptions = true;
     this.colTypeUID.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
     this.colTypeUID.AppearanceHeader.Options.UseTextOptions = true;
     this.colTypeUID.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTypeUID.Caption = "��·״̬";
     this.colTypeUID.FieldName = "ObligateField3";
     this.colTypeUID.Name = "colTypeUID";
     this.colTypeUID.OptionsColumn.ReadOnly = true;
     this.colTypeUID.Visible = true;
     this.colTypeUID.VisibleIndex = 1;
     //
     // FormGXXlist
     //
     this.ClientSize = new System.Drawing.Size(572, 223);
     this.Controls.Add(this.gridControl);
     this.MinimizeBox = false;
     this.Name = "FormGXXlist";
     this.Text = "�滮����";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
     this.ResumeLayout(false);
 }
 public void SetGridControl(DevExpress.XtraGrid.GridControl _GridControl)
 {
     this._GridControl = _GridControl;
 }
Ejemplo n.º 37
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
     this.gridMaster = new DevExpress.XtraGrid.GridControl();
     this.gridMasterView = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.nCategory = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_Category = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.dtClickDate = new DevExpress.XtraEditors.DateEdit();
     this.gridChild = new DevExpress.XtraGrid.GridControl();
     this.gridChildView = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.dtDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.label1 = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.gridMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridMasterView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Category)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtClickDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridChild)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridChildView)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // gridMaster
     //
     //
     // gridMaster.EmbeddedNavigator
     //
     this.gridMaster.EmbeddedNavigator.Name = "";
     gridLevelNode1.RelationName = "Level1";
     this.gridMaster.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
                                                                                          gridLevelNode1});
     this.gridMaster.Location = new System.Drawing.Point(0, 32);
     this.gridMaster.MainView = this.gridMasterView;
     this.gridMaster.Name = "gridMaster";
     this.gridMaster.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
                                                                                                         this.lk_Category});
     this.gridMaster.Size = new System.Drawing.Size(840, 224);
     this.gridMaster.TabIndex = 0;
     this.gridMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
                                                                                               this.gridMasterView});
     //
     // gridMasterView
     //
     this.gridMasterView.ActiveFilterEnabled = false;
     this.gridMasterView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D;
     this.gridMasterView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
                                                                                           this.nCategory});
     this.gridMasterView.GridControl = this.gridMaster;
     this.gridMasterView.Name = "gridMasterView";
     this.gridMasterView.OptionsBehavior.Editable = false;
     this.gridMasterView.OptionsCustomization.AllowFilter = false;
     this.gridMasterView.OptionsCustomization.AllowSort = false;
     this.gridMasterView.OptionsView.ShowFilterPanel = false;
     this.gridMasterView.OptionsView.ShowGroupPanel = false;
     this.gridMasterView.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.View_Childlist);
     //
     // nCategory
     //
     this.nCategory.Caption = "Category";
     this.nCategory.FieldName = "strReportGroup";
     this.nCategory.Name = "nCategory";
     this.nCategory.Visible = true;
     this.nCategory.VisibleIndex = 0;
     //
     // lk_Category
     //
     this.lk_Category.AutoHeight = false;
     this.lk_Category.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
                                                                                              new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_Category.Name = "lk_Category";
     //
     // dtClickDate
     //
     this.dtClickDate.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.dtClickDate.EditValue = null;
     this.dtClickDate.Location = new System.Drawing.Point(60, 11);
     this.dtClickDate.Name = "dtClickDate";
     //
     // dtClickDate.Properties
     //
     this.dtClickDate.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D;
     this.dtClickDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
                                                                                                         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dtClickDate.Properties.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.dtClickDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dtClickDate.Properties.EditFormat.FormatString = "dd/MM/yyyy";
     this.dtClickDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dtClickDate.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dtClickDate.Size = new System.Drawing.Size(108, 22);
     this.dtClickDate.TabIndex = 1;
     this.dtClickDate.EditValueChanged += new System.EventHandler(this.dtClickDate_EditValueChanged);
     //
     // gridChild
     //
     this.gridChild.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     //
     // gridChild.EmbeddedNavigator
     //
     this.gridChild.EmbeddedNavigator.Name = "";
     this.gridChild.Location = new System.Drawing.Point(0, 272);
     this.gridChild.MainView = this.gridChildView;
     this.gridChild.Name = "gridChild";
     this.gridChild.Size = new System.Drawing.Size(840, 264);
     this.gridChild.TabIndex = 2;
     this.gridChild.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
                                                                                              this.gridChildView});
     //
     // gridChildView
     //
     this.gridChildView.ActiveFilterEnabled = false;
     this.gridChildView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D;
     this.gridChildView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
                                                                                          this.dtDate});
     this.gridChildView.GridControl = this.gridChild;
     this.gridChildView.Name = "gridChildView";
     this.gridChildView.OptionsBehavior.Editable = false;
     this.gridChildView.OptionsCustomization.AllowFilter = false;
     this.gridChildView.OptionsCustomization.AllowSort = false;
     this.gridChildView.OptionsView.ShowFilterPanel = false;
     this.gridChildView.OptionsView.ShowGroupPanel = false;
     //
     // dtDate
     //
     this.dtDate.Caption = "Date";
     this.dtDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.dtDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dtDate.FieldName = "dtDate";
     this.dtDate.Name = "dtDate";
     this.dtDate.Visible = true;
     this.dtDate.VisibleIndex = 0;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(56, 22);
     this.label1.TabIndex = 3;
     this.label1.Text = "Date";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.dtClickDate);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(8, 0);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(176, 32);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop = false;
     //
     // RPSalesMangement
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize = new System.Drawing.Size(840, 536);
     this.Controls.Add(this.gridChild);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.gridMaster);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "RPSalesMangement";
     this.Text = "RPSalesMangement";
     this.Load += new System.EventHandler(this.RPSalesMangement_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridMasterView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Category)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtClickDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridChild)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridChildView)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 38
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.btnPrint = new DevExpress.XtraEditors.SimpleButton();
     this.dtDateDay = new System.Windows.Forms.MonthCalendar();
     this.dtClickDateTill = new System.Windows.Forms.MonthCalendar();
     this.dtClickDate = new System.Windows.Forms.MonthCalendar();
     this.label3 = new System.Windows.Forms.Label();
     this.btn_View = new DevExpress.XtraEditors.SimpleButton();
     this.dtClickDateTill2 = new DevExpress.XtraEditors.DateEdit();
     this.dtClickDate1 = new DevExpress.XtraEditors.DateEdit();
     this.btnExport = new DevExpress.XtraEditors.SimpleButton();
     this.gridMaster = new DevExpress.XtraGrid.GridControl();
     this.gridMasterView = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.nCategory = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_Category = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.printingSystem1 = new DevExpress.XtraPrinting.PrintingSystem(this.components);
     this.printableComponentLink1 = new DevExpress.XtraPrinting.PrintableComponentLink(this.components);
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtClickDateTill2.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtClickDate1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridMaster)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridMasterView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Category)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.btnPrint);
     this.groupBox1.Controls.Add(this.dtDateDay);
     this.groupBox1.Controls.Add(this.dtClickDateTill);
     this.groupBox1.Controls.Add(this.dtClickDate);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.btn_View);
     this.groupBox1.Controls.Add(this.dtClickDateTill2);
     this.groupBox1.Controls.Add(this.dtClickDate1);
     this.groupBox1.Controls.Add(this.btnExport);
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(768, 160);
     this.groupBox1.TabIndex = 6;
     this.groupBox1.TabStop = false;
     this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter);
     //
     // btnPrint
     //
     this.btnPrint.Location = new System.Drawing.Point(648, 72);
     this.btnPrint.Name = "btnPrint";
     this.btnPrint.Size = new System.Drawing.Size(96, 23);
     this.btnPrint.TabIndex = 11;
     this.btnPrint.Text = "Print";
     this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
     //
     // dtDateDay
     //
     this.dtDateDay.Location = new System.Drawing.Point(448, 8);
     this.dtDateDay.Name = "dtDateDay";
     this.dtDateDay.TabIndex = 10;
     this.dtDateDay.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.dtDateDay_DateSelected);
     //
     // dtClickDateTill
     //
     this.dtClickDateTill.Location = new System.Drawing.Point(248, 8);
     this.dtClickDateTill.Name = "dtClickDateTill";
     this.dtClickDateTill.TabIndex = 9;
     //
     // dtClickDate
     //
     this.dtClickDate.Location = new System.Drawing.Point(8, 8);
     this.dtClickDate.Name = "dtClickDate";
     this.dtClickDate.TabIndex = 8;
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label3.Location = new System.Drawing.Point(206, 64);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(36, 22);
     this.label3.TabIndex = 7;
     this.label3.Text = "TO";
     //
     // btn_View
     //
     this.btn_View.Location = new System.Drawing.Point(206, 112);
     this.btn_View.Name = "btn_View";
     this.btn_View.Size = new System.Drawing.Size(32, 23);
     this.btn_View.TabIndex = 6;
     this.btn_View.Text = "View";
     this.btn_View.Click += new System.EventHandler(this.btn_View_Click);
     //
     // dtClickDateTill2
     //
     this.dtClickDateTill2.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.dtClickDateTill2.EditValue = null;
     this.dtClickDateTill2.Location = new System.Drawing.Point(280, 66);
     this.dtClickDateTill2.Name = "dtClickDateTill2";
     //
     // dtClickDateTill2.Properties
     //
     this.dtClickDateTill2.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D;
     this.dtClickDateTill2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
                                                                                                              new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dtClickDateTill2.Properties.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.dtClickDateTill2.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dtClickDateTill2.Properties.EditFormat.FormatString = "dd/MM/yyyy";
     this.dtClickDateTill2.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dtClickDateTill2.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dtClickDateTill2.Size = new System.Drawing.Size(108, 22);
     this.dtClickDateTill2.TabIndex = 4;
     //
     // dtClickDate1
     //
     this.dtClickDate1.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.dtClickDate1.EditValue = null;
     this.dtClickDate1.Location = new System.Drawing.Point(48, 34);
     this.dtClickDate1.Name = "dtClickDate1";
     //
     // dtClickDate1.Properties
     //
     this.dtClickDate1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D;
     this.dtClickDate1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
                                                                                                          new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dtClickDate1.Properties.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.dtClickDate1.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dtClickDate1.Properties.EditFormat.FormatString = "dd/MM/yyyy";
     this.dtClickDate1.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dtClickDate1.Properties.Mask.EditMask = "dd/MM/yyyy";
     this.dtClickDate1.Size = new System.Drawing.Size(108, 22);
     this.dtClickDate1.TabIndex = 1;
     //
     // btnExport
     //
     this.btnExport.Location = new System.Drawing.Point(648, 32);
     this.btnExport.Name = "btnExport";
     this.btnExport.Size = new System.Drawing.Size(96, 23);
     this.btnExport.TabIndex = 7;
     this.btnExport.Text = "Export To Excel";
     this.btnExport.Visible = false;
     this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
     //
     // gridMaster
     //
     //
     // gridMaster.EmbeddedNavigator
     //
     this.gridMaster.EmbeddedNavigator.Name = "";
     this.gridMaster.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     gridLevelNode1.RelationName = "Level1";
     this.gridMaster.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
                                                                                          gridLevelNode1});
     this.gridMaster.Location = new System.Drawing.Point(0, 168);
     this.gridMaster.MainView = this.gridMasterView;
     this.gridMaster.Name = "gridMaster";
     this.gridMaster.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
                                                                                                         this.lk_Category});
     this.gridMaster.Size = new System.Drawing.Size(784, 352);
     this.gridMaster.TabIndex = 5;
     this.gridMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
                                                                                               this.gridMasterView});
     //
     // gridMasterView
     //
     this.gridMasterView.ActiveFilterEnabled = false;
     this.gridMasterView.Appearance.GroupPanel.BackColor = System.Drawing.Color.White;
     this.gridMasterView.Appearance.GroupPanel.BorderColor = System.Drawing.Color.White;
     this.gridMasterView.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
     this.gridMasterView.Appearance.GroupPanel.ForeColor = System.Drawing.Color.Black;
     this.gridMasterView.Appearance.GroupPanel.Options.UseBackColor = true;
     this.gridMasterView.Appearance.GroupPanel.Options.UseBorderColor = true;
     this.gridMasterView.Appearance.GroupPanel.Options.UseFont = true;
     this.gridMasterView.Appearance.GroupPanel.Options.UseForeColor = true;
     this.gridMasterView.Appearance.HeaderPanel.ForeColor = System.Drawing.Color.Black;
     this.gridMasterView.Appearance.HeaderPanel.Options.UseForeColor = true;
     this.gridMasterView.AppearancePrint.HeaderPanel.ForeColor = System.Drawing.Color.Black;
     this.gridMasterView.AppearancePrint.HeaderPanel.Options.UseForeColor = true;
     this.gridMasterView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D;
     this.gridMasterView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
                                                                                           this.nCategory});
     this.gridMasterView.GridControl = this.gridMaster;
     this.gridMasterView.GroupPanelText = "hELLO";
     this.gridMasterView.Name = "gridMasterView";
     this.gridMasterView.OptionsBehavior.Editable = false;
     this.gridMasterView.OptionsCustomization.AllowFilter = false;
     this.gridMasterView.OptionsCustomization.AllowSort = false;
     this.gridMasterView.OptionsPrint.PrintGroupFooter = false;
     this.gridMasterView.OptionsPrint.UsePrintStyles = true;
     this.gridMasterView.OptionsView.ShowFilterPanel = false;
     this.gridMasterView.OptionsView.ShowFooter = true;
     //
     // nCategory
     //
     this.nCategory.Caption = "Category";
     this.nCategory.FieldName = "strReportGroup";
     this.nCategory.Name = "nCategory";
     this.nCategory.Visible = true;
     this.nCategory.VisibleIndex = 0;
     this.nCategory.Width = 100;
     //
     // lk_Category
     //
     this.lk_Category.AutoHeight = false;
     this.lk_Category.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
                                                                                              new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_Category.Name = "lk_Category";
     //
     // printingSystem1
     //
     this.printingSystem1.Links.AddRange(new object[] {
                                                          this.printableComponentLink1});
     //
     // printableComponentLink1
     //
     this.printableComponentLink1.Component = this.gridMaster;
     this.printableComponentLink1.Landscape = true;
     this.printableComponentLink1.Margins = new System.Drawing.Printing.Margins(50, 50, 50, 50);
     this.printableComponentLink1.PaperKind = System.Drawing.Printing.PaperKind.A4;
     this.printableComponentLink1.PrintingSystem = this.printingSystem1;
     //
     // RPAllIncome
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize = new System.Drawing.Size(784, 512);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.gridMaster);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "RPAllIncome";
     this.Text = "RPAllIncome";
     this.Load += new System.EventHandler(this.RPAllIncome_Load);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dtClickDateTill2.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtClickDate1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridMaster)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridMasterView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Category)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.printingSystem1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 39
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmServiceReimbursement));
     this.gcMon = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.strBranchCode = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.fee1a = new DevExpress.XtraGrid.Columns.GridColumn();
     this.fee1b = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Transfer1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_Employee = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.Transfer2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ClassID1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.radioGroupType = new DevExpress.XtraEditors.RadioGroup();
     this.btn_Save = new DevExpress.XtraEditors.SimpleButton();
     this.btn_Cancel = new DevExpress.XtraEditors.SimpleButton();
     this.grid_ExtraFees = new DevExpress.XtraGrid.GridControl();
     this.gridView_ExtraFees = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.Branch = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_Branch = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.dtDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.strDescription = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.btn_Bottom_Del = new DevExpress.XtraEditors.SimpleButton();
     this.btn_Bottom_Add = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.gcMon)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Employee)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioGroupType.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grid_ExtraFees)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView_ExtraFees)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Branch)).BeginInit();
     this.SuspendLayout();
     //
     // gcMon
     //
     //
     // gcMon.EmbeddedNavigator
     //
     this.gcMon.EmbeddedNavigator.Name = "";
     this.gcMon.Location = new System.Drawing.Point(16, 56);
     this.gcMon.MainView = this.gridView1;
     this.gcMon.Name = "gcMon";
     this.gcMon.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
                                                                                                    this.lk_Employee});
     this.gcMon.Size = new System.Drawing.Size(616, 320);
     this.gcMon.TabIndex = 0;
     this.gcMon.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
                                                                                          this.gridView1});
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
                                                                                      this.strBranchCode,
                                                                                      this.gridColumn1,
                                                                                      this.gridColumn2,
                                                                                      this.gridColumn3,
                                                                                      this.gridColumn4,
                                                                                      this.fee1a,
                                                                                      this.fee1b,
                                                                                      this.Transfer1,
                                                                                      this.Transfer2,
                                                                                      this.ClassID1});
     this.gridView1.GridControl = this.gcMon;
     this.gridView1.GroupFooterShowMode = DevExpress.XtraGrid.Views.Grid.GroupFooterShowMode.VisibleAlways;
     this.gridView1.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
                                                                                        new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "CUSTOM", this.fee1a, "f2"),
                                                                                        new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Total", this.fee1b, "f2")});
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsCustomization.AllowFilter = false;
     this.gridView1.OptionsView.ColumnAutoWidth = false;
     this.gridView1.OptionsView.ShowFooter = true;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     this.gridView1.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridView1_CellValueChanged);
     //
     // strBranchCode
     //
     this.strBranchCode.Caption = "Branch";
     this.strBranchCode.FieldName = "strBranchcode";
     this.strBranchCode.Name = "strBranchCode";
     this.strBranchCode.OptionsColumn.AllowEdit = false;
     this.strBranchCode.Visible = true;
     this.strBranchCode.VisibleIndex = 0;
     this.strBranchCode.Width = 59;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption = "Date";
     this.gridColumn1.FieldName = "dtDate";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.OptionsColumn.AllowEdit = false;
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 1;
     //
     // gridColumn2
     //
     this.gridColumn2.Caption = "Time";
     this.gridColumn2.DisplayFormat.FormatString = "hh:mm";
     this.gridColumn2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.gridColumn2.FieldName = "dtStartTime";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.OptionsColumn.AllowEdit = false;
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 2;
     //
     // gridColumn3
     //
     this.gridColumn3.Caption = "Class";
     this.gridColumn3.FieldName = "strClassCode";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.OptionsColumn.AllowEdit = false;
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 3;
     this.gridColumn3.Width = 72;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption = "Attendees";
     this.gridColumn4.FieldName = "nAttendees";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.OptionsColumn.AllowEdit = false;
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 4;
     //
     // fee1a
     //
     this.fee1a.AppearanceCell.BackColor = System.Drawing.SystemColors.Control;
     this.fee1a.AppearanceCell.Options.UseBackColor = true;
     this.fee1a.AppearanceHeader.BackColor = System.Drawing.SystemColors.Control;
     this.fee1a.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.fee1a.AppearanceHeader.Options.UseBackColor = true;
     this.fee1a.AppearanceHeader.Options.UseFont = true;
     this.fee1a.Caption = "Fees";
     this.fee1a.DisplayFormat.FormatString = "f2";
     this.fee1a.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.fee1a.FieldName = "mInstructorFees";
     this.fee1a.Name = "fee1a";
     this.fee1a.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.fee1a.Visible = true;
     this.fee1a.VisibleIndex = 5;
     this.fee1a.Width = 90;
     //
     // fee1b
     //
     this.fee1b.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.fee1b.AppearanceHeader.Options.UseFont = true;
     this.fee1b.Caption = "Fees";
     this.fee1b.FieldName = "mStandinInstructorFees";
     this.fee1b.Name = "fee1b";
     this.fee1b.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.fee1b.Width = 90;
     //
     // Transfer1
     //
     this.Transfer1.Caption = "Transfer To ";
     this.Transfer1.ColumnEdit = this.lk_Employee;
     this.Transfer1.FieldName = "nActualInstructorID";
     this.Transfer1.Name = "Transfer1";
     this.Transfer1.Visible = true;
     this.Transfer1.VisibleIndex = 6;
     this.Transfer1.Width = 150;
     //
     // lk_Employee
     //
     this.lk_Employee.AutoHeight = false;
     this.lk_Employee.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
                                                                                              new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_Employee.Name = "lk_Employee";
     //
     // Transfer2
     //
     this.Transfer2.Caption = "Transfer To";
     this.Transfer2.ColumnEdit = this.lk_Employee;
     this.Transfer2.FieldName = "nStandinInstructorID";
     this.Transfer2.Name = "Transfer2";
     this.Transfer2.Width = 150;
     //
     // ClassID1
     //
     this.ClassID1.Caption = "Class Id";
     this.ClassID1.FieldName = "nClassInstanceID";
     this.ClassID1.Name = "ClassID1";
     //
     // radioGroupType
     //
     this.radioGroupType.EditValue = "A";
     this.radioGroupType.Location = new System.Drawing.Point(24, 8);
     this.radioGroupType.Name = "radioGroupType";
     //
     // radioGroupType.Properties
     //
     this.radioGroupType.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
     this.radioGroupType.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radioGroupType.Properties.Appearance.Options.UseBackColor = true;
     this.radioGroupType.Properties.Appearance.Options.UseFont = true;
     this.radioGroupType.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.radioGroupType.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
                                                                                                            new DevExpress.XtraEditors.Controls.RadioGroupItem("A", "Actual Fees"),
                                                                                                            new DevExpress.XtraEditors.Controls.RadioGroupItem("S", "Standing Fees")});
     this.radioGroupType.Size = new System.Drawing.Size(312, 32);
     this.radioGroupType.TabIndex = 7;
     this.radioGroupType.SelectedIndexChanged += new System.EventHandler(this.radioGroupType_SelectedIndexChanged);
     //
     // btn_Save
     //
     this.btn_Save.ImageIndex = 0;
     this.btn_Save.Location = new System.Drawing.Point(480, 16);
     this.btn_Save.Name = "btn_Save";
     this.btn_Save.Size = new System.Drawing.Size(112, 23);
     this.btn_Save.TabIndex = 14;
     this.btn_Save.Text = "Save Changes";
     this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
     //
     // btn_Cancel
     //
     this.btn_Cancel.Location = new System.Drawing.Point(528, 504);
     this.btn_Cancel.Name = "btn_Cancel";
     this.btn_Cancel.Size = new System.Drawing.Size(104, 23);
     this.btn_Cancel.TabIndex = 17;
     this.btn_Cancel.Text = "Close";
     this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
     //
     // grid_ExtraFees
     //
     //
     // grid_ExtraFees.EmbeddedNavigator
     //
     this.grid_ExtraFees.EmbeddedNavigator.Name = "";
     this.grid_ExtraFees.Location = new System.Drawing.Point(16, 400);
     this.grid_ExtraFees.MainView = this.gridView_ExtraFees;
     this.grid_ExtraFees.Name = "grid_ExtraFees";
     this.grid_ExtraFees.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
                                                                                                             this.lk_Branch});
     this.grid_ExtraFees.Size = new System.Drawing.Size(616, 96);
     this.grid_ExtraFees.TabIndex = 18;
     this.grid_ExtraFees.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
                                                                                                   this.gridView_ExtraFees});
     //
     // gridView_ExtraFees
     //
     this.gridView_ExtraFees.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
                                                                                               this.Branch,
                                                                                               this.dtDate,
                                                                                               this.strDescription,
                                                                                               this.gridColumn10,
                                                                                               this.gridColumn5,
                                                                                               this.gridColumn6});
     this.gridView_ExtraFees.GridControl = this.grid_ExtraFees;
     this.gridView_ExtraFees.GroupFooterShowMode = DevExpress.XtraGrid.Views.Grid.GroupFooterShowMode.VisibleAlways;
     this.gridView_ExtraFees.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
                                                                                                 new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "CUSTOM", this.gridColumn10, "f2")});
     this.gridView_ExtraFees.Name = "gridView_ExtraFees";
     this.gridView_ExtraFees.OptionsCustomization.AllowFilter = false;
     this.gridView_ExtraFees.OptionsNavigation.AutoFocusNewRow = true;
     this.gridView_ExtraFees.OptionsView.ColumnAutoWidth = false;
     this.gridView_ExtraFees.OptionsView.ShowFooter = true;
     this.gridView_ExtraFees.OptionsView.ShowGroupPanel = false;
     this.gridView_ExtraFees.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.grid_ExtraFees_Changed);
     //
     // Branch
     //
     this.Branch.Caption = "Branch";
     this.Branch.ColumnEdit = this.lk_Branch;
     this.Branch.FieldName = "strBranchCode";
     this.Branch.Name = "Branch";
     this.Branch.OptionsColumn.AllowEdit = false;
     this.Branch.Visible = true;
     this.Branch.VisibleIndex = 0;
     this.Branch.Width = 59;
     //
     // lk_Branch
     //
     this.lk_Branch.AutoHeight = false;
     this.lk_Branch.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
                                                                                            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_Branch.Name = "lk_Branch";
     //
     // dtDate
     //
     this.dtDate.Caption = "Date";
     this.dtDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.dtDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.dtDate.FieldName = "dtDate";
     this.dtDate.Name = "dtDate";
     this.dtDate.OptionsColumn.AllowEdit = false;
     this.dtDate.Visible = true;
     this.dtDate.VisibleIndex = 1;
     //
     // strDescription
     //
     this.strDescription.Caption = "Description";
     this.strDescription.FieldName = "strDescription";
     this.strDescription.Name = "strDescription";
     this.strDescription.Visible = true;
     this.strDescription.VisibleIndex = 2;
     this.strDescription.Width = 374;
     //
     // gridColumn10
     //
     this.gridColumn10.AppearanceCell.BackColor = System.Drawing.SystemColors.Control;
     this.gridColumn10.AppearanceCell.Options.UseBackColor = true;
     this.gridColumn10.AppearanceHeader.BackColor = System.Drawing.SystemColors.Control;
     this.gridColumn10.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.gridColumn10.AppearanceHeader.Options.UseBackColor = true;
     this.gridColumn10.AppearanceHeader.Options.UseFont = true;
     this.gridColumn10.Caption = "Fees";
     this.gridColumn10.DisplayFormat.FormatString = "f2";
     this.gridColumn10.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.gridColumn10.FieldName = "mExtraFees";
     this.gridColumn10.Name = "gridColumn10";
     this.gridColumn10.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.gridColumn10.Visible = true;
     this.gridColumn10.VisibleIndex = 3;
     this.gridColumn10.Width = 90;
     //
     // gridColumn5
     //
     this.gridColumn5.Caption = "EmployeeNo";
     this.gridColumn5.FieldName = "nEmployeeNo";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.OptionsColumn.AllowEdit = false;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = "PayRollId";
     this.gridColumn6.FieldName = "nPayRollId";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.OptionsColumn.AllowEdit = false;
     //
     // imageList1
     //
     this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit;
     this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Magenta;
     //
     // btn_Bottom_Del
     //
     this.btn_Bottom_Del.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btn_Bottom_Del.Appearance.Options.UseFont = true;
     this.btn_Bottom_Del.Appearance.Options.UseTextOptions = true;
     this.btn_Bottom_Del.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_Bottom_Del.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_Bottom_Del.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_Bottom_Del.ImageIndex = 1;
     this.btn_Bottom_Del.ImageList = this.imageList1;
     this.btn_Bottom_Del.Location = new System.Drawing.Point(56, 384);
     this.btn_Bottom_Del.Name = "btn_Bottom_Del";
     this.btn_Bottom_Del.Size = new System.Drawing.Size(38, 16);
     this.btn_Bottom_Del.TabIndex = 124;
     this.btn_Bottom_Del.Click += new System.EventHandler(this.btn_Bottom_Del_Click);
     //
     // btn_Bottom_Add
     //
     this.btn_Bottom_Add.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btn_Bottom_Add.Appearance.Options.UseFont = true;
     this.btn_Bottom_Add.Appearance.Options.UseTextOptions = true;
     this.btn_Bottom_Add.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_Bottom_Add.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_Bottom_Add.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_Bottom_Add.ImageIndex = 0;
     this.btn_Bottom_Add.ImageList = this.imageList1;
     this.btn_Bottom_Add.Location = new System.Drawing.Point(16, 384);
     this.btn_Bottom_Add.Name = "btn_Bottom_Add";
     this.btn_Bottom_Add.Size = new System.Drawing.Size(38, 16);
     this.btn_Bottom_Add.TabIndex = 125;
     this.btn_Bottom_Add.Click += new System.EventHandler(this.btn_Bottom_Add_Click);
     //
     // frmServiceReimbursement
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(650, 528);
     this.Controls.Add(this.btn_Bottom_Del);
     this.Controls.Add(this.btn_Bottom_Add);
     this.Controls.Add(this.grid_ExtraFees);
     this.Controls.Add(this.btn_Cancel);
     this.Controls.Add(this.btn_Save);
     this.Controls.Add(this.radioGroupType);
     this.Controls.Add(this.gcMon);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name = "frmServiceReimbursement";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Service Reimbursement";
     this.TopMost = true;
     this.Load += new System.EventHandler(this.frmServiceReimbursement_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gcMon)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Employee)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioGroupType.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grid_ExtraFees)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView_ExtraFees)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Branch)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 40
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Finan2Details));
			this.notePanel_FinanQuery = new DevExpress.Utils.Frames.NotePanel();
			this.notePanel1 = new DevExpress.Utils.Frames.NotePanel();
			this.txtTemplateName = new DevExpress.XtraEditors.TextEdit();
			this.gridControl1 = new DevExpress.XtraGrid.GridControl();
			this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
			this.费用名 = new DevExpress.XtraGrid.Columns.GridColumn();
			this.fullDays = new DevExpress.XtraGrid.Columns.GridColumn();
			this.fullDaysSpend = new DevExpress.XtraGrid.Columns.GridColumn();
			this.halfDaysSpend = new DevExpress.XtraGrid.Columns.GridColumn();
			this.perDaySpend = new DevExpress.XtraGrid.Columns.GridColumn();
			this.noSpendMonth = new DevExpress.XtraGrid.Columns.GridColumn();
			this.halfSpendMonth = new DevExpress.XtraGrid.Columns.GridColumn();
			this.指定年级 = new DevExpress.XtraGrid.Columns.GridColumn();
			this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
			this.指定班级 = new DevExpress.XtraGrid.Columns.GridColumn();
			this.repositoryItemComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
			this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components);
			this.btnAdd = new DevExpress.XtraEditors.SimpleButton();
			this.btnSave = new DevExpress.XtraEditors.SimpleButton();
			this.btnDelete = new DevExpress.XtraEditors.SimpleButton();
			((System.ComponentModel.ISupportInitialize)(this.txtTemplateName.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).BeginInit();
			this.SuspendLayout();
			// 
			// notePanel_FinanQuery
			// 
			this.notePanel_FinanQuery.BackColor = System.Drawing.Color.LightGoldenrodYellow;
			this.notePanel_FinanQuery.Dock = System.Windows.Forms.DockStyle.Top;
			this.notePanel_FinanQuery.ForeColor = System.Drawing.Color.OrangeRed;
			this.notePanel_FinanQuery.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
			this.notePanel_FinanQuery.Location = new System.Drawing.Point(0, 0);
			this.notePanel_FinanQuery.MaxRows = 5;
			this.notePanel_FinanQuery.Name = "notePanel_FinanQuery";
			this.notePanel_FinanQuery.ParentAutoHeight = true;
			this.notePanel_FinanQuery.Size = new System.Drawing.Size(632, 23);
			this.notePanel_FinanQuery.TabIndex = 47;
			this.notePanel_FinanQuery.TabStop = false;
			this.notePanel_FinanQuery.Text = "不用的项目请用\"-\"表示。\"排除月\"用于\"不来不交费\",有多个的话,请用\",\"隔开";
			// 
			// notePanel1
			// 
			this.notePanel1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
			this.notePanel1.BackColor2 = System.Drawing.Color.DarkGray;
			this.notePanel1.Font = new System.Drawing.Font("Tahoma", 8F);
			this.notePanel1.ForeColor = System.Drawing.Color.Black;
			this.notePanel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
			this.notePanel1.Location = new System.Drawing.Point(24, 40);
			this.notePanel1.MaxRows = 5;
			this.notePanel1.Name = "notePanel1";
			this.notePanel1.ParentAutoHeight = true;
			this.notePanel1.Size = new System.Drawing.Size(80, 22);
			this.notePanel1.TabIndex = 48;
			this.notePanel1.TabStop = false;
			this.notePanel1.Text = "模板名称";
			// 
			// txtTemplateName
			// 
			this.txtTemplateName.EditValue = "";
			this.txtTemplateName.Location = new System.Drawing.Point(120, 40);
			this.txtTemplateName.Name = "txtTemplateName";
			this.txtTemplateName.Size = new System.Drawing.Size(152, 23);
			this.txtTemplateName.TabIndex = 49;
			// 
			// gridControl1
			// 
			// 
			// gridControl1.EmbeddedNavigator
			// 
			this.gridControl1.EmbeddedNavigator.Name = "";
			this.gridControl1.Location = new System.Drawing.Point(24, 112);
			this.gridControl1.MainView = this.gridView1;
			this.gridControl1.Name = "gridControl1";
			this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
																												  this.repositoryItemComboBox1,
																												  this.repositoryItemComboBox2});
			this.gridControl1.Size = new System.Drawing.Size(560, 312);
			this.gridControl1.TabIndex = 50;
			this.gridControl1.ToolTipController = this.toolTipController1;
			this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
																										this.gridView1});
			// 
			// gridView1
			// 
			this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
																							 this.费用名,
																							 this.fullDays,
																							 this.fullDaysSpend,
																							 this.halfDaysSpend,
																							 this.perDaySpend,
																							 this.noSpendMonth,
																							 this.halfSpendMonth,
																							 this.指定年级,
																							 this.指定班级});
			this.gridView1.GridControl = this.gridControl1;
			this.gridView1.Name = "gridView1";
			this.gridView1.OptionsCustomization.AllowFilter = false;
			this.gridView1.OptionsView.ShowFilterPanel = false;
			this.gridView1.OptionsView.ShowGroupPanel = false;
			// 
			// 费用名
			// 
			this.费用名.AppearanceCell.Options.UseTextOptions = true;
			this.费用名.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.费用名.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.费用名.AppearanceHeader.Options.UseTextOptions = true;
			this.费用名.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.费用名.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.费用名.Caption = "费用名";
			this.费用名.FieldName = "费用名";
			this.费用名.Name = "费用名";
			this.费用名.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
			this.费用名.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.费用名.OptionsColumn.FixedWidth = true;
			this.费用名.Visible = true;
			this.费用名.VisibleIndex = 0;
			this.费用名.Width = 60;
			// 
			// fullDays
			// 
			this.fullDays.AppearanceCell.Options.UseTextOptions = true;
			this.fullDays.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.fullDays.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.fullDays.AppearanceHeader.Options.UseTextOptions = true;
			this.fullDays.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.fullDays.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.fullDays.Caption = "全勤天数";
			this.fullDays.FieldName = "fullDays";
			this.fullDays.Name = "fullDays";
			this.fullDays.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
			this.fullDays.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.fullDays.OptionsColumn.FixedWidth = true;
			this.fullDays.Visible = true;
			this.fullDays.VisibleIndex = 1;
			this.fullDays.Width = 60;
			// 
			// fullDaysSpend
			// 
			this.fullDaysSpend.AppearanceCell.Options.UseTextOptions = true;
			this.fullDaysSpend.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.fullDaysSpend.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.fullDaysSpend.AppearanceHeader.Options.UseTextOptions = true;
			this.fullDaysSpend.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.fullDaysSpend.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.fullDaysSpend.Caption = "全勤费用";
			this.fullDaysSpend.FieldName = "fullDaysSpend";
			this.fullDaysSpend.Name = "fullDaysSpend";
			this.fullDaysSpend.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
			this.fullDaysSpend.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.fullDaysSpend.OptionsColumn.FixedWidth = true;
			this.fullDaysSpend.Visible = true;
			this.fullDaysSpend.VisibleIndex = 2;
			this.fullDaysSpend.Width = 60;
			// 
			// halfDaysSpend
			// 
			this.halfDaysSpend.AppearanceCell.Options.UseTextOptions = true;
			this.halfDaysSpend.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.halfDaysSpend.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.halfDaysSpend.AppearanceHeader.Options.UseTextOptions = true;
			this.halfDaysSpend.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.halfDaysSpend.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.halfDaysSpend.Caption = "半勤费用";
			this.halfDaysSpend.FieldName = "halfDaysSpend";
			this.halfDaysSpend.Name = "halfDaysSpend";
			this.halfDaysSpend.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
			this.halfDaysSpend.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.halfDaysSpend.OptionsColumn.FixedWidth = true;
			this.halfDaysSpend.Visible = true;
			this.halfDaysSpend.VisibleIndex = 3;
			this.halfDaysSpend.Width = 60;
			// 
			// perDaySpend
			// 
			this.perDaySpend.AppearanceCell.Options.UseTextOptions = true;
			this.perDaySpend.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.perDaySpend.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.perDaySpend.AppearanceHeader.Options.UseTextOptions = true;
			this.perDaySpend.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.perDaySpend.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.perDaySpend.Caption = "出勤一次费用";
			this.perDaySpend.FieldName = "perDaySpend";
			this.perDaySpend.Name = "perDaySpend";
			this.perDaySpend.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
			this.perDaySpend.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.perDaySpend.OptionsColumn.FixedWidth = true;
			this.perDaySpend.Visible = true;
			this.perDaySpend.VisibleIndex = 4;
			this.perDaySpend.Width = 89;
			// 
			// noSpendMonth
			// 
			this.noSpendMonth.AppearanceCell.Options.UseTextOptions = true;
			this.noSpendMonth.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.noSpendMonth.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.noSpendMonth.AppearanceHeader.Options.UseTextOptions = true;
			this.noSpendMonth.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.noSpendMonth.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.noSpendMonth.Caption = "排除月";
			this.noSpendMonth.FieldName = "noSpendMonth";
			this.noSpendMonth.Name = "noSpendMonth";
			this.noSpendMonth.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
			this.noSpendMonth.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.noSpendMonth.OptionsColumn.FixedWidth = true;
			this.noSpendMonth.Visible = true;
			this.noSpendMonth.VisibleIndex = 5;
			this.noSpendMonth.Width = 47;
			// 
			// halfSpendMonth
			// 
			this.halfSpendMonth.AppearanceCell.Options.UseTextOptions = true;
			this.halfSpendMonth.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.halfSpendMonth.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.halfSpendMonth.AppearanceHeader.Options.UseTextOptions = true;
			this.halfSpendMonth.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
			this.halfSpendMonth.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
			this.halfSpendMonth.Caption = "半价月";
			this.halfSpendMonth.FieldName = "halfSpendMonth";
			this.halfSpendMonth.Name = "halfSpendMonth";
			this.halfSpendMonth.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
			this.halfSpendMonth.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.halfSpendMonth.OptionsColumn.FixedWidth = true;
			this.halfSpendMonth.Visible = true;
			this.halfSpendMonth.VisibleIndex = 6;
			this.halfSpendMonth.Width = 47;
			// 
			// 指定年级
			// 
			this.指定年级.Caption = "指定年级";
			this.指定年级.ColumnEdit = this.repositoryItemComboBox1;
			this.指定年级.FieldName = "指定年级";
			this.指定年级.Name = "指定年级";
			this.指定年级.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
			this.指定年级.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.指定年级.OptionsColumn.FixedWidth = true;
			this.指定年级.Visible = true;
			this.指定年级.VisibleIndex = 7;
			// 
			// repositoryItemComboBox1
			// 
			this.repositoryItemComboBox1.AutoHeight = false;
			this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
																												 new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
			this.repositoryItemComboBox1.Items.AddRange(new object[] {
																		 "不选择"});
			this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
			this.repositoryItemComboBox1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
			this.repositoryItemComboBox1.SelectedIndexChanged += new System.EventHandler(this.repositoryItemComboBox1_SelectedIndexChanged);
			// 
			// 指定班级
			// 
			this.指定班级.Caption = "指定班级";
			this.指定班级.ColumnEdit = this.repositoryItemComboBox2;
			this.指定班级.FieldName = "指定班级";
			this.指定班级.Name = "指定班级";
			this.指定班级.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.True;
			this.指定班级.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.指定班级.OptionsColumn.FixedWidth = true;
			this.指定班级.Visible = true;
			this.指定班级.VisibleIndex = 8;
			// 
			// repositoryItemComboBox2
			// 
			this.repositoryItemComboBox2.AutoHeight = false;
			this.repositoryItemComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
																												 new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
			this.repositoryItemComboBox2.Items.AddRange(new object[] {
																		 "不选择"});
			this.repositoryItemComboBox2.Name = "repositoryItemComboBox2";
			this.repositoryItemComboBox2.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
			// 
			// toolTipController1
			// 
			this.toolTipController1.GetActiveObjectInfo += new DevExpress.Utils.ToolTipControllerGetActiveObjectInfoEventHandler(this.toolTipController1_GetActiveObjectInfo);
			// 
			// btnAdd
			// 
			this.btnAdd.Location = new System.Drawing.Point(24, 80);
			this.btnAdd.Name = "btnAdd";
			this.btnAdd.Size = new System.Drawing.Size(64, 23);
			this.btnAdd.TabIndex = 51;
			this.btnAdd.Text = "添加一行";
			this.btnAdd.Click += new System.EventHandler(this.simpleButton1_Click);
			// 
			// btnSave
			// 
			this.btnSave.Location = new System.Drawing.Point(192, 80);
			this.btnSave.Name = "btnSave";
			this.btnSave.TabIndex = 52;
			this.btnSave.Text = "保存全部";
			this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
			// 
			// btnDelete
			// 
			this.btnDelete.Location = new System.Drawing.Point(104, 80);
			this.btnDelete.Name = "btnDelete";
			this.btnDelete.TabIndex = 53;
			this.btnDelete.Text = "删除行";
			this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
			// 
			// Finan2Details
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
			this.ClientSize = new System.Drawing.Size(632, 461);
			this.Controls.Add(this.btnDelete);
			this.Controls.Add(this.btnSave);
			this.Controls.Add(this.btnAdd);
			this.Controls.Add(this.gridControl1);
			this.Controls.Add(this.txtTemplateName);
			this.Controls.Add(this.notePanel1);
			this.Controls.Add(this.notePanel_FinanQuery);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.Name = "Finan2Details";
			this.Text = "收费细节";
			this.Load += new System.EventHandler(this.Finan2Details_Load);
			((System.ComponentModel.ISupportInitialize)(this.txtTemplateName.Properties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).EndInit();
			this.ResumeLayout(false);

		}
Ejemplo n.º 41
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCourseBrw));
     this.persistentRepository1 = new DevExpress.XtraEditors.Repository.PersistentRepository(this.components);
     this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.pnl_Find = new System.Windows.Forms.Panel();
     this.panel1 = new System.Windows.Forms.Panel();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.txtSearch = new System.Windows.Forms.TextBox();
     this.chk_Anywhere = new System.Windows.Forms.CheckBox();
     this.btn_Clear = new System.Windows.Forms.Button();
     this.btn_Find = new System.Windows.Forms.Button();
     this.lbl_Find = new System.Windows.Forms.Label();
     this.chk_AdvanceSearch = new System.Windows.Forms.CheckBox();
     this.pnlBody = new System.Windows.Forms.Panel();
     this.pnl_SpeedSearch = new System.Windows.Forms.Panel();
     this.pnl_SpeedSearch1 = new System.Windows.Forms.Panel();
     this.txt_SpeedSearch = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.grdCourse = new DevExpress.XtraGrid.GridControl();
     this.xpServerCollectionSource1 = new DevExpress.Xpo.XPServerCollectionSource();
     this.session1 = new DevExpress.Xpo.Session();
     this.gvwCourse = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gcolCourseId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gColName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolPhonetic = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolNameRomaji = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolCourseType = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gColProgram = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolClient = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolDept = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolEventDateTime = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolEndDateTime = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolNumberStudents = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolHomeWorkMinutes = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolTestIniEventID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gColTestMidEventID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gColTestFinalEventID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolTestIniForm = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gColTestMidForm = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolTestFinalForm = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolCurriculam = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolStatus = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolDescription = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolDateLastLogin = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolDateCreated = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolLastModified = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolLastModifiedByUser = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolEventId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolOccurrenceCount = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcolScheduledInstructor = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemTimeEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTimeEdit();
     this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
     this.repositoryItemTimeEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTimeEdit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
     this.pnl_Find.SuspendLayout();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.pnlBody.SuspendLayout();
     this.pnl_SpeedSearch.SuspendLayout();
     this.pnl_SpeedSearch1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grdCourse)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xpServerCollectionSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.session1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvwCourse)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTimeEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTimeEdit2)).BeginInit();
     this.SuspendLayout();
     //
     // persistentRepository1
     //
     this.persistentRepository1.Items.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemTextEdit1});
     //
     // repositoryItemTextEdit1
     //
     this.repositoryItemTextEdit1.AllowFocused = false;
     this.repositoryItemTextEdit1.AutoHeight = false;
     this.repositoryItemTextEdit1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
     //
     // pnl_Find
     //
     this.pnl_Find.BackColor = System.Drawing.SystemColors.Window;
     this.pnl_Find.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pnl_Find.Controls.Add(this.panel1);
     this.pnl_Find.Controls.Add(this.txtSearch);
     this.pnl_Find.Controls.Add(this.chk_Anywhere);
     this.pnl_Find.Controls.Add(this.btn_Clear);
     this.pnl_Find.Controls.Add(this.btn_Find);
     this.pnl_Find.Controls.Add(this.lbl_Find);
     this.pnl_Find.Controls.Add(this.chk_AdvanceSearch);
     this.pnl_Find.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnl_Find.Location = new System.Drawing.Point(0, 0);
     this.pnl_Find.Name = "pnl_Find";
     this.pnl_Find.Size = new System.Drawing.Size(672, 129);
     this.pnl_Find.TabIndex = 28;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.pictureBox1);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
     this.panel1.Location = new System.Drawing.Point(386, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(282, 125);
     this.panel1.TabIndex = 10;
     //
     // pictureBox1
     //
     this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(282, 125);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     //
     // txtSearch
     //
     this.txtSearch.Location = new System.Drawing.Point(102, 24);
     this.txtSearch.Name = "txtSearch";
     this.txtSearch.Size = new System.Drawing.Size(474, 27);
     this.txtSearch.TabIndex = 9;
     this.txtSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtSearch_KeyDown);
     //
     // chk_Anywhere
     //
     this.chk_Anywhere.BackColor = System.Drawing.SystemColors.Window;
     this.chk_Anywhere.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.chk_Anywhere.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chk_Anywhere.Location = new System.Drawing.Point(336, 63);
     this.chk_Anywhere.Name = "chk_Anywhere";
     this.chk_Anywhere.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.chk_Anywhere.Size = new System.Drawing.Size(246, 34);
     this.chk_Anywhere.TabIndex = 7;
     this.chk_Anywhere.Text = "Search Anywhere in Fields";
     this.chk_Anywhere.UseVisualStyleBackColor = false;
     //
     // btn_Clear
     //
     this.btn_Clear.BackColor = System.Drawing.SystemColors.Control;
     this.btn_Clear.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btn_Clear.Location = new System.Drawing.Point(592, 63);
     this.btn_Clear.Name = "btn_Clear";
     this.btn_Clear.Size = new System.Drawing.Size(120, 33);
     this.btn_Clear.TabIndex = 6;
     this.btn_Clear.Text = "Clear";
     this.btn_Clear.UseVisualStyleBackColor = false;
     this.btn_Clear.Click += new System.EventHandler(this.btn_Clear_Click);
     //
     // btn_Find
     //
     this.btn_Find.BackColor = System.Drawing.SystemColors.Control;
     this.btn_Find.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btn_Find.Location = new System.Drawing.Point(592, 21);
     this.btn_Find.Name = "btn_Find";
     this.btn_Find.Size = new System.Drawing.Size(120, 33);
     this.btn_Find.TabIndex = 4;
     this.btn_Find.Text = "Find";
     this.btn_Find.UseVisualStyleBackColor = false;
     this.btn_Find.Click += new System.EventHandler(this.btn_Find_Click);
     //
     // lbl_Find
     //
     this.lbl_Find.AutoSize = true;
     this.lbl_Find.Location = new System.Drawing.Point(24, 27);
     this.lbl_Find.Name = "lbl_Find";
     this.lbl_Find.Size = new System.Drawing.Size(46, 21);
     this.lbl_Find.TabIndex = 0;
     this.lbl_Find.Text = " Find";
     //
     // chk_AdvanceSearch
     //
     this.chk_AdvanceSearch.BackColor = System.Drawing.SystemColors.Window;
     this.chk_AdvanceSearch.Checked = true;
     this.chk_AdvanceSearch.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chk_AdvanceSearch.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.chk_AdvanceSearch.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chk_AdvanceSearch.Location = new System.Drawing.Point(102, 63);
     this.chk_AdvanceSearch.Name = "chk_AdvanceSearch";
     this.chk_AdvanceSearch.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.chk_AdvanceSearch.Size = new System.Drawing.Size(180, 34);
     this.chk_AdvanceSearch.TabIndex = 8;
     this.chk_AdvanceSearch.Text = "Search All Fields";
     this.chk_AdvanceSearch.UseVisualStyleBackColor = false;
     //
     // pnlBody
     //
     this.pnlBody.Controls.Add(this.pnl_SpeedSearch);
     this.pnlBody.Controls.Add(this.grdCourse);
     this.pnlBody.Controls.Add(this.pnl_Find);
     this.pnlBody.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlBody.Location = new System.Drawing.Point(0, 0);
     this.pnlBody.Name = "pnlBody";
     this.pnlBody.Size = new System.Drawing.Size(672, 357);
     this.pnlBody.TabIndex = 29;
     this.pnlBody.Resize += new System.EventHandler(this.pnlBody_Resize);
     //
     // pnl_SpeedSearch
     //
     this.pnl_SpeedSearch.BackColor = System.Drawing.Color.Black;
     this.pnl_SpeedSearch.Controls.Add(this.pnl_SpeedSearch1);
     this.pnl_SpeedSearch.Location = new System.Drawing.Point(64, 309);
     this.pnl_SpeedSearch.Name = "pnl_SpeedSearch";
     this.pnl_SpeedSearch.Size = new System.Drawing.Size(307, 102);
     this.pnl_SpeedSearch.TabIndex = 42;
     this.pnl_SpeedSearch.Visible = false;
     //
     // pnl_SpeedSearch1
     //
     this.pnl_SpeedSearch1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(143)))), ((int)(((byte)(230)))));
     this.pnl_SpeedSearch1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnl_SpeedSearch1.Controls.Add(this.txt_SpeedSearch);
     this.pnl_SpeedSearch1.Controls.Add(this.label1);
     this.pnl_SpeedSearch1.Location = new System.Drawing.Point(6, 6);
     this.pnl_SpeedSearch1.Name = "pnl_SpeedSearch1";
     this.pnl_SpeedSearch1.Size = new System.Drawing.Size(295, 91);
     this.pnl_SpeedSearch1.TabIndex = 39;
     //
     // txt_SpeedSearch
     //
     this.txt_SpeedSearch.Location = new System.Drawing.Point(18, 41);
     this.txt_SpeedSearch.Name = "txt_SpeedSearch";
     this.txt_SpeedSearch.Size = new System.Drawing.Size(251, 27);
     this.txt_SpeedSearch.TabIndex = 10;
     this.txt_SpeedSearch.TextChanged += new System.EventHandler(this.txt_SpeedSearch_TextChanged);
     this.txt_SpeedSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_SpeedSearch_KeyDown);
     this.txt_SpeedSearch.Leave += new System.EventHandler(this.txt_SpeedSearch_Leave);
     this.txt_SpeedSearch.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txt_SpeedSearch_KeyUp);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location = new System.Drawing.Point(90, 6);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(103, 19);
     this.label1.TabIndex = 0;
     this.label1.Text = "Fast Search";
     //
     // grdCourse
     //
     this.grdCourse.DataSource = this.xpServerCollectionSource1;
     this.grdCourse.Dock = System.Windows.Forms.DockStyle.Fill;
     this.grdCourse.ExternalRepository = this.persistentRepository1;
     this.grdCourse.Location = new System.Drawing.Point(0, 129);
     this.grdCourse.MainView = this.gvwCourse;
     this.grdCourse.Name = "grdCourse";
     this.grdCourse.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemTimeEdit1,
     this.repositoryItemButtonEdit1,
     this.repositoryItemTimeEdit2});
     this.grdCourse.ServerMode = true;
     this.grdCourse.Size = new System.Drawing.Size(672, 228);
     this.grdCourse.TabIndex = 26;
     this.grdCourse.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvwCourse});
     this.grdCourse.DoubleClick += new System.EventHandler(this.grdCourse_DoubleClick);
     this.grdCourse.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.grdCourse_KeyPress);
     //
     // xpServerCollectionSource1
     //
     this.xpServerCollectionSource1.ObjectType = typeof(Scheduler.BusinessLayer.CoursePO);
     this.xpServerCollectionSource1.Session = this.session1;
     //
     // gvwCourse
     //
     this.gvwCourse.ActiveFilterString = "[CourseStatus] = \'Active\'";
     this.gvwCourse.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D;
     this.gvwCourse.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gcolCourseId,
     this.gColName,
     this.gcolPhonetic,
     this.gcolNameRomaji,
     this.gcolCourseType,
     this.gColProgram,
     this.gcolClient,
     this.gcolDept,
     this.gcolEventDateTime,
     this.gcolEndDateTime,
     this.gcolNumberStudents,
     this.gcolHomeWorkMinutes,
     this.gcolTestIniEventID,
     this.gColTestMidEventID,
     this.gColTestFinalEventID,
     this.gcolTestIniForm,
     this.gColTestMidForm,
     this.gcolTestFinalForm,
     this.gcolCurriculam,
     this.gcolStatus,
     this.gcolDescription,
     this.gcolDateLastLogin,
     this.gcolDateCreated,
     this.gcolLastModified,
     this.gcolLastModifiedByUser,
     this.gcolEventId,
     this.gcolOccurrenceCount,
     this.gcolScheduledInstructor});
     this.gvwCourse.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gvwCourse.GridControl = this.grdCourse;
     this.gvwCourse.Name = "gvwCourse";
     this.gvwCourse.OptionsBehavior.Editable = false;
     this.gvwCourse.OptionsBehavior.KeepGroupExpandedOnSorting = false;
     this.gvwCourse.OptionsNavigation.AutoMoveRowFocus = false;
     this.gvwCourse.OptionsView.ShowDetailButtons = false;
     this.gvwCourse.OptionsView.ShowGroupPanel = false;
     this.gvwCourse.OptionsView.ShowHorzLines = false;
     this.gvwCourse.OptionsView.ShowIndicator = false;
     this.gvwCourse.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gcolClient, DevExpress.Data.ColumnSortOrder.Ascending),
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gColName, DevExpress.Data.ColumnSortOrder.Ascending),
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gcolEventDateTime, DevExpress.Data.ColumnSortOrder.Ascending)});
     //
     // gcolCourseId
     //
     this.gcolCourseId.Caption = "Course Id";
     this.gcolCourseId.FieldName = "CourseId";
     this.gcolCourseId.Name = "gcolCourseId";
     //
     // gColName
     //
     this.gColName.Caption = "Class Name";
     this.gColName.FieldName = "BrowseName";
     this.gColName.Name = "gColName";
     this.gColName.Visible = true;
     this.gColName.VisibleIndex = 3;
     this.gColName.Width = 203;
     //
     // gcolPhonetic
     //
     this.gcolPhonetic.Caption = "Name Phonetic";
     this.gcolPhonetic.FieldName = "NamePhonetic";
     this.gcolPhonetic.Name = "gcolPhonetic";
     this.gcolPhonetic.Width = 78;
     //
     // gcolNameRomaji
     //
     this.gcolNameRomaji.Caption = "Name Romaji";
     this.gcolNameRomaji.FieldName = "NameRomaji";
     this.gcolNameRomaji.Name = "gcolNameRomaji";
     this.gcolNameRomaji.Width = 78;
     //
     // gcolCourseType
     //
     this.gcolCourseType.Caption = "Type";
     this.gcolCourseType.FieldName = "CourseType";
     this.gcolCourseType.Name = "gcolCourseType";
     this.gcolCourseType.Width = 60;
     //
     // gColProgram
     //
     this.gColProgram.Caption = "Program Name";
     this.gColProgram.FieldName = "Program";
     this.gColProgram.Name = "gColProgram";
     this.gColProgram.Visible = true;
     this.gColProgram.VisibleIndex = 2;
     this.gColProgram.Width = 203;
     //
     // gcolClient
     //
     this.gcolClient.Caption = "Client Name";
     this.gcolClient.FieldName = "Client";
     this.gcolClient.Name = "gcolClient";
     this.gcolClient.Visible = true;
     this.gcolClient.VisibleIndex = 0;
     this.gcolClient.Width = 223;
     //
     // gcolDept
     //
     this.gcolDept.Caption = "Department Name";
     this.gcolDept.FieldName = "Department";
     this.gcolDept.Name = "gcolDept";
     this.gcolDept.Visible = true;
     this.gcolDept.VisibleIndex = 1;
     this.gcolDept.Width = 208;
     //
     // gcolEventDateTime
     //
     this.gcolEventDateTime.Caption = "Event Start Date";
     this.gcolEventDateTime.DisplayFormat.FormatString = "MM/dd/yyyy HH:mm";
     this.gcolEventDateTime.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.gcolEventDateTime.FieldName = "EventStartDateTime";
     this.gcolEventDateTime.Name = "gcolEventDateTime";
     this.gcolEventDateTime.Visible = true;
     this.gcolEventDateTime.VisibleIndex = 4;
     this.gcolEventDateTime.Width = 160;
     //
     // gcolEndDateTime
     //
     this.gcolEndDateTime.Caption = "Event End Date";
     this.gcolEndDateTime.DisplayFormat.FormatString = "MM/dd/yyyy HH:mm";
     this.gcolEndDateTime.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.gcolEndDateTime.FieldName = "EventEndDateTime";
     this.gcolEndDateTime.Name = "gcolEndDateTime";
     this.gcolEndDateTime.Visible = true;
     this.gcolEndDateTime.VisibleIndex = 5;
     this.gcolEndDateTime.Width = 160;
     //
     // gcolNumberStudents
     //
     this.gcolNumberStudents.Caption = "No. Students";
     this.gcolNumberStudents.FieldName = "NumberStudents";
     this.gcolNumberStudents.Name = "gcolNumberStudents";
     //
     // gcolHomeWorkMinutes
     //
     this.gcolHomeWorkMinutes.Caption = "Homework Mints.";
     this.gcolHomeWorkMinutes.FieldName = "HomeWorkMinutes";
     this.gcolHomeWorkMinutes.Name = "gcolHomeWorkMinutes";
     this.gcolHomeWorkMinutes.Width = 76;
     //
     // gcolTestIniEventID
     //
     this.gcolTestIniEventID.Caption = "Initial EventID";
     this.gcolTestIniEventID.FieldName = "TestInitialEventID";
     this.gcolTestIniEventID.Name = "gcolTestIniEventID";
     //
     // gColTestMidEventID
     //
     this.gColTestMidEventID.Caption = "Mid-term EventID";
     this.gColTestMidEventID.FieldName = "TestMidTermEventID";
     this.gColTestMidEventID.Name = "gColTestMidEventID";
     //
     // gColTestFinalEventID
     //
     this.gColTestFinalEventID.Caption = "Final EventID";
     this.gColTestFinalEventID.FieldName = "TestFinalEventID";
     this.gColTestFinalEventID.Name = "gColTestFinalEventID";
     //
     // gcolTestIniForm
     //
     this.gcolTestIniForm.Caption = "Initial Form";
     this.gcolTestIniForm.FieldName = "TestInitialForm";
     this.gcolTestIniForm.Name = "gcolTestIniForm";
     //
     // gColTestMidForm
     //
     this.gColTestMidForm.Caption = "Mid-term Form";
     this.gColTestMidForm.FieldName = "TestMidTermForm";
     this.gColTestMidForm.Name = "gColTestMidForm";
     //
     // gcolTestFinalForm
     //
     this.gcolTestFinalForm.Caption = "Final Form";
     this.gcolTestFinalForm.FieldName = "TestFinalForm";
     this.gcolTestFinalForm.Name = "gcolTestFinalForm";
     //
     // gcolCurriculam
     //
     this.gcolCurriculam.Caption = "Curriculam";
     this.gcolCurriculam.FieldName = "Curriculam";
     this.gcolCurriculam.Name = "gcolCurriculam";
     this.gcolCurriculam.Width = 44;
     //
     // gcolStatus
     //
     this.gcolStatus.Caption = "Status";
     this.gcolStatus.FieldName = "CourseStatus";
     this.gcolStatus.Name = "gcolStatus";
     this.gcolStatus.Visible = true;
     this.gcolStatus.VisibleIndex = 7;
     this.gcolStatus.Width = 183;
     //
     // gcolDescription
     //
     this.gcolDescription.Caption = "Description";
     this.gcolDescription.FieldName = "Description";
     this.gcolDescription.Name = "gcolDescription";
     this.gcolDescription.Width = 102;
     //
     // gcolDateLastLogin
     //
     this.gcolDateLastLogin.Caption = "Date Last Login";
     this.gcolDateLastLogin.FieldName = "DatelastLogin";
     this.gcolDateLastLogin.Name = "gcolDateLastLogin";
     //
     // gcolDateCreated
     //
     this.gcolDateCreated.Caption = "Date Created";
     this.gcolDateCreated.FieldName = "DateCreated";
     this.gcolDateCreated.Name = "gcolDateCreated";
     //
     // gcolLastModified
     //
     this.gcolLastModified.Caption = "Date Last Modified";
     this.gcolLastModified.FieldName = "DateLastModified";
     this.gcolLastModified.Name = "gcolLastModified";
     //
     // gcolLastModifiedByUser
     //
     this.gcolLastModifiedByUser.Caption = "Last Modified User ID";
     this.gcolLastModifiedByUser.FieldName = "LastModifiedByUserID";
     this.gcolLastModifiedByUser.Name = "gcolLastModifiedByUser";
     //
     // gcolEventId
     //
     this.gcolEventId.Caption = "EventId";
     this.gcolEventId.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gcolEventId.FieldName = "EventID";
     this.gcolEventId.Name = "gcolEventId";
     //
     // gcolOccurrenceCount
     //
     this.gcolOccurrenceCount.Caption = "Occured / Total";
     this.gcolOccurrenceCount.FieldName = "OccurrenceCount";
     this.gcolOccurrenceCount.Name = "gcolOccurrenceCount";
     this.gcolOccurrenceCount.Visible = true;
     this.gcolOccurrenceCount.VisibleIndex = 8;
     this.gcolOccurrenceCount.Width = 224;
     //
     // gcolScheduledInstructor
     //
     this.gcolScheduledInstructor.Caption = "Scheduled Instructor";
     this.gcolScheduledInstructor.FieldName = "ScheduledInstructor";
     this.gcolScheduledInstructor.Name = "gcolScheduledInstructor";
     this.gcolScheduledInstructor.Visible = true;
     this.gcolScheduledInstructor.VisibleIndex = 6;
     this.gcolScheduledInstructor.Width = 183;
     //
     // repositoryItemTimeEdit1
     //
     this.repositoryItemTimeEdit1.AutoHeight = false;
     this.repositoryItemTimeEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.repositoryItemTimeEdit1.DisplayFormat.FormatString = "hh:mm:ss tt";
     this.repositoryItemTimeEdit1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemTimeEdit1.Mask.EditMask = "hh:mm:ss tt";
     this.repositoryItemTimeEdit1.Name = "repositoryItemTimeEdit1";
     //
     // repositoryItemButtonEdit1
     //
     this.repositoryItemButtonEdit1.AutoHeight = false;
     this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
     //
     // repositoryItemTimeEdit2
     //
     this.repositoryItemTimeEdit2.AutoHeight = false;
     this.repositoryItemTimeEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.repositoryItemTimeEdit2.DisplayFormat.FormatString = "MM/dd/yyyy HH:mm";
     this.repositoryItemTimeEdit2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemTimeEdit2.Mask.EditMask = "MM/dd/yyyy HH:mm";
     this.repositoryItemTimeEdit2.Name = "repositoryItemTimeEdit2";
     //
     // frmCourseBrw
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 20);
     this.ClientSize = new System.Drawing.Size(672, 357);
     this.Controls.Add(this.pnlBody);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "frmCourseBrw";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "`";
     this.Load += new System.EventHandler(this.frmCourseBrw_Load);
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
     this.pnl_Find.ResumeLayout(false);
     this.pnl_Find.PerformLayout();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.pnlBody.ResumeLayout(false);
     this.pnl_SpeedSearch.ResumeLayout(false);
     this.pnl_SpeedSearch1.ResumeLayout(false);
     this.pnl_SpeedSearch1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grdCourse)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xpServerCollectionSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.session1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvwCourse)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTimeEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTimeEdit2)).EndInit();
     this.ResumeLayout(false);
 }