Example #1
0
        public override void OnLoading()
        {
            base.OnLoading();
            _topInfoComponent = new TopInfoComponent(this)
            {
                Header            = Translator.Translate("task"),
                LeftButtonControl = new Image {
                    Source = ResourceManager.GetImage("topheading_back")
                },
                ArrowVisible = false
            };

            _taskCommentTextView = (TextView)GetControl("TaskCommentTextView", true);
            _wrapUnwrapImage     = (Image)GetControl("WrapUnwrapImage", true);

            _taskFinishedButton         = (HorizontalLayout)GetControl("TaskFinishedButton", true);
            _taskRefuseButton           = (HorizontalLayout)GetControl("TaskRefuseButton", true);
            _taskFinishedButtonTextView = (TextView)GetControl("TaskFinishedButtonTextView", true);
            _taskRefuseButtonTextView   = (TextView)GetControl("TaskRefuseButtonTextView", true);
            _taskFinishedButtonImage    = (Image)GetControl("TaskFinishedButtonImage", true);
            _taskRefuseButtonImage      = (Image)GetControl("TaskRefuseButtonImage", true);

            _taskCommentEditText = (MemoEdit)GetControl("TaskCommentEditText", true);
            _rootLayout          = (DockLayout)GetControl(0);
            _topInfoComponent.ActivateBackButton();

            _isReadOnly   = (bool)Variables[Parameters.IdIsReadonly];
            _currentEvent = DBHelper.GetEventByID($"{Variables[Parameters.IdCurrentEventId]}");
            _userId       = (DbRef)DBHelper.GetUserInfoByUserName(Settings.User)["Id"];
        }
Example #2
0
        public void AddEvent()
        {
            lc = data.FrmMain.Controls.Find("lcMain", true) [0] as LayoutControl;
            SimpleButton btn = new SimpleButton();

            btn.Name = "btnGetTT";
            btn.Text = "Chọn tờ trình";
            LayoutControlItem lci = lc.AddItem("", btn);

            lci.Name   = "lcibtn";
            btn.Click += new EventHandler(btn_Click);

            // B/sung
            SimpleButton btnDA = new SimpleButton();

            btnDA.Name = "btnGetDA";
            btnDA.Text = "Chọn dự án";
            LayoutControlItem lciDA = lc.AddItem("", btnDA);

            lciDA.Name   = "lcibtnDA";
            btnDA.Click += new EventHandler(btnDA_Click);

            soQD     = data.FrmMain.Controls.Find("SoQD", true) [0] as TextEdit;
            SoTT     = data.FrmMain.Controls.Find("TheoTT", true) [0] as MemoEdit;
            grDetail = (data.FrmMain.Controls.Find("gcMain", true)[0] as GridControl).MainView as GridView;
        }
Example #3
0
        public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
        {
            if (context != null &&
                GetInstance(context) != null &&
                provider != null)
            {
                IWindowsFormsEditorService edSvc = (IWindowsFormsEditorService)provider.GetService(typeof(IWindowsFormsEditorService));
                if (edSvc != null)
                {
                    MemoEdit memoEdit = new MemoEdit();
                    memoEdit.Dock = DockStyle.Fill;
                    memoEdit.Text = GetInstance(context).ToString();

                    using (Form form = new Form())
                    {
                        form.Text        = "编辑文本值";
                        form.Size        = new System.Drawing.Size(400, 300);
                        form.ShowIcon    = false;
                        form.MinimizeBox = false;
                        form.MaximizeBox = false;
                        //form.StartPosition = FormStartPosition.CenterParent;
                        form.StartPosition = FormStartPosition.Manual;
                        Point p = weCare.Core.Utils.Function.ScreenCursorPosition();
                        form.Location = new Point(p.X - form.Width, p.Y);
                        form.Controls.Add(memoEdit);
                        edSvc.ShowDialog(form);
                        return(memoEdit.Text);
                    }
                }
            }
            return(value);
        }
Example #4
0
        private void Form1_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'nwindDataSet.Categories' table. You can move, or remove it, as needed.
            this.categoriesTableAdapter.Fill(this.nwindDataSet.Categories);

            dataLayoutControl1.RetrieveFields();

            foreach (BaseLayoutItem baseItem in dataLayoutControl1.Items)
            {
                LayoutControlItem item = baseItem as LayoutControlItem;
                if (item != null && item.Control.DataBindings.Count > 0)
                {
                    if (item.Control.DataBindings[0].BindingMemberInfo.BindingField == "Description")
                    {
                        dataLayoutControl1.BeginUpdate();
                        Control prevControl = item.Control;
                        Binding binding     = prevControl.DataBindings[0];
                        prevControl.DataBindings.Clear();
                        dataLayoutControl1.Controls.Remove(prevControl);
                        Control newControl = new MemoEdit();
                        newControl.Name = "myMemoEdit";
                        // Bind the new control to the same field as the previous control.
                        newControl.DataBindings.Add(new Binding(binding.PropertyName, binding.DataSource,
                                                                binding.BindingMemberInfo.BindingField, binding.FormattingEnabled));
                        dataLayoutControl1.Controls.Add(newControl);
                        item.Control = newControl;
                        prevControl.Dispose();
                        dataLayoutControl1.EndUpdate();
                        // Change the item's size after the EndUpdate method.
                        item.Size = new Size(100, 80);
                        break;
                    }
                }
            }
        }
Example #5
0
        public void checkplbl(string active, string role, LookUpEdit lehd, TextEdit txtshd, LookUpEdit ledv, SearchLookUpEdit sekh, TextEdit txtsdt, TextEdit txtfax, TextEdit txtndd, TextEdit txtcv, TextEdit txttbl,
                              MemoEdit txtnh, MemoEdit txtndtd, DateEdit denk, DateEdit denhh, TextEdit txthmn, TextEdit txthn, RadioButton rbpl, RadioButton rbbl, MemoEdit txtddgh, DateEdit denl, DateEdit deng, DateEdit denqv, TextEdit txtnl, TextEdit txttenbl, CheckEdit chenqv, TextEdit txthmtd)
        {
            string makho   = gen.GetString("select * from Stock where StockCode='" + ledv.EditValue + "'");
            string makhach = gen.GetString("select * from AccountingObject where AccountingObjectCode='" + sekh.EditValue + "'");
            int    phuluc  = 1;

            if (rbbl.Checked == true)
            {
                phuluc = 2;
            }
            int ngayve = 0;

            if (chenqv.Checked == true)
            {
                ngayve = 1;
            }
            if (active == "0")
            {
                gen.ExcuteNonquery("insert ContractB(ContractID,ContractCode,ContractName,Description,StockID,AccountingObjectID,SignerName,Position,License,CompanyTel,CompanyFax,CompanyBankName,SignedDate,EffectiveDate,DebtLimit,LimitDate,DeliveryPlace,Saved,Founded,Send,Received,ParentContract,No,Inactive,DebtLimitMax)"
                                   + "values(newid(),N'" + txtshd.EditValue + "',N'" + txttenbl.EditValue + "',N'" + txtndtd.EditValue + "','" + makho + "','" + makhach + "',N'" + txtndd.EditValue + "',N'" + txtcv.EditValue + "',N'" + txttbl.EditValue + "',N'" + txtsdt.EditValue + "',N'" + txtfax.EditValue + "',N'" + txtnh.EditValue + "','" + denk.EditValue + "','" + denhh.EditValue + "',N'" + txthmn.EditValue + "',N'" + txthn.EditValue + "',N'" + txtddgh.EditValue + "','" + txtnl.EditValue + "','" + denl.EditValue + "','" + deng.EditValue + "','" + denqv.EditValue + "',N'" + lehd.EditValue + "','" + phuluc + "','" + ngayve + "',N'" + txthmtd.EditValue + "')");
            }
            else
            {
                gen.ExcuteNonquery("update ContractB set ContractCode=N'" + txtshd.Text + "',ContractName=N'" + txttenbl.EditValue + "',Description=N'" + txtndtd.EditValue + "', StockID='" + makho + "',AccountingObjectID='" + makhach + "',SignerName=N'" + txtndd.EditValue + "',Position=N'" + txtcv.EditValue + "',License=N'" + txttbl.EditValue + "',CompanyTel=N'" + txtsdt.EditValue + "',CompanyFax=N'" + txtfax.EditValue + "',CompanyBankName=N'" + txtnh.EditValue + "',SignedDate='" + denk.EditValue + "',EffectiveDate='" + denhh.EditValue + "',DebtLimit='" + txthmn.EditValue + "',LimitDate='" + txthn.EditValue + "',DeliveryPlace=N'" + txtddgh.EditValue + "',Saved=N'" + txtnl.EditValue + "',Founded='" + denl.EditValue + "',Send='" + deng.EditValue + "',Received='" + denqv.EditValue + "',ParentContract=N'" + lehd.EditValue + "',Inactive='" + ngayve + "',DebtLimitMax ='" + txthmtd.EditValue + "' where ContractID='" + role + "'");
            }
        }
 public HelloWorldItemProvider()
 {
     textbox             = new MemoEdit();
     textbox.Text        = "Hello World!";
     textbox.ReadOnly    = true;
     textbox.ContextMenu = new ContextMenu();
 }
Example #7
0
        public RibbonDialogServiceUserControl()
        {
            InitializeComponent();
            #region SetUp
            MVVMContext mvvmContext = new MVVMContext();
            mvvmContext.ContainerControl = this;

            SimpleButton commandButton = new SimpleButton();
            commandButton.Text = "Execute Command";
            commandButton.Dock = DockStyle.Top;

            MemoEdit memo = new MemoEdit();
            memo.Dock = DockStyle.Top;
            memo.Properties.ReadOnly = true;
            memo.MinimumSize         = new System.Drawing.Size(0, 100);

            commandButton.Parent = this;
            memo.Parent          = this;

            #endregion SetUp

            #region #ribbonDialogService
            // Force use the RibbonDialogService
            MVVMContext.RegisterRibbonDialogService();
            //
            mvvmContext.ViewModelType = typeof(NotesViewModel);
            // UI binding for Notes
            mvvmContext.SetBinding(memo, m => m.EditValue, "Notes");
            // UI binding for button
            mvvmContext.BindCommand <NotesViewModel>(commandButton, x => x.EditNotes());
            #endregion #ribbonDialogService
        }
Example #8
0
        public void ResultOutPut(MemoEdit inpMemo, Function inpFunc)
        {
            inpMemo.Text += "Норма сигнала" + inpFunc.Series.Name + "=" + inpFunc.Norma() + Environment.NewLine;
            var power = inpFunc.Power();

            inpMemo.Text += "Энергия сигнала" + inpFunc.Series.Name + "=" + power.Integral() + Environment.NewLine;
        }
Example #9
0
        public void loadplbl(string active, string role, LookUpEdit lehd, TextEdit txtshd, LookUpEdit ledv, SearchLookUpEdit sekh, TextEdit txtsdt, TextEdit txtfax, TextEdit txtndd, TextEdit txtcv, TextEdit txttbl,
                             MemoEdit txtnh, MemoEdit txtndtd, DateEdit denk, DateEdit denhh, TextEdit txthmn, TextEdit txthn, RadioButton rbpl, RadioButton rbbl, MemoEdit txtddgh, DateEdit denl, DateEdit deng, DateEdit denqv, TextEdit txtnl, TextEdit txttenbl, CheckEdit chenqv, TextEdit txthmtd)
        {
            DataTable dt = gen.GetTable("select No,ParentContract,ContractCode,ContractName,SignerName,Position,License,CompanyBankName,CompanyTel,CompanyFax,SignedDate,EffectiveDate,DebtLimit,LimitDate,DeliveryPlace,Saved,Founded,Send,Received,a.Description,a.Inactive,DebtLimitMax from ContractB a, Stock b,AccountingObject c  where a.StockID=b.StockID and a.AccountingObjectID=c.AccountingObjectID and ContractID='" + role + "' ");

            if (dt.Rows[0][0].ToString() == "2")
            {
                rbbl.Checked = true;
            }
            lehd.EditValue     = dt.Rows[0][1];
            txtshd.EditValue   = dt.Rows[0][2];
            txttenbl.EditValue = dt.Rows[0][3];
            txtndd.EditValue   = dt.Rows[0][4];
            txtcv.EditValue    = dt.Rows[0][5];
            txttbl.EditValue   = dt.Rows[0][6];
            txtnh.EditValue    = dt.Rows[0][7];
            txtsdt.EditValue   = dt.Rows[0][8];
            txtfax.EditValue   = dt.Rows[0][9];
            denk.EditValue     = dt.Rows[0][10];
            denhh.EditValue    = dt.Rows[0][11];
            txthmn.EditValue   = double.Parse(dt.Rows[0][12].ToString());
            txthmtd.EditValue  = double.Parse(dt.Rows[0][21].ToString());
            txthn.EditValue    = dt.Rows[0][13];
            txtddgh.EditValue  = dt.Rows[0][14];
            txtnl.EditValue    = dt.Rows[0][15];
            denl.EditValue     = dt.Rows[0][16];
            deng.EditValue     = dt.Rows[0][17];
            denqv.EditValue    = dt.Rows[0][18];
            txtndtd.EditValue  = dt.Rows[0][19];
            if (dt.Rows[0][20].ToString() == "1")
            {
                chenqv.Checked = true;
            }
        }
Example #10
0
        private void gridView1_MouseDown(object sender, MouseEventArgs e)
        {
            GridView view = sender as GridView;
            //根据鼠标位置获取点击信息
            GridHitInfo hInfo = view.CalcHitInfo(e.X, e.Y);

            if (hInfo.InRowCell && hInfo.Column.FieldName == "Class")
            {
                //获取单元格信息
                GridViewInfo vInfo = view.GetViewInfo() as GridViewInfo;
                GridCellInfo cInfo = vInfo.GetGridCellInfo(hInfo);
                //如果单元格为可合并的
                if (cInfo is GridMergedCellInfo)
                {
                    //MemoEdit控件属性
                    var edit = new MemoEdit();
                    edit.Bounds = cInfo.Bounds;
                    edit.Text   = cInfo.CellValue.ToString();
                    //控件名称 定义为 memoedit+列名+GroupIndex值
                    edit.Name = "memoedit_" + hInfo.Column.FieldName + "_" + dt.Rows[hInfo.RowHandle]["GroupIndex"];
                    //控件鼠标离开事件
                    edit.MouseLeave += Edit_MouseLeave1;
                    //控件值改变事件
                    edit.EditValueChanged += Edit_EditValueChanged;
                    //将控件添加到GridControl中
                    gridControl1.Controls.Add(edit);
                }
            }
        }
Example #11
0
        private void memo_Validating(object sender, CancelEventArgs e)
        {
            MemoEdit memoEdit = null;

            try
            {
                memoEdit = sender as MemoEdit;
                if (memoEdit.Tag == null)
                {
                    return;
                }
                if (memoEdit.EditValue != null || !string.IsNullOrEmpty(memoEdit.Text))
                {
                    return;
                }
                memoEdit.ErrorText = memoEdit.Tag.ToString();
                e.Cancel           = true;
            }
            catch (MofException ex)
            {
                System.Diagnostics.Debug.WriteLine("MemoEdit контролыг баталгаажуулахад алдаа гарлаа: " + ex.Message);
                Tool.ShowError(ex.Message, ex.InnerException.Message);
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine("MemoEdit контролыг баталгаажуулахад алдаа гарлаа: " + ex.Message);
                Tool.ShowError("MemoEdit контролыг баталгаажуулахад алдаа гарлаа!", ex.Message);
            }
            finally { memoEdit = null; }
        }
Example #12
0
        //-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
        public void SetCamposRequeridos(DevExpress.XtraLayout.LayoutControl ly,
                                        string Formulario,
                                        int Empresa)
        {
            DataTable _dt =
                Listar(Formulario, Empresa);

            if (_dt.Rows.Count > 0)
            {
                for (int i = 0; i <= _dt.Rows.Count - 1; i++)
                {
                    foreach (object c in ly.Controls)
                    {
                        if (c is TextEdit)
                        {
                            TextEdit text = (TextEdit)c;
                            if (text.Name.ToString().Equals(_dt.Rows[i]["Campo"].ToString()))
                            {
                                text.Tag = "True";
                            }
                        }

                        if (c is MemoEdit)
                        {
                            MemoEdit memo = (MemoEdit)c;
                            if (memo.Name.ToString().Equals(_dt.Rows[i]["Campo"].ToString()))
                            {
                                memo.Tag = "True";
                            }
                        }
                    }
                }
            }
        }
Example #13
0
        public void Attach(MemoEdit edit)
        {
            _edit              = edit;
            _edit.SizeChanged += edit_SizeChanged;
            _edit.TextChanged += edit_TextChanged;

            adjustScrollbars();
        }
Example #14
0
 public GenAnalysis(MemoEdit memoEdit, AnalysisSetting analysisSetting) : base(memoEdit, analysisSetting)
 {
     DisplayResult   = new DisplayResult(memoEdit);
     AnalysisSetting = analysisSetting;
     AnalysisSetting.IsCompareMethods = true;
     ResultDictionary           = new Dictionary <dynamic, List <Candidate> >();
     NumberOfLastGenerationList = new List <int>();
 }
 public TokenizedMessagesAwareView()
 {
     this.Padding = new Padding(0, 0, 0, 4);
     this.Dock    = DockStyle.Fill;
     memo         = new MemoEdit();
     memo.Dock    = DockStyle.Fill;
     memo.Parent  = this;
 }
Example #16
0
        public frmFormItemMoreProc(MemoEdit p_FormItemText, FormItemMoreProcEventLoad p_EventLoad)
        {
            m_FormItemText = p_FormItemText;
            m_FormItemText.Properties.ReadOnly = true;

            m_FormItemText.DoubleClick += new System.EventHandler(txtItem_DoubleClick);
            m_EventLoad = p_EventLoad;
        }
Example #17
0
 public CustomMessageAwareView()
 {
     this.Padding = new Padding(0, 0, 0, 4);
     this.Dock    = DockStyle.Fill;
     memo         = new MemoEdit();
     memo.Dock    = DockStyle.Fill;
     memo.Parent  = this;
 }
		public void Attach(MemoEdit edit)
		{
			_edit = edit;
			_edit.SizeChanged += edit_SizeChanged;
			_edit.TextChanged += edit_TextChanged;

			adjustScrollbars();
		}
        // Show/Close IntelliList
        void Handle_lstIntelli(KeyPressEventArgs e, MemoEdit activeEditor, string lastWord)
        {
            if (_lstIntelli.Items.Count > 0 &&
                (e.KeyChar == '<' || lastWord.Length >= 1 || EndsWithFootnote(lastWord)))   // Should display Intellisense List ...
            {
                _activeSelectionStart = activeEditor.SelectionStart;

                if (_lstIntelli.Visible == false)    // ... but only if not already visible
                {
                    _lstIntelli.Visible = true;
                }

                Graphics graphics = Graphics.FromHwnd(_lstIntelli.Handle);
                int      height   = 0;
                int      width    = _editorMinWidth;
                foreach (IntelliItem intelliItem in _lstIntelli.Items)
                {
                    SizeF itemSize = graphics.MeasureString(intelliItem.Text, _lstIntelli.Font);
                    height += (int)itemSize.Height;
                    if (itemSize.Width > width)
                    {
                        width = (int)itemSize.Width;
                    }
                }

                if (height < _editorMinHeight)
                {
                    height = _editorMinHeight;
                }
                if (height > _editorMaxHeight)
                {
                    height = _editorMaxHeight;
                }
                if (width > _editorMaxWidth)
                {
                    width = _editorMaxWidth;
                }
                _lstIntelli.Height = height;
                _lstIntelli.Width  = width + _editorSpareWidth;

                int locationTop = activeEditor.Bottom + _activeCell.Node.TreeList.Location.Y + 5;
                if (activeEditor.Bottom + height > _activeCell.Node.TreeList.Height)
                {
                    locationTop = activeEditor.Top + _activeCell.Node.TreeList.Location.Y - height;
                }
                _lstIntelli.Location = new Point(activeEditor.Location.X, locationTop);

                if (_lstIntelli.Items.Count >= 1)
                {
                    _lstIntelli.SelectedIndex = 0;
                }
            }
            else
            {
                _lstIntelli.Visible = false; // no hit, close List again
                _lblComboBoxEditorToolTip.Visible = false;
            }
        }
Example #20
0
 private void InitializeComponent()
 {
     this.txtReason = new MemoEdit();
     this.Label2 = new Label();
     this.cmbSendBacks = new System.Windows.Forms.ComboBox();
     this.label1 = new Label();
     this.txtReason.Properties.BeginInit();
     base.SuspendLayout();
     base.btOk.Location = new Point(0x40, 0xbb);
     base.btOk.Name = "btOk";
     base.btCancel.Location = new Point(160, 0xbb);
     base.btCancel.Name = "btCancel";
     this.txtReason.EditValue = "";
     this.txtReason.Location = new Point(8, 0x18);
     this.txtReason.Name = "txtReason";
     this.txtReason.Size = new Size(0x110, 0x70);
     this.txtReason.TabIndex = 2;
     this.Label2.AutoSize = true;
     this.Label2.BackColor = Color.Transparent;
     this.Label2.Cursor = Cursors.Default;
     this.Label2.ForeColor = SystemColors.ControlText;
     this.Label2.Location = new Point(8, 2);
     this.Label2.Name = "Label2";
     this.Label2.RightToLeft = RightToLeft.No;
     this.Label2.Size = new Size(0x71, 0x11);
     this.Label2.TabIndex = 7;
     this.Label2.Text = "请输入退回原因:";
     this.cmbSendBacks.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbSendBacks.Location = new Point(8, 160);
     this.cmbSendBacks.Name = "cmbSendBacks";
     this.cmbSendBacks.Size = new Size(0x110, 20);
     this.cmbSendBacks.TabIndex = 8;
     this.label1.AutoSize = true;
     this.label1.BackColor = Color.Transparent;
     this.label1.Cursor = Cursors.Default;
     this.label1.ForeColor = SystemColors.ControlText;
     this.label1.Location = new Point(0x10, 0x90);
     this.label1.Name = "label1";
     this.label1.RightToLeft = RightToLeft.No;
     this.label1.Size = new Size(140, 0x11);
     this.label1.TabIndex = 9;
     this.label1.Text = "请选择退回的活动环节";
     this.AutoScaleBaseSize = new Size(6, 15);
     base.ClientSize = new Size(0x124, 0xdd);
     base.Controls.Add(this.cmbSendBacks);
     base.Controls.Add(this.label1);
     base.Controls.Add(this.Label2);
     base.Controls.Add(this.txtReason);
     base.Name = "ReasonDialog";
     base.Controls.SetChildIndex(this.txtReason, 0);
     base.Controls.SetChildIndex(base.btOk, 0);
     base.Controls.SetChildIndex(base.btCancel, 0);
     base.Controls.SetChildIndex(this.Label2, 0);
     base.Controls.SetChildIndex(this.label1, 0);
     base.Controls.SetChildIndex(this.cmbSendBacks, 0);
     this.txtReason.Properties.EndInit();
     base.ResumeLayout(false);
 }
Example #21
0
        private void txt_Paint(object sender, PaintEventArgs e)
        {
            MemoEdit editor = sender as MemoEdit;

            if (editor != null)
            {
                editor.SelectionLength = 0;
            }
        }
 void CreateMemo()
 {
     this.messageMemo                = new MemoEdit();
     messageMemo.Location            = new Point(this.messageRectangle.Left, this.messageRectangle.Bottom + Spacing);
     messageMemo.Size                = new Size(memoWidth, memoHeigth);
     messageMemo.Text                = messageText;
     messageMemo.Properties.ReadOnly = true;
     this.Controls.Add(this.messageMemo);
 }
        private void Initialize()
        {
            var vl = new VerticalLayout();

            AddChild(vl);

            _autoMemoEdit        = new MemoEdit();
            _defaultMemoEditt    = new MemoEdit();
            _numericMemoEdit     = new MemoEdit();
            _emailMemoEdit       = new MemoEdit();
            _urlMemoEdit         = new MemoEdit();
            _phoneMemoEdit       = new MemoEdit();
            _onGetFocusMemoEdit  = new MemoEdit();
            _onLostFocusMemoEdit = new MemoEdit();

            _autoMemoEdit.CssClass        = "MemoEdit";
            _defaultMemoEditt.CssClass    = "MemoEdit";
            _numericMemoEdit.CssClass     = "MemoEdit";
            _emailMemoEdit.CssClass       = "MemoEdit";
            _urlMemoEdit.CssClass         = "MemoEdit";
            _phoneMemoEdit.CssClass       = "MemoEdit";
            _onGetFocusMemoEdit.CssClass  = "MemoEdit";
            _onLostFocusMemoEdit.CssClass = "MemoEdit";

            _autoMemoEdit.Keyboard     = "auto";
            _defaultMemoEditt.Keyboard = "default";
            _numericMemoEdit.Keyboard  = "numeric";
            _emailMemoEdit.Keyboard    = "email";
            _urlMemoEdit.Keyboard      = "url";
            _phoneMemoEdit.Keyboard    = "phone";

            _autoMemoEdit.Text        = "Auto Memo Edit";
            _defaultMemoEditt.Text    = "Default Memo Edit";
            _numericMemoEdit.Text     = "Numeric Memo Edit";
            _emailMemoEdit.Text       = "Email Memo Edit";
            _urlMemoEdit.Text         = "Url Memo Edit";
            _phoneMemoEdit.Text       = "Phone Memo Edit";
            _onGetFocusMemoEdit.Text  = "Get Focus And Back To MemoEdit Screen";
            _onLostFocusMemoEdit.Text = "Lost Focus And Back To MemoEdit Screen";

//если вставить эту строку, невозможно будет перейти на экран
//            _phoneMemoEdit.OnChange += Back_OnClick;

            _onGetFocusMemoEdit.OnGetFocus   += Back_OnClick;
            _onLostFocusMemoEdit.OnLostFocus += Back_OnClick;

            vl.AddChild(_autoMemoEdit);
            vl.AddChild(_defaultMemoEditt);
            vl.AddChild(_numericMemoEdit);
            vl.AddChild(_emailMemoEdit);
            vl.AddChild(_urlMemoEdit);
            vl.AddChild(_phoneMemoEdit);
            vl.AddChild(_onGetFocusMemoEdit);
            vl.AddChild(_onLostFocusMemoEdit);
            vl.AddChild(new Button("Back", Back_OnClick));
        }
        private void OnMemoEnter(object sender, EventArgs e)
        {
            MemoEdit    edit  = sender as MemoEdit;
            IDataObject iData = Clipboard.GetDataObject();

            if (iData.GetDataPresent(DataFormats.Text))
            {
                edit.EditValue = iData.GetData(DataFormats.Text);
            }
        }
Example #25
0
        private LayoutControlItem createDescriptionLayoutControlItem(LayoutControlGroup lg)
        {
            LayoutControlItem lci = lg.AddItem( );

            lci.Name         = "lciDescription";
            lci.Text         = "Description";
            lci.TextLocation = DevExpress.Utils.Locations.Top;
            MemoEdit o = (MemoEdit)(lci.Control = new MemoEdit( ));

            return(lci);
        }
Example #26
0
        private LayoutControlItem createSuperToolTipFooterLayoutControlItem(LayoutControlGroup lg)
        {
            LayoutControlItem lci = lg.AddItem( );

            lci.Name         = "lciFooter";
            lci.Text         = "Footer";
            lci.TextLocation = DevExpress.Utils.Locations.Top;
            MemoEdit o = (MemoEdit)(lci.Control = new MemoEdit( ));

            return(lci);
        }
        void SetEditorHeight(MemoEdit activeEditor)
        {
            int height = _editorMinHeight;

            if (activeEditor.Bounds.Height > height)
            {
                height = activeEditor.Bounds.Height;
            }

            activeEditor.Bounds = new Rectangle(activeEditor.Bounds.Location, new Size(activeEditor.Bounds.Width, height));
        }
Example #28
0
 /// <summary>
 /// 检查Dbtune配置流程涉及参数
 /// </summary>
 /// <returns></returns>
 internal static bool CheckDbtuneConfigParam(MemoEdit txbBlog, DbtuneConfigParam dbtuneConfigParam)
 {
     if (dbtuneConfigParam.DBHelper == null)
     {
         WriteBlog(txbBlog, "---  数据库连接异常, 请查看错误日志");
         return(false);
     }
     else if (dbtuneConfigParam.FeatureClass == null)
     {
         WriteBlog(txbBlog, "---  未指定要素类");
         return(false);
     }
     else if (RegexCheck.IsEmpty(dbtuneConfigParam.BasicField))
     {
         WriteBlog(txbBlog, "---  未指定分区列");
         return(false);
     }
     else if (dbtuneConfigParam.PartitionWay == EnumPartitionWay.Unknow)
     {
         WriteBlog(txbBlog, "---  未指定分区方式");
         return(false);
     }
     else if (!RegexCheck.IsFull(dbtuneConfigParam.TablespaceSet))
     {
         WriteBlog(txbBlog, "---  存在没有指定表空间的分区");
         return(false);
     }
     else if (DbtuneXMLOperate.CheckKeyWordExist(dbtuneConfigParam.DbtuneKeyWord))
     {
         WriteBlog(txbBlog, "---  关键字为 " + dbtuneConfigParam.DbtuneKeyWord + "的配置项已经存在,请更改关键字");
         return(false);
     }
     else
     {
         if (dbtuneConfigParam.PartitionWay == EnumPartitionWay.Range)
         {
             if (dbtuneConfigParam.PartitionCount == -1)
             {
                 WriteBlog(txbBlog, "---  未指定范围分区数");
                 return(false);
             }
             else
             {
                 return(true);
             }
         }
         else
         {
             return(true);
         }
     }
 }
Example #29
0
        /// <summary>
        /// 执行数据表分区工作
        /// </summary>
        /// <param name="txbBlog"></param>
        /// <param name="partitionParam"></param>
        /// <param name="tbpHelper"></param>
        internal static void ExcutePartition(MemoEdit txbBlog, PartitionParam partitionParam, TablePartitionHelper tbpHelper)
        {
            tbpHelper = new TablePartitionHelper(partitionParam);

            if (tbpHelper.PartitionByExchange())
            {
                WriteBlog(txbBlog, "---  执行成功");
            }
            else
            {
                WriteBlog(txbBlog, "---  执行失败,请检查参数");
            }
        }
Example #30
0
        /// <summary>
        /// 执行dbtune配置工作
        /// </summary>
        /// <param name="txbBlog"></param>
        /// <param name="dbtuneConfigParam"></param>
        /// <param name="dbtuneConfigHelper"></param>
        internal static void ExcuteDbtuneConfig(MemoEdit txbBlog, DbtuneConfigParam dbtuneConfigParam, DbtuneConfigHelper.DbtuneConfigHelper dbtuneConfigHelper)
        {
            dbtuneConfigHelper = new DbtuneConfigHelper.DbtuneConfigHelper(dbtuneConfigParam, Environment.CurrentDirectory);

            if (dbtuneConfigHelper.AlterParamValueEX())
            {
                WriteBlog(txbBlog, "---  执行成功");
            }
            else
            {
                WriteBlog(txbBlog, "---  执行失败,请检查参数");
            }
        }
Example #31
0
        public ActionResult Edit(int id)
        {
            var service = CreateMemoService();
            var detail  = service.GetMemoById(id);
            var model   =
                new MemoEdit
            {
                TransactionId = detail.TransactionId,
                MemoContent   = detail.MemoContent
            };

            return(View(model));
        }
Example #32
0
        public static async Task UpdateMicroGeoIps(MemoEdit memo, string domain, string membership, string token)
        {
            string lastGEOs = ConvertMemoEditDataToStringJSON(memo);

            try
            {
                await ProxyController.PutMicroleavesGEOsIps(domain, membership, token, lastGEOs);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Example #33
0
 private void InitializeComponent()
 {
     this.txtReason = new MemoEdit();
     this.Label2 = new Label();
     this.txtReason.Properties.BeginInit();
     base.SuspendLayout();
     base.btOk.Location = new Point(0x40, 0x8b);
     base.btOk.Name = "btOk";
     base.btCancel.Location = new Point(160, 0x8b);
     base.btCancel.Name = "btCancel";
     this.txtReason.EditValue = "";
     this.txtReason.Location = new Point(8, 0x18);
     this.txtReason.Name = "txtReason";
     this.txtReason.Size = new Size(0x110, 0x70);
     this.txtReason.TabIndex = 2;
     this.Label2.AutoSize = true;
     this.Label2.BackColor = Color.Transparent;
     this.Label2.Cursor = Cursors.Default;
     this.Label2.ForeColor = SystemColors.ControlText;
     this.Label2.Location = new Point(8, 2);
     this.Label2.Name = "Label2";
     this.Label2.RightToLeft = RightToLeft.No;
     this.Label2.Size = new Size(0x56, 0x11);
     this.Label2.TabIndex = 7;
     this.Label2.Text = "请输入原因:";
     this.AutoScaleBaseSize = new Size(6, 15);
     base.ClientSize = new Size(0x124, 0xad);
     base.Controls.Add(this.Label2);
     base.Controls.Add(this.txtReason);
     base.Name = "ReasonDialog";
     base.Controls.SetChildIndex(this.txtReason, 0);
     base.Controls.SetChildIndex(base.btOk, 0);
     base.Controls.SetChildIndex(base.btCancel, 0);
     base.Controls.SetChildIndex(this.Label2, 0);
     this.txtReason.Properties.EndInit();
     base.ResumeLayout(false);
 }
        public FrameworkElement ResolveEditor(PropertyItem propertyItem)
        {
            var editor = new MemoEdit();
            editor.AcceptsReturn = false;
            editor.ShowBorder = false;
            editor.IsReadOnly = true;
            editor.ShowIcon = false;
            editor.Background = Brushes.Transparent;
            editor.TextWrapping = TextWrapping.NoWrap;
            editor.MemoTextWrapping = TextWrapping.WrapWithOverflow;
            editor.MemoVerticalScrollBarVisibility = ScrollBarVisibility.Auto;
            editor.Height = 22;
            editor.PopupWidth = 500;
            editor.PopupFooterButtons = PopupFooterButtons.Close;
            
            var binding = new Binding("Value");
            binding.Source = propertyItem;
            binding.ValidatesOnExceptions = true;
            binding.ValidatesOnDataErrors = true;
            binding.Mode = BindingMode.OneWay;
            BindingOperations.SetBinding(editor, BaseEdit.EditValueProperty, binding);

            return editor;
        }
Example #35
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmStaff));
     this.MainMenu1 = new System.Windows.Forms.MainMenu(this.components);
     this.MenuItem1 = new System.Windows.Forms.MenuItem();
     this.MenuItem2 = new System.Windows.Forms.MenuItem();
     this.MenuItem4 = new System.Windows.Forms.MenuItem();
     this.MenuItemChangePassword = new System.Windows.Forms.MenuItem();
     this.MenuItemBlockMembershipID = new System.Windows.Forms.MenuItem();
     this.MenuItemResetMembershipID = new System.Windows.Forms.MenuItem();
     this.MenuItem9 = new System.Windows.Forms.MenuItem();
     this.MenuItem10 = new System.Windows.Forms.MenuItem();
     this.MenuItem5 = new System.Windows.Forms.MenuItem();
     this.Bar1 = new DevExpress.XtraBars.Bar();
     this.BarManager1 = new DevExpress.XtraBars.BarManager(this.components);
     this.Bar2 = new DevExpress.XtraBars.Bar();
     this.bbiClose = new DevExpress.XtraBars.BarButtonItem();
     this.barbtnTimeCard = new DevExpress.XtraBars.BarButtonItem();
     this.barstaticCurrentLogin = new DevExpress.XtraBars.BarStaticItem();
     this.BarAndDockingController1 = new DevExpress.XtraBars.BarAndDockingController(this.components);
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.barbtnClose = new DevExpress.XtraBars.BarButtonItem();
     this.tabStaff = new DevExpress.XtraTab.XtraTabControl();
     this.tabStaffOne = new DevExpress.XtraTab.XtraTabPage();
     this.lblOne_2 = new DevExpress.XtraEditors.SimpleButton();
     this.luedtMemoEmployeeID = new DevExpress.XtraEditors.LookUpEdit();
     this.lblMemoEmployeeID = new System.Windows.Forms.Label();
     this.groupMessages = new DevExpress.XtraEditors.GroupControl();
     this.lblmnuMessagesReceipient = new System.Windows.Forms.Label();
     this.lblmnuMessagesFollowUpAction = new System.Windows.Forms.Label();
     this.lblmnuMessagesMemoInfo = new System.Windows.Forms.Label();
     this.groupMessagesEntry = new DevExpress.XtraEditors.GroupControl();
     this.cbViewMemo = new DevExpress.XtraEditors.ComboBoxEdit();
     this.sbtnMemoUnpost = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnMemoPrint = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnMemoNew = new DevExpress.XtraEditors.SimpleButton();
     this.gctrMemo = new DevExpress.XtraGrid.GridControl();
     this.gvMemo = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colnMemoID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colPostUpdateDateTime = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colAuthorID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colAuthor = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTitle = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colRead = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.groupMessagesFollowUpAction = new DevExpress.XtraEditors.GroupControl();
     this.GroupControl4 = new DevExpress.XtraEditors.GroupControl();
     this.sbtnRepliesDelete = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnRepliesView = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnRepliesUpdate = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnRepliesAdd = new DevExpress.XtraEditors.SimpleButton();
     this.gctrReplies = new DevExpress.XtraGrid.GridControl();
     this.gvReplies = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colReplyDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colReplyEmployeeID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colReplyEmployeeName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colReplyMessage = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupMessagesMemoInfo = new DevExpress.XtraEditors.GroupControl();
     this.GroupControl8 = new DevExpress.XtraEditors.GroupControl();
     this.sbtnUpdate = new DevExpress.XtraEditors.SimpleButton();
     this.memoedtMessage = new DevExpress.XtraEditors.MemoEdit();
     this.Label37 = new System.Windows.Forms.Label();
     this.groupMessagesReceipient = new DevExpress.XtraEditors.GroupControl();
     this.GroupControl6 = new DevExpress.XtraEditors.GroupControl();
     this.cbMemoReceipient = new DevExpress.XtraEditors.ComboBoxEdit();
     this.sbtnReceipientDelete = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnReceipientNew = new DevExpress.XtraEditors.SimpleButton();
     this.gctrReceipient = new DevExpress.XtraGrid.GridControl();
     this.gvReceipient = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colRecipientType = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colRecipient = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colRecipientID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupReceipientGroup = new DevExpress.XtraEditors.GroupControl();
     this.groupReceipientGroupEntry = new DevExpress.XtraEditors.GroupControl();
     this.sbtnRecpGrpDelete = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnRecpGrpEdit = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnRecpGrpNew = new DevExpress.XtraEditors.SimpleButton();
     this.gctrRecpGrp = new DevExpress.XtraGrid.GridControl();
     this.gvRecpGrp = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colReceipientGroupID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colReceipientGroupCode = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDescription = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupReceipientGroupReceipientEntries = new DevExpress.XtraEditors.GroupControl();
     this.GroupControl10 = new DevExpress.XtraEditors.GroupControl();
     this.sbtnRecpEntryDelete = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnRecpEntryNew = new DevExpress.XtraEditors.SimpleButton();
     this.gctrRecpEntry = new DevExpress.XtraGrid.GridControl();
     this.gvRecpEntry = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colEmployeeID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEmployeeName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lblOne_1 = new DevExpress.XtraEditors.SimpleButton();
     this.tabStaffTwo = new DevExpress.XtraTab.XtraTabPage();
     this.groupService = new DevExpress.XtraEditors.GroupControl();
     this.groupServiceEntry = new DevExpress.XtraEditors.GroupControl();
     this.groupControl3 = new DevExpress.XtraEditors.GroupControl();
     this.luedtCommissionServiceBranch = new DevExpress.XtraEditors.LookUpEdit();
     this.label30 = new System.Windows.Forms.Label();
     this.cbServiceYear = new DevExpress.XtraEditors.ComboBoxEdit();
     this.label5 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.cbServiceMonth = new DevExpress.XtraEditors.ComboBoxEdit();
     this.cbServiceServiceType = new DevExpress.XtraEditors.ComboBoxEdit();
     this.sbtnServiceInquiry = new DevExpress.XtraEditors.SimpleButton();
     this.gctrService = new DevExpress.XtraGrid.GridControl();
     this.gvService = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colServicedtDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colServicestrBranchCode = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colServicestrMembershipID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colServicestrServiceCode = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colServicestrCommission = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lblTwo_1 = new DevExpress.XtraEditors.SimpleButton();
     this.lblTwo_2 = new DevExpress.XtraEditors.SimpleButton();
     this.groupSales = new DevExpress.XtraEditors.GroupControl();
     this.groupSalesEntry = new DevExpress.XtraEditors.GroupControl();
     this.groupControl7 = new DevExpress.XtraEditors.GroupControl();
     this.luedtSalesBranchCode = new DevExpress.XtraEditors.LookUpEdit();
     this.label16 = new System.Windows.Forms.Label();
     this.cbSalesYear = new DevExpress.XtraEditors.ComboBoxEdit();
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.cbSalesMonth = new DevExpress.XtraEditors.ComboBoxEdit();
     this.sbtnSalesInquiry = new DevExpress.XtraEditors.SimpleButton();
     this.cbSalesType = new DevExpress.XtraEditors.ComboBoxEdit();
     this.gctrSales = new DevExpress.XtraGrid.GridControl();
     this.gvSales = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colSalesDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSalesReceipt = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSalesMembershipID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSalesNettAmount = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tabStaffThree = new DevExpress.XtraTab.XtraTabPage();
     this.lblThree_3 = new DevExpress.XtraEditors.SimpleButton();
     this.lblThree_1 = new DevExpress.XtraEditors.SimpleButton();
     this.lblThree_2 = new DevExpress.XtraEditors.SimpleButton();
     this.groupTimesheet = new DevExpress.XtraEditors.GroupControl();
     this.groupTimesheetEntry = new DevExpress.XtraEditors.GroupControl();
     this.groupControl9 = new DevExpress.XtraEditors.GroupControl();
     this.cbTimesheetYear = new DevExpress.XtraEditors.ComboBoxEdit();
     this.label1 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.cbTimesheetMonth = new DevExpress.XtraEditors.ComboBoxEdit();
     this.sbtnTimesheetInquiry = new DevExpress.XtraEditors.SimpleButton();
     this.gridctrTimesheet = new DevExpress.XtraGrid.GridControl();
     this.gvTimesheet = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colTimesheetDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTimesheetRosterIn = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTimesheetRosterOut = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTimesheetBranchFirstTimeIn = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTimesheetBranchLastTimeOut = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTimesheetFirstTimeIn = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTimesheetLastTimeOut = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTimesheetManagerNameIn = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTimesheetManagerNameOut = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTimesheetLateness = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCheckEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.colTimesheetTotalLateness = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupOvertime = new DevExpress.XtraEditors.GroupControl();
     this.groupControl15 = new DevExpress.XtraEditors.GroupControl();
     this.sbtnOvertimeDelete = new DevExpress.XtraEditors.SimpleButton();
     this.groupControl16 = new DevExpress.XtraEditors.GroupControl();
     this.cbOvertimeYear = new DevExpress.XtraEditors.ComboBoxEdit();
     this.label14 = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.cbOvertimeMonth = new DevExpress.XtraEditors.ComboBoxEdit();
     this.sbtnOvertimeInquiry = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnApplyOvertime = new DevExpress.XtraEditors.SimpleButton();
     this.gridctrOvertime = new DevExpress.XtraGrid.GridControl();
     this.gvOvertime = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colOvertimeDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colOvertimeHours = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colOvertimeReason = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colOvertimeCharging = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colOvertimeManager = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colOvertimeApprovingManagerID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colOvertimeStatus = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupLateness = new DevExpress.XtraEditors.GroupControl();
     this.groupControl13 = new DevExpress.XtraEditors.GroupControl();
     this.groupControl14 = new DevExpress.XtraEditors.GroupControl();
     this.cbLatenessYear = new DevExpress.XtraEditors.ComboBoxEdit();
     this.label12 = new System.Windows.Forms.Label();
     this.label13 = new System.Windows.Forms.Label();
     this.cbLatenessMonth = new DevExpress.XtraEditors.ComboBoxEdit();
     this.sbtnLatenessInquiry = new DevExpress.XtraEditors.SimpleButton();
     this.gridctrLateness = new DevExpress.XtraGrid.GridControl();
     this.gvLateness = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colLatenessRosterID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLatenessDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLatenessBranch = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLatenessType = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLatenessExpected = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemTimeEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTimeEdit();
     this.colLatenessActual = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemTimeEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTimeEdit();
     this.colLatenessLateness = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tabStaffFour = new DevExpress.XtraTab.XtraTabPage();
     this.lblFour_2 = new DevExpress.XtraEditors.SimpleButton();
     this.lblFour_1 = new DevExpress.XtraEditors.SimpleButton();
     this.groupAppointment = new DevExpress.XtraEditors.GroupControl();
     this.groupAppointmentEntry = new DevExpress.XtraEditors.GroupControl();
     this.groupControl12 = new DevExpress.XtraEditors.GroupControl();
     this.cbAppointmentYear = new DevExpress.XtraEditors.ComboBoxEdit();
     this.label26 = new System.Windows.Forms.Label();
     this.label27 = new System.Windows.Forms.Label();
     this.cbAppointmentMonth = new DevExpress.XtraEditors.ComboBoxEdit();
     this.sbtnAppointmentInquiry = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnAppointmentDelete = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnAppointmentPrint = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnAppointmentEdit = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnAppointmentNew = new DevExpress.XtraEditors.SimpleButton();
     this.gridctrAppointment = new DevExpress.XtraGrid.GridControl();
     this.gvAppointment = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colAppointmentDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colAppointmentStartDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colAppointmentEndDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colAppointmentOrganization = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colAppointmentContact = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colAppointmentTypeID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colAppointmentRemarks = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupContact = new DevExpress.XtraEditors.GroupControl();
     this.groupContactEntry = new DevExpress.XtraEditors.GroupControl();
     this.sbtnContactEdit = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnContactDelete = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnContactNew = new DevExpress.XtraEditors.SimpleButton();
     this.gridctrContact = new DevExpress.XtraGrid.GridControl();
     this.gvContact = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colContactPerson = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colContactOrganization = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colContactMobile = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colContactOfficeNo = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colContactEmail = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colContactFax = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colContactAddress = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tabStaffFive = new DevExpress.XtraTab.XtraTabPage();
     this.groupCustomerVoice = new DevExpress.XtraEditors.GroupControl();
     this.lblmnuCustomerVoiceActionHistory = new System.Windows.Forms.Label();
     this.lblmnuCustomerVoiceCVDetails = new System.Windows.Forms.Label();
     this.GroupControl24 = new DevExpress.XtraEditors.GroupControl();
     this.luedtCVSubmitter = new DevExpress.XtraEditors.LookUpEdit();
     this.sbtnAssign = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnCVPrint = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnCVEdit = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnCVDelete = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnCVNew = new DevExpress.XtraEditors.SimpleButton();
     this.cbListCV = new DevExpress.XtraEditors.ComboBoxEdit();
     this.gctrCV = new DevExpress.XtraGrid.GridControl();
     this.gvCV = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colRefNo = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDtReceived = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colBranch = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMembershipID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMemberName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDepartment = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colType = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCategory = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSubject = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSubmittedBy = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colStaffSubject = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDepartmentAssignedTo = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLastUpdatedDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colStatus = new DevExpress.XtraGrid.Columns.GridColumn();
     this.label17 = new System.Windows.Forms.Label();
     this.luedtCVAssignTo = new DevExpress.XtraEditors.LookUpEdit();
     this.lblCVSubmitter = new System.Windows.Forms.Label();
     this.groupCustomerVoiceActionHistory = new DevExpress.XtraEditors.GroupControl();
     this.GroupControl26 = new DevExpress.XtraEditors.GroupControl();
     this.sbtnNewCVAction = new DevExpress.XtraEditors.SimpleButton();
     this.gctrCVAction = new DevExpress.XtraGrid.GridControl();
     this.gvCVAction = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colActionID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coldtDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coldtTime = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMode = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colActionDetail = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colActionTakenBy = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colActionTakenByID = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupCustomerVoiceCVDetails = new DevExpress.XtraEditors.GroupControl();
     this.GroupControl28 = new DevExpress.XtraEditors.GroupControl();
     this.txtHomeNo = new DevExpress.XtraEditors.TextEdit();
     this.label31 = new System.Windows.Forms.Label();
     this.txtEmail = new DevExpress.XtraEditors.TextEdit();
     this.label10 = new System.Windows.Forms.Label();
     this.txtContactNo = new DevExpress.XtraEditors.TextEdit();
     this.label9 = new System.Windows.Forms.Label();
     this.memoeditSummaryCV = new DevExpress.XtraEditors.MemoEdit();
     this.Label32 = new System.Windows.Forms.Label();
     this.tabStaffSix = new DevExpress.XtraTab.XtraTabPage();
     this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
     this.lblSix_2 = new DevExpress.XtraEditors.SimpleButton();
     this.lblSix_1 = new DevExpress.XtraEditors.SimpleButton();
     this.groupLeave = new DevExpress.XtraEditors.GroupControl();
     this.groupLeaveLeaveDetails = new DevExpress.XtraEditors.GroupControl();
     this.groupControl11 = new DevExpress.XtraEditors.GroupControl();
     this.cbLeaveStatus = new DevExpress.XtraEditors.ComboBoxEdit();
     this.label35 = new System.Windows.Forms.Label();
     this.txtLeaveEntitlement = new DevExpress.XtraEditors.TextEdit();
     this.label34 = new System.Windows.Forms.Label();
     this.dateedtLeaveJoinDate = new DevExpress.XtraEditors.DateEdit();
     this.label33 = new System.Windows.Forms.Label();
     this.sbtnLeaveEdit = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnLeaveDelete = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnLeaveApply = new DevExpress.XtraEditors.SimpleButton();
     this.gridctrLeaveDetail = new DevExpress.XtraGrid.GridControl();
     this.gvLeave = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colLeaveStartDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLeaveStartTime = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLeaveEndTime = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.nLeaveQuantity = new DevExpress.XtraGrid.Columns.GridColumn();
     this.nUnpaidLeave = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLeaveTimeOff = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colfFullDay = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLeaveLeaveType = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLeaveReason = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLeaveLeaveStatus = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLeaveApprovingManager = new DevExpress.XtraGrid.Columns.GridColumn();
     this.cbLeaveNYearID = new DevExpress.XtraEditors.ComboBoxEdit();
     this.lblNYearID = new System.Windows.Forms.Label();
     this.groupLeaveLeaveBalance = new DevExpress.XtraEditors.GroupControl();
     this.groupControl5 = new DevExpress.XtraEditors.GroupControl();
     this.btnConvert = new System.Windows.Forms.Button();
     this.txtDaysConvert = new System.Windows.Forms.TextBox();
     this.label36 = new System.Windows.Forms.Label();
     this.btnAdjust = new System.Windows.Forms.Button();
     this.txtLeaveAdjust = new System.Windows.Forms.TextBox();
     this.label29 = new System.Windows.Forms.Label();
     this.sbtnLeaveBalanceInquiry = new DevExpress.XtraEditors.SimpleButton();
     this.label25 = new System.Windows.Forms.Label();
     this.cbLeaveBalance = new DevExpress.XtraEditors.ComboBoxEdit();
     this.gridctrLeaveBalance = new DevExpress.XtraGrid.GridControl();
     this.gvLeaveBalance = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colLeaveBalanceDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLeaveBalanceTransaction = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLeaveBalanceStatus = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLeaveBalanceNoOfDays = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupLeaveRoster = new DevExpress.XtraEditors.GroupControl();
     this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
     this.label23 = new System.Windows.Forms.Label();
     this.label24 = new System.Windows.Forms.Label();
     this.label21 = new System.Windows.Forms.Label();
     this.label22 = new System.Windows.Forms.Label();
     this.label19 = new System.Windows.Forms.Label();
     this.label20 = new System.Windows.Forms.Label();
     this.label18 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.acmsRosterHeader6 = new ACMS.Control.ACMSRosterHeader();
     this.acmsRosterHeader5 = new ACMS.Control.ACMSRosterHeader();
     this.acmsRosterHeader4 = new ACMS.Control.ACMSRosterHeader();
     this.acmsRosterHeader3 = new ACMS.Control.ACMSRosterHeader();
     this.acmsRosterHeader2 = new ACMS.Control.ACMSRosterHeader();
     this.acmsRosterHeader1 = new ACMS.Control.ACMSRosterHeader();
     this.sbtnLeaveNextMonth = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnLeavePreviousMonth = new DevExpress.XtraEditors.SimpleButton();
     this.luedtLeaveEmployeeID = new DevExpress.XtraEditors.LookUpEdit();
     this.lblLeaveEmployeeID = new System.Windows.Forms.Label();
     this.tabStaffSeven = new DevExpress.XtraTab.XtraTabPage();
     this.groupControl17 = new DevExpress.XtraEditors.GroupControl();
     this.tabStaffEight = new DevExpress.XtraTab.XtraTabPage();
     this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
     this.memoEdit2 = new DevExpress.XtraEditors.MemoEdit();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
     this.lookUpEdit4 = new DevExpress.XtraEditors.LookUpEdit();
     this.label40 = new System.Windows.Forms.Label();
     this.lookUpEdit3 = new DevExpress.XtraEditors.LookUpEdit();
     this.label39 = new System.Windows.Forms.Label();
     this.lookUpEdit2 = new DevExpress.XtraEditors.LookUpEdit();
     this.label38 = new System.Windows.Forms.Label();
     this.lookUpEdit1 = new DevExpress.XtraEditors.LookUpEdit();
     this.label28 = new System.Windows.Forms.Label();
     this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
     this.groupControl18 = new DevExpress.XtraEditors.GroupControl();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.BarManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.BarAndDockingController1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabStaff)).BeginInit();
     this.tabStaff.SuspendLayout();
     this.tabStaffOne.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.luedtMemoEmployeeID.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupMessages)).BeginInit();
     this.groupMessages.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupMessagesEntry)).BeginInit();
     this.groupMessagesEntry.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbViewMemo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gctrMemo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvMemo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupMessagesFollowUpAction)).BeginInit();
     this.groupMessagesFollowUpAction.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl4)).BeginInit();
     this.GroupControl4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gctrReplies)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvReplies)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupMessagesMemoInfo)).BeginInit();
     this.groupMessagesMemoInfo.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl8)).BeginInit();
     this.GroupControl8.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.memoedtMessage.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupMessagesReceipient)).BeginInit();
     this.groupMessagesReceipient.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl6)).BeginInit();
     this.GroupControl6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbMemoReceipient.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gctrReceipient)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvReceipient)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupReceipientGroup)).BeginInit();
     this.groupReceipientGroup.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupReceipientGroupEntry)).BeginInit();
     this.groupReceipientGroupEntry.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gctrRecpGrp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvRecpGrp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupReceipientGroupReceipientEntries)).BeginInit();
     this.groupReceipientGroupReceipientEntries.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl10)).BeginInit();
     this.GroupControl10.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gctrRecpEntry)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvRecpEntry)).BeginInit();
     this.tabStaffTwo.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupService)).BeginInit();
     this.groupService.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupServiceEntry)).BeginInit();
     this.groupServiceEntry.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).BeginInit();
     this.groupControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.luedtCommissionServiceBranch.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbServiceYear.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbServiceMonth.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbServiceServiceType.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gctrService)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvService)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupSales)).BeginInit();
     this.groupSales.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupSalesEntry)).BeginInit();
     this.groupSalesEntry.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl7)).BeginInit();
     this.groupControl7.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.luedtSalesBranchCode.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbSalesYear.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbSalesMonth.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbSalesType.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gctrSales)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvSales)).BeginInit();
     this.tabStaffThree.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupTimesheet)).BeginInit();
     this.groupTimesheet.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupTimesheetEntry)).BeginInit();
     this.groupTimesheetEntry.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl9)).BeginInit();
     this.groupControl9.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbTimesheetYear.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbTimesheetMonth.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrTimesheet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvTimesheet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupOvertime)).BeginInit();
     this.groupOvertime.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl15)).BeginInit();
     this.groupControl15.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl16)).BeginInit();
     this.groupControl16.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbOvertimeYear.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbOvertimeMonth.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrOvertime)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvOvertime)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupLateness)).BeginInit();
     this.groupLateness.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl13)).BeginInit();
     this.groupControl13.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl14)).BeginInit();
     this.groupControl14.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbLatenessYear.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbLatenessMonth.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrLateness)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvLateness)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTimeEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTimeEdit2)).BeginInit();
     this.tabStaffFour.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupAppointment)).BeginInit();
     this.groupAppointment.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupAppointmentEntry)).BeginInit();
     this.groupAppointmentEntry.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl12)).BeginInit();
     this.groupControl12.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbAppointmentYear.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbAppointmentMonth.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrAppointment)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvAppointment)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupContact)).BeginInit();
     this.groupContact.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupContactEntry)).BeginInit();
     this.groupContactEntry.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrContact)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvContact)).BeginInit();
     this.tabStaffFive.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupCustomerVoice)).BeginInit();
     this.groupCustomerVoice.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl24)).BeginInit();
     this.GroupControl24.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.luedtCVSubmitter.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbListCV.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gctrCV)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvCV)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.luedtCVAssignTo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupCustomerVoiceActionHistory)).BeginInit();
     this.groupCustomerVoiceActionHistory.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl26)).BeginInit();
     this.GroupControl26.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gctrCVAction)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvCVAction)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupCustomerVoiceCVDetails)).BeginInit();
     this.groupCustomerVoiceCVDetails.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl28)).BeginInit();
     this.GroupControl28.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtHomeNo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEmail.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtContactNo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoeditSummaryCV.Properties)).BeginInit();
     this.tabStaffSix.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupLeave)).BeginInit();
     this.groupLeave.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupLeaveLeaveDetails)).BeginInit();
     this.groupLeaveLeaveDetails.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl11)).BeginInit();
     this.groupControl11.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbLeaveStatus.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtLeaveEntitlement.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateedtLeaveJoinDate.Properties.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateedtLeaveJoinDate.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrLeaveDetail)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvLeave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbLeaveNYearID.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupLeaveLeaveBalance)).BeginInit();
     this.groupLeaveLeaveBalance.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).BeginInit();
     this.groupControl5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbLeaveBalance.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrLeaveBalance)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvLeaveBalance)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupLeaveRoster)).BeginInit();
     this.groupLeaveRoster.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
     this.groupControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.luedtLeaveEmployeeID.Properties)).BeginInit();
     this.tabStaffSeven.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl17)).BeginInit();
     this.tabStaffEight.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
     this.xtraTabControl1.SuspendLayout();
     this.xtraTabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.memoEdit2.Properties)).BeginInit();
     this.xtraTabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit4.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit3.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit2.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl18)).BeginInit();
     this.SuspendLayout();
     //
     // MainMenu1
     //
     this.MainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.MenuItem1,
     this.MenuItem4,
     this.MenuItem5});
     //
     // MenuItem1
     //
     this.MenuItem1.Index = 0;
     this.MenuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.MenuItem2});
     this.MenuItem1.Text = "File";
     //
     // MenuItem2
     //
     this.MenuItem2.Index = 0;
     this.MenuItem2.Text = "Quit";
     this.MenuItem2.Click += new System.EventHandler(this.MenuItem2_Click);
     //
     // MenuItem4
     //
     this.MenuItem4.Index = 1;
     this.MenuItem4.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.MenuItemChangePassword,
     this.MenuItemBlockMembershipID,
     this.MenuItemResetMembershipID,
     this.MenuItem9,
     this.MenuItem10});
     this.MenuItem4.Text = "Tools";
     //
     // MenuItemChangePassword
     //
     this.MenuItemChangePassword.Index = 0;
     this.MenuItemChangePassword.Text = "Change Password";
     this.MenuItemChangePassword.Click += new System.EventHandler(this.MenuItemChangePassword_Click);
     //
     // MenuItemBlockMembershipID
     //
     this.MenuItemBlockMembershipID.Index = 1;
     this.MenuItemBlockMembershipID.Text = "Block Membership ID";
     this.MenuItemBlockMembershipID.Click += new System.EventHandler(this.MenuItemBlockMembershipID_Click);
     //
     // MenuItemResetMembershipID
     //
     this.MenuItemResetMembershipID.Index = 2;
     this.MenuItemResetMembershipID.Text = "Reset Membership ID";
     this.MenuItemResetMembershipID.Click += new System.EventHandler(this.MenuItemResetMembershipID_Click);
     //
     // MenuItem9
     //
     this.MenuItem9.Index = 3;
     this.MenuItem9.Text = "Re-print receipt";
     //
     // MenuItem10
     //
     this.MenuItem10.Index = 4;
     this.MenuItem10.Text = "Open Carton";
     //
     // MenuItem5
     //
     this.MenuItem5.Index = 2;
     this.MenuItem5.Text = "Help";
     //
     // Bar1
     //
     this.Bar1.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Bar1.Appearance.Options.UseFont = true;
     this.Bar1.BarName = "bnTopBar";
     this.Bar1.DockCol = 0;
     this.Bar1.DockRow = 0;
     this.Bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.Bar1.OptionsBar.MultiLine = true;
     this.Bar1.OptionsBar.UseWholeRow = true;
     this.Bar1.Text = "TopBar";
     //
     // BarManager1
     //
     this.BarManager1.AllowQuickCustomization = false;
     this.BarManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.Bar2});
     this.BarManager1.Controller = this.BarAndDockingController1;
     this.BarManager1.DockControls.Add(this.barDockControlTop);
     this.BarManager1.DockControls.Add(this.barDockControlBottom);
     this.BarManager1.DockControls.Add(this.barDockControlLeft);
     this.BarManager1.DockControls.Add(this.barDockControlRight);
     this.BarManager1.Form = this;
     this.BarManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.bbiClose,
     this.barbtnTimeCard,
     this.barButtonItem1,
     this.barbtnClose,
     this.barstaticCurrentLogin});
     this.BarManager1.MainMenu = this.Bar2;
     this.BarManager1.MaxItemId = 6;
     //
     // Bar2
     //
     this.Bar2.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Bar2.Appearance.Options.UseFont = true;
     this.Bar2.BarName = "Custom 1";
     this.Bar2.DockCol = 0;
     this.Bar2.DockRow = 0;
     this.Bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.Bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.bbiClose, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barbtnTimeCard, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barstaticCurrentLogin, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.Standard)});
     this.Bar2.OptionsBar.MultiLine = true;
     this.Bar2.OptionsBar.UseWholeRow = true;
     this.Bar2.Text = "Custom 1";
     //
     // bbiClose
     //
     this.bbiClose.Caption = "Close";
     this.bbiClose.Glyph = ((System.Drawing.Image)(resources.GetObject("bbiClose.Glyph")));
     this.bbiClose.Id = 0;
     this.bbiClose.Name = "bbiClose";
     this.bbiClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiLoginOut_ItemClick);
     //
     // barbtnTimeCard
     //
     this.barbtnTimeCard.Caption = "Time Card";
     this.barbtnTimeCard.Glyph = ((System.Drawing.Image)(resources.GetObject("barbtnTimeCard.Glyph")));
     this.barbtnTimeCard.Id = 1;
     this.barbtnTimeCard.Name = "barbtnTimeCard";
     this.barbtnTimeCard.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barbtnTimeCard_ItemClick);
     //
     // barstaticCurrentLogin
     //
     this.barstaticCurrentLogin.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.barstaticCurrentLogin.Caption = "Current Login: {0}, {1}";
     this.barstaticCurrentLogin.Id = 4;
     this.barstaticCurrentLogin.Name = "barstaticCurrentLogin";
     this.barstaticCurrentLogin.OwnFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barstaticCurrentLogin.TextAlignment = System.Drawing.StringAlignment.Near;
     this.barstaticCurrentLogin.UseOwnFont = true;
     //
     // BarAndDockingController1
     //
     this.BarAndDockingController1.PaintStyleName = "WindowsXP";
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "ACMS Manager";
     this.barButtonItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.Glyph")));
     this.barButtonItem1.Id = 2;
     this.barButtonItem1.Name = "barButtonItem1";
     this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
     //
     // barbtnClose
     //
     this.barbtnClose.Id = 5;
     this.barbtnClose.Name = "barbtnClose";
     //
     // tabStaff
     //
     this.tabStaff.Cursor = System.Windows.Forms.Cursors.Arrow;
     this.tabStaff.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.tabStaff.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabStaff.ImeMode = System.Windows.Forms.ImeMode.On;
     this.tabStaff.Location = new System.Drawing.Point(0, 65);
     this.tabStaff.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tabStaff.Name = "tabStaff";
     this.tabStaff.PaintStyleName = "Skin";
     this.tabStaff.SelectedTabPage = this.tabStaffOne;
     this.tabStaff.Size = new System.Drawing.Size(1016, 648);
     this.tabStaff.TabIndex = 0;
     this.tabStaff.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.tabStaffOne,
     this.tabStaffTwo,
     this.tabStaffThree,
     this.tabStaffFour,
     this.tabStaffFive,
     this.tabStaffSix,
     this.tabStaffSeven,
     this.tabStaffEight});
     this.tabStaff.Text = "tabStaffMailbox";
     this.tabStaff.VisibleChanged += new System.EventHandler(this.tabStaff_VisibleChanged);
     this.tabStaff.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.tabStaff_SelectedPageChanged);
     this.tabStaff.Click += new System.EventHandler(this.tabStaff_Click);
     //
     // tabStaffOne
     //
     this.tabStaffOne.Appearance.Header.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabStaffOne.Appearance.Header.Options.UseFont = true;
     this.tabStaffOne.Controls.Add(this.lblOne_2);
     this.tabStaffOne.Controls.Add(this.luedtMemoEmployeeID);
     this.tabStaffOne.Controls.Add(this.lblMemoEmployeeID);
     this.tabStaffOne.Controls.Add(this.groupMessages);
     this.tabStaffOne.Controls.Add(this.groupReceipientGroup);
     this.tabStaffOne.Controls.Add(this.lblOne_1);
     this.tabStaffOne.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabStaffOne.Name = "tabStaffOne";
     this.tabStaffOne.Size = new System.Drawing.Size(1007, 612);
     this.tabStaffOne.Text = "Mailbox";
     this.tabStaffOne.VisibleChanged += new System.EventHandler(this.tabStaffMailbox_VisibleChanged);
     //
     // lblOne_2
     //
     this.lblOne_2.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblOne_2.Appearance.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblOne_2.Appearance.Options.UseFont = true;
     this.lblOne_2.Appearance.Options.UseForeColor = true;
     this.lblOne_2.Location = new System.Drawing.Point(160, 8);
     this.lblOne_2.Name = "lblOne_2";
     this.lblOne_2.Size = new System.Drawing.Size(138, 23);
     this.lblOne_2.TabIndex = 142;
     this.lblOne_2.Text = "Receipient Group";
     this.lblOne_2.Click += new System.EventHandler(this.lblOne_2_Click);
     //
     // luedtMemoEmployeeID
     //
     this.luedtMemoEmployeeID.Location = new System.Drawing.Point(776, 8);
     this.luedtMemoEmployeeID.Name = "luedtMemoEmployeeID";
     this.luedtMemoEmployeeID.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.luedtMemoEmployeeID.Size = new System.Drawing.Size(208, 20);
     this.luedtMemoEmployeeID.TabIndex = 33;
     this.luedtMemoEmployeeID.EditValueChanged += new System.EventHandler(this.luedtMemoEmployeeID_EditValueChanged);
     //
     // lblMemoEmployeeID
     //
     this.lblMemoEmployeeID.AutoSize = true;
     this.lblMemoEmployeeID.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblMemoEmployeeID.Location = new System.Drawing.Point(688, 8);
     this.lblMemoEmployeeID.Name = "lblMemoEmployeeID";
     this.lblMemoEmployeeID.Size = new System.Drawing.Size(88, 16);
     this.lblMemoEmployeeID.TabIndex = 34;
     this.lblMemoEmployeeID.Text = "Staff Name:";
     //
     // groupMessages
     //
     this.groupMessages.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupMessages.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupMessages.Controls.Add(this.lblmnuMessagesReceipient);
     this.groupMessages.Controls.Add(this.lblmnuMessagesFollowUpAction);
     this.groupMessages.Controls.Add(this.lblmnuMessagesMemoInfo);
     this.groupMessages.Controls.Add(this.groupMessagesEntry);
     this.groupMessages.Controls.Add(this.groupMessagesFollowUpAction);
     this.groupMessages.Controls.Add(this.groupMessagesMemoInfo);
     this.groupMessages.Controls.Add(this.groupMessagesReceipient);
     this.groupMessages.Location = new System.Drawing.Point(0, 34);
     this.groupMessages.Name = "groupMessages";
     this.groupMessages.ShowCaption = false;
     this.groupMessages.Size = new System.Drawing.Size(1007, 584);
     this.groupMessages.TabIndex = 13;
     this.groupMessages.Text = "GroupControl3";
     //
     // lblmnuMessagesReceipient
     //
     this.lblmnuMessagesReceipient.AutoSize = true;
     this.lblmnuMessagesReceipient.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblmnuMessagesReceipient.Location = new System.Drawing.Point(176, 320);
     this.lblmnuMessagesReceipient.Name = "lblmnuMessagesReceipient";
     this.lblmnuMessagesReceipient.Size = new System.Drawing.Size(83, 16);
     this.lblmnuMessagesReceipient.TabIndex = 2;
     this.lblmnuMessagesReceipient.Text = "Receipient";
     this.lblmnuMessagesReceipient.Click += new System.EventHandler(this.lblmnuMessagesReceipient_Click);
     //
     // lblmnuMessagesFollowUpAction
     //
     this.lblmnuMessagesFollowUpAction.AutoSize = true;
     this.lblmnuMessagesFollowUpAction.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblmnuMessagesFollowUpAction.Location = new System.Drawing.Point(112, 320);
     this.lblmnuMessagesFollowUpAction.Name = "lblmnuMessagesFollowUpAction";
     this.lblmnuMessagesFollowUpAction.Size = new System.Drawing.Size(62, 16);
     this.lblmnuMessagesFollowUpAction.TabIndex = 1;
     this.lblmnuMessagesFollowUpAction.Text = "Replies";
     this.lblmnuMessagesFollowUpAction.Click += new System.EventHandler(this.lblmnuMessagesFollowUpAction_Click);
     //
     // lblmnuMessagesMemoInfo
     //
     this.lblmnuMessagesMemoInfo.AutoSize = true;
     this.lblmnuMessagesMemoInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblmnuMessagesMemoInfo.Location = new System.Drawing.Point(24, 320);
     this.lblmnuMessagesMemoInfo.Name = "lblmnuMessagesMemoInfo";
     this.lblmnuMessagesMemoInfo.Size = new System.Drawing.Size(79, 16);
     this.lblmnuMessagesMemoInfo.TabIndex = 0;
     this.lblmnuMessagesMemoInfo.Text = "Memo Info";
     this.lblmnuMessagesMemoInfo.Click += new System.EventHandler(this.lblmnuMessagesMemoInfo_Click);
     //
     // groupMessagesEntry
     //
     this.groupMessagesEntry.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupMessagesEntry.Appearance.Options.UseBackColor = true;
     this.groupMessagesEntry.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupMessagesEntry.Controls.Add(this.cbViewMemo);
     this.groupMessagesEntry.Controls.Add(this.sbtnMemoUnpost);
     this.groupMessagesEntry.Controls.Add(this.sbtnMemoPrint);
     this.groupMessagesEntry.Controls.Add(this.sbtnMemoNew);
     this.groupMessagesEntry.Controls.Add(this.gctrMemo);
     this.groupMessagesEntry.Location = new System.Drawing.Point(8, 0);
     this.groupMessagesEntry.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupMessagesEntry.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupMessagesEntry.Name = "groupMessagesEntry";
     this.groupMessagesEntry.Size = new System.Drawing.Size(992, 312);
     this.groupMessagesEntry.TabIndex = 1;
     this.groupMessagesEntry.Text = "MESSAGES";
     //
     // cbViewMemo
     //
     this.cbViewMemo.EditValue = "All";
     this.cbViewMemo.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbViewMemo.Location = new System.Drawing.Point(16, 32);
     this.cbViewMemo.Name = "cbViewMemo";
     this.cbViewMemo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbViewMemo.Properties.Items.AddRange(new object[] {
     "All",
     "Personal Email",
     "Branch Bulletin",
     "Sent Memo"});
     this.cbViewMemo.Properties.PopupSizeable = true;
     this.cbViewMemo.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbViewMemo.Size = new System.Drawing.Size(136, 20);
     this.cbViewMemo.TabIndex = 0;
     this.cbViewMemo.SelectedIndexChanged += new System.EventHandler(this.cbViewMemo_SelectedIndexChanged);
     //
     // sbtnMemoUnpost
     //
     this.sbtnMemoUnpost.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnMemoUnpost.Appearance.Options.UseFont = true;
     this.sbtnMemoUnpost.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnMemoUnpost.Location = new System.Drawing.Point(320, 32);
     this.sbtnMemoUnpost.Name = "sbtnMemoUnpost";
     this.sbtnMemoUnpost.Size = new System.Drawing.Size(72, 20);
     this.sbtnMemoUnpost.TabIndex = 3;
     this.sbtnMemoUnpost.Text = "Unpost";
     this.sbtnMemoUnpost.Click += new System.EventHandler(this.sbtnMemoUnpost_Click);
     //
     // sbtnMemoPrint
     //
     this.sbtnMemoPrint.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnMemoPrint.Appearance.Options.UseFont = true;
     this.sbtnMemoPrint.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnMemoPrint.Location = new System.Drawing.Point(240, 32);
     this.sbtnMemoPrint.Name = "sbtnMemoPrint";
     this.sbtnMemoPrint.Size = new System.Drawing.Size(72, 20);
     this.sbtnMemoPrint.TabIndex = 2;
     this.sbtnMemoPrint.Text = "Print";
     this.sbtnMemoPrint.Click += new System.EventHandler(this.sbtnMemoPrint_Click);
     //
     // sbtnMemoNew
     //
     this.sbtnMemoNew.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnMemoNew.Appearance.Options.UseFont = true;
     this.sbtnMemoNew.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnMemoNew.Location = new System.Drawing.Point(160, 32);
     this.sbtnMemoNew.Name = "sbtnMemoNew";
     this.sbtnMemoNew.Size = new System.Drawing.Size(72, 20);
     this.sbtnMemoNew.TabIndex = 1;
     this.sbtnMemoNew.Text = "New";
     this.sbtnMemoNew.Click += new System.EventHandler(this.sbtnMemoNew_Click);
     //
     // gctrMemo
     //
     this.gctrMemo.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gctrMemo.EmbeddedNavigator.Name = "";
     this.gctrMemo.Location = new System.Drawing.Point(2, 62);
     this.gctrMemo.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gctrMemo.MainView = this.gvMemo;
     this.gctrMemo.Name = "gctrMemo";
     this.gctrMemo.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemCheckEdit1});
     this.gctrMemo.Size = new System.Drawing.Size(988, 248);
     this.gctrMemo.TabIndex = 4;
     this.gctrMemo.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvMemo});
     //
     // gvMemo
     //
     this.gvMemo.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colnMemoID,
     this.colPostUpdateDateTime,
     this.colAuthorID,
     this.colAuthor,
     this.colTitle,
     this.colRead});
     this.gvMemo.GridControl = this.gctrMemo;
     this.gvMemo.Name = "gvMemo";
     this.gvMemo.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvMemo.OptionsBehavior.Editable = false;
     this.gvMemo.OptionsCustomization.AllowFilter = false;
     this.gvMemo.OptionsView.ShowGroupPanel = false;
     this.gvMemo.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colPostUpdateDateTime, DevExpress.Data.ColumnSortOrder.Descending)});
     this.gvMemo.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gvMemo_FocusedRowChanged);
     this.gvMemo.DataSourceChanged += new System.EventHandler(this.gvMemo_DataSourceChanged);
     //
     // colnMemoID
     //
     this.colnMemoID.Caption = "Memo ID";
     this.colnMemoID.FieldName = "nMemoID";
     this.colnMemoID.Name = "colnMemoID";
     this.colnMemoID.Visible = true;
     this.colnMemoID.VisibleIndex = 0;
     this.colnMemoID.Width = 115;
     //
     // colPostUpdateDateTime
     //
     this.colPostUpdateDateTime.Caption = "Post/Update Date Time";
     this.colPostUpdateDateTime.DisplayFormat.FormatString = "dd/MM/yyyy hh:mm tt";
     this.colPostUpdateDateTime.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colPostUpdateDateTime.FieldName = "dtLastEditDate";
     this.colPostUpdateDateTime.Name = "colPostUpdateDateTime";
     this.colPostUpdateDateTime.Visible = true;
     this.colPostUpdateDateTime.VisibleIndex = 1;
     this.colPostUpdateDateTime.Width = 172;
     //
     // colAuthorID
     //
     this.colAuthorID.Caption = "Author ID";
     this.colAuthorID.FieldName = "nEmployeeID";
     this.colAuthorID.Name = "colAuthorID";
     this.colAuthorID.Width = 201;
     //
     // colAuthor
     //
     this.colAuthor.Caption = "Author";
     this.colAuthor.FieldName = "strEmployeeName";
     this.colAuthor.Name = "colAuthor";
     this.colAuthor.Visible = true;
     this.colAuthor.VisibleIndex = 2;
     this.colAuthor.Width = 229;
     //
     // colTitle
     //
     this.colTitle.Caption = "Subject";
     this.colTitle.FieldName = "strTitle";
     this.colTitle.Name = "colTitle";
     this.colTitle.Visible = true;
     this.colTitle.VisibleIndex = 3;
     this.colTitle.Width = 405;
     //
     // colRead
     //
     this.colRead.Caption = "Read";
     this.colRead.ColumnEdit = this.repositoryItemCheckEdit1;
     this.colRead.FieldName = "fRead";
     this.colRead.Name = "colRead";
     this.colRead.Visible = true;
     this.colRead.VisibleIndex = 4;
     this.colRead.Width = 46;
     //
     // repositoryItemCheckEdit1
     //
     this.repositoryItemCheckEdit1.AutoHeight = false;
     this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
     this.repositoryItemCheckEdit1.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
     //
     // groupMessagesFollowUpAction
     //
     this.groupMessagesFollowUpAction.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupMessagesFollowUpAction.Appearance.Options.UseBackColor = true;
     this.groupMessagesFollowUpAction.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupMessagesFollowUpAction.Controls.Add(this.GroupControl4);
     this.groupMessagesFollowUpAction.Location = new System.Drawing.Point(7, 344);
     this.groupMessagesFollowUpAction.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupMessagesFollowUpAction.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupMessagesFollowUpAction.Name = "groupMessagesFollowUpAction";
     this.groupMessagesFollowUpAction.Size = new System.Drawing.Size(992, 232);
     this.groupMessagesFollowUpAction.TabIndex = 12;
     this.groupMessagesFollowUpAction.Text = "Replies";
     //
     // GroupControl4
     //
     this.GroupControl4.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.GroupControl4.Controls.Add(this.sbtnRepliesDelete);
     this.GroupControl4.Controls.Add(this.sbtnRepliesView);
     this.GroupControl4.Controls.Add(this.sbtnRepliesUpdate);
     this.GroupControl4.Controls.Add(this.sbtnRepliesAdd);
     this.GroupControl4.Controls.Add(this.gctrReplies);
     this.GroupControl4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.GroupControl4.Location = new System.Drawing.Point(2, 19);
     this.GroupControl4.Name = "GroupControl4";
     this.GroupControl4.ShowCaption = false;
     this.GroupControl4.Size = new System.Drawing.Size(988, 211);
     this.GroupControl4.TabIndex = 0;
     this.GroupControl4.Text = "GroupControl1";
     //
     // sbtnRepliesDelete
     //
     this.sbtnRepliesDelete.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnRepliesDelete.Appearance.Options.UseFont = true;
     this.sbtnRepliesDelete.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnRepliesDelete.Location = new System.Drawing.Point(256, 16);
     this.sbtnRepliesDelete.Name = "sbtnRepliesDelete";
     this.sbtnRepliesDelete.Size = new System.Drawing.Size(72, 20);
     this.sbtnRepliesDelete.TabIndex = 3;
     this.sbtnRepliesDelete.Text = "Delete";
     this.sbtnRepliesDelete.Click += new System.EventHandler(this.sbtnRepliesDelete_Click);
     //
     // sbtnRepliesView
     //
     this.sbtnRepliesView.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnRepliesView.Appearance.Options.UseFont = true;
     this.sbtnRepliesView.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnRepliesView.Location = new System.Drawing.Point(96, 16);
     this.sbtnRepliesView.Name = "sbtnRepliesView";
     this.sbtnRepliesView.Size = new System.Drawing.Size(72, 20);
     this.sbtnRepliesView.TabIndex = 1;
     this.sbtnRepliesView.Text = "View";
     this.sbtnRepliesView.Click += new System.EventHandler(this.sbtnRepliesView_Click);
     //
     // sbtnRepliesUpdate
     //
     this.sbtnRepliesUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnRepliesUpdate.Appearance.Options.UseFont = true;
     this.sbtnRepliesUpdate.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnRepliesUpdate.Location = new System.Drawing.Point(176, 16);
     this.sbtnRepliesUpdate.Name = "sbtnRepliesUpdate";
     this.sbtnRepliesUpdate.Size = new System.Drawing.Size(72, 20);
     this.sbtnRepliesUpdate.TabIndex = 2;
     this.sbtnRepliesUpdate.Text = "Update";
     this.sbtnRepliesUpdate.Click += new System.EventHandler(this.sbtnRepliesUpdate_Click);
     //
     // sbtnRepliesAdd
     //
     this.sbtnRepliesAdd.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnRepliesAdd.Appearance.Options.UseFont = true;
     this.sbtnRepliesAdd.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnRepliesAdd.Location = new System.Drawing.Point(16, 16);
     this.sbtnRepliesAdd.Name = "sbtnRepliesAdd";
     this.sbtnRepliesAdd.Size = new System.Drawing.Size(72, 20);
     this.sbtnRepliesAdd.TabIndex = 0;
     this.sbtnRepliesAdd.Text = "Add";
     this.sbtnRepliesAdd.Click += new System.EventHandler(this.sbtnRepliesAdd_Click);
     //
     // gctrReplies
     //
     this.gctrReplies.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gctrReplies.EmbeddedNavigator.Name = "";
     this.gctrReplies.Location = new System.Drawing.Point(2, 49);
     this.gctrReplies.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gctrReplies.MainView = this.gvReplies;
     this.gctrReplies.Name = "gctrReplies";
     this.gctrReplies.Size = new System.Drawing.Size(984, 160);
     this.gctrReplies.TabIndex = 4;
     this.gctrReplies.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvReplies});
     //
     // gvReplies
     //
     this.gvReplies.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colReplyDate,
     this.colReplyEmployeeID,
     this.colReplyEmployeeName,
     this.colReplyMessage});
     this.gvReplies.GridControl = this.gctrReplies;
     this.gvReplies.Name = "gvReplies";
     this.gvReplies.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvReplies.OptionsBehavior.Editable = false;
     this.gvReplies.OptionsCustomization.AllowFilter = false;
     this.gvReplies.OptionsView.ShowGroupPanel = false;
     this.gvReplies.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colReplyDate, DevExpress.Data.ColumnSortOrder.Descending)});
     //
     // colReplyDate
     //
     this.colReplyDate.Caption = "Date";
     this.colReplyDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colReplyDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colReplyDate.FieldName = "dtDate";
     this.colReplyDate.Name = "colReplyDate";
     this.colReplyDate.Visible = true;
     this.colReplyDate.VisibleIndex = 0;
     this.colReplyDate.Width = 143;
     //
     // colReplyEmployeeID
     //
     this.colReplyEmployeeID.Caption = "Employee ID";
     this.colReplyEmployeeID.FieldName = "nEmployeeID";
     this.colReplyEmployeeID.Name = "colReplyEmployeeID";
     this.colReplyEmployeeID.Width = 209;
     //
     // colReplyEmployeeName
     //
     this.colReplyEmployeeName.Caption = "Employee";
     this.colReplyEmployeeName.FieldName = "strEmployeeName";
     this.colReplyEmployeeName.Name = "colReplyEmployeeName";
     this.colReplyEmployeeName.Visible = true;
     this.colReplyEmployeeName.VisibleIndex = 1;
     this.colReplyEmployeeName.Width = 247;
     //
     // colReplyMessage
     //
     this.colReplyMessage.Caption = "Message";
     this.colReplyMessage.FieldName = "strMessage";
     this.colReplyMessage.Name = "colReplyMessage";
     this.colReplyMessage.Visible = true;
     this.colReplyMessage.VisibleIndex = 2;
     this.colReplyMessage.Width = 569;
     //
     // groupMessagesMemoInfo
     //
     this.groupMessagesMemoInfo.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupMessagesMemoInfo.Appearance.Options.UseBackColor = true;
     this.groupMessagesMemoInfo.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupMessagesMemoInfo.Controls.Add(this.GroupControl8);
     this.groupMessagesMemoInfo.Location = new System.Drawing.Point(7, 344);
     this.groupMessagesMemoInfo.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupMessagesMemoInfo.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupMessagesMemoInfo.Name = "groupMessagesMemoInfo";
     this.groupMessagesMemoInfo.Size = new System.Drawing.Size(992, 232);
     this.groupMessagesMemoInfo.TabIndex = 13;
     this.groupMessagesMemoInfo.Text = "MEMO INFO";
     this.groupMessagesMemoInfo.VisibleChanged += new System.EventHandler(this.groupMessagesMemoInfo_VisibleChanged);
     //
     // GroupControl8
     //
     this.GroupControl8.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.GroupControl8.Controls.Add(this.sbtnUpdate);
     this.GroupControl8.Controls.Add(this.memoedtMessage);
     this.GroupControl8.Controls.Add(this.Label37);
     this.GroupControl8.Dock = System.Windows.Forms.DockStyle.Fill;
     this.GroupControl8.Location = new System.Drawing.Point(2, 19);
     this.GroupControl8.Name = "GroupControl8";
     this.GroupControl8.ShowCaption = false;
     this.GroupControl8.Size = new System.Drawing.Size(988, 211);
     this.GroupControl8.TabIndex = 0;
     this.GroupControl8.Text = "GroupControl1";
     //
     // sbtnUpdate
     //
     this.sbtnUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnUpdate.Appearance.Options.UseFont = true;
     this.sbtnUpdate.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnUpdate.Location = new System.Drawing.Point(656, 180);
     this.sbtnUpdate.Name = "sbtnUpdate";
     this.sbtnUpdate.Size = new System.Drawing.Size(72, 20);
     this.sbtnUpdate.TabIndex = 1;
     this.sbtnUpdate.Text = "Update";
     this.sbtnUpdate.Click += new System.EventHandler(this.sbtnUpdate_Click);
     //
     // memoedtMessage
     //
     this.memoedtMessage.EditValue = "";
     this.memoedtMessage.Location = new System.Drawing.Point(88, 16);
     this.memoedtMessage.Name = "memoedtMessage";
     this.memoedtMessage.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.memoedtMessage.Properties.Appearance.Options.UseFont = true;
     this.memoedtMessage.Properties.MaxLength = 1000;
     this.memoedtMessage.Size = new System.Drawing.Size(560, 184);
     this.memoedtMessage.TabIndex = 0;
     //
     // Label37
     //
     this.Label37.AutoSize = true;
     this.Label37.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label37.Location = new System.Drawing.Point(16, 16);
     this.Label37.Name = "Label37";
     this.Label37.Size = new System.Drawing.Size(72, 16);
     this.Label37.TabIndex = 16;
     this.Label37.Text = "Message";
     //
     // groupMessagesReceipient
     //
     this.groupMessagesReceipient.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupMessagesReceipient.Appearance.Options.UseBackColor = true;
     this.groupMessagesReceipient.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupMessagesReceipient.Controls.Add(this.GroupControl6);
     this.groupMessagesReceipient.Location = new System.Drawing.Point(7, 344);
     this.groupMessagesReceipient.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupMessagesReceipient.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupMessagesReceipient.Name = "groupMessagesReceipient";
     this.groupMessagesReceipient.Size = new System.Drawing.Size(992, 232);
     this.groupMessagesReceipient.TabIndex = 14;
     this.groupMessagesReceipient.Text = "RECEIPIENT";
     //
     // GroupControl6
     //
     this.GroupControl6.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.GroupControl6.Controls.Add(this.cbMemoReceipient);
     this.GroupControl6.Controls.Add(this.sbtnReceipientDelete);
     this.GroupControl6.Controls.Add(this.sbtnReceipientNew);
     this.GroupControl6.Controls.Add(this.gctrReceipient);
     this.GroupControl6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.GroupControl6.Location = new System.Drawing.Point(2, 19);
     this.GroupControl6.Name = "GroupControl6";
     this.GroupControl6.ShowCaption = false;
     this.GroupControl6.Size = new System.Drawing.Size(988, 211);
     this.GroupControl6.TabIndex = 0;
     this.GroupControl6.Text = "GroupControl1";
     //
     // cbMemoReceipient
     //
     this.cbMemoReceipient.EditValue = "Branch Group";
     this.cbMemoReceipient.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbMemoReceipient.Location = new System.Drawing.Point(8, 16);
     this.cbMemoReceipient.Name = "cbMemoReceipient";
     this.cbMemoReceipient.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbMemoReceipient.Properties.Items.AddRange(new object[] {
     "Branch Group",
     "Department Group",
     "Personal Group",
     "Employee"});
     this.cbMemoReceipient.Properties.PopupSizeable = true;
     this.cbMemoReceipient.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbMemoReceipient.Size = new System.Drawing.Size(136, 20);
     this.cbMemoReceipient.TabIndex = 0;
     this.cbMemoReceipient.SelectedIndexChanged += new System.EventHandler(this.cbMemoReceipient_SelectedIndexChanged);
     //
     // sbtnReceipientDelete
     //
     this.sbtnReceipientDelete.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnReceipientDelete.Appearance.Options.UseFont = true;
     this.sbtnReceipientDelete.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnReceipientDelete.Location = new System.Drawing.Point(232, 16);
     this.sbtnReceipientDelete.Name = "sbtnReceipientDelete";
     this.sbtnReceipientDelete.Size = new System.Drawing.Size(72, 20);
     this.sbtnReceipientDelete.TabIndex = 2;
     this.sbtnReceipientDelete.Text = "Delete";
     this.sbtnReceipientDelete.Click += new System.EventHandler(this.sbtnReceipientDelete_Click);
     //
     // sbtnReceipientNew
     //
     this.sbtnReceipientNew.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnReceipientNew.Appearance.Options.UseFont = true;
     this.sbtnReceipientNew.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnReceipientNew.Location = new System.Drawing.Point(152, 16);
     this.sbtnReceipientNew.Name = "sbtnReceipientNew";
     this.sbtnReceipientNew.Size = new System.Drawing.Size(72, 20);
     this.sbtnReceipientNew.TabIndex = 1;
     this.sbtnReceipientNew.Text = "New";
     this.sbtnReceipientNew.Click += new System.EventHandler(this.sbtnReceipientNew_Click);
     //
     // gctrReceipient
     //
     this.gctrReceipient.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gctrReceipient.EmbeddedNavigator.Name = "";
     this.gctrReceipient.Location = new System.Drawing.Point(2, 49);
     this.gctrReceipient.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gctrReceipient.MainView = this.gvReceipient;
     this.gctrReceipient.Name = "gctrReceipient";
     this.gctrReceipient.Size = new System.Drawing.Size(984, 160);
     this.gctrReceipient.TabIndex = 3;
     this.gctrReceipient.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvReceipient});
     //
     // gvReceipient
     //
     this.gvReceipient.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colRecipientType,
     this.colRecipient,
     this.colRecipientID});
     this.gvReceipient.GridControl = this.gctrReceipient;
     this.gvReceipient.Name = "gvReceipient";
     this.gvReceipient.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvReceipient.OptionsBehavior.Editable = false;
     this.gvReceipient.OptionsCustomization.AllowFilter = false;
     this.gvReceipient.OptionsView.ShowGroupPanel = false;
     //
     // colRecipientType
     //
     this.colRecipientType.Caption = "Type";
     this.colRecipientType.FieldName = "Type";
     this.colRecipientType.Name = "colRecipientType";
     this.colRecipientType.Visible = true;
     this.colRecipientType.VisibleIndex = 0;
     this.colRecipientType.Width = 223;
     //
     // colRecipient
     //
     this.colRecipient.Caption = "Receipient";
     this.colRecipient.FieldName = "Receipient";
     this.colRecipient.Name = "colRecipient";
     this.colRecipient.Visible = true;
     this.colRecipient.VisibleIndex = 1;
     this.colRecipient.Width = 558;
     //
     // colRecipientID
     //
     this.colRecipientID.Caption = "Receipient ID";
     this.colRecipientID.FieldName = "nReceipientID";
     this.colRecipientID.Name = "colRecipientID";
     this.colRecipientID.Width = 178;
     //
     // groupReceipientGroup
     //
     this.groupReceipientGroup.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupReceipientGroup.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupReceipientGroup.Controls.Add(this.groupReceipientGroupEntry);
     this.groupReceipientGroup.Controls.Add(this.groupReceipientGroupReceipientEntries);
     this.groupReceipientGroup.Location = new System.Drawing.Point(0, 34);
     this.groupReceipientGroup.Name = "groupReceipientGroup";
     this.groupReceipientGroup.ShowCaption = false;
     this.groupReceipientGroup.Size = new System.Drawing.Size(1007, 584);
     this.groupReceipientGroup.TabIndex = 14;
     this.groupReceipientGroup.Text = "GroupControl3";
     //
     // groupReceipientGroupEntry
     //
     this.groupReceipientGroupEntry.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupReceipientGroupEntry.Appearance.Options.UseBackColor = true;
     this.groupReceipientGroupEntry.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupReceipientGroupEntry.Controls.Add(this.sbtnRecpGrpDelete);
     this.groupReceipientGroupEntry.Controls.Add(this.sbtnRecpGrpEdit);
     this.groupReceipientGroupEntry.Controls.Add(this.sbtnRecpGrpNew);
     this.groupReceipientGroupEntry.Controls.Add(this.gctrRecpGrp);
     this.groupReceipientGroupEntry.Location = new System.Drawing.Point(8, 0);
     this.groupReceipientGroupEntry.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupReceipientGroupEntry.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupReceipientGroupEntry.Name = "groupReceipientGroupEntry";
     this.groupReceipientGroupEntry.Size = new System.Drawing.Size(992, 312);
     this.groupReceipientGroupEntry.TabIndex = 1;
     this.groupReceipientGroupEntry.Text = "RECEIPIENT GROUP";
     //
     // sbtnRecpGrpDelete
     //
     this.sbtnRecpGrpDelete.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnRecpGrpDelete.Appearance.Options.UseFont = true;
     this.sbtnRecpGrpDelete.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnRecpGrpDelete.Location = new System.Drawing.Point(176, 32);
     this.sbtnRecpGrpDelete.Name = "sbtnRecpGrpDelete";
     this.sbtnRecpGrpDelete.Size = new System.Drawing.Size(72, 20);
     this.sbtnRecpGrpDelete.TabIndex = 2;
     this.sbtnRecpGrpDelete.Text = "Delete";
     this.sbtnRecpGrpDelete.Click += new System.EventHandler(this.sbtnRecpGrpDelete_Click);
     //
     // sbtnRecpGrpEdit
     //
     this.sbtnRecpGrpEdit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnRecpGrpEdit.Appearance.Options.UseFont = true;
     this.sbtnRecpGrpEdit.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnRecpGrpEdit.Location = new System.Drawing.Point(96, 32);
     this.sbtnRecpGrpEdit.Name = "sbtnRecpGrpEdit";
     this.sbtnRecpGrpEdit.Size = new System.Drawing.Size(72, 20);
     this.sbtnRecpGrpEdit.TabIndex = 1;
     this.sbtnRecpGrpEdit.Text = "Edit";
     this.sbtnRecpGrpEdit.Click += new System.EventHandler(this.sbtnRecpGrpEdit_Click);
     //
     // sbtnRecpGrpNew
     //
     this.sbtnRecpGrpNew.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnRecpGrpNew.Appearance.Options.UseFont = true;
     this.sbtnRecpGrpNew.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnRecpGrpNew.Location = new System.Drawing.Point(16, 32);
     this.sbtnRecpGrpNew.Name = "sbtnRecpGrpNew";
     this.sbtnRecpGrpNew.Size = new System.Drawing.Size(72, 20);
     this.sbtnRecpGrpNew.TabIndex = 0;
     this.sbtnRecpGrpNew.Text = "New";
     this.sbtnRecpGrpNew.Click += new System.EventHandler(this.sbtnRecpGrpNew_Click);
     //
     // gctrRecpGrp
     //
     this.gctrRecpGrp.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gctrRecpGrp.EmbeddedNavigator.Name = "";
     this.gctrRecpGrp.Location = new System.Drawing.Point(2, 62);
     this.gctrRecpGrp.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gctrRecpGrp.MainView = this.gvRecpGrp;
     this.gctrRecpGrp.Name = "gctrRecpGrp";
     this.gctrRecpGrp.Size = new System.Drawing.Size(988, 248);
     this.gctrRecpGrp.TabIndex = 3;
     this.gctrRecpGrp.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvRecpGrp});
     //
     // gvRecpGrp
     //
     this.gvRecpGrp.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colReceipientGroupID,
     this.colReceipientGroupCode,
     this.colDescription});
     this.gvRecpGrp.GridControl = this.gctrRecpGrp;
     this.gvRecpGrp.Name = "gvRecpGrp";
     this.gvRecpGrp.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvRecpGrp.OptionsBehavior.Editable = false;
     this.gvRecpGrp.OptionsCustomization.AllowFilter = false;
     this.gvRecpGrp.OptionsView.ShowGroupPanel = false;
     this.gvRecpGrp.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gvRecpGrp_FocusedRowChanged);
     this.gvRecpGrp.DataSourceChanged += new System.EventHandler(this.gvRecpGrp_DataSourceChanged);
     //
     // colReceipientGroupID
     //
     this.colReceipientGroupID.Caption = "Group ID";
     this.colReceipientGroupID.FieldName = "nMemoGroupID";
     this.colReceipientGroupID.Name = "colReceipientGroupID";
     this.colReceipientGroupID.Visible = true;
     this.colReceipientGroupID.VisibleIndex = 0;
     this.colReceipientGroupID.Width = 110;
     //
     // colReceipientGroupCode
     //
     this.colReceipientGroupCode.Caption = "Receipient Group Code";
     this.colReceipientGroupCode.FieldName = "strMemoGroupCode";
     this.colReceipientGroupCode.Name = "colReceipientGroupCode";
     this.colReceipientGroupCode.Visible = true;
     this.colReceipientGroupCode.VisibleIndex = 1;
     this.colReceipientGroupCode.Width = 417;
     //
     // colDescription
     //
     this.colDescription.Caption = "Description";
     this.colDescription.FieldName = "strDescription";
     this.colDescription.Name = "colDescription";
     this.colDescription.Visible = true;
     this.colDescription.VisibleIndex = 2;
     this.colDescription.Width = 440;
     //
     // groupReceipientGroupReceipientEntries
     //
     this.groupReceipientGroupReceipientEntries.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupReceipientGroupReceipientEntries.Appearance.Options.UseBackColor = true;
     this.groupReceipientGroupReceipientEntries.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupReceipientGroupReceipientEntries.Controls.Add(this.GroupControl10);
     this.groupReceipientGroupReceipientEntries.Location = new System.Drawing.Point(7, 320);
     this.groupReceipientGroupReceipientEntries.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupReceipientGroupReceipientEntries.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupReceipientGroupReceipientEntries.Name = "groupReceipientGroupReceipientEntries";
     this.groupReceipientGroupReceipientEntries.Size = new System.Drawing.Size(992, 256);
     this.groupReceipientGroupReceipientEntries.TabIndex = 14;
     this.groupReceipientGroupReceipientEntries.Text = "RECEIPIENT ENTRIES";
     //
     // GroupControl10
     //
     this.GroupControl10.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.GroupControl10.Controls.Add(this.sbtnRecpEntryDelete);
     this.GroupControl10.Controls.Add(this.sbtnRecpEntryNew);
     this.GroupControl10.Controls.Add(this.gctrRecpEntry);
     this.GroupControl10.Dock = System.Windows.Forms.DockStyle.Fill;
     this.GroupControl10.Location = new System.Drawing.Point(2, 19);
     this.GroupControl10.Name = "GroupControl10";
     this.GroupControl10.ShowCaption = false;
     this.GroupControl10.Size = new System.Drawing.Size(988, 235);
     this.GroupControl10.TabIndex = 0;
     this.GroupControl10.Text = "GroupControl1";
     //
     // sbtnRecpEntryDelete
     //
     this.sbtnRecpEntryDelete.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnRecpEntryDelete.Appearance.Options.UseFont = true;
     this.sbtnRecpEntryDelete.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnRecpEntryDelete.Location = new System.Drawing.Point(96, 16);
     this.sbtnRecpEntryDelete.Name = "sbtnRecpEntryDelete";
     this.sbtnRecpEntryDelete.Size = new System.Drawing.Size(72, 20);
     this.sbtnRecpEntryDelete.TabIndex = 1;
     this.sbtnRecpEntryDelete.Text = "Delete";
     this.sbtnRecpEntryDelete.Click += new System.EventHandler(this.sbtnRecpEntryDelete_Click);
     //
     // sbtnRecpEntryNew
     //
     this.sbtnRecpEntryNew.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnRecpEntryNew.Appearance.Options.UseFont = true;
     this.sbtnRecpEntryNew.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnRecpEntryNew.Location = new System.Drawing.Point(16, 16);
     this.sbtnRecpEntryNew.Name = "sbtnRecpEntryNew";
     this.sbtnRecpEntryNew.Size = new System.Drawing.Size(72, 20);
     this.sbtnRecpEntryNew.TabIndex = 0;
     this.sbtnRecpEntryNew.Text = "New";
     this.sbtnRecpEntryNew.Click += new System.EventHandler(this.sbtnRecpEntryNew_Click);
     //
     // gctrRecpEntry
     //
     this.gctrRecpEntry.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gctrRecpEntry.EmbeddedNavigator.Name = "";
     this.gctrRecpEntry.Location = new System.Drawing.Point(2, 49);
     this.gctrRecpEntry.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gctrRecpEntry.MainView = this.gvRecpEntry;
     this.gctrRecpEntry.Name = "gctrRecpEntry";
     this.gctrRecpEntry.Size = new System.Drawing.Size(984, 184);
     this.gctrRecpEntry.TabIndex = 2;
     this.gctrRecpEntry.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvRecpEntry});
     //
     // gvRecpEntry
     //
     this.gvRecpEntry.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colEmployeeID,
     this.colEmployeeName});
     this.gvRecpEntry.GridControl = this.gctrRecpEntry;
     this.gvRecpEntry.Name = "gvRecpEntry";
     this.gvRecpEntry.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvRecpEntry.OptionsBehavior.Editable = false;
     this.gvRecpEntry.OptionsCustomization.AllowFilter = false;
     this.gvRecpEntry.OptionsView.ShowGroupPanel = false;
     //
     // colEmployeeID
     //
     this.colEmployeeID.Caption = "EmployeeID";
     this.colEmployeeID.FieldName = "nEmployeeID";
     this.colEmployeeID.Name = "colEmployeeID";
     this.colEmployeeID.Visible = true;
     this.colEmployeeID.VisibleIndex = 0;
     this.colEmployeeID.Width = 90;
     //
     // colEmployeeName
     //
     this.colEmployeeName.Caption = "Employee Name";
     this.colEmployeeName.FieldName = "strEmployeeName";
     this.colEmployeeName.Name = "colEmployeeName";
     this.colEmployeeName.Visible = true;
     this.colEmployeeName.VisibleIndex = 1;
     this.colEmployeeName.Width = 209;
     //
     // lblOne_1
     //
     this.lblOne_1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblOne_1.Appearance.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblOne_1.Appearance.Options.UseFont = true;
     this.lblOne_1.Appearance.Options.UseForeColor = true;
     this.lblOne_1.Location = new System.Drawing.Point(8, 8);
     this.lblOne_1.Name = "lblOne_1";
     this.lblOne_1.Size = new System.Drawing.Size(138, 23);
     this.lblOne_1.TabIndex = 141;
     this.lblOne_1.Text = "Messages";
     this.lblOne_1.Click += new System.EventHandler(this.lblOne_1_Click);
     //
     // tabStaffTwo
     //
     this.tabStaffTwo.Appearance.Header.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabStaffTwo.Appearance.Header.Options.UseFont = true;
     this.tabStaffTwo.Controls.Add(this.groupService);
     this.tabStaffTwo.Controls.Add(this.lblTwo_1);
     this.tabStaffTwo.Controls.Add(this.lblTwo_2);
     this.tabStaffTwo.Controls.Add(this.groupSales);
     this.tabStaffTwo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabStaffTwo.Name = "tabStaffTwo";
     this.tabStaffTwo.PageVisible = false;
     this.tabStaffTwo.Size = new System.Drawing.Size(1007, 612);
     this.tabStaffTwo.Text = "Commission";
     this.tabStaffTwo.VisibleChanged += new System.EventHandler(this.tabStaffCommision_VisibleChanged);
     //
     // groupService
     //
     this.groupService.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupService.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupService.Controls.Add(this.groupServiceEntry);
     this.groupService.Location = new System.Drawing.Point(0, 34);
     this.groupService.Name = "groupService";
     this.groupService.ShowCaption = false;
     this.groupService.Size = new System.Drawing.Size(1007, 584);
     this.groupService.TabIndex = 15;
     this.groupService.Text = "GroupControl3";
     //
     // groupServiceEntry
     //
     this.groupServiceEntry.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupServiceEntry.Appearance.Options.UseBackColor = true;
     this.groupServiceEntry.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupServiceEntry.Controls.Add(this.groupControl3);
     this.groupServiceEntry.Controls.Add(this.gctrService);
     this.groupServiceEntry.Location = new System.Drawing.Point(8, 0);
     this.groupServiceEntry.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupServiceEntry.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupServiceEntry.Name = "groupServiceEntry";
     this.groupServiceEntry.Size = new System.Drawing.Size(992, 576);
     this.groupServiceEntry.TabIndex = 1;
     this.groupServiceEntry.Text = "SERVICE";
     //
     // groupControl3
     //
     this.groupControl3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl3.Controls.Add(this.luedtCommissionServiceBranch);
     this.groupControl3.Controls.Add(this.label30);
     this.groupControl3.Controls.Add(this.cbServiceYear);
     this.groupControl3.Controls.Add(this.label5);
     this.groupControl3.Controls.Add(this.label3);
     this.groupControl3.Controls.Add(this.label2);
     this.groupControl3.Controls.Add(this.cbServiceMonth);
     this.groupControl3.Controls.Add(this.cbServiceServiceType);
     this.groupControl3.Controls.Add(this.sbtnServiceInquiry);
     this.groupControl3.Location = new System.Drawing.Point(6, 24);
     this.groupControl3.Name = "groupControl3";
     this.groupControl3.Size = new System.Drawing.Size(730, 52);
     this.groupControl3.TabIndex = 0;
     this.groupControl3.Text = "Inquiry";
     //
     // luedtCommissionServiceBranch
     //
     this.luedtCommissionServiceBranch.Location = new System.Drawing.Point(258, 24);
     this.luedtCommissionServiceBranch.Name = "luedtCommissionServiceBranch";
     this.luedtCommissionServiceBranch.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.luedtCommissionServiceBranch.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
     this.luedtCommissionServiceBranch.Size = new System.Drawing.Size(150, 20);
     this.luedtCommissionServiceBranch.TabIndex = 1;
     //
     // label30
     //
     this.label30.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label30.Location = new System.Drawing.Point(206, 24);
     this.label30.Name = "label30";
     this.label30.Size = new System.Drawing.Size(50, 20);
     this.label30.TabIndex = 18;
     this.label30.Text = "Branch:";
     //
     // cbServiceYear
     //
     this.cbServiceYear.EditValue = "";
     this.cbServiceYear.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbServiceYear.Location = new System.Drawing.Point(580, 24);
     this.cbServiceYear.Name = "cbServiceYear";
     this.cbServiceYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbServiceYear.Properties.PopupSizeable = true;
     this.cbServiceYear.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbServiceYear.Size = new System.Drawing.Size(64, 20);
     this.cbServiceYear.TabIndex = 3;
     //
     // label5
     //
     this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(542, 24);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(34, 20);
     this.label5.TabIndex = 15;
     this.label5.Text = "Year:";
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(414, 24);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(42, 20);
     this.label3.TabIndex = 14;
     this.label3.Text = "Month:";
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(8, 24);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(78, 20);
     this.label2.TabIndex = 13;
     this.label2.Text = "Service Type:";
     //
     // cbServiceMonth
     //
     this.cbServiceMonth.EditValue = "January";
     this.cbServiceMonth.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbServiceMonth.Location = new System.Drawing.Point(458, 24);
     this.cbServiceMonth.Name = "cbServiceMonth";
     this.cbServiceMonth.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbServiceMonth.Properties.Items.AddRange(new object[] {
     "January",
     "February",
     "March",
     "April",
     "May",
     "June",
     "July",
     "August",
     "September",
     "October",
     "November",
     "December"});
     this.cbServiceMonth.Properties.PopupSizeable = true;
     this.cbServiceMonth.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbServiceMonth.Size = new System.Drawing.Size(80, 20);
     this.cbServiceMonth.TabIndex = 2;
     //
     // cbServiceServiceType
     //
     this.cbServiceServiceType.EditValue = "PT Service";
     this.cbServiceServiceType.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbServiceServiceType.Location = new System.Drawing.Point(88, 24);
     this.cbServiceServiceType.Name = "cbServiceServiceType";
     this.cbServiceServiceType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbServiceServiceType.Properties.Items.AddRange(new object[] {
     "PT Service",
     "Spa Service"});
     this.cbServiceServiceType.Properties.PopupSizeable = true;
     this.cbServiceServiceType.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbServiceServiceType.Size = new System.Drawing.Size(112, 20);
     this.cbServiceServiceType.TabIndex = 0;
     //
     // sbtnServiceInquiry
     //
     this.sbtnServiceInquiry.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnServiceInquiry.Appearance.Options.UseFont = true;
     this.sbtnServiceInquiry.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnServiceInquiry.Location = new System.Drawing.Point(648, 24);
     this.sbtnServiceInquiry.Name = "sbtnServiceInquiry";
     this.sbtnServiceInquiry.Size = new System.Drawing.Size(72, 20);
     this.sbtnServiceInquiry.TabIndex = 4;
     this.sbtnServiceInquiry.Text = "Inquiry";
     this.sbtnServiceInquiry.Click += new System.EventHandler(this.sbtnServiceInquiry_Click);
     //
     // gctrService
     //
     this.gctrService.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gctrService.EmbeddedNavigator.Name = "";
     this.gctrService.Location = new System.Drawing.Point(2, 80);
     this.gctrService.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gctrService.MainView = this.gvService;
     this.gctrService.Name = "gctrService";
     this.gctrService.Size = new System.Drawing.Size(988, 494);
     this.gctrService.TabIndex = 5;
     this.gctrService.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvService});
     //
     // gvService
     //
     this.gvService.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colServicedtDate,
     this.colServicestrBranchCode,
     this.colServicestrMembershipID,
     this.colServicestrServiceCode,
     this.colServicestrCommission});
     this.gvService.GridControl = this.gctrService;
     this.gvService.Name = "gvService";
     this.gvService.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvService.OptionsBehavior.Editable = false;
     this.gvService.OptionsCustomization.AllowFilter = false;
     this.gvService.OptionsView.ShowFooter = true;
     this.gvService.OptionsView.ShowGroupPanel = false;
     this.gvService.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colServicedtDate, DevExpress.Data.ColumnSortOrder.Ascending)});
     //
     // colServicedtDate
     //
     this.colServicedtDate.Caption = "Date";
     this.colServicedtDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colServicedtDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colServicedtDate.FieldName = "dtDate";
     this.colServicedtDate.Name = "colServicedtDate";
     this.colServicedtDate.Visible = true;
     this.colServicedtDate.VisibleIndex = 0;
     //
     // colServicestrBranchCode
     //
     this.colServicestrBranchCode.Caption = "Branch";
     this.colServicestrBranchCode.FieldName = "strBranchCode";
     this.colServicestrBranchCode.Name = "colServicestrBranchCode";
     this.colServicestrBranchCode.Visible = true;
     this.colServicestrBranchCode.VisibleIndex = 1;
     //
     // colServicestrMembershipID
     //
     this.colServicestrMembershipID.Caption = "Membership ID";
     this.colServicestrMembershipID.FieldName = "strMembershipID";
     this.colServicestrMembershipID.Name = "colServicestrMembershipID";
     this.colServicestrMembershipID.Visible = true;
     this.colServicestrMembershipID.VisibleIndex = 2;
     //
     // colServicestrServiceCode
     //
     this.colServicestrServiceCode.Caption = "Transaction Code";
     this.colServicestrServiceCode.FieldName = "strServiceCode";
     this.colServicestrServiceCode.Name = "colServicestrServiceCode";
     this.colServicestrServiceCode.Visible = true;
     this.colServicestrServiceCode.VisibleIndex = 3;
     //
     // colServicestrCommission
     //
     this.colServicestrCommission.Caption = "Commission";
     this.colServicestrCommission.FieldName = "mCommission";
     this.colServicestrCommission.Name = "colServicestrCommission";
     this.colServicestrCommission.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.colServicestrCommission.Visible = true;
     this.colServicestrCommission.VisibleIndex = 4;
     //
     // lblTwo_1
     //
     this.lblTwo_1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblTwo_1.Appearance.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblTwo_1.Appearance.Options.UseFont = true;
     this.lblTwo_1.Appearance.Options.UseForeColor = true;
     this.lblTwo_1.Location = new System.Drawing.Point(8, 8);
     this.lblTwo_1.Name = "lblTwo_1";
     this.lblTwo_1.Size = new System.Drawing.Size(138, 23);
     this.lblTwo_1.TabIndex = 142;
     this.lblTwo_1.Text = "Sales";
     this.lblTwo_1.Click += new System.EventHandler(this.lblTwo_1_Click);
     //
     // lblTwo_2
     //
     this.lblTwo_2.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblTwo_2.Appearance.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblTwo_2.Appearance.Options.UseFont = true;
     this.lblTwo_2.Appearance.Options.UseForeColor = true;
     this.lblTwo_2.Location = new System.Drawing.Point(160, 8);
     this.lblTwo_2.Name = "lblTwo_2";
     this.lblTwo_2.Size = new System.Drawing.Size(138, 23);
     this.lblTwo_2.TabIndex = 143;
     this.lblTwo_2.Text = "Service";
     this.lblTwo_2.Click += new System.EventHandler(this.lblTwo_2_Click);
     //
     // groupSales
     //
     this.groupSales.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupSales.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupSales.Controls.Add(this.groupSalesEntry);
     this.groupSales.Location = new System.Drawing.Point(0, 34);
     this.groupSales.Name = "groupSales";
     this.groupSales.ShowCaption = false;
     this.groupSales.Size = new System.Drawing.Size(1007, 584);
     this.groupSales.TabIndex = 14;
     this.groupSales.Text = "GroupControl3";
     //
     // groupSalesEntry
     //
     this.groupSalesEntry.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupSalesEntry.Appearance.Options.UseBackColor = true;
     this.groupSalesEntry.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupSalesEntry.Controls.Add(this.groupControl7);
     this.groupSalesEntry.Controls.Add(this.gctrSales);
     this.groupSalesEntry.Location = new System.Drawing.Point(8, 0);
     this.groupSalesEntry.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupSalesEntry.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupSalesEntry.Name = "groupSalesEntry";
     this.groupSalesEntry.Size = new System.Drawing.Size(992, 576);
     this.groupSalesEntry.TabIndex = 1;
     this.groupSalesEntry.Text = "SALES";
     //
     // groupControl7
     //
     this.groupControl7.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl7.Controls.Add(this.luedtSalesBranchCode);
     this.groupControl7.Controls.Add(this.label16);
     this.groupControl7.Controls.Add(this.cbSalesYear);
     this.groupControl7.Controls.Add(this.label6);
     this.groupControl7.Controls.Add(this.label7);
     this.groupControl7.Controls.Add(this.label8);
     this.groupControl7.Controls.Add(this.cbSalesMonth);
     this.groupControl7.Controls.Add(this.sbtnSalesInquiry);
     this.groupControl7.Controls.Add(this.cbSalesType);
     this.groupControl7.Location = new System.Drawing.Point(6, 24);
     this.groupControl7.Name = "groupControl7";
     this.groupControl7.Size = new System.Drawing.Size(772, 52);
     this.groupControl7.TabIndex = 0;
     this.groupControl7.Text = "Inquiry";
     //
     // luedtSalesBranchCode
     //
     this.luedtSalesBranchCode.Location = new System.Drawing.Point(304, 24);
     this.luedtSalesBranchCode.Name = "luedtSalesBranchCode";
     this.luedtSalesBranchCode.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.luedtSalesBranchCode.Size = new System.Drawing.Size(150, 20);
     this.luedtSalesBranchCode.TabIndex = 1;
     //
     // label16
     //
     this.label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label16.Location = new System.Drawing.Point(252, 24);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(50, 20);
     this.label16.TabIndex = 16;
     this.label16.Text = "Branch:";
     //
     // cbSalesYear
     //
     this.cbSalesYear.EditValue = "";
     this.cbSalesYear.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbSalesYear.Location = new System.Drawing.Point(624, 24);
     this.cbSalesYear.Name = "cbSalesYear";
     this.cbSalesYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbSalesYear.Properties.PopupSizeable = true;
     this.cbSalesYear.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbSalesYear.Size = new System.Drawing.Size(64, 20);
     this.cbSalesYear.TabIndex = 3;
     //
     // label6
     //
     this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location = new System.Drawing.Point(586, 24);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(34, 20);
     this.label6.TabIndex = 15;
     this.label6.Text = "Year:";
     //
     // label7
     //
     this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.Location = new System.Drawing.Point(458, 24);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(42, 20);
     this.label7.TabIndex = 14;
     this.label7.Text = "Month:";
     //
     // label8
     //
     this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location = new System.Drawing.Point(8, 24);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(70, 20);
     this.label8.TabIndex = 13;
     this.label8.Text = "Sales Type:";
     //
     // cbSalesMonth
     //
     this.cbSalesMonth.EditValue = "January";
     this.cbSalesMonth.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbSalesMonth.Location = new System.Drawing.Point(502, 24);
     this.cbSalesMonth.Name = "cbSalesMonth";
     this.cbSalesMonth.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbSalesMonth.Properties.Items.AddRange(new object[] {
     "January",
     "February",
     "March",
     "April",
     "May",
     "June",
     "July",
     "August",
     "September",
     "October",
     "November",
     "December"});
     this.cbSalesMonth.Properties.PopupSizeable = true;
     this.cbSalesMonth.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbSalesMonth.Size = new System.Drawing.Size(80, 20);
     this.cbSalesMonth.TabIndex = 2;
     //
     // sbtnSalesInquiry
     //
     this.sbtnSalesInquiry.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnSalesInquiry.Appearance.Options.UseFont = true;
     this.sbtnSalesInquiry.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnSalesInquiry.Location = new System.Drawing.Point(692, 24);
     this.sbtnSalesInquiry.Name = "sbtnSalesInquiry";
     this.sbtnSalesInquiry.Size = new System.Drawing.Size(72, 20);
     this.sbtnSalesInquiry.TabIndex = 4;
     this.sbtnSalesInquiry.Text = "Inquiry";
     this.sbtnSalesInquiry.Click += new System.EventHandler(this.sbtnSalesInquiry_Click);
     //
     // cbSalesType
     //
     this.cbSalesType.EditValue = "Fitness Package Sales";
     this.cbSalesType.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbSalesType.Location = new System.Drawing.Point(80, 24);
     this.cbSalesType.Name = "cbSalesType";
     this.cbSalesType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbSalesType.Properties.Items.AddRange(new object[] {
     "Fitness Product Sales",
     "Fitness Package Sales",
     "Spa Product Sales",
     "Spa Package Sales",
     "Personal Trainer Package Sales",
     "IPL Package Sales"});
     this.cbSalesType.Properties.PopupSizeable = true;
     this.cbSalesType.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbSalesType.Size = new System.Drawing.Size(168, 20);
     this.cbSalesType.TabIndex = 0;
     //
     // gctrSales
     //
     this.gctrSales.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gctrSales.EmbeddedNavigator.Name = "";
     this.gctrSales.Location = new System.Drawing.Point(2, 80);
     this.gctrSales.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gctrSales.MainView = this.gvSales;
     this.gctrSales.Name = "gctrSales";
     this.gctrSales.Size = new System.Drawing.Size(988, 494);
     this.gctrSales.TabIndex = 5;
     this.gctrSales.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvSales});
     //
     // gvSales
     //
     this.gvSales.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colSalesDate,
     this.colSalesReceipt,
     this.colSalesMembershipID,
     this.colSalesNettAmount});
     this.gvSales.GridControl = this.gctrSales;
     this.gvSales.Name = "gvSales";
     this.gvSales.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvSales.OptionsBehavior.Editable = false;
     this.gvSales.OptionsCustomization.AllowFilter = false;
     this.gvSales.OptionsView.ShowFooter = true;
     this.gvSales.OptionsView.ShowGroupPanel = false;
     this.gvSales.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colSalesDate, DevExpress.Data.ColumnSortOrder.Ascending)});
     //
     // colSalesDate
     //
     this.colSalesDate.Caption = "Date";
     this.colSalesDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colSalesDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colSalesDate.FieldName = "dtDate";
     this.colSalesDate.Name = "colSalesDate";
     this.colSalesDate.Visible = true;
     this.colSalesDate.VisibleIndex = 0;
     this.colSalesDate.Width = 99;
     //
     // colSalesReceipt
     //
     this.colSalesReceipt.Caption = "Receipt No";
     this.colSalesReceipt.FieldName = "strReceiptNo";
     this.colSalesReceipt.Name = "colSalesReceipt";
     this.colSalesReceipt.Visible = true;
     this.colSalesReceipt.VisibleIndex = 1;
     this.colSalesReceipt.Width = 166;
     //
     // colSalesMembershipID
     //
     this.colSalesMembershipID.Caption = "Membership ID";
     this.colSalesMembershipID.FieldName = "strMembershipID";
     this.colSalesMembershipID.Name = "colSalesMembershipID";
     this.colSalesMembershipID.Visible = true;
     this.colSalesMembershipID.VisibleIndex = 2;
     this.colSalesMembershipID.Width = 294;
     //
     // colSalesNettAmount
     //
     this.colSalesNettAmount.Caption = "Nett Amount";
     this.colSalesNettAmount.FieldName = "mNettAmount";
     this.colSalesNettAmount.Name = "colSalesNettAmount";
     this.colSalesNettAmount.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.colSalesNettAmount.Visible = true;
     this.colSalesNettAmount.VisibleIndex = 3;
     this.colSalesNettAmount.Width = 107;
     //
     // tabStaffThree
     //
     this.tabStaffThree.Appearance.Header.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabStaffThree.Appearance.Header.Options.UseFont = true;
     this.tabStaffThree.Controls.Add(this.lblThree_3);
     this.tabStaffThree.Controls.Add(this.lblThree_1);
     this.tabStaffThree.Controls.Add(this.lblThree_2);
     this.tabStaffThree.Controls.Add(this.groupTimesheet);
     this.tabStaffThree.Controls.Add(this.groupOvertime);
     this.tabStaffThree.Controls.Add(this.groupLateness);
     this.tabStaffThree.Name = "tabStaffThree";
     this.tabStaffThree.PageVisible = false;
     this.tabStaffThree.Size = new System.Drawing.Size(1007, 612);
     this.tabStaffThree.Text = "Timesheet";
     this.tabStaffThree.VisibleChanged += new System.EventHandler(this.tabStaffTimesheet_VisibleChanged);
     //
     // lblThree_3
     //
     this.lblThree_3.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblThree_3.Appearance.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblThree_3.Appearance.Options.UseFont = true;
     this.lblThree_3.Appearance.Options.UseForeColor = true;
     this.lblThree_3.Location = new System.Drawing.Point(296, 8);
     this.lblThree_3.Name = "lblThree_3";
     this.lblThree_3.Size = new System.Drawing.Size(138, 23);
     this.lblThree_3.TabIndex = 146;
     this.lblThree_3.Text = "Lateness";
     this.lblThree_3.Click += new System.EventHandler(this.lblThree_3_Click);
     //
     // lblThree_1
     //
     this.lblThree_1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblThree_1.Appearance.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblThree_1.Appearance.Options.UseFont = true;
     this.lblThree_1.Appearance.Options.UseForeColor = true;
     this.lblThree_1.Location = new System.Drawing.Point(8, 8);
     this.lblThree_1.Name = "lblThree_1";
     this.lblThree_1.Size = new System.Drawing.Size(138, 23);
     this.lblThree_1.TabIndex = 144;
     this.lblThree_1.Text = "Timesheet";
     this.lblThree_1.Click += new System.EventHandler(this.lblThree_1_Click);
     //
     // lblThree_2
     //
     this.lblThree_2.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblThree_2.Appearance.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblThree_2.Appearance.Options.UseFont = true;
     this.lblThree_2.Appearance.Options.UseForeColor = true;
     this.lblThree_2.Location = new System.Drawing.Point(152, 8);
     this.lblThree_2.Name = "lblThree_2";
     this.lblThree_2.Size = new System.Drawing.Size(138, 23);
     this.lblThree_2.TabIndex = 145;
     this.lblThree_2.Text = "Overtime";
     this.lblThree_2.Click += new System.EventHandler(this.lblThree_2_Click);
     //
     // groupTimesheet
     //
     this.groupTimesheet.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupTimesheet.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupTimesheet.Controls.Add(this.groupTimesheetEntry);
     this.groupTimesheet.Location = new System.Drawing.Point(0, 32);
     this.groupTimesheet.Name = "groupTimesheet";
     this.groupTimesheet.ShowCaption = false;
     this.groupTimesheet.Size = new System.Drawing.Size(1007, 576);
     this.groupTimesheet.TabIndex = 10;
     this.groupTimesheet.Text = "GroupControl1";
     //
     // groupTimesheetEntry
     //
     this.groupTimesheetEntry.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupTimesheetEntry.Appearance.Options.UseBackColor = true;
     this.groupTimesheetEntry.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupTimesheetEntry.Controls.Add(this.groupControl9);
     this.groupTimesheetEntry.Controls.Add(this.gridctrTimesheet);
     this.groupTimesheetEntry.Location = new System.Drawing.Point(8, 0);
     this.groupTimesheetEntry.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupTimesheetEntry.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupTimesheetEntry.Name = "groupTimesheetEntry";
     this.groupTimesheetEntry.Size = new System.Drawing.Size(992, 568);
     this.groupTimesheetEntry.TabIndex = 1;
     this.groupTimesheetEntry.Text = "TIMESHEET";
     //
     // groupControl9
     //
     this.groupControl9.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl9.Controls.Add(this.cbTimesheetYear);
     this.groupControl9.Controls.Add(this.label1);
     this.groupControl9.Controls.Add(this.label11);
     this.groupControl9.Controls.Add(this.cbTimesheetMonth);
     this.groupControl9.Controls.Add(this.sbtnTimesheetInquiry);
     this.groupControl9.Location = new System.Drawing.Point(6, 22);
     this.groupControl9.Name = "groupControl9";
     this.groupControl9.Size = new System.Drawing.Size(328, 52);
     this.groupControl9.TabIndex = 0;
     this.groupControl9.Text = "Inquiry";
     //
     // cbTimesheetYear
     //
     this.cbTimesheetYear.EditValue = "";
     this.cbTimesheetYear.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbTimesheetYear.Location = new System.Drawing.Point(178, 24);
     this.cbTimesheetYear.Name = "cbTimesheetYear";
     this.cbTimesheetYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbTimesheetYear.Properties.PopupSizeable = true;
     this.cbTimesheetYear.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbTimesheetYear.Size = new System.Drawing.Size(64, 20);
     this.cbTimesheetYear.TabIndex = 2;
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(140, 24);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(34, 20);
     this.label1.TabIndex = 15;
     this.label1.Text = "Year:";
     //
     // label11
     //
     this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.Location = new System.Drawing.Point(12, 24);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(42, 20);
     this.label11.TabIndex = 0;
     this.label11.Text = "Month:";
     //
     // cbTimesheetMonth
     //
     this.cbTimesheetMonth.EditValue = "January";
     this.cbTimesheetMonth.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbTimesheetMonth.Location = new System.Drawing.Point(56, 24);
     this.cbTimesheetMonth.Name = "cbTimesheetMonth";
     this.cbTimesheetMonth.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbTimesheetMonth.Properties.Items.AddRange(new object[] {
     "January",
     "February",
     "March",
     "April",
     "May",
     "June",
     "July",
     "August",
     "September",
     "October",
     "November",
     "December"});
     this.cbTimesheetMonth.Properties.PopupSizeable = true;
     this.cbTimesheetMonth.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbTimesheetMonth.Size = new System.Drawing.Size(80, 20);
     this.cbTimesheetMonth.TabIndex = 1;
     //
     // sbtnTimesheetInquiry
     //
     this.sbtnTimesheetInquiry.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnTimesheetInquiry.Appearance.Options.UseFont = true;
     this.sbtnTimesheetInquiry.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnTimesheetInquiry.Location = new System.Drawing.Point(246, 24);
     this.sbtnTimesheetInquiry.Name = "sbtnTimesheetInquiry";
     this.sbtnTimesheetInquiry.Size = new System.Drawing.Size(72, 20);
     this.sbtnTimesheetInquiry.TabIndex = 3;
     this.sbtnTimesheetInquiry.Text = "Inquiry";
     this.sbtnTimesheetInquiry.Click += new System.EventHandler(this.sbtnTimesheetInquiry_Click);
     //
     // gridctrTimesheet
     //
     this.gridctrTimesheet.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gridctrTimesheet.EmbeddedNavigator.Name = "";
     this.gridctrTimesheet.Location = new System.Drawing.Point(2, 76);
     this.gridctrTimesheet.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridctrTimesheet.MainView = this.gvTimesheet;
     this.gridctrTimesheet.Name = "gridctrTimesheet";
     this.gridctrTimesheet.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemCheckEdit2});
     this.gridctrTimesheet.Size = new System.Drawing.Size(988, 490);
     this.gridctrTimesheet.TabIndex = 1;
     this.gridctrTimesheet.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvTimesheet});
     //
     // gvTimesheet
     //
     this.gvTimesheet.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colTimesheetDate,
     this.colTimesheetRosterIn,
     this.colTimesheetRosterOut,
     this.colTimesheetBranchFirstTimeIn,
     this.colTimesheetBranchLastTimeOut,
     this.colTimesheetFirstTimeIn,
     this.colTimesheetLastTimeOut,
     this.colTimesheetManagerNameIn,
     this.colTimesheetManagerNameOut,
     this.colTimesheetLateness,
     this.colTimesheetTotalLateness});
     this.gvTimesheet.GridControl = this.gridctrTimesheet;
     this.gvTimesheet.Name = "gvTimesheet";
     this.gvTimesheet.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvTimesheet.OptionsBehavior.Editable = false;
     this.gvTimesheet.OptionsCustomization.AllowFilter = false;
     this.gvTimesheet.OptionsView.ShowGroupPanel = false;
     this.gvTimesheet.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colTimesheetDate, DevExpress.Data.ColumnSortOrder.Descending)});
     this.gvTimesheet.DoubleClick += new System.EventHandler(this.gvTimesheet_DoubleClick);
     this.gvTimesheet.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gvTimesheet_RowStyle);
     //
     // colTimesheetDate
     //
     this.colTimesheetDate.Caption = "Date";
     this.colTimesheetDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colTimesheetDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colTimesheetDate.FieldName = "dtDate";
     this.colTimesheetDate.Name = "colTimesheetDate";
     this.colTimesheetDate.Visible = true;
     this.colTimesheetDate.VisibleIndex = 0;
     this.colTimesheetDate.Width = 119;
     //
     // colTimesheetRosterIn
     //
     this.colTimesheetRosterIn.Caption = "Roster In";
     this.colTimesheetRosterIn.DisplayFormat.FormatString = "hh:mm tt";
     this.colTimesheetRosterIn.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colTimesheetRosterIn.FieldName = "Expected Start Time";
     this.colTimesheetRosterIn.Name = "colTimesheetRosterIn";
     this.colTimesheetRosterIn.Visible = true;
     this.colTimesheetRosterIn.VisibleIndex = 1;
     this.colTimesheetRosterIn.Width = 89;
     //
     // colTimesheetRosterOut
     //
     this.colTimesheetRosterOut.Caption = "Roster Out";
     this.colTimesheetRosterOut.DisplayFormat.FormatString = "hh:mm tt";
     this.colTimesheetRosterOut.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colTimesheetRosterOut.FieldName = "Expected End Time";
     this.colTimesheetRosterOut.Name = "colTimesheetRosterOut";
     this.colTimesheetRosterOut.Visible = true;
     this.colTimesheetRosterOut.VisibleIndex = 2;
     this.colTimesheetRosterOut.Width = 79;
     //
     // colTimesheetBranchFirstTimeIn
     //
     this.colTimesheetBranchFirstTimeIn.Caption = "Branch In";
     this.colTimesheetBranchFirstTimeIn.FieldName = "strBranchCodeIn";
     this.colTimesheetBranchFirstTimeIn.Name = "colTimesheetBranchFirstTimeIn";
     this.colTimesheetBranchFirstTimeIn.Visible = true;
     this.colTimesheetBranchFirstTimeIn.VisibleIndex = 3;
     this.colTimesheetBranchFirstTimeIn.Width = 71;
     //
     // colTimesheetBranchLastTimeOut
     //
     this.colTimesheetBranchLastTimeOut.Caption = "Branch Out";
     this.colTimesheetBranchLastTimeOut.FieldName = "strBranchCodeOut";
     this.colTimesheetBranchLastTimeOut.Name = "colTimesheetBranchLastTimeOut";
     this.colTimesheetBranchLastTimeOut.Visible = true;
     this.colTimesheetBranchLastTimeOut.VisibleIndex = 5;
     this.colTimesheetBranchLastTimeOut.Width = 66;
     //
     // colTimesheetFirstTimeIn
     //
     this.colTimesheetFirstTimeIn.Caption = "Time (In)";
     this.colTimesheetFirstTimeIn.DisplayFormat.FormatString = "hh:mm tt";
     this.colTimesheetFirstTimeIn.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colTimesheetFirstTimeIn.FieldName = "First Time In";
     this.colTimesheetFirstTimeIn.Name = "colTimesheetFirstTimeIn";
     this.colTimesheetFirstTimeIn.Visible = true;
     this.colTimesheetFirstTimeIn.VisibleIndex = 4;
     this.colTimesheetFirstTimeIn.Width = 83;
     //
     // colTimesheetLastTimeOut
     //
     this.colTimesheetLastTimeOut.Caption = "Time (Out)";
     this.colTimesheetLastTimeOut.DisplayFormat.FormatString = "hh:mm tt";
     this.colTimesheetLastTimeOut.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colTimesheetLastTimeOut.FieldName = "Last Time Out";
     this.colTimesheetLastTimeOut.Name = "colTimesheetLastTimeOut";
     this.colTimesheetLastTimeOut.Visible = true;
     this.colTimesheetLastTimeOut.VisibleIndex = 6;
     this.colTimesheetLastTimeOut.Width = 84;
     //
     // colTimesheetManagerNameIn
     //
     this.colTimesheetManagerNameIn.Caption = "Edit (In)";
     this.colTimesheetManagerNameIn.FieldName = "strManagerNameIn";
     this.colTimesheetManagerNameIn.Name = "colTimesheetManagerNameIn";
     this.colTimesheetManagerNameIn.Visible = true;
     this.colTimesheetManagerNameIn.VisibleIndex = 7;
     this.colTimesheetManagerNameIn.Width = 120;
     //
     // colTimesheetManagerNameOut
     //
     this.colTimesheetManagerNameOut.Caption = "Edit (Out)";
     this.colTimesheetManagerNameOut.FieldName = "strManagerNameOut";
     this.colTimesheetManagerNameOut.Name = "colTimesheetManagerNameOut";
     this.colTimesheetManagerNameOut.Visible = true;
     this.colTimesheetManagerNameOut.VisibleIndex = 8;
     this.colTimesheetManagerNameOut.Width = 122;
     //
     // colTimesheetLateness
     //
     this.colTimesheetLateness.Caption = "Lateness";
     this.colTimesheetLateness.ColumnEdit = this.repositoryItemCheckEdit2;
     this.colTimesheetLateness.FieldName = "fLateness";
     this.colTimesheetLateness.Name = "colTimesheetLateness";
     this.colTimesheetLateness.Visible = true;
     this.colTimesheetLateness.VisibleIndex = 9;
     this.colTimesheetLateness.Width = 54;
     //
     // repositoryItemCheckEdit2
     //
     this.repositoryItemCheckEdit2.AutoHeight = false;
     this.repositoryItemCheckEdit2.Name = "repositoryItemCheckEdit2";
     this.repositoryItemCheckEdit2.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
     //
     // colTimesheetTotalLateness
     //
     this.colTimesheetTotalLateness.Caption = "Total Lateness";
     this.colTimesheetTotalLateness.DisplayFormat.FormatString = "HH:mm";
     this.colTimesheetTotalLateness.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colTimesheetTotalLateness.FieldName = "dtLateness";
     this.colTimesheetTotalLateness.Name = "colTimesheetTotalLateness";
     this.colTimesheetTotalLateness.Visible = true;
     this.colTimesheetTotalLateness.VisibleIndex = 10;
     this.colTimesheetTotalLateness.Width = 80;
     //
     // groupOvertime
     //
     this.groupOvertime.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupOvertime.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupOvertime.Controls.Add(this.groupControl15);
     this.groupOvertime.Location = new System.Drawing.Point(0, 32);
     this.groupOvertime.Name = "groupOvertime";
     this.groupOvertime.ShowCaption = false;
     this.groupOvertime.Size = new System.Drawing.Size(1007, 576);
     this.groupOvertime.TabIndex = 15;
     this.groupOvertime.Text = "GroupControl1";
     this.groupOvertime.Visible = false;
     //
     // groupControl15
     //
     this.groupControl15.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupControl15.Appearance.Options.UseBackColor = true;
     this.groupControl15.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl15.Controls.Add(this.sbtnOvertimeDelete);
     this.groupControl15.Controls.Add(this.groupControl16);
     this.groupControl15.Controls.Add(this.sbtnApplyOvertime);
     this.groupControl15.Controls.Add(this.gridctrOvertime);
     this.groupControl15.Location = new System.Drawing.Point(8, 0);
     this.groupControl15.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupControl15.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupControl15.Name = "groupControl15";
     this.groupControl15.Size = new System.Drawing.Size(992, 574);
     this.groupControl15.TabIndex = 1;
     this.groupControl15.Text = "OVERTIME";
     //
     // sbtnOvertimeDelete
     //
     this.sbtnOvertimeDelete.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnOvertimeDelete.Appearance.Options.UseFont = true;
     this.sbtnOvertimeDelete.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnOvertimeDelete.Location = new System.Drawing.Point(452, 48);
     this.sbtnOvertimeDelete.Name = "sbtnOvertimeDelete";
     this.sbtnOvertimeDelete.Size = new System.Drawing.Size(104, 20);
     this.sbtnOvertimeDelete.TabIndex = 2;
     this.sbtnOvertimeDelete.Text = "Cancel Overtime";
     this.sbtnOvertimeDelete.Click += new System.EventHandler(this.sbtnOvertimeDelete_Click);
     //
     // groupControl16
     //
     this.groupControl16.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl16.Controls.Add(this.cbOvertimeYear);
     this.groupControl16.Controls.Add(this.label14);
     this.groupControl16.Controls.Add(this.label15);
     this.groupControl16.Controls.Add(this.cbOvertimeMonth);
     this.groupControl16.Controls.Add(this.sbtnOvertimeInquiry);
     this.groupControl16.Location = new System.Drawing.Point(6, 24);
     this.groupControl16.Name = "groupControl16";
     this.groupControl16.Size = new System.Drawing.Size(328, 52);
     this.groupControl16.TabIndex = 0;
     this.groupControl16.Text = "Inquiry";
     //
     // cbOvertimeYear
     //
     this.cbOvertimeYear.EditValue = "";
     this.cbOvertimeYear.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbOvertimeYear.Location = new System.Drawing.Point(178, 24);
     this.cbOvertimeYear.Name = "cbOvertimeYear";
     this.cbOvertimeYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbOvertimeYear.Properties.PopupSizeable = true;
     this.cbOvertimeYear.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbOvertimeYear.Size = new System.Drawing.Size(64, 20);
     this.cbOvertimeYear.TabIndex = 1;
     //
     // label14
     //
     this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label14.Location = new System.Drawing.Point(140, 24);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(34, 20);
     this.label14.TabIndex = 15;
     this.label14.Text = "Year:";
     //
     // label15
     //
     this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label15.Location = new System.Drawing.Point(12, 24);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(42, 20);
     this.label15.TabIndex = 14;
     this.label15.Text = "Month:";
     //
     // cbOvertimeMonth
     //
     this.cbOvertimeMonth.EditValue = "January";
     this.cbOvertimeMonth.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbOvertimeMonth.Location = new System.Drawing.Point(56, 24);
     this.cbOvertimeMonth.Name = "cbOvertimeMonth";
     this.cbOvertimeMonth.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbOvertimeMonth.Properties.Items.AddRange(new object[] {
     "January",
     "February",
     "March",
     "April",
     "May",
     "June",
     "July",
     "August",
     "September",
     "October",
     "November",
     "December"});
     this.cbOvertimeMonth.Properties.PopupSizeable = true;
     this.cbOvertimeMonth.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbOvertimeMonth.Size = new System.Drawing.Size(80, 20);
     this.cbOvertimeMonth.TabIndex = 0;
     //
     // sbtnOvertimeInquiry
     //
     this.sbtnOvertimeInquiry.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnOvertimeInquiry.Appearance.Options.UseFont = true;
     this.sbtnOvertimeInquiry.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnOvertimeInquiry.Location = new System.Drawing.Point(246, 24);
     this.sbtnOvertimeInquiry.Name = "sbtnOvertimeInquiry";
     this.sbtnOvertimeInquiry.Size = new System.Drawing.Size(72, 20);
     this.sbtnOvertimeInquiry.TabIndex = 2;
     this.sbtnOvertimeInquiry.Text = "Inquiry";
     this.sbtnOvertimeInquiry.Click += new System.EventHandler(this.sbtnOvertimeInquiry_Click);
     //
     // sbtnApplyOvertime
     //
     this.sbtnApplyOvertime.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnApplyOvertime.Appearance.Options.UseFont = true;
     this.sbtnApplyOvertime.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnApplyOvertime.Location = new System.Drawing.Point(340, 48);
     this.sbtnApplyOvertime.Name = "sbtnApplyOvertime";
     this.sbtnApplyOvertime.Size = new System.Drawing.Size(104, 20);
     this.sbtnApplyOvertime.TabIndex = 1;
     this.sbtnApplyOvertime.Text = "Apply Overtime";
     this.sbtnApplyOvertime.Click += new System.EventHandler(this.sbtnApplyOvertime_Click);
     //
     // gridctrOvertime
     //
     this.gridctrOvertime.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gridctrOvertime.EmbeddedNavigator.Name = "";
     this.gridctrOvertime.Location = new System.Drawing.Point(2, 80);
     this.gridctrOvertime.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridctrOvertime.MainView = this.gvOvertime;
     this.gridctrOvertime.Name = "gridctrOvertime";
     this.gridctrOvertime.Size = new System.Drawing.Size(988, 492);
     this.gridctrOvertime.TabIndex = 3;
     this.gridctrOvertime.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvOvertime});
     //
     // gvOvertime
     //
     this.gvOvertime.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colOvertimeDate,
     this.colOvertimeHours,
     this.colOvertimeReason,
     this.colOvertimeCharging,
     this.colOvertimeManager,
     this.colOvertimeApprovingManagerID,
     this.colOvertimeStatus});
     this.gvOvertime.GridControl = this.gridctrOvertime;
     this.gvOvertime.Name = "gvOvertime";
     this.gvOvertime.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvOvertime.OptionsBehavior.Editable = false;
     this.gvOvertime.OptionsCustomization.AllowFilter = false;
     this.gvOvertime.OptionsView.ShowGroupPanel = false;
     this.gvOvertime.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colOvertimeDate, DevExpress.Data.ColumnSortOrder.Descending)});
     //
     // colOvertimeDate
     //
     this.colOvertimeDate.Caption = "Date";
     this.colOvertimeDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colOvertimeDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colOvertimeDate.FieldName = "dtDate";
     this.colOvertimeDate.Name = "colOvertimeDate";
     this.colOvertimeDate.Visible = true;
     this.colOvertimeDate.VisibleIndex = 0;
     this.colOvertimeDate.Width = 115;
     //
     // colOvertimeHours
     //
     this.colOvertimeHours.Caption = "Hours";
     this.colOvertimeHours.FieldName = "nHours";
     this.colOvertimeHours.Name = "colOvertimeHours";
     this.colOvertimeHours.Visible = true;
     this.colOvertimeHours.VisibleIndex = 1;
     this.colOvertimeHours.Width = 96;
     //
     // colOvertimeReason
     //
     this.colOvertimeReason.Caption = "Reason";
     this.colOvertimeReason.FieldName = "strReason";
     this.colOvertimeReason.Name = "colOvertimeReason";
     this.colOvertimeReason.Visible = true;
     this.colOvertimeReason.VisibleIndex = 2;
     this.colOvertimeReason.Width = 320;
     //
     // colOvertimeCharging
     //
     this.colOvertimeCharging.Caption = "Charging";
     this.colOvertimeCharging.FieldName = "Charging";
     this.colOvertimeCharging.Name = "colOvertimeCharging";
     this.colOvertimeCharging.Visible = true;
     this.colOvertimeCharging.VisibleIndex = 3;
     this.colOvertimeCharging.Width = 84;
     //
     // colOvertimeManager
     //
     this.colOvertimeManager.Caption = "Approving Manager";
     this.colOvertimeManager.FieldName = "strEmployeeName";
     this.colOvertimeManager.Name = "colOvertimeManager";
     this.colOvertimeManager.Visible = true;
     this.colOvertimeManager.VisibleIndex = 4;
     this.colOvertimeManager.Width = 194;
     //
     // colOvertimeApprovingManagerID
     //
     this.colOvertimeApprovingManagerID.Caption = "Approving Manager ID";
     this.colOvertimeApprovingManagerID.FieldName = "nApprovingManagerID";
     this.colOvertimeApprovingManagerID.Name = "colOvertimeApprovingManagerID";
     this.colOvertimeApprovingManagerID.Visible = true;
     this.colOvertimeApprovingManagerID.VisibleIndex = 5;
     this.colOvertimeApprovingManagerID.Width = 57;
     //
     // colOvertimeStatus
     //
     this.colOvertimeStatus.Caption = "Status";
     this.colOvertimeStatus.FieldName = "Status";
     this.colOvertimeStatus.Name = "colOvertimeStatus";
     this.colOvertimeStatus.Visible = true;
     this.colOvertimeStatus.VisibleIndex = 6;
     this.colOvertimeStatus.Width = 101;
     //
     // groupLateness
     //
     this.groupLateness.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupLateness.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupLateness.Controls.Add(this.groupControl13);
     this.groupLateness.Location = new System.Drawing.Point(0, 32);
     this.groupLateness.Name = "groupLateness";
     this.groupLateness.ShowCaption = false;
     this.groupLateness.Size = new System.Drawing.Size(1007, 576);
     this.groupLateness.TabIndex = 14;
     this.groupLateness.Text = "GroupControl1";
     //
     // groupControl13
     //
     this.groupControl13.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupControl13.Appearance.Options.UseBackColor = true;
     this.groupControl13.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl13.Controls.Add(this.groupControl14);
     this.groupControl13.Controls.Add(this.gridctrLateness);
     this.groupControl13.Location = new System.Drawing.Point(8, 0);
     this.groupControl13.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupControl13.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupControl13.Name = "groupControl13";
     this.groupControl13.Size = new System.Drawing.Size(992, 574);
     this.groupControl13.TabIndex = 1;
     this.groupControl13.Text = "LATENESS";
     //
     // groupControl14
     //
     this.groupControl14.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl14.Controls.Add(this.cbLatenessYear);
     this.groupControl14.Controls.Add(this.label12);
     this.groupControl14.Controls.Add(this.label13);
     this.groupControl14.Controls.Add(this.cbLatenessMonth);
     this.groupControl14.Controls.Add(this.sbtnLatenessInquiry);
     this.groupControl14.Location = new System.Drawing.Point(6, 24);
     this.groupControl14.Name = "groupControl14";
     this.groupControl14.Size = new System.Drawing.Size(328, 52);
     this.groupControl14.TabIndex = 0;
     this.groupControl14.Text = "Inquiry";
     //
     // cbLatenessYear
     //
     this.cbLatenessYear.EditValue = "";
     this.cbLatenessYear.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbLatenessYear.Location = new System.Drawing.Point(178, 24);
     this.cbLatenessYear.Name = "cbLatenessYear";
     this.cbLatenessYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbLatenessYear.Properties.PopupSizeable = true;
     this.cbLatenessYear.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbLatenessYear.Size = new System.Drawing.Size(64, 20);
     this.cbLatenessYear.TabIndex = 1;
     //
     // label12
     //
     this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.Location = new System.Drawing.Point(140, 24);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(34, 20);
     this.label12.TabIndex = 15;
     this.label12.Text = "Year:";
     //
     // label13
     //
     this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label13.Location = new System.Drawing.Point(12, 24);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(42, 20);
     this.label13.TabIndex = 14;
     this.label13.Text = "Month:";
     //
     // cbLatenessMonth
     //
     this.cbLatenessMonth.EditValue = "January";
     this.cbLatenessMonth.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbLatenessMonth.Location = new System.Drawing.Point(56, 24);
     this.cbLatenessMonth.Name = "cbLatenessMonth";
     this.cbLatenessMonth.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbLatenessMonth.Properties.Items.AddRange(new object[] {
     "January",
     "February",
     "March",
     "April",
     "May",
     "June",
     "July",
     "August",
     "September",
     "October",
     "November",
     "December"});
     this.cbLatenessMonth.Properties.PopupSizeable = true;
     this.cbLatenessMonth.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbLatenessMonth.Size = new System.Drawing.Size(80, 20);
     this.cbLatenessMonth.TabIndex = 0;
     //
     // sbtnLatenessInquiry
     //
     this.sbtnLatenessInquiry.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnLatenessInquiry.Appearance.Options.UseFont = true;
     this.sbtnLatenessInquiry.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnLatenessInquiry.Location = new System.Drawing.Point(246, 24);
     this.sbtnLatenessInquiry.Name = "sbtnLatenessInquiry";
     this.sbtnLatenessInquiry.Size = new System.Drawing.Size(72, 20);
     this.sbtnLatenessInquiry.TabIndex = 2;
     this.sbtnLatenessInquiry.Text = "Inquiry";
     this.sbtnLatenessInquiry.Click += new System.EventHandler(this.sbtnLatenessInquiry_Click);
     //
     // gridctrLateness
     //
     this.gridctrLateness.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gridctrLateness.EmbeddedNavigator.Name = "";
     this.gridctrLateness.Location = new System.Drawing.Point(2, 80);
     this.gridctrLateness.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridctrLateness.MainView = this.gvLateness;
     this.gridctrLateness.Name = "gridctrLateness";
     this.gridctrLateness.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemTimeEdit1,
     this.repositoryItemTimeEdit2});
     this.gridctrLateness.Size = new System.Drawing.Size(988, 492);
     this.gridctrLateness.TabIndex = 1;
     this.gridctrLateness.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvLateness});
     //
     // gvLateness
     //
     this.gvLateness.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colLatenessRosterID,
     this.colLatenessDate,
     this.colLatenessBranch,
     this.colLatenessType,
     this.colLatenessExpected,
     this.colLatenessActual,
     this.colLatenessLateness});
     this.gvLateness.GridControl = this.gridctrLateness;
     this.gvLateness.Name = "gvLateness";
     this.gvLateness.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvLateness.OptionsBehavior.Editable = false;
     this.gvLateness.OptionsCustomization.AllowFilter = false;
     this.gvLateness.OptionsView.ShowFooter = true;
     this.gvLateness.OptionsView.ShowGroupPanel = false;
     this.gvLateness.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colLatenessDate, DevExpress.Data.ColumnSortOrder.Descending)});
     //
     // colLatenessRosterID
     //
     this.colLatenessRosterID.Caption = "Roster ID";
     this.colLatenessRosterID.FieldName = "nRosterID";
     this.colLatenessRosterID.Name = "colLatenessRosterID";
     //
     // colLatenessDate
     //
     this.colLatenessDate.Caption = "Date";
     this.colLatenessDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colLatenessDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colLatenessDate.FieldName = "dtDate";
     this.colLatenessDate.Name = "colLatenessDate";
     this.colLatenessDate.Visible = true;
     this.colLatenessDate.VisibleIndex = 0;
     this.colLatenessDate.Width = 185;
     //
     // colLatenessBranch
     //
     this.colLatenessBranch.Caption = "Branch Code";
     this.colLatenessBranch.FieldName = "strBranchCode";
     this.colLatenessBranch.Name = "colLatenessBranch";
     this.colLatenessBranch.Visible = true;
     this.colLatenessBranch.VisibleIndex = 1;
     this.colLatenessBranch.Width = 85;
     //
     // colLatenessType
     //
     this.colLatenessType.Caption = "Type";
     this.colLatenessType.FieldName = "strType";
     this.colLatenessType.Name = "colLatenessType";
     this.colLatenessType.Visible = true;
     this.colLatenessType.VisibleIndex = 2;
     this.colLatenessType.Width = 124;
     //
     // colLatenessExpected
     //
     this.colLatenessExpected.Caption = "Expected Time";
     this.colLatenessExpected.ColumnEdit = this.repositoryItemTimeEdit1;
     this.colLatenessExpected.FieldName = "dtExpected";
     this.colLatenessExpected.Name = "colLatenessExpected";
     this.colLatenessExpected.Visible = true;
     this.colLatenessExpected.VisibleIndex = 3;
     this.colLatenessExpected.Width = 196;
     //
     // repositoryItemTimeEdit1
     //
     this.repositoryItemTimeEdit1.AutoHeight = false;
     this.repositoryItemTimeEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.repositoryItemTimeEdit1.Name = "repositoryItemTimeEdit1";
     //
     // colLatenessActual
     //
     this.colLatenessActual.Caption = "Actual Time";
     this.colLatenessActual.ColumnEdit = this.repositoryItemTimeEdit2;
     this.colLatenessActual.FieldName = "dtActual";
     this.colLatenessActual.Name = "colLatenessActual";
     this.colLatenessActual.Visible = true;
     this.colLatenessActual.VisibleIndex = 4;
     this.colLatenessActual.Width = 208;
     //
     // repositoryItemTimeEdit2
     //
     this.repositoryItemTimeEdit2.AutoHeight = false;
     this.repositoryItemTimeEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.repositoryItemTimeEdit2.Name = "repositoryItemTimeEdit2";
     //
     // colLatenessLateness
     //
     this.colLatenessLateness.Caption = "Lateness (Minutes)";
     this.colLatenessLateness.DisplayFormat.FormatString = "#.00";
     this.colLatenessLateness.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.colLatenessLateness.FieldName = "nLateness";
     this.colLatenessLateness.Name = "colLatenessLateness";
     this.colLatenessLateness.SummaryItem.DisplayFormat = "{0:#.00}";
     this.colLatenessLateness.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.colLatenessLateness.Visible = true;
     this.colLatenessLateness.VisibleIndex = 5;
     this.colLatenessLateness.Width = 169;
     //
     // tabStaffFour
     //
     this.tabStaffFour.Appearance.Header.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabStaffFour.Appearance.Header.Options.UseFont = true;
     this.tabStaffFour.Controls.Add(this.lblFour_2);
     this.tabStaffFour.Controls.Add(this.lblFour_1);
     this.tabStaffFour.Controls.Add(this.groupAppointment);
     this.tabStaffFour.Controls.Add(this.groupContact);
     this.tabStaffFour.Name = "tabStaffFour";
     this.tabStaffFour.PageVisible = false;
     this.tabStaffFour.Size = new System.Drawing.Size(1007, 612);
     this.tabStaffFour.Text = "Appointments";
     this.tabStaffFour.VisibleChanged += new System.EventHandler(this.tabStaffAppointments_VisibleChanged);
     //
     // lblFour_2
     //
     this.lblFour_2.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblFour_2.Appearance.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblFour_2.Appearance.Options.UseFont = true;
     this.lblFour_2.Appearance.Options.UseForeColor = true;
     this.lblFour_2.Location = new System.Drawing.Point(160, 8);
     this.lblFour_2.Name = "lblFour_2";
     this.lblFour_2.Size = new System.Drawing.Size(138, 23);
     this.lblFour_2.TabIndex = 144;
     this.lblFour_2.Text = "Contact";
     this.lblFour_2.Click += new System.EventHandler(this.lblFour_2_Click);
     //
     // lblFour_1
     //
     this.lblFour_1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblFour_1.Appearance.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblFour_1.Appearance.Options.UseFont = true;
     this.lblFour_1.Appearance.Options.UseForeColor = true;
     this.lblFour_1.Location = new System.Drawing.Point(8, 8);
     this.lblFour_1.Name = "lblFour_1";
     this.lblFour_1.Size = new System.Drawing.Size(138, 23);
     this.lblFour_1.TabIndex = 143;
     this.lblFour_1.Text = "Appointment";
     this.lblFour_1.Click += new System.EventHandler(this.lblFour_1_Click);
     //
     // groupAppointment
     //
     this.groupAppointment.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupAppointment.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupAppointment.Controls.Add(this.groupAppointmentEntry);
     this.groupAppointment.Location = new System.Drawing.Point(0, 34);
     this.groupAppointment.Name = "groupAppointment";
     this.groupAppointment.ShowCaption = false;
     this.groupAppointment.Size = new System.Drawing.Size(1007, 584);
     this.groupAppointment.TabIndex = 21;
     this.groupAppointment.Text = "GroupControl3";
     //
     // groupAppointmentEntry
     //
     this.groupAppointmentEntry.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupAppointmentEntry.Appearance.Options.UseBackColor = true;
     this.groupAppointmentEntry.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupAppointmentEntry.Controls.Add(this.groupControl12);
     this.groupAppointmentEntry.Controls.Add(this.sbtnAppointmentDelete);
     this.groupAppointmentEntry.Controls.Add(this.sbtnAppointmentPrint);
     this.groupAppointmentEntry.Controls.Add(this.sbtnAppointmentEdit);
     this.groupAppointmentEntry.Controls.Add(this.sbtnAppointmentNew);
     this.groupAppointmentEntry.Controls.Add(this.gridctrAppointment);
     this.groupAppointmentEntry.Location = new System.Drawing.Point(8, 0);
     this.groupAppointmentEntry.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupAppointmentEntry.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupAppointmentEntry.Name = "groupAppointmentEntry";
     this.groupAppointmentEntry.Size = new System.Drawing.Size(992, 576);
     this.groupAppointmentEntry.TabIndex = 0;
     this.groupAppointmentEntry.Text = "APPOINTMENT";
     //
     // groupControl12
     //
     this.groupControl12.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl12.Controls.Add(this.cbAppointmentYear);
     this.groupControl12.Controls.Add(this.label26);
     this.groupControl12.Controls.Add(this.label27);
     this.groupControl12.Controls.Add(this.cbAppointmentMonth);
     this.groupControl12.Controls.Add(this.sbtnAppointmentInquiry);
     this.groupControl12.Location = new System.Drawing.Point(8, 24);
     this.groupControl12.Name = "groupControl12";
     this.groupControl12.Size = new System.Drawing.Size(328, 52);
     this.groupControl12.TabIndex = 0;
     this.groupControl12.Text = "Inquiry";
     //
     // cbAppointmentYear
     //
     this.cbAppointmentYear.EditValue = "";
     this.cbAppointmentYear.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbAppointmentYear.Location = new System.Drawing.Point(178, 24);
     this.cbAppointmentYear.Name = "cbAppointmentYear";
     this.cbAppointmentYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbAppointmentYear.Properties.PopupSizeable = true;
     this.cbAppointmentYear.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbAppointmentYear.Size = new System.Drawing.Size(64, 20);
     this.cbAppointmentYear.TabIndex = 1;
     //
     // label26
     //
     this.label26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label26.Location = new System.Drawing.Point(140, 24);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(34, 20);
     this.label26.TabIndex = 15;
     this.label26.Text = "Year:";
     //
     // label27
     //
     this.label27.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label27.Location = new System.Drawing.Point(12, 24);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(42, 20);
     this.label27.TabIndex = 14;
     this.label27.Text = "Month:";
     //
     // cbAppointmentMonth
     //
     this.cbAppointmentMonth.EditValue = "January";
     this.cbAppointmentMonth.ImeMode = System.Windows.Forms.ImeMode.On;
     this.cbAppointmentMonth.Location = new System.Drawing.Point(56, 24);
     this.cbAppointmentMonth.Name = "cbAppointmentMonth";
     this.cbAppointmentMonth.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbAppointmentMonth.Properties.Items.AddRange(new object[] {
     "January",
     "February",
     "March",
     "April",
     "May",
     "June",
     "July",
     "August",
     "September",
     "October",
     "November",
     "December"});
     this.cbAppointmentMonth.Properties.PopupSizeable = true;
     this.cbAppointmentMonth.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbAppointmentMonth.Size = new System.Drawing.Size(80, 20);
     this.cbAppointmentMonth.TabIndex = 0;
     //
     // sbtnAppointmentInquiry
     //
     this.sbtnAppointmentInquiry.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnAppointmentInquiry.Appearance.Options.UseFont = true;
     this.sbtnAppointmentInquiry.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnAppointmentInquiry.Location = new System.Drawing.Point(246, 24);
     this.sbtnAppointmentInquiry.Name = "sbtnAppointmentInquiry";
     this.sbtnAppointmentInquiry.Size = new System.Drawing.Size(72, 20);
     this.sbtnAppointmentInquiry.TabIndex = 2;
     this.sbtnAppointmentInquiry.Text = "Inquiry";
     this.sbtnAppointmentInquiry.Click += new System.EventHandler(this.sbtnAppointmentInquiry_Click);
     //
     // sbtnAppointmentDelete
     //
     this.sbtnAppointmentDelete.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnAppointmentDelete.Appearance.Options.UseFont = true;
     this.sbtnAppointmentDelete.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnAppointmentDelete.Location = new System.Drawing.Point(504, 48);
     this.sbtnAppointmentDelete.Name = "sbtnAppointmentDelete";
     this.sbtnAppointmentDelete.Size = new System.Drawing.Size(72, 20);
     this.sbtnAppointmentDelete.TabIndex = 3;
     this.sbtnAppointmentDelete.Text = "Delete";
     this.sbtnAppointmentDelete.Click += new System.EventHandler(this.sbtnAppointmentDelete_Click);
     //
     // sbtnAppointmentPrint
     //
     this.sbtnAppointmentPrint.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnAppointmentPrint.Appearance.Options.UseFont = true;
     this.sbtnAppointmentPrint.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnAppointmentPrint.Location = new System.Drawing.Point(584, 48);
     this.sbtnAppointmentPrint.Name = "sbtnAppointmentPrint";
     this.sbtnAppointmentPrint.Size = new System.Drawing.Size(72, 20);
     this.sbtnAppointmentPrint.TabIndex = 3;
     this.sbtnAppointmentPrint.Text = "Print";
     this.sbtnAppointmentPrint.Click += new System.EventHandler(this.sbtnAppointmentPrint_Click);
     //
     // sbtnAppointmentEdit
     //
     this.sbtnAppointmentEdit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnAppointmentEdit.Appearance.Options.UseFont = true;
     this.sbtnAppointmentEdit.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnAppointmentEdit.Location = new System.Drawing.Point(424, 48);
     this.sbtnAppointmentEdit.Name = "sbtnAppointmentEdit";
     this.sbtnAppointmentEdit.Size = new System.Drawing.Size(72, 20);
     this.sbtnAppointmentEdit.TabIndex = 2;
     this.sbtnAppointmentEdit.Text = "Edit";
     this.sbtnAppointmentEdit.Click += new System.EventHandler(this.sbtnAppointmentEdit_Click);
     //
     // sbtnAppointmentNew
     //
     this.sbtnAppointmentNew.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnAppointmentNew.Appearance.Options.UseFont = true;
     this.sbtnAppointmentNew.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnAppointmentNew.Location = new System.Drawing.Point(344, 48);
     this.sbtnAppointmentNew.Name = "sbtnAppointmentNew";
     this.sbtnAppointmentNew.Size = new System.Drawing.Size(72, 20);
     this.sbtnAppointmentNew.TabIndex = 1;
     this.sbtnAppointmentNew.Text = "New";
     this.sbtnAppointmentNew.Click += new System.EventHandler(this.sbtnAppointmentNew_Click);
     //
     // gridctrAppointment
     //
     this.gridctrAppointment.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gridctrAppointment.EmbeddedNavigator.Name = "";
     this.gridctrAppointment.Location = new System.Drawing.Point(2, 86);
     this.gridctrAppointment.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridctrAppointment.MainView = this.gvAppointment;
     this.gridctrAppointment.Name = "gridctrAppointment";
     this.gridctrAppointment.Size = new System.Drawing.Size(988, 488);
     this.gridctrAppointment.TabIndex = 4;
     this.gridctrAppointment.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvAppointment});
     //
     // gvAppointment
     //
     this.gvAppointment.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colAppointmentDate,
     this.colAppointmentStartDate,
     this.colAppointmentEndDate,
     this.colAppointmentOrganization,
     this.colAppointmentContact,
     this.colAppointmentTypeID,
     this.colAppointmentRemarks});
     this.gvAppointment.GridControl = this.gridctrAppointment;
     this.gvAppointment.Name = "gvAppointment";
     this.gvAppointment.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvAppointment.OptionsBehavior.Editable = false;
     this.gvAppointment.OptionsCustomization.AllowFilter = false;
     this.gvAppointment.OptionsView.ShowGroupPanel = false;
     this.gvAppointment.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colAppointmentDate, DevExpress.Data.ColumnSortOrder.Descending)});
     //
     // colAppointmentDate
     //
     this.colAppointmentDate.Caption = "Date";
     this.colAppointmentDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colAppointmentDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colAppointmentDate.FieldName = "dtDate";
     this.colAppointmentDate.Name = "colAppointmentDate";
     this.colAppointmentDate.Visible = true;
     this.colAppointmentDate.VisibleIndex = 0;
     this.colAppointmentDate.Width = 93;
     //
     // colAppointmentStartDate
     //
     this.colAppointmentStartDate.Caption = "Start Time";
     this.colAppointmentStartDate.DisplayFormat.FormatString = "hh:mm tt";
     this.colAppointmentStartDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colAppointmentStartDate.FieldName = "dtStartTime";
     this.colAppointmentStartDate.Name = "colAppointmentStartDate";
     this.colAppointmentStartDate.Visible = true;
     this.colAppointmentStartDate.VisibleIndex = 1;
     this.colAppointmentStartDate.Width = 85;
     //
     // colAppointmentEndDate
     //
     this.colAppointmentEndDate.Caption = "End Time";
     this.colAppointmentEndDate.DisplayFormat.FormatString = "hh:mm tt";
     this.colAppointmentEndDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colAppointmentEndDate.FieldName = "dtEndTime";
     this.colAppointmentEndDate.Name = "colAppointmentEndDate";
     this.colAppointmentEndDate.Visible = true;
     this.colAppointmentEndDate.VisibleIndex = 2;
     this.colAppointmentEndDate.Width = 79;
     //
     // colAppointmentOrganization
     //
     this.colAppointmentOrganization.Caption = "Organization / Place of Appointment";
     this.colAppointmentOrganization.FieldName = "strOrganization";
     this.colAppointmentOrganization.Name = "colAppointmentOrganization";
     this.colAppointmentOrganization.Visible = true;
     this.colAppointmentOrganization.VisibleIndex = 3;
     this.colAppointmentOrganization.Width = 215;
     //
     // colAppointmentContact
     //
     this.colAppointmentContact.Caption = "Contact";
     this.colAppointmentContact.FieldName = "strContactName";
     this.colAppointmentContact.Name = "colAppointmentContact";
     this.colAppointmentContact.Visible = true;
     this.colAppointmentContact.VisibleIndex = 4;
     this.colAppointmentContact.Width = 153;
     //
     // colAppointmentTypeID
     //
     this.colAppointmentTypeID.Caption = "Appointment Type";
     this.colAppointmentTypeID.FieldName = "nAppointmentTypeId";
     this.colAppointmentTypeID.Name = "colAppointmentTypeID";
     this.colAppointmentTypeID.Visible = true;
     this.colAppointmentTypeID.VisibleIndex = 5;
     //
     // colAppointmentRemarks
     //
     this.colAppointmentRemarks.Caption = "Remarks";
     this.colAppointmentRemarks.FieldName = "strRemarks";
     this.colAppointmentRemarks.Name = "colAppointmentRemarks";
     this.colAppointmentRemarks.Visible = true;
     this.colAppointmentRemarks.VisibleIndex = 6;
     this.colAppointmentRemarks.Width = 342;
     //
     // groupContact
     //
     this.groupContact.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupContact.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupContact.Controls.Add(this.groupContactEntry);
     this.groupContact.Location = new System.Drawing.Point(0, 34);
     this.groupContact.Name = "groupContact";
     this.groupContact.ShowCaption = false;
     this.groupContact.Size = new System.Drawing.Size(1007, 584);
     this.groupContact.TabIndex = 20;
     this.groupContact.Text = "GroupControl3";
     //
     // groupContactEntry
     //
     this.groupContactEntry.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupContactEntry.Appearance.Options.UseBackColor = true;
     this.groupContactEntry.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupContactEntry.Controls.Add(this.sbtnContactEdit);
     this.groupContactEntry.Controls.Add(this.sbtnContactDelete);
     this.groupContactEntry.Controls.Add(this.sbtnContactNew);
     this.groupContactEntry.Controls.Add(this.gridctrContact);
     this.groupContactEntry.Location = new System.Drawing.Point(8, 0);
     this.groupContactEntry.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupContactEntry.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupContactEntry.Name = "groupContactEntry";
     this.groupContactEntry.Size = new System.Drawing.Size(992, 576);
     this.groupContactEntry.TabIndex = 1;
     this.groupContactEntry.Text = "CONTACT";
     //
     // sbtnContactEdit
     //
     this.sbtnContactEdit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnContactEdit.Appearance.Options.UseFont = true;
     this.sbtnContactEdit.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnContactEdit.Location = new System.Drawing.Point(96, 32);
     this.sbtnContactEdit.Name = "sbtnContactEdit";
     this.sbtnContactEdit.Size = new System.Drawing.Size(72, 20);
     this.sbtnContactEdit.TabIndex = 1;
     this.sbtnContactEdit.Text = "Edit";
     this.sbtnContactEdit.Click += new System.EventHandler(this.sbtnContactEdit_Click);
     //
     // sbtnContactDelete
     //
     this.sbtnContactDelete.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnContactDelete.Appearance.Options.UseFont = true;
     this.sbtnContactDelete.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnContactDelete.Location = new System.Drawing.Point(176, 32);
     this.sbtnContactDelete.Name = "sbtnContactDelete";
     this.sbtnContactDelete.Size = new System.Drawing.Size(72, 20);
     this.sbtnContactDelete.TabIndex = 2;
     this.sbtnContactDelete.Text = "Delete";
     this.sbtnContactDelete.Click += new System.EventHandler(this.sbtnContactDelete_Click);
     //
     // sbtnContactNew
     //
     this.sbtnContactNew.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnContactNew.Appearance.Options.UseFont = true;
     this.sbtnContactNew.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnContactNew.Location = new System.Drawing.Point(16, 32);
     this.sbtnContactNew.Name = "sbtnContactNew";
     this.sbtnContactNew.Size = new System.Drawing.Size(72, 20);
     this.sbtnContactNew.TabIndex = 0;
     this.sbtnContactNew.Text = "New";
     this.sbtnContactNew.Click += new System.EventHandler(this.sbtnContactNew_Click);
     //
     // gridctrContact
     //
     this.gridctrContact.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gridctrContact.EmbeddedNavigator.Name = "";
     this.gridctrContact.Location = new System.Drawing.Point(2, 62);
     this.gridctrContact.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridctrContact.MainView = this.gvContact;
     this.gridctrContact.Name = "gridctrContact";
     this.gridctrContact.Size = new System.Drawing.Size(988, 512);
     this.gridctrContact.TabIndex = 3;
     this.gridctrContact.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvContact});
     //
     // gvContact
     //
     this.gvContact.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colContactPerson,
     this.colContactOrganization,
     this.colContactMobile,
     this.colContactOfficeNo,
     this.colContactEmail,
     this.colContactFax,
     this.colContactAddress});
     this.gvContact.GridControl = this.gridctrContact;
     this.gvContact.Name = "gvContact";
     this.gvContact.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvContact.OptionsBehavior.Editable = false;
     this.gvContact.OptionsCustomization.AllowFilter = false;
     this.gvContact.OptionsView.ShowGroupPanel = false;
     //
     // colContactPerson
     //
     this.colContactPerson.Caption = "Contact Person";
     this.colContactPerson.FieldName = "strContactName";
     this.colContactPerson.Name = "colContactPerson";
     this.colContactPerson.Visible = true;
     this.colContactPerson.VisibleIndex = 0;
     this.colContactPerson.Width = 128;
     //
     // colContactOrganization
     //
     this.colContactOrganization.Caption = "Organization";
     this.colContactOrganization.FieldName = "strOrganization";
     this.colContactOrganization.Name = "colContactOrganization";
     this.colContactOrganization.Visible = true;
     this.colContactOrganization.VisibleIndex = 1;
     this.colContactOrganization.Width = 150;
     //
     // colContactMobile
     //
     this.colContactMobile.Caption = "Mobile No.";
     this.colContactMobile.FieldName = "strMobileNo";
     this.colContactMobile.Name = "colContactMobile";
     this.colContactMobile.Visible = true;
     this.colContactMobile.VisibleIndex = 2;
     this.colContactMobile.Width = 107;
     //
     // colContactOfficeNo
     //
     this.colContactOfficeNo.Caption = "Office No.";
     this.colContactOfficeNo.FieldName = "strOfficeNo";
     this.colContactOfficeNo.Name = "colContactOfficeNo";
     this.colContactOfficeNo.Visible = true;
     this.colContactOfficeNo.VisibleIndex = 3;
     this.colContactOfficeNo.Width = 111;
     //
     // colContactEmail
     //
     this.colContactEmail.Caption = "Email Address";
     this.colContactEmail.FieldName = "strEmail";
     this.colContactEmail.Name = "colContactEmail";
     this.colContactEmail.Visible = true;
     this.colContactEmail.VisibleIndex = 4;
     this.colContactEmail.Width = 159;
     //
     // colContactFax
     //
     this.colContactFax.Caption = "Fax";
     this.colContactFax.FieldName = "strFax";
     this.colContactFax.Name = "colContactFax";
     this.colContactFax.Visible = true;
     this.colContactFax.VisibleIndex = 5;
     this.colContactFax.Width = 102;
     //
     // colContactAddress
     //
     this.colContactAddress.Caption = "Address";
     this.colContactAddress.FieldName = "strAddress";
     this.colContactAddress.Name = "colContactAddress";
     this.colContactAddress.Visible = true;
     this.colContactAddress.VisibleIndex = 6;
     this.colContactAddress.Width = 210;
     //
     // tabStaffFive
     //
     this.tabStaffFive.Appearance.Header.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabStaffFive.Appearance.Header.Options.UseFont = true;
     this.tabStaffFive.Controls.Add(this.groupCustomerVoice);
     this.tabStaffFive.Name = "tabStaffFive";
     this.tabStaffFive.PageVisible = false;
     this.tabStaffFive.Size = new System.Drawing.Size(1007, 612);
     this.tabStaffFive.Text = "Customer Voice";
     this.tabStaffFive.VisibleChanged += new System.EventHandler(this.tabStaffCustomerVoice_VisibleChanged);
     //
     // groupCustomerVoice
     //
     this.groupCustomerVoice.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupCustomerVoice.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupCustomerVoice.Controls.Add(this.lblmnuCustomerVoiceActionHistory);
     this.groupCustomerVoice.Controls.Add(this.lblmnuCustomerVoiceCVDetails);
     this.groupCustomerVoice.Controls.Add(this.GroupControl24);
     this.groupCustomerVoice.Controls.Add(this.groupCustomerVoiceActionHistory);
     this.groupCustomerVoice.Controls.Add(this.groupCustomerVoiceCVDetails);
     this.groupCustomerVoice.Location = new System.Drawing.Point(0, 8);
     this.groupCustomerVoice.Name = "groupCustomerVoice";
     this.groupCustomerVoice.ShowCaption = false;
     this.groupCustomerVoice.Size = new System.Drawing.Size(1007, 584);
     this.groupCustomerVoice.TabIndex = 11;
     this.groupCustomerVoice.Text = "GroupControl1";
     //
     // lblmnuCustomerVoiceActionHistory
     //
     this.lblmnuCustomerVoiceActionHistory.AutoSize = true;
     this.lblmnuCustomerVoiceActionHistory.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblmnuCustomerVoiceActionHistory.Location = new System.Drawing.Point(184, 320);
     this.lblmnuCustomerVoiceActionHistory.Name = "lblmnuCustomerVoiceActionHistory";
     this.lblmnuCustomerVoiceActionHistory.Size = new System.Drawing.Size(104, 16);
     this.lblmnuCustomerVoiceActionHistory.TabIndex = 10;
     this.lblmnuCustomerVoiceActionHistory.Text = "Action History";
     this.lblmnuCustomerVoiceActionHistory.Click += new System.EventHandler(this.lblmnuCustomerVoiceActionHistory_Click);
     //
     // lblmnuCustomerVoiceCVDetails
     //
     this.lblmnuCustomerVoiceCVDetails.AutoSize = true;
     this.lblmnuCustomerVoiceCVDetails.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblmnuCustomerVoiceCVDetails.Location = new System.Drawing.Point(24, 320);
     this.lblmnuCustomerVoiceCVDetails.Name = "lblmnuCustomerVoiceCVDetails";
     this.lblmnuCustomerVoiceCVDetails.Size = new System.Drawing.Size(170, 16);
     this.lblmnuCustomerVoiceCVDetails.TabIndex = 9;
     this.lblmnuCustomerVoiceCVDetails.Text = "Customer Voice Details";
     this.lblmnuCustomerVoiceCVDetails.Click += new System.EventHandler(this.lblmnuCustomerVoiceCVDetails_Click);
     //
     // GroupControl24
     //
     this.GroupControl24.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.GroupControl24.Appearance.Options.UseBackColor = true;
     this.GroupControl24.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.GroupControl24.Controls.Add(this.luedtCVSubmitter);
     this.GroupControl24.Controls.Add(this.sbtnAssign);
     this.GroupControl24.Controls.Add(this.sbtnCVPrint);
     this.GroupControl24.Controls.Add(this.sbtnCVEdit);
     this.GroupControl24.Controls.Add(this.sbtnCVDelete);
     this.GroupControl24.Controls.Add(this.sbtnCVNew);
     this.GroupControl24.Controls.Add(this.cbListCV);
     this.GroupControl24.Controls.Add(this.gctrCV);
     this.GroupControl24.Controls.Add(this.label17);
     this.GroupControl24.Controls.Add(this.luedtCVAssignTo);
     this.GroupControl24.Controls.Add(this.lblCVSubmitter);
     this.GroupControl24.Location = new System.Drawing.Point(8, 0);
     this.GroupControl24.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.GroupControl24.LookAndFeel.UseDefaultLookAndFeel = false;
     this.GroupControl24.Name = "GroupControl24";
     this.GroupControl24.Size = new System.Drawing.Size(992, 312);
     this.GroupControl24.TabIndex = 0;
     this.GroupControl24.Text = "CUSTOMER VOICE";
     //
     // luedtCVSubmitter
     //
     this.luedtCVSubmitter.Location = new System.Drawing.Point(400, 32);
     this.luedtCVSubmitter.Name = "luedtCVSubmitter";
     this.luedtCVSubmitter.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.luedtCVSubmitter.Size = new System.Drawing.Size(176, 20);
     this.luedtCVSubmitter.TabIndex = 2;
     this.luedtCVSubmitter.EditValueChanged += new System.EventHandler(this.luedtCVSubmiter_EditValueChanged);
     //
     // sbtnAssign
     //
     this.sbtnAssign.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnAssign.Appearance.Options.UseFont = true;
     this.sbtnAssign.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnAssign.Location = new System.Drawing.Point(824, 32);
     this.sbtnAssign.Name = "sbtnAssign";
     this.sbtnAssign.Size = new System.Drawing.Size(80, 20);
     this.sbtnAssign.TabIndex = 6;
     this.sbtnAssign.Text = "Assign To";
     this.sbtnAssign.Click += new System.EventHandler(this.sbtnAssign_Click);
     //
     // sbtnCVPrint
     //
     this.sbtnCVPrint.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnCVPrint.Appearance.Options.UseFont = true;
     this.sbtnCVPrint.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnCVPrint.Location = new System.Drawing.Point(912, 32);
     this.sbtnCVPrint.Name = "sbtnCVPrint";
     this.sbtnCVPrint.Size = new System.Drawing.Size(72, 20);
     this.sbtnCVPrint.TabIndex = 7;
     this.sbtnCVPrint.Text = "Print";
     this.sbtnCVPrint.Click += new System.EventHandler(this.sbtnCVPrint_Click);
     //
     // sbtnCVEdit
     //
     this.sbtnCVEdit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnCVEdit.Appearance.Options.UseFont = true;
     this.sbtnCVEdit.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnCVEdit.Location = new System.Drawing.Point(744, 32);
     this.sbtnCVEdit.Name = "sbtnCVEdit";
     this.sbtnCVEdit.Size = new System.Drawing.Size(72, 20);
     this.sbtnCVEdit.TabIndex = 5;
     this.sbtnCVEdit.Text = "Update";
     this.sbtnCVEdit.Click += new System.EventHandler(this.sbtnCVEdit_Click);
     //
     // sbtnCVDelete
     //
     this.sbtnCVDelete.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnCVDelete.Appearance.Options.UseFont = true;
     this.sbtnCVDelete.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnCVDelete.Location = new System.Drawing.Point(664, 32);
     this.sbtnCVDelete.Name = "sbtnCVDelete";
     this.sbtnCVDelete.Size = new System.Drawing.Size(72, 20);
     this.sbtnCVDelete.TabIndex = 4;
     this.sbtnCVDelete.Text = "Delete";
     this.sbtnCVDelete.Click += new System.EventHandler(this.sbtnCVDelete_Click);
     //
     // sbtnCVNew
     //
     this.sbtnCVNew.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnCVNew.Appearance.Options.UseFont = true;
     this.sbtnCVNew.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnCVNew.Location = new System.Drawing.Point(584, 32);
     this.sbtnCVNew.Name = "sbtnCVNew";
     this.sbtnCVNew.Size = new System.Drawing.Size(72, 20);
     this.sbtnCVNew.TabIndex = 3;
     this.sbtnCVNew.Text = "New";
     this.sbtnCVNew.Click += new System.EventHandler(this.sbtnCVNew_Click);
     //
     // cbListCV
     //
     this.cbListCV.EditValue = "All";
     this.cbListCV.Location = new System.Drawing.Point(8, 32);
     this.cbListCV.Name = "cbListCV";
     this.cbListCV.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbListCV.Properties.Items.AddRange(new object[] {
     "All",
     "New",
     "Open",
     "Closed"});
     this.cbListCV.Properties.PopupSizeable = true;
     this.cbListCV.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbListCV.Size = new System.Drawing.Size(88, 20);
     this.cbListCV.TabIndex = 0;
     this.cbListCV.SelectedIndexChanged += new System.EventHandler(this.cbListCV_SelectedIndexChanged);
     //
     // gctrCV
     //
     this.gctrCV.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gctrCV.EmbeddedNavigator.Name = "";
     this.gctrCV.Location = new System.Drawing.Point(2, 62);
     this.gctrCV.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gctrCV.MainView = this.gvCV;
     this.gctrCV.Name = "gctrCV";
     this.gctrCV.Size = new System.Drawing.Size(988, 248);
     this.gctrCV.TabIndex = 8;
     this.gctrCV.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvCV});
     //
     // gvCV
     //
     this.gvCV.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colRefNo,
     this.colDtReceived,
     this.colBranch,
     this.colMembershipID,
     this.colMemberName,
     this.colDepartment,
     this.colType,
     this.colCategory,
     this.colSubject,
     this.colSubmittedBy,
     this.colStaffSubject,
     this.colDepartmentAssignedTo,
     this.colLastUpdatedDate,
     this.colStatus});
     this.gvCV.GridControl = this.gctrCV;
     this.gvCV.Name = "gvCV";
     this.gvCV.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvCV.OptionsBehavior.Editable = false;
     this.gvCV.OptionsCustomization.AllowFilter = false;
     this.gvCV.OptionsView.ColumnAutoWidth = false;
     this.gvCV.OptionsView.ShowGroupPanel = false;
     this.gvCV.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colDtReceived, DevExpress.Data.ColumnSortOrder.Descending)});
     this.gvCV.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gvCV_FocusedRowChanged);
     this.gvCV.DataSourceChanged += new System.EventHandler(this.gvCV_DataSourceChanged);
     //
     // colRefNo
     //
     this.colRefNo.Caption = "Ref No";
     this.colRefNo.FieldName = "nCaseID";
     this.colRefNo.Name = "colRefNo";
     this.colRefNo.Visible = true;
     this.colRefNo.VisibleIndex = 0;
     //
     // colDtReceived
     //
     this.colDtReceived.Caption = "Date Received";
     this.colDtReceived.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colDtReceived.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colDtReceived.FieldName = "dtDate";
     this.colDtReceived.Name = "colDtReceived";
     this.colDtReceived.Visible = true;
     this.colDtReceived.VisibleIndex = 1;
     this.colDtReceived.Width = 100;
     //
     // colBranch
     //
     this.colBranch.Caption = "Branch";
     this.colBranch.FieldName = "strBranchCode";
     this.colBranch.Name = "colBranch";
     this.colBranch.Visible = true;
     this.colBranch.VisibleIndex = 2;
     //
     // colMembershipID
     //
     this.colMembershipID.Caption = "Membership Id";
     this.colMembershipID.FieldName = "strMembershipID";
     this.colMembershipID.Name = "colMembershipID";
     this.colMembershipID.Visible = true;
     this.colMembershipID.VisibleIndex = 6;
     this.colMembershipID.Width = 100;
     //
     // colMemberName
     //
     this.colMemberName.Caption = "Member Name";
     this.colMemberName.FieldName = "strMembershipName";
     this.colMemberName.Name = "colMemberName";
     this.colMemberName.Visible = true;
     this.colMemberName.VisibleIndex = 3;
     this.colMemberName.Width = 101;
     //
     // colDepartment
     //
     this.colDepartment.Caption = "Department";
     this.colDepartment.FieldName = "strDepartmentDescription";
     this.colDepartment.Name = "colDepartment";
     this.colDepartment.Visible = true;
     this.colDepartment.VisibleIndex = 7;
     this.colDepartment.Width = 89;
     //
     // colType
     //
     this.colType.Caption = "Type";
     this.colType.FieldName = "strCaseTypeDescription";
     this.colType.Name = "colType";
     this.colType.Visible = true;
     this.colType.VisibleIndex = 4;
     //
     // colCategory
     //
     this.colCategory.Caption = "Category";
     this.colCategory.FieldName = "strCaseCategoryDescription";
     this.colCategory.Name = "colCategory";
     this.colCategory.Visible = true;
     this.colCategory.VisibleIndex = 5;
     //
     // colSubject
     //
     this.colSubject.Caption = "Subject";
     this.colSubject.FieldName = "strSubject";
     this.colSubject.Name = "colSubject";
     //
     // colSubmittedBy
     //
     this.colSubmittedBy.Caption = "Submitted By";
     this.colSubmittedBy.FieldName = "strSubmittedBy";
     this.colSubmittedBy.Name = "colSubmittedBy";
     this.colSubmittedBy.Visible = true;
     this.colSubmittedBy.VisibleIndex = 8;
     this.colSubmittedBy.Width = 97;
     //
     // colStaffSubject
     //
     this.colStaffSubject.Caption = "Subject Staff ";
     this.colStaffSubject.FieldName = "strSubjectStaff";
     this.colStaffSubject.Name = "colStaffSubject";
     //
     // colDepartmentAssignedTo
     //
     this.colDepartmentAssignedTo.Caption = "Department Assigned To";
     this.colDepartmentAssignedTo.FieldName = "strDepartmentAssignedTo";
     this.colDepartmentAssignedTo.Name = "colDepartmentAssignedTo";
     this.colDepartmentAssignedTo.Visible = true;
     this.colDepartmentAssignedTo.VisibleIndex = 9;
     this.colDepartmentAssignedTo.Width = 130;
     //
     // colLastUpdatedDate
     //
     this.colLastUpdatedDate.Caption = "Last Updated Date";
     this.colLastUpdatedDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colLastUpdatedDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colLastUpdatedDate.FieldName = "dtLastEditDate";
     this.colLastUpdatedDate.Name = "colLastUpdatedDate";
     this.colLastUpdatedDate.Visible = true;
     this.colLastUpdatedDate.VisibleIndex = 10;
     this.colLastUpdatedDate.Width = 100;
     //
     // colStatus
     //
     this.colStatus.Caption = "Status";
     this.colStatus.FieldName = "strStatus";
     this.colStatus.Name = "colStatus";
     this.colStatus.Visible = true;
     this.colStatus.VisibleIndex = 11;
     //
     // label17
     //
     this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label17.Location = new System.Drawing.Point(104, 32);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(64, 20);
     this.label17.TabIndex = 19;
     this.label17.Text = "Assign To:";
     //
     // luedtCVAssignTo
     //
     this.luedtCVAssignTo.Location = new System.Drawing.Point(168, 32);
     this.luedtCVAssignTo.Name = "luedtCVAssignTo";
     this.luedtCVAssignTo.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.luedtCVAssignTo.Size = new System.Drawing.Size(160, 20);
     this.luedtCVAssignTo.TabIndex = 1;
     this.luedtCVAssignTo.EditValueChanged += new System.EventHandler(this.luedtCVAssignTo_EditValueChanged);
     //
     // lblCVSubmitter
     //
     this.lblCVSubmitter.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblCVSubmitter.Location = new System.Drawing.Point(336, 32);
     this.lblCVSubmitter.Name = "lblCVSubmitter";
     this.lblCVSubmitter.Size = new System.Drawing.Size(64, 20);
     this.lblCVSubmitter.TabIndex = 16;
     this.lblCVSubmitter.Text = "Submitter:";
     //
     // groupCustomerVoiceActionHistory
     //
     this.groupCustomerVoiceActionHistory.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupCustomerVoiceActionHistory.Appearance.Options.UseBackColor = true;
     this.groupCustomerVoiceActionHistory.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupCustomerVoiceActionHistory.Controls.Add(this.GroupControl26);
     this.groupCustomerVoiceActionHistory.Location = new System.Drawing.Point(7, 344);
     this.groupCustomerVoiceActionHistory.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupCustomerVoiceActionHistory.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupCustomerVoiceActionHistory.Name = "groupCustomerVoiceActionHistory";
     this.groupCustomerVoiceActionHistory.Size = new System.Drawing.Size(992, 232);
     this.groupCustomerVoiceActionHistory.TabIndex = 11;
     this.groupCustomerVoiceActionHistory.Text = "ACTION HISTORY";
     //
     // GroupControl26
     //
     this.GroupControl26.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.GroupControl26.Controls.Add(this.sbtnNewCVAction);
     this.GroupControl26.Controls.Add(this.gctrCVAction);
     this.GroupControl26.Dock = System.Windows.Forms.DockStyle.Fill;
     this.GroupControl26.Location = new System.Drawing.Point(2, 19);
     this.GroupControl26.Name = "GroupControl26";
     this.GroupControl26.ShowCaption = false;
     this.GroupControl26.Size = new System.Drawing.Size(988, 211);
     this.GroupControl26.TabIndex = 0;
     this.GroupControl26.Text = "GroupControl1";
     //
     // sbtnNewCVAction
     //
     this.sbtnNewCVAction.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnNewCVAction.Appearance.Options.UseFont = true;
     this.sbtnNewCVAction.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnNewCVAction.Location = new System.Drawing.Point(16, 16);
     this.sbtnNewCVAction.Name = "sbtnNewCVAction";
     this.sbtnNewCVAction.Size = new System.Drawing.Size(72, 20);
     this.sbtnNewCVAction.TabIndex = 0;
     this.sbtnNewCVAction.Text = "New";
     this.sbtnNewCVAction.Click += new System.EventHandler(this.sbtnNewCVAction_Click);
     //
     // gctrCVAction
     //
     this.gctrCVAction.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.gctrCVAction.EmbeddedNavigator.Name = "";
     this.gctrCVAction.Location = new System.Drawing.Point(2, 49);
     this.gctrCVAction.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gctrCVAction.MainView = this.gvCVAction;
     this.gctrCVAction.Name = "gctrCVAction";
     this.gctrCVAction.Size = new System.Drawing.Size(984, 160);
     this.gctrCVAction.TabIndex = 1;
     this.gctrCVAction.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvCVAction});
     //
     // gvCVAction
     //
     this.gvCVAction.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colActionID,
     this.coldtDate,
     this.coldtTime,
     this.colMode,
     this.colActionDetail,
     this.colActionTakenBy,
     this.colActionTakenByID});
     this.gvCVAction.GridControl = this.gctrCVAction;
     this.gvCVAction.Name = "gvCVAction";
     this.gvCVAction.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvCVAction.OptionsBehavior.Editable = false;
     this.gvCVAction.OptionsCustomization.AllowFilter = false;
     this.gvCVAction.OptionsView.ShowGroupPanel = false;
     this.gvCVAction.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.coldtDate, DevExpress.Data.ColumnSortOrder.Descending)});
     //
     // colActionID
     //
     this.colActionID.Caption = "ID";
     this.colActionID.FieldName = "nActionID";
     this.colActionID.Name = "colActionID";
     this.colActionID.Visible = true;
     this.colActionID.VisibleIndex = 0;
     this.colActionID.Width = 64;
     //
     // coldtDate
     //
     this.coldtDate.Caption = "Date";
     this.coldtDate.DisplayFormat.FormatString = "dd/MM/yyy";
     this.coldtDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.coldtDate.FieldName = "dtDate";
     this.coldtDate.Name = "coldtDate";
     this.coldtDate.Visible = true;
     this.coldtDate.VisibleIndex = 1;
     this.coldtDate.Width = 117;
     //
     // coldtTime
     //
     this.coldtTime.Caption = "Time";
     this.coldtTime.DisplayFormat.FormatString = "hh:mm tt";
     this.coldtTime.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.coldtTime.FieldName = "dtDate";
     this.coldtTime.GroupFormat.FormatString = "hh:mm tt";
     this.coldtTime.GroupFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.coldtTime.Name = "coldtTime";
     this.coldtTime.Visible = true;
     this.coldtTime.VisibleIndex = 2;
     this.coldtTime.Width = 78;
     //
     // colMode
     //
     this.colMode.Caption = "Mode";
     this.colMode.FieldName = "strMode";
     this.colMode.Name = "colMode";
     this.colMode.Visible = true;
     this.colMode.VisibleIndex = 3;
     this.colMode.Width = 207;
     //
     // colActionDetail
     //
     this.colActionDetail.Caption = "Action Taken";
     this.colActionDetail.FieldName = "strActionDetails";
     this.colActionDetail.Name = "colActionDetail";
     this.colActionDetail.Visible = true;
     this.colActionDetail.VisibleIndex = 4;
     this.colActionDetail.Width = 262;
     //
     // colActionTakenBy
     //
     this.colActionTakenBy.Caption = "Action Taken By";
     this.colActionTakenBy.FieldName = "strActionTakenBy";
     this.colActionTakenBy.Name = "colActionTakenBy";
     this.colActionTakenBy.Visible = true;
     this.colActionTakenBy.VisibleIndex = 5;
     this.colActionTakenBy.Width = 231;
     //
     // colActionTakenByID
     //
     this.colActionTakenByID.Caption = "Action Taken By ID";
     this.colActionTakenByID.FieldName = "nActionByID";
     this.colActionTakenByID.Name = "colActionTakenByID";
     this.colActionTakenByID.Visible = true;
     this.colActionTakenByID.VisibleIndex = 6;
     //
     // groupCustomerVoiceCVDetails
     //
     this.groupCustomerVoiceCVDetails.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupCustomerVoiceCVDetails.Appearance.Options.UseBackColor = true;
     this.groupCustomerVoiceCVDetails.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupCustomerVoiceCVDetails.Controls.Add(this.GroupControl28);
     this.groupCustomerVoiceCVDetails.Location = new System.Drawing.Point(7, 344);
     this.groupCustomerVoiceCVDetails.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupCustomerVoiceCVDetails.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupCustomerVoiceCVDetails.Name = "groupCustomerVoiceCVDetails";
     this.groupCustomerVoiceCVDetails.Size = new System.Drawing.Size(992, 232);
     this.groupCustomerVoiceCVDetails.TabIndex = 6;
     this.groupCustomerVoiceCVDetails.Text = "CUSTOMER VOICE DETAILS";
     //
     // GroupControl28
     //
     this.GroupControl28.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.GroupControl28.Controls.Add(this.txtHomeNo);
     this.GroupControl28.Controls.Add(this.label31);
     this.GroupControl28.Controls.Add(this.txtEmail);
     this.GroupControl28.Controls.Add(this.label10);
     this.GroupControl28.Controls.Add(this.txtContactNo);
     this.GroupControl28.Controls.Add(this.label9);
     this.GroupControl28.Controls.Add(this.memoeditSummaryCV);
     this.GroupControl28.Controls.Add(this.Label32);
     this.GroupControl28.Dock = System.Windows.Forms.DockStyle.Fill;
     this.GroupControl28.Location = new System.Drawing.Point(2, 19);
     this.GroupControl28.Name = "GroupControl28";
     this.GroupControl28.ShowCaption = false;
     this.GroupControl28.Size = new System.Drawing.Size(988, 211);
     this.GroupControl28.TabIndex = 0;
     this.GroupControl28.Text = "GroupControl1";
     //
     // txtHomeNo
     //
     this.txtHomeNo.EditValue = "";
     this.txtHomeNo.Location = new System.Drawing.Point(360, 16);
     this.txtHomeNo.Name = "txtHomeNo";
     this.txtHomeNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
     this.txtHomeNo.Properties.Appearance.Options.UseFont = true;
     this.txtHomeNo.Properties.ReadOnly = true;
     this.txtHomeNo.Size = new System.Drawing.Size(152, 22);
     this.txtHomeNo.TabIndex = 18;
     //
     // label31
     //
     this.label31.AutoSize = true;
     this.label31.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label31.Location = new System.Drawing.Point(288, 16);
     this.label31.Name = "label31";
     this.label31.Size = new System.Drawing.Size(73, 16);
     this.label31.TabIndex = 19;
     this.label31.Text = "Home No";
     //
     // txtEmail
     //
     this.txtEmail.EditValue = "";
     this.txtEmail.Location = new System.Drawing.Point(640, 16);
     this.txtEmail.Name = "txtEmail";
     this.txtEmail.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
     this.txtEmail.Properties.Appearance.Options.UseFont = true;
     this.txtEmail.Properties.ReadOnly = true;
     this.txtEmail.Size = new System.Drawing.Size(280, 22);
     this.txtEmail.TabIndex = 1;
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.Location = new System.Drawing.Point(528, 16);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(109, 16);
     this.label10.TabIndex = 17;
     this.label10.Text = "Email Address";
     //
     // txtContactNo
     //
     this.txtContactNo.EditValue = "";
     this.txtContactNo.Location = new System.Drawing.Point(120, 16);
     this.txtContactNo.Name = "txtContactNo";
     this.txtContactNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
     this.txtContactNo.Properties.Appearance.Options.UseFont = true;
     this.txtContactNo.Properties.ReadOnly = true;
     this.txtContactNo.Size = new System.Drawing.Size(152, 22);
     this.txtContactNo.TabIndex = 0;
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(8, 16);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(79, 16);
     this.label9.TabIndex = 15;
     this.label9.Text = "Mobile No";
     //
     // memoeditSummaryCV
     //
     this.memoeditSummaryCV.EditValue = "";
     this.memoeditSummaryCV.Location = new System.Drawing.Point(120, 48);
     this.memoeditSummaryCV.Name = "memoeditSummaryCV";
     this.memoeditSummaryCV.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
     this.memoeditSummaryCV.Properties.Appearance.Options.UseFont = true;
     this.memoeditSummaryCV.Properties.ReadOnly = true;
     this.memoeditSummaryCV.Size = new System.Drawing.Size(800, 152);
     this.memoeditSummaryCV.TabIndex = 2;
     //
     // Label32
     //
     this.Label32.AutoSize = true;
     this.Label32.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label32.Location = new System.Drawing.Point(8, 56);
     this.Label32.Name = "Label32";
     this.Label32.Size = new System.Drawing.Size(113, 16);
     this.Label32.TabIndex = 13;
     this.Label32.Text = "Summary of CV";
     //
     // tabStaffSix
     //
     this.tabStaffSix.Appearance.Header.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabStaffSix.Appearance.Header.Options.UseFont = true;
     this.tabStaffSix.Controls.Add(this.groupControl1);
     this.tabStaffSix.Name = "tabStaffSix";
     this.tabStaffSix.PageVisible = false;
     this.tabStaffSix.Size = new System.Drawing.Size(1007, 612);
     this.tabStaffSix.Text = "Leave";
     //
     // groupControl1
     //
     this.groupControl1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupControl1.Controls.Add(this.lblSix_2);
     this.groupControl1.Controls.Add(this.lblSix_1);
     this.groupControl1.Controls.Add(this.groupLeave);
     this.groupControl1.Controls.Add(this.groupLeaveRoster);
     this.groupControl1.Controls.Add(this.luedtLeaveEmployeeID);
     this.groupControl1.Controls.Add(this.lblLeaveEmployeeID);
     this.groupControl1.Location = new System.Drawing.Point(0, 0);
     this.groupControl1.Name = "groupControl1";
     this.groupControl1.ShowCaption = false;
     this.groupControl1.Size = new System.Drawing.Size(1007, 610);
     this.groupControl1.TabIndex = 0;
     this.groupControl1.Text = "GroupControl1";
     //
     // lblSix_2
     //
     this.lblSix_2.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblSix_2.Appearance.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblSix_2.Appearance.Options.UseFont = true;
     this.lblSix_2.Appearance.Options.UseForeColor = true;
     this.lblSix_2.Location = new System.Drawing.Point(156, 4);
     this.lblSix_2.Name = "lblSix_2";
     this.lblSix_2.Size = new System.Drawing.Size(138, 23);
     this.lblSix_2.TabIndex = 144;
     this.lblSix_2.Text = "Roster";
     this.lblSix_2.Click += new System.EventHandler(this.lblSix_2_Click);
     //
     // lblSix_1
     //
     this.lblSix_1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lblSix_1.Appearance.ForeColor = System.Drawing.Color.MediumBlue;
     this.lblSix_1.Appearance.Options.UseFont = true;
     this.lblSix_1.Appearance.Options.UseForeColor = true;
     this.lblSix_1.Location = new System.Drawing.Point(12, 4);
     this.lblSix_1.Name = "lblSix_1";
     this.lblSix_1.Size = new System.Drawing.Size(138, 23);
     this.lblSix_1.TabIndex = 143;
     this.lblSix_1.Text = "Leave";
     this.lblSix_1.Click += new System.EventHandler(this.lblSix_2_Click);
     //
     // groupLeave
     //
     this.groupLeave.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupLeave.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupLeave.Controls.Add(this.groupLeaveLeaveDetails);
     this.groupLeave.Controls.Add(this.groupLeaveLeaveBalance);
     this.groupLeave.Location = new System.Drawing.Point(0, 30);
     this.groupLeave.Name = "groupLeave";
     this.groupLeave.Size = new System.Drawing.Size(1004, 578);
     this.groupLeave.TabIndex = 4;
     this.groupLeave.Text = "groupControl12";
     //
     // groupLeaveLeaveDetails
     //
     this.groupLeaveLeaveDetails.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupLeaveLeaveDetails.Appearance.Options.UseBackColor = true;
     this.groupLeaveLeaveDetails.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupLeaveLeaveDetails.Controls.Add(this.groupControl11);
     this.groupLeaveLeaveDetails.Location = new System.Drawing.Point(8, 0);
     this.groupLeaveLeaveDetails.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupLeaveLeaveDetails.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupLeaveLeaveDetails.Name = "groupLeaveLeaveDetails";
     this.groupLeaveLeaveDetails.Size = new System.Drawing.Size(990, 282);
     this.groupLeaveLeaveDetails.TabIndex = 5;
     this.groupLeaveLeaveDetails.Text = "LEAVE DETAILS";
     //
     // groupControl11
     //
     this.groupControl11.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl11.Controls.Add(this.cbLeaveStatus);
     this.groupControl11.Controls.Add(this.label35);
     this.groupControl11.Controls.Add(this.txtLeaveEntitlement);
     this.groupControl11.Controls.Add(this.label34);
     this.groupControl11.Controls.Add(this.dateedtLeaveJoinDate);
     this.groupControl11.Controls.Add(this.label33);
     this.groupControl11.Controls.Add(this.sbtnLeaveEdit);
     this.groupControl11.Controls.Add(this.sbtnLeaveDelete);
     this.groupControl11.Controls.Add(this.sbtnLeaveApply);
     this.groupControl11.Controls.Add(this.gridctrLeaveDetail);
     this.groupControl11.Controls.Add(this.cbLeaveNYearID);
     this.groupControl11.Controls.Add(this.lblNYearID);
     this.groupControl11.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControl11.Location = new System.Drawing.Point(2, 19);
     this.groupControl11.Name = "groupControl11";
     this.groupControl11.ShowCaption = false;
     this.groupControl11.Size = new System.Drawing.Size(986, 261);
     this.groupControl11.TabIndex = 0;
     this.groupControl11.Text = "GroupControl1";
     //
     // cbLeaveStatus
     //
     this.cbLeaveStatus.EditValue = "All";
     this.cbLeaveStatus.Location = new System.Drawing.Point(168, 8);
     this.cbLeaveStatus.Name = "cbLeaveStatus";
     this.cbLeaveStatus.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbLeaveStatus.Properties.Items.AddRange(new object[] {
     "Pending Approval",
     "Approved",
     "Rejected",
     "Cancelled",
     "All"});
     this.cbLeaveStatus.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbLeaveStatus.Size = new System.Drawing.Size(118, 20);
     this.cbLeaveStatus.TabIndex = 19;
     this.cbLeaveStatus.SelectedIndexChanged += new System.EventHandler(this.cbLeaveStatus_SelectedIndexChanged);
     //
     // label35
     //
     this.label35.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label35.Location = new System.Drawing.Point(120, 10);
     this.label35.Name = "label35";
     this.label35.Size = new System.Drawing.Size(46, 18);
     this.label35.TabIndex = 18;
     this.label35.Text = "Status:";
     //
     // txtLeaveEntitlement
     //
     this.txtLeaveEntitlement.EditValue = "";
     this.txtLeaveEntitlement.Location = new System.Drawing.Point(884, 8);
     this.txtLeaveEntitlement.Name = "txtLeaveEntitlement";
     this.txtLeaveEntitlement.Properties.ReadOnly = true;
     this.txtLeaveEntitlement.Size = new System.Drawing.Size(52, 20);
     this.txtLeaveEntitlement.TabIndex = 6;
     //
     // label34
     //
     this.label34.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label34.Location = new System.Drawing.Point(702, 10);
     this.label34.Name = "label34";
     this.label34.Size = new System.Drawing.Size(180, 18);
     this.label34.TabIndex = 17;
     this.label34.Text = "Leave Entitlement For This Year:";
     //
     // dateedtLeaveJoinDate
     //
     this.dateedtLeaveJoinDate.EditValue = null;
     this.dateedtLeaveJoinDate.Location = new System.Drawing.Point(588, 8);
     this.dateedtLeaveJoinDate.Name = "dateedtLeaveJoinDate";
     this.dateedtLeaveJoinDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateedtLeaveJoinDate.Properties.ReadOnly = true;
     this.dateedtLeaveJoinDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.dateedtLeaveJoinDate.Size = new System.Drawing.Size(110, 20);
     this.dateedtLeaveJoinDate.TabIndex = 5;
     this.dateedtLeaveJoinDate.QueryPopUp += new System.ComponentModel.CancelEventHandler(this.dateedtLeaveJoinDate_QueryPopUp);
     //
     // label33
     //
     this.label33.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label33.Location = new System.Drawing.Point(526, 10);
     this.label33.Name = "label33";
     this.label33.Size = new System.Drawing.Size(60, 18);
     this.label33.TabIndex = 15;
     this.label33.Text = "Join Date:";
     //
     // sbtnLeaveEdit
     //
     this.sbtnLeaveEdit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnLeaveEdit.Appearance.Options.UseFont = true;
     this.sbtnLeaveEdit.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnLeaveEdit.Location = new System.Drawing.Point(370, 8);
     this.sbtnLeaveEdit.Name = "sbtnLeaveEdit";
     this.sbtnLeaveEdit.Size = new System.Drawing.Size(72, 20);
     this.sbtnLeaveEdit.TabIndex = 3;
     this.sbtnLeaveEdit.Text = "Edit";
     this.sbtnLeaveEdit.Click += new System.EventHandler(this.sbtnLeaveEdit_Click);
     //
     // sbtnLeaveDelete
     //
     this.sbtnLeaveDelete.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnLeaveDelete.Appearance.Options.UseFont = true;
     this.sbtnLeaveDelete.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnLeaveDelete.Location = new System.Drawing.Point(448, 8);
     this.sbtnLeaveDelete.Name = "sbtnLeaveDelete";
     this.sbtnLeaveDelete.Size = new System.Drawing.Size(72, 20);
     this.sbtnLeaveDelete.TabIndex = 4;
     this.sbtnLeaveDelete.Text = "Cancel";
     this.sbtnLeaveDelete.Click += new System.EventHandler(this.sbtnLeaveDelete_Click);
     //
     // sbtnLeaveApply
     //
     this.sbtnLeaveApply.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnLeaveApply.Appearance.Options.UseFont = true;
     this.sbtnLeaveApply.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnLeaveApply.Location = new System.Drawing.Point(292, 8);
     this.sbtnLeaveApply.Name = "sbtnLeaveApply";
     this.sbtnLeaveApply.Size = new System.Drawing.Size(72, 20);
     this.sbtnLeaveApply.TabIndex = 2;
     this.sbtnLeaveApply.Text = "Apply";
     this.sbtnLeaveApply.Click += new System.EventHandler(this.sbtnLeaveApply_Click);
     //
     // gridctrLeaveDetail
     //
     this.gridctrLeaveDetail.EmbeddedNavigator.Name = "";
     this.gridctrLeaveDetail.Location = new System.Drawing.Point(4, 36);
     this.gridctrLeaveDetail.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridctrLeaveDetail.MainView = this.gvLeave;
     this.gridctrLeaveDetail.Name = "gridctrLeaveDetail";
     this.gridctrLeaveDetail.Size = new System.Drawing.Size(978, 222);
     this.gridctrLeaveDetail.TabIndex = 7;
     this.gridctrLeaveDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvLeave});
     //
     // gvLeave
     //
     this.gvLeave.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colLeaveStartDate,
     this.colLeaveStartTime,
     this.colLeaveEndTime,
     this.gridColumn2,
     this.gridColumn1,
     this.nLeaveQuantity,
     this.nUnpaidLeave,
     this.colLeaveTimeOff,
     this.colfFullDay,
     this.colLeaveLeaveType,
     this.colLeaveReason,
     this.colLeaveLeaveStatus,
     this.colLeaveApprovingManager});
     this.gvLeave.GridControl = this.gridctrLeaveDetail;
     this.gvLeave.Name = "gvLeave";
     this.gvLeave.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvLeave.OptionsBehavior.Editable = false;
     this.gvLeave.OptionsCustomization.AllowFilter = false;
     this.gvLeave.OptionsView.ShowFooter = true;
     this.gvLeave.OptionsView.ShowGroupPanel = false;
     this.gvLeave.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colLeaveStartDate, DevExpress.Data.ColumnSortOrder.Ascending)});
     //
     // colLeaveStartDate
     //
     this.colLeaveStartDate.Caption = "Date";
     this.colLeaveStartDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colLeaveStartDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colLeaveStartDate.FieldName = "dtStartTime";
     this.colLeaveStartDate.Name = "colLeaveStartDate";
     this.colLeaveStartDate.Visible = true;
     this.colLeaveStartDate.VisibleIndex = 0;
     //
     // colLeaveStartTime
     //
     this.colLeaveStartTime.Caption = "Start Time";
     this.colLeaveStartTime.DisplayFormat.FormatString = "hh:mm tt";
     this.colLeaveStartTime.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colLeaveStartTime.FieldName = "StartTime";
     this.colLeaveStartTime.Name = "colLeaveStartTime";
     this.colLeaveStartTime.Visible = true;
     this.colLeaveStartTime.VisibleIndex = 1;
     this.colLeaveStartTime.Width = 60;
     //
     // colLeaveEndTime
     //
     this.colLeaveEndTime.Caption = "End Time";
     this.colLeaveEndTime.DisplayFormat.FormatString = "hh:mm tt";
     this.colLeaveEndTime.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colLeaveEndTime.FieldName = "EndTime";
     this.colLeaveEndTime.Name = "colLeaveEndTime";
     this.colLeaveEndTime.Visible = true;
     this.colLeaveEndTime.VisibleIndex = 2;
     this.colLeaveEndTime.Width = 56;
     //
     // gridColumn2
     //
     this.gridColumn2.Caption = "Off (Hrs)";
     this.gridColumn2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn2.FieldName = "nTimeOffQuantity";
     this.gridColumn2.GroupFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.SummaryItem.DisplayFormat = "{0}";
     this.gridColumn2.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 3;
     this.gridColumn2.Width = 70;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption = "Unpaid(Hrs)";
     this.gridColumn1.FieldName = "nUnpaidTimeOff";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.SummaryItem.DisplayFormat = "{0}";
     this.gridColumn1.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 4;
     this.gridColumn1.Width = 73;
     //
     // nLeaveQuantity
     //
     this.nLeaveQuantity.Caption = "Leave (Days)";
     this.nLeaveQuantity.FieldName = "nLeaveQuantity";
     this.nLeaveQuantity.Name = "nLeaveQuantity";
     this.nLeaveQuantity.SummaryItem.DisplayFormat = "{0}";
     this.nLeaveQuantity.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.nLeaveQuantity.Visible = true;
     this.nLeaveQuantity.VisibleIndex = 5;
     this.nLeaveQuantity.Width = 78;
     //
     // nUnpaidLeave
     //
     this.nUnpaidLeave.Caption = "Unpaid (Days)";
     this.nUnpaidLeave.FieldName = "nUnpaidLeave";
     this.nUnpaidLeave.Name = "nUnpaidLeave";
     this.nUnpaidLeave.SummaryItem.DisplayFormat = "{0}";
     this.nUnpaidLeave.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.nUnpaidLeave.Visible = true;
     this.nUnpaidLeave.VisibleIndex = 6;
     this.nUnpaidLeave.Width = 85;
     //
     // colLeaveTimeOff
     //
     this.colLeaveTimeOff.Caption = "Time Off";
     this.colLeaveTimeOff.FieldName = "fTimeOff";
     this.colLeaveTimeOff.Name = "colLeaveTimeOff";
     this.colLeaveTimeOff.Width = 64;
     //
     // colfFullDay
     //
     this.colfFullDay.Caption = "Full Day";
     this.colfFullDay.FieldName = "fFullDay";
     this.colfFullDay.Name = "colfFullDay";
     this.colfFullDay.Visible = true;
     this.colfFullDay.VisibleIndex = 7;
     this.colfFullDay.Width = 54;
     //
     // colLeaveLeaveType
     //
     this.colLeaveLeaveType.Caption = "Type";
     this.colLeaveLeaveType.FieldName = "strLeaveType";
     this.colLeaveLeaveType.Name = "colLeaveLeaveType";
     this.colLeaveLeaveType.Visible = true;
     this.colLeaveLeaveType.VisibleIndex = 8;
     this.colLeaveLeaveType.Width = 68;
     //
     // colLeaveReason
     //
     this.colLeaveReason.Caption = "Reason";
     this.colLeaveReason.FieldName = "strRemarks";
     this.colLeaveReason.Name = "colLeaveReason";
     this.colLeaveReason.Visible = true;
     this.colLeaveReason.VisibleIndex = 9;
     this.colLeaveReason.Width = 62;
     //
     // colLeaveLeaveStatus
     //
     this.colLeaveLeaveStatus.Caption = "Status";
     this.colLeaveLeaveStatus.FieldName = "strStatus";
     this.colLeaveLeaveStatus.Name = "colLeaveLeaveStatus";
     this.colLeaveLeaveStatus.Visible = true;
     this.colLeaveLeaveStatus.VisibleIndex = 10;
     this.colLeaveLeaveStatus.Width = 64;
     //
     // colLeaveApprovingManager
     //
     this.colLeaveApprovingManager.Caption = "Approving Manager";
     this.colLeaveApprovingManager.FieldName = "strApprovingManager";
     this.colLeaveApprovingManager.Name = "colLeaveApprovingManager";
     this.colLeaveApprovingManager.Visible = true;
     this.colLeaveApprovingManager.VisibleIndex = 11;
     this.colLeaveApprovingManager.Width = 212;
     //
     // cbLeaveNYearID
     //
     this.cbLeaveNYearID.EditValue = "1";
     this.cbLeaveNYearID.Location = new System.Drawing.Point(60, 8);
     this.cbLeaveNYearID.Name = "cbLeaveNYearID";
     this.cbLeaveNYearID.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbLeaveNYearID.Properties.Items.AddRange(new object[] {
     "1"});
     this.cbLeaveNYearID.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbLeaveNYearID.Size = new System.Drawing.Size(56, 20);
     this.cbLeaveNYearID.TabIndex = 1;
     this.cbLeaveNYearID.SelectedIndexChanged += new System.EventHandler(this.cbLeaveNYearID_SelectedIndexChanged);
     //
     // lblNYearID
     //
     this.lblNYearID.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblNYearID.Location = new System.Drawing.Point(6, 10);
     this.lblNYearID.Name = "lblNYearID";
     this.lblNYearID.Size = new System.Drawing.Size(52, 18);
     this.lblNYearID.TabIndex = 15;
     this.lblNYearID.Text = "Year ID:";
     //
     // groupLeaveLeaveBalance
     //
     this.groupLeaveLeaveBalance.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupLeaveLeaveBalance.Appearance.Options.UseBackColor = true;
     this.groupLeaveLeaveBalance.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupLeaveLeaveBalance.Controls.Add(this.groupControl5);
     this.groupLeaveLeaveBalance.Location = new System.Drawing.Point(8, 286);
     this.groupLeaveLeaveBalance.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupLeaveLeaveBalance.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupLeaveLeaveBalance.Name = "groupLeaveLeaveBalance";
     this.groupLeaveLeaveBalance.Size = new System.Drawing.Size(990, 290);
     this.groupLeaveLeaveBalance.TabIndex = 7;
     this.groupLeaveLeaveBalance.Text = "LEAVE BALANCE";
     //
     // groupControl5
     //
     this.groupControl5.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl5.Controls.Add(this.btnConvert);
     this.groupControl5.Controls.Add(this.txtDaysConvert);
     this.groupControl5.Controls.Add(this.label36);
     this.groupControl5.Controls.Add(this.btnAdjust);
     this.groupControl5.Controls.Add(this.txtLeaveAdjust);
     this.groupControl5.Controls.Add(this.label29);
     this.groupControl5.Controls.Add(this.sbtnLeaveBalanceInquiry);
     this.groupControl5.Controls.Add(this.label25);
     this.groupControl5.Controls.Add(this.cbLeaveBalance);
     this.groupControl5.Controls.Add(this.gridctrLeaveBalance);
     this.groupControl5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.groupControl5.Location = new System.Drawing.Point(2, 19);
     this.groupControl5.Name = "groupControl5";
     this.groupControl5.ShowCaption = false;
     this.groupControl5.Size = new System.Drawing.Size(986, 269);
     this.groupControl5.TabIndex = 0;
     this.groupControl5.Text = "GroupControl1";
     //
     // btnConvert
     //
     this.btnConvert.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnConvert.Location = new System.Drawing.Point(822, 10);
     this.btnConvert.Name = "btnConvert";
     this.btnConvert.Size = new System.Drawing.Size(56, 22);
     this.btnConvert.TabIndex = 21;
     this.btnConvert.Text = "Convert";
     this.btnConvert.Click += new System.EventHandler(this.button1_Click_1);
     //
     // txtDaysConvert
     //
     this.txtDaysConvert.Location = new System.Drawing.Point(782, 10);
     this.txtDaysConvert.Name = "txtDaysConvert";
     this.txtDaysConvert.Size = new System.Drawing.Size(36, 20);
     this.txtDaysConvert.TabIndex = 20;
     //
     // label36
     //
     this.label36.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label36.Location = new System.Drawing.Point(642, 12);
     this.label36.Name = "label36";
     this.label36.Size = new System.Drawing.Size(136, 20);
     this.label36.TabIndex = 19;
     this.label36.Text = "Convert Leave to Hours:";
     //
     // btnAdjust
     //
     this.btnAdjust.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAdjust.Location = new System.Drawing.Point(518, 10);
     this.btnAdjust.Name = "btnAdjust";
     this.btnAdjust.Size = new System.Drawing.Size(46, 22);
     this.btnAdjust.TabIndex = 18;
     this.btnAdjust.Text = "Adjust";
     this.btnAdjust.Click += new System.EventHandler(this.button1_Click);
     //
     // txtLeaveAdjust
     //
     this.txtLeaveAdjust.Location = new System.Drawing.Point(478, 10);
     this.txtLeaveAdjust.Name = "txtLeaveAdjust";
     this.txtLeaveAdjust.Size = new System.Drawing.Size(36, 20);
     this.txtLeaveAdjust.TabIndex = 17;
     //
     // label29
     //
     this.label29.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label29.Location = new System.Drawing.Point(288, 12);
     this.label29.Name = "label29";
     this.label29.Size = new System.Drawing.Size(184, 20);
     this.label29.TabIndex = 15;
     this.label29.Text = "Adjustment for selected Year ID :";
     //
     // sbtnLeaveBalanceInquiry
     //
     this.sbtnLeaveBalanceInquiry.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnLeaveBalanceInquiry.Appearance.Options.UseFont = true;
     this.sbtnLeaveBalanceInquiry.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnLeaveBalanceInquiry.Location = new System.Drawing.Point(186, 10);
     this.sbtnLeaveBalanceInquiry.Name = "sbtnLeaveBalanceInquiry";
     this.sbtnLeaveBalanceInquiry.Size = new System.Drawing.Size(72, 20);
     this.sbtnLeaveBalanceInquiry.TabIndex = 2;
     this.sbtnLeaveBalanceInquiry.Text = "Inquiry";
     this.sbtnLeaveBalanceInquiry.Click += new System.EventHandler(this.sbtnLeaveBalanceInquiry_Click);
     //
     // label25
     //
     this.label25.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label25.Location = new System.Drawing.Point(8, 12);
     this.label25.Name = "label25";
     this.label25.Size = new System.Drawing.Size(40, 18);
     this.label25.TabIndex = 14;
     this.label25.Text = "Type:";
     //
     // cbLeaveBalance
     //
     this.cbLeaveBalance.EditValue = "Annual Leave balance";
     this.cbLeaveBalance.Location = new System.Drawing.Point(52, 10);
     this.cbLeaveBalance.Name = "cbLeaveBalance";
     this.cbLeaveBalance.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbLeaveBalance.Properties.Items.AddRange(new object[] {
     "Annual Leave balance",
     "Time Off balance",
     "Misc Leave balance"});
     this.cbLeaveBalance.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.cbLeaveBalance.Size = new System.Drawing.Size(130, 20);
     this.cbLeaveBalance.TabIndex = 0;
     //
     // gridctrLeaveBalance
     //
     this.gridctrLeaveBalance.EmbeddedNavigator.Name = "";
     this.gridctrLeaveBalance.Location = new System.Drawing.Point(4, 38);
     this.gridctrLeaveBalance.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridctrLeaveBalance.MainView = this.gvLeaveBalance;
     this.gridctrLeaveBalance.Name = "gridctrLeaveBalance";
     this.gridctrLeaveBalance.Size = new System.Drawing.Size(978, 226);
     this.gridctrLeaveBalance.TabIndex = 3;
     this.gridctrLeaveBalance.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gvLeaveBalance});
     //
     // gvLeaveBalance
     //
     this.gvLeaveBalance.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colLeaveBalanceDate,
     this.colLeaveBalanceTransaction,
     this.colLeaveBalanceStatus,
     this.colLeaveBalanceNoOfDays});
     this.gvLeaveBalance.GridControl = this.gridctrLeaveBalance;
     this.gvLeaveBalance.Name = "gvLeaveBalance";
     this.gvLeaveBalance.OptionsBehavior.AllowIncrementalSearch = true;
     this.gvLeaveBalance.OptionsBehavior.Editable = false;
     this.gvLeaveBalance.OptionsCustomization.AllowFilter = false;
     this.gvLeaveBalance.OptionsCustomization.AllowSort = false;
     this.gvLeaveBalance.OptionsLayout.Columns.AddNewColumns = false;
     this.gvLeaveBalance.OptionsView.ShowFooter = true;
     this.gvLeaveBalance.OptionsView.ShowGroupPanel = false;
     this.gvLeaveBalance.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colLeaveBalanceTransaction, DevExpress.Data.ColumnSortOrder.Ascending)});
     //
     // colLeaveBalanceDate
     //
     this.colLeaveBalanceDate.Caption = "Date";
     this.colLeaveBalanceDate.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colLeaveBalanceDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.colLeaveBalanceDate.FieldName = "dtDate";
     this.colLeaveBalanceDate.Name = "colLeaveBalanceDate";
     this.colLeaveBalanceDate.Visible = true;
     this.colLeaveBalanceDate.VisibleIndex = 0;
     this.colLeaveBalanceDate.Width = 173;
     //
     // colLeaveBalanceTransaction
     //
     this.colLeaveBalanceTransaction.Caption = "Transaction";
     this.colLeaveBalanceTransaction.FieldName = "Transaction";
     this.colLeaveBalanceTransaction.Name = "colLeaveBalanceTransaction";
     this.colLeaveBalanceTransaction.Visible = true;
     this.colLeaveBalanceTransaction.VisibleIndex = 1;
     this.colLeaveBalanceTransaction.Width = 512;
     //
     // colLeaveBalanceStatus
     //
     this.colLeaveBalanceStatus.Caption = "Status";
     this.colLeaveBalanceStatus.FieldName = "strStatus";
     this.colLeaveBalanceStatus.Name = "colLeaveBalanceStatus";
     this.colLeaveBalanceStatus.Visible = true;
     this.colLeaveBalanceStatus.VisibleIndex = 2;
     this.colLeaveBalanceStatus.Width = 172;
     //
     // colLeaveBalanceNoOfDays
     //
     this.colLeaveBalanceNoOfDays.Caption = "No. of Days";
     this.colLeaveBalanceNoOfDays.FieldName = "NoOfDays";
     this.colLeaveBalanceNoOfDays.Name = "colLeaveBalanceNoOfDays";
     this.colLeaveBalanceNoOfDays.SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
     this.colLeaveBalanceNoOfDays.Visible = true;
     this.colLeaveBalanceNoOfDays.VisibleIndex = 3;
     this.colLeaveBalanceNoOfDays.Width = 100;
     //
     // groupLeaveRoster
     //
     this.groupLeaveRoster.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupLeaveRoster.Appearance.Options.UseBackColor = true;
     this.groupLeaveRoster.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupLeaveRoster.Controls.Add(this.groupControl2);
     this.groupLeaveRoster.Controls.Add(this.panelControl1);
     this.groupLeaveRoster.Controls.Add(this.sbtnLeaveNextMonth);
     this.groupLeaveRoster.Controls.Add(this.sbtnLeavePreviousMonth);
     this.groupLeaveRoster.Location = new System.Drawing.Point(8, 30);
     this.groupLeaveRoster.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.groupLeaveRoster.LookAndFeel.UseDefaultLookAndFeel = false;
     this.groupLeaveRoster.Name = "groupLeaveRoster";
     this.groupLeaveRoster.Size = new System.Drawing.Size(994, 576);
     this.groupLeaveRoster.TabIndex = 1;
     this.groupLeaveRoster.Text = "ROSTER";
     //
     // groupControl2
     //
     this.groupControl2.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.groupControl2.Appearance.ForeColor = System.Drawing.Color.Black;
     this.groupControl2.Appearance.Options.UseBackColor = true;
     this.groupControl2.Appearance.Options.UseForeColor = true;
     this.groupControl2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl2.Controls.Add(this.label23);
     this.groupControl2.Controls.Add(this.label24);
     this.groupControl2.Controls.Add(this.label21);
     this.groupControl2.Controls.Add(this.label22);
     this.groupControl2.Controls.Add(this.label19);
     this.groupControl2.Controls.Add(this.label20);
     this.groupControl2.Controls.Add(this.label18);
     this.groupControl2.Controls.Add(this.label4);
     this.groupControl2.Location = new System.Drawing.Point(694, 38);
     this.groupControl2.Name = "groupControl2";
     this.groupControl2.Size = new System.Drawing.Size(210, 138);
     this.groupControl2.TabIndex = 30;
     this.groupControl2.Text = "Legend";
     //
     // label23
     //
     this.label23.Location = new System.Drawing.Point(42, 114);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(162, 16);
     this.label23.TabIndex = 7;
     this.label23.Text = "Time off";
     //
     // label24
     //
     this.label24.BackColor = System.Drawing.Color.Green;
     this.label24.Location = new System.Drawing.Point(10, 108);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(26, 23);
     this.label24.TabIndex = 6;
     //
     // label21
     //
     this.label21.Location = new System.Drawing.Point(42, 84);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(162, 16);
     this.label21.TabIndex = 5;
     this.label21.Text = "Full day leave";
     //
     // label22
     //
     this.label22.BackColor = System.Drawing.Color.LightBlue;
     this.label22.Location = new System.Drawing.Point(10, 78);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(26, 23);
     this.label22.TabIndex = 4;
     //
     // label19
     //
     this.label19.Location = new System.Drawing.Point(42, 56);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(162, 16);
     this.label19.TabIndex = 3;
     this.label19.Text = "Half day leave";
     //
     // label20
     //
     this.label20.BackColor = System.Drawing.Color.Yellow;
     this.label20.Location = new System.Drawing.Point(10, 50);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(26, 23);
     this.label20.TabIndex = 2;
     //
     // label18
     //
     this.label18.Location = new System.Drawing.Point(42, 28);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(162, 16);
     this.label18.TabIndex = 1;
     this.label18.Text = "Applied leave in pending status";
     //
     // label4
     //
     this.label4.BackColor = System.Drawing.Color.Red;
     this.label4.Location = new System.Drawing.Point(10, 22);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(26, 23);
     this.label4.TabIndex = 0;
     //
     // panelControl1
     //
     this.panelControl1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Controls.Add(this.acmsRosterHeader6);
     this.panelControl1.Controls.Add(this.acmsRosterHeader5);
     this.panelControl1.Controls.Add(this.acmsRosterHeader4);
     this.panelControl1.Controls.Add(this.acmsRosterHeader3);
     this.panelControl1.Controls.Add(this.acmsRosterHeader2);
     this.panelControl1.Controls.Add(this.acmsRosterHeader1);
     this.panelControl1.Location = new System.Drawing.Point(6, 44);
     this.panelControl1.Name = "panelControl1";
     this.panelControl1.Size = new System.Drawing.Size(668, 530);
     this.panelControl1.TabIndex = 29;
     //
     // acmsRosterHeader6
     //
     this.acmsRosterHeader6.dtLeaveDetails = null;
     this.acmsRosterHeader6.dtRoster = null;
     this.acmsRosterHeader6.dtRosterDetail = null;
     this.acmsRosterHeader6.EmpID = null;
     this.acmsRosterHeader6.IsShowLeave = false;
     this.acmsRosterHeader6.Location = new System.Drawing.Point(-146, 442);
     this.acmsRosterHeader6.Name = "acmsRosterHeader6";
     this.acmsRosterHeader6.ShowHeaderLabel = false;
     this.acmsRosterHeader6.Size = new System.Drawing.Size(794, 85);
     this.acmsRosterHeader6.TabIndex = 5;
     this.acmsRosterHeader6.WeekDay = null;
     this.acmsRosterHeader6.WeekNo = null;
     this.acmsRosterHeader6.year = null;
     this.acmsRosterHeader6.Click += new System.EventHandler(this.acmsRosterHeader_Click);
     //
     // acmsRosterHeader5
     //
     this.acmsRosterHeader5.dtLeaveDetails = null;
     this.acmsRosterHeader5.dtRoster = null;
     this.acmsRosterHeader5.dtRosterDetail = null;
     this.acmsRosterHeader5.EmpID = null;
     this.acmsRosterHeader5.IsShowLeave = false;
     this.acmsRosterHeader5.Location = new System.Drawing.Point(-146, 354);
     this.acmsRosterHeader5.Name = "acmsRosterHeader5";
     this.acmsRosterHeader5.ShowHeaderLabel = false;
     this.acmsRosterHeader5.Size = new System.Drawing.Size(794, 85);
     this.acmsRosterHeader5.TabIndex = 4;
     this.acmsRosterHeader5.WeekDay = null;
     this.acmsRosterHeader5.WeekNo = null;
     this.acmsRosterHeader5.year = null;
     this.acmsRosterHeader5.Click += new System.EventHandler(this.acmsRosterHeader_Click);
     //
     // acmsRosterHeader4
     //
     this.acmsRosterHeader4.dtLeaveDetails = null;
     this.acmsRosterHeader4.dtRoster = null;
     this.acmsRosterHeader4.dtRosterDetail = null;
     this.acmsRosterHeader4.EmpID = null;
     this.acmsRosterHeader4.IsShowLeave = false;
     this.acmsRosterHeader4.Location = new System.Drawing.Point(-146, 266);
     this.acmsRosterHeader4.Name = "acmsRosterHeader4";
     this.acmsRosterHeader4.ShowHeaderLabel = false;
     this.acmsRosterHeader4.Size = new System.Drawing.Size(794, 85);
     this.acmsRosterHeader4.TabIndex = 3;
     this.acmsRosterHeader4.WeekDay = null;
     this.acmsRosterHeader4.WeekNo = null;
     this.acmsRosterHeader4.year = null;
     this.acmsRosterHeader4.Click += new System.EventHandler(this.acmsRosterHeader_Click);
     //
     // acmsRosterHeader3
     //
     this.acmsRosterHeader3.dtLeaveDetails = null;
     this.acmsRosterHeader3.dtRoster = null;
     this.acmsRosterHeader3.dtRosterDetail = null;
     this.acmsRosterHeader3.EmpID = null;
     this.acmsRosterHeader3.IsShowLeave = false;
     this.acmsRosterHeader3.Location = new System.Drawing.Point(-146, 178);
     this.acmsRosterHeader3.Name = "acmsRosterHeader3";
     this.acmsRosterHeader3.ShowHeaderLabel = false;
     this.acmsRosterHeader3.Size = new System.Drawing.Size(794, 85);
     this.acmsRosterHeader3.TabIndex = 2;
     this.acmsRosterHeader3.WeekDay = null;
     this.acmsRosterHeader3.WeekNo = null;
     this.acmsRosterHeader3.year = null;
     this.acmsRosterHeader3.Click += new System.EventHandler(this.acmsRosterHeader_Click);
     //
     // acmsRosterHeader2
     //
     this.acmsRosterHeader2.dtLeaveDetails = null;
     this.acmsRosterHeader2.dtRoster = null;
     this.acmsRosterHeader2.dtRosterDetail = null;
     this.acmsRosterHeader2.EmpID = null;
     this.acmsRosterHeader2.IsShowLeave = false;
     this.acmsRosterHeader2.Location = new System.Drawing.Point(-146, 90);
     this.acmsRosterHeader2.Name = "acmsRosterHeader2";
     this.acmsRosterHeader2.ShowHeaderLabel = false;
     this.acmsRosterHeader2.Size = new System.Drawing.Size(794, 85);
     this.acmsRosterHeader2.TabIndex = 1;
     this.acmsRosterHeader2.WeekDay = null;
     this.acmsRosterHeader2.WeekNo = null;
     this.acmsRosterHeader2.year = null;
     this.acmsRosterHeader2.Click += new System.EventHandler(this.acmsRosterHeader_Click);
     //
     // acmsRosterHeader1
     //
     this.acmsRosterHeader1.dtLeaveDetails = null;
     this.acmsRosterHeader1.dtRoster = null;
     this.acmsRosterHeader1.dtRosterDetail = null;
     this.acmsRosterHeader1.EmpID = null;
     this.acmsRosterHeader1.IsShowLeave = false;
     this.acmsRosterHeader1.Location = new System.Drawing.Point(-146, 2);
     this.acmsRosterHeader1.Name = "acmsRosterHeader1";
     this.acmsRosterHeader1.ShowHeaderLabel = false;
     this.acmsRosterHeader1.Size = new System.Drawing.Size(794, 85);
     this.acmsRosterHeader1.TabIndex = 0;
     this.acmsRosterHeader1.WeekDay = null;
     this.acmsRosterHeader1.WeekNo = null;
     this.acmsRosterHeader1.year = null;
     this.acmsRosterHeader1.Click += new System.EventHandler(this.acmsRosterHeader_Click);
     //
     // sbtnLeaveNextMonth
     //
     this.sbtnLeaveNextMonth.Appearance.BackColor = System.Drawing.Color.LightGray;
     this.sbtnLeaveNextMonth.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnLeaveNextMonth.Appearance.Options.UseBackColor = true;
     this.sbtnLeaveNextMonth.Appearance.Options.UseFont = true;
     this.sbtnLeaveNextMonth.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnLeaveNextMonth.Location = new System.Drawing.Point(572, 22);
     this.sbtnLeaveNextMonth.Name = "sbtnLeaveNextMonth";
     this.sbtnLeaveNextMonth.Size = new System.Drawing.Size(80, 20);
     this.sbtnLeaveNextMonth.TabIndex = 1;
     this.sbtnLeaveNextMonth.Text = "Next >>";
     this.sbtnLeaveNextMonth.Click += new System.EventHandler(this.sbtnLeaveNextMonth_Click);
     //
     // sbtnLeavePreviousMonth
     //
     this.sbtnLeavePreviousMonth.Appearance.BackColor = System.Drawing.Color.LightGray;
     this.sbtnLeavePreviousMonth.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.sbtnLeavePreviousMonth.Appearance.Options.UseBackColor = true;
     this.sbtnLeavePreviousMonth.Appearance.Options.UseFont = true;
     this.sbtnLeavePreviousMonth.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
     this.sbtnLeavePreviousMonth.Location = new System.Drawing.Point(12, 22);
     this.sbtnLeavePreviousMonth.Name = "sbtnLeavePreviousMonth";
     this.sbtnLeavePreviousMonth.Size = new System.Drawing.Size(80, 20);
     this.sbtnLeavePreviousMonth.TabIndex = 0;
     this.sbtnLeavePreviousMonth.Text = "<<Previous";
     this.sbtnLeavePreviousMonth.Click += new System.EventHandler(this.sbtnLeavePreviousMonth_Click);
     //
     // luedtLeaveEmployeeID
     //
     this.luedtLeaveEmployeeID.Location = new System.Drawing.Point(778, 2);
     this.luedtLeaveEmployeeID.Name = "luedtLeaveEmployeeID";
     this.luedtLeaveEmployeeID.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.luedtLeaveEmployeeID.Size = new System.Drawing.Size(208, 20);
     this.luedtLeaveEmployeeID.TabIndex = 3;
     this.luedtLeaveEmployeeID.EditValueChanged += new System.EventHandler(this.luedtLeaveEmployeeID_EditValueChanged);
     //
     // lblLeaveEmployeeID
     //
     this.lblLeaveEmployeeID.AutoSize = true;
     this.lblLeaveEmployeeID.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLeaveEmployeeID.Location = new System.Drawing.Point(690, 6);
     this.lblLeaveEmployeeID.Name = "lblLeaveEmployeeID";
     this.lblLeaveEmployeeID.Size = new System.Drawing.Size(88, 16);
     this.lblLeaveEmployeeID.TabIndex = 32;
     this.lblLeaveEmployeeID.Text = "Staff Name:";
     //
     // tabStaffSeven
     //
     this.tabStaffSeven.Appearance.Header.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold);
     this.tabStaffSeven.Appearance.Header.Options.UseFont = true;
     this.tabStaffSeven.Controls.Add(this.groupControl17);
     this.tabStaffSeven.Name = "tabStaffSeven";
     this.tabStaffSeven.Size = new System.Drawing.Size(1007, 612);
     this.tabStaffSeven.Text = "To-Do-List";
     //
     // groupControl17
     //
     this.groupControl17.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupControl17.Appearance.Options.UseFont = true;
     this.groupControl17.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl17.Location = new System.Drawing.Point(0, 0);
     this.groupControl17.Name = "groupControl17";
     this.groupControl17.Size = new System.Drawing.Size(992, 576);
     this.groupControl17.TabIndex = 1;
     this.groupControl17.Text = "You Won\'t Behind Schedule Anymore";
     //
     // tabStaffEight
     //
     this.tabStaffEight.Appearance.Header.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold);
     this.tabStaffEight.Appearance.Header.Options.UseFont = true;
     this.tabStaffEight.Controls.Add(this.xtraTabControl1);
     this.tabStaffEight.Controls.Add(this.groupControl18);
     this.tabStaffEight.Name = "tabStaffEight";
     this.tabStaffEight.Size = new System.Drawing.Size(1007, 612);
     this.tabStaffEight.Text = "Work Flow";
     //
     // xtraTabControl1
     //
     this.xtraTabControl1.Location = new System.Drawing.Point(0, 337);
     this.xtraTabControl1.Name = "xtraTabControl1";
     this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
     this.xtraTabControl1.Size = new System.Drawing.Size(1004, 281);
     this.xtraTabControl1.TabIndex = 3;
     this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.xtraTabPage1,
     this.xtraTabPage2,
     this.xtraTabPage3});
     this.xtraTabControl1.Text = "xtraTabControl1";
     //
     // xtraTabPage1
     //
     this.xtraTabPage1.Controls.Add(this.memoEdit2);
     this.xtraTabPage1.Controls.Add(this.labelControl1);
     this.xtraTabPage1.Image = ((System.Drawing.Image)(resources.GetObject("xtraTabPage1.Image")));
     this.xtraTabPage1.Name = "xtraTabPage1";
     this.xtraTabPage1.Size = new System.Drawing.Size(995, 240);
     this.xtraTabPage1.Text = "Detail";
     //
     // memoEdit2
     //
     this.memoEdit2.EditValue = "";
     this.memoEdit2.Location = new System.Drawing.Point(10, 33);
     this.memoEdit2.Name = "memoEdit2";
     this.memoEdit2.Size = new System.Drawing.Size(706, 187);
     this.memoEdit2.TabIndex = 6;
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(12, 8);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(53, 13);
     this.labelControl1.TabIndex = 0;
     this.labelControl1.Text = "Description";
     //
     // xtraTabPage2
     //
     this.xtraTabPage2.Controls.Add(this.lookUpEdit4);
     this.xtraTabPage2.Controls.Add(this.label40);
     this.xtraTabPage2.Controls.Add(this.lookUpEdit3);
     this.xtraTabPage2.Controls.Add(this.label39);
     this.xtraTabPage2.Controls.Add(this.lookUpEdit2);
     this.xtraTabPage2.Controls.Add(this.label38);
     this.xtraTabPage2.Controls.Add(this.lookUpEdit1);
     this.xtraTabPage2.Controls.Add(this.label28);
     this.xtraTabPage2.Image = ((System.Drawing.Image)(resources.GetObject("xtraTabPage2.Image")));
     this.xtraTabPage2.Name = "xtraTabPage2";
     this.xtraTabPage2.Size = new System.Drawing.Size(995, 240);
     this.xtraTabPage2.Text = "Attachment";
     //
     // lookUpEdit4
     //
     this.lookUpEdit4.Location = new System.Drawing.Point(100, 39);
     this.lookUpEdit4.Name = "lookUpEdit4";
     this.lookUpEdit4.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEdit4.Size = new System.Drawing.Size(139, 20);
     this.lookUpEdit4.TabIndex = 7;
     //
     // label40
     //
     this.label40.AutoSize = true;
     this.label40.Location = new System.Drawing.Point(19, 43);
     this.label40.Name = "label40";
     this.label40.Size = new System.Drawing.Size(61, 13);
     this.label40.TabIndex = 6;
     this.label40.Text = "Attachment";
     //
     // lookUpEdit3
     //
     this.lookUpEdit3.Location = new System.Drawing.Point(100, 70);
     this.lookUpEdit3.Name = "lookUpEdit3";
     this.lookUpEdit3.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEdit3.Size = new System.Drawing.Size(139, 20);
     this.lookUpEdit3.TabIndex = 5;
     //
     // label39
     //
     this.label39.AutoSize = true;
     this.label39.Location = new System.Drawing.Point(19, 77);
     this.label39.Name = "label39";
     this.label39.Size = new System.Drawing.Size(61, 13);
     this.label39.TabIndex = 4;
     this.label39.Text = "Attachment";
     //
     // lookUpEdit2
     //
     this.lookUpEdit2.Location = new System.Drawing.Point(100, 106);
     this.lookUpEdit2.Name = "lookUpEdit2";
     this.lookUpEdit2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEdit2.Size = new System.Drawing.Size(139, 20);
     this.lookUpEdit2.TabIndex = 3;
     //
     // label38
     //
     this.label38.AutoSize = true;
     this.label38.Location = new System.Drawing.Point(19, 110);
     this.label38.Name = "label38";
     this.label38.Size = new System.Drawing.Size(61, 13);
     this.label38.TabIndex = 2;
     this.label38.Text = "Attachment";
     //
     // lookUpEdit1
     //
     this.lookUpEdit1.Location = new System.Drawing.Point(100, 10);
     this.lookUpEdit1.Name = "lookUpEdit1";
     this.lookUpEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lookUpEdit1.Size = new System.Drawing.Size(139, 20);
     this.lookUpEdit1.TabIndex = 1;
     //
     // label28
     //
     this.label28.AutoSize = true;
     this.label28.Location = new System.Drawing.Point(19, 14);
     this.label28.Name = "label28";
     this.label28.Size = new System.Drawing.Size(61, 13);
     this.label28.TabIndex = 0;
     this.label28.Text = "Attachment";
     //
     // xtraTabPage3
     //
     this.xtraTabPage3.Image = ((System.Drawing.Image)(resources.GetObject("xtraTabPage3.Image")));
     this.xtraTabPage3.Name = "xtraTabPage3";
     this.xtraTabPage3.Size = new System.Drawing.Size(995, 240);
     this.xtraTabPage3.Text = "Video";
     //
     // groupControl18
     //
     this.groupControl18.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupControl18.Appearance.Options.UseFont = true;
     this.groupControl18.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     this.groupControl18.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupControl18.Location = new System.Drawing.Point(0, 0);
     this.groupControl18.Name = "groupControl18";
     this.groupControl18.Size = new System.Drawing.Size(1007, 337);
     this.groupControl18.TabIndex = 2;
     this.groupControl18.Text = "You Won\'t Behind Schedule Anymore";
     //
     // timer1
     //
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // frmStaff
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(1016, 713);
     this.Controls.Add(this.tabStaff);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu = this.MainMenu1;
     this.Name = "frmStaff";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "ACMS Staff";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.frmStaff_Load);
     this.Closing += new System.ComponentModel.CancelEventHandler(this.frmStaff_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.BarManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.BarAndDockingController1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabStaff)).EndInit();
     this.tabStaff.ResumeLayout(false);
     this.tabStaffOne.ResumeLayout(false);
     this.tabStaffOne.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.luedtMemoEmployeeID.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupMessages)).EndInit();
     this.groupMessages.ResumeLayout(false);
     this.groupMessages.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupMessagesEntry)).EndInit();
     this.groupMessagesEntry.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cbViewMemo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gctrMemo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvMemo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupMessagesFollowUpAction)).EndInit();
     this.groupMessagesFollowUpAction.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl4)).EndInit();
     this.GroupControl4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gctrReplies)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvReplies)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupMessagesMemoInfo)).EndInit();
     this.groupMessagesMemoInfo.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl8)).EndInit();
     this.GroupControl8.ResumeLayout(false);
     this.GroupControl8.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.memoedtMessage.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupMessagesReceipient)).EndInit();
     this.groupMessagesReceipient.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl6)).EndInit();
     this.GroupControl6.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cbMemoReceipient.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gctrReceipient)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvReceipient)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupReceipientGroup)).EndInit();
     this.groupReceipientGroup.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupReceipientGroupEntry)).EndInit();
     this.groupReceipientGroupEntry.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gctrRecpGrp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvRecpGrp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupReceipientGroupReceipientEntries)).EndInit();
     this.groupReceipientGroupReceipientEntries.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl10)).EndInit();
     this.GroupControl10.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gctrRecpEntry)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvRecpEntry)).EndInit();
     this.tabStaffTwo.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupService)).EndInit();
     this.groupService.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupServiceEntry)).EndInit();
     this.groupServiceEntry.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).EndInit();
     this.groupControl3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.luedtCommissionServiceBranch.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbServiceYear.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbServiceMonth.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbServiceServiceType.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gctrService)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvService)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupSales)).EndInit();
     this.groupSales.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupSalesEntry)).EndInit();
     this.groupSalesEntry.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl7)).EndInit();
     this.groupControl7.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.luedtSalesBranchCode.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbSalesYear.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbSalesMonth.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbSalesType.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gctrSales)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvSales)).EndInit();
     this.tabStaffThree.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupTimesheet)).EndInit();
     this.groupTimesheet.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupTimesheetEntry)).EndInit();
     this.groupTimesheetEntry.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl9)).EndInit();
     this.groupControl9.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cbTimesheetYear.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbTimesheetMonth.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrTimesheet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvTimesheet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupOvertime)).EndInit();
     this.groupOvertime.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl15)).EndInit();
     this.groupControl15.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl16)).EndInit();
     this.groupControl16.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cbOvertimeYear.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbOvertimeMonth.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrOvertime)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvOvertime)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupLateness)).EndInit();
     this.groupLateness.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl13)).EndInit();
     this.groupControl13.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl14)).EndInit();
     this.groupControl14.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cbLatenessYear.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbLatenessMonth.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrLateness)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvLateness)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTimeEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTimeEdit2)).EndInit();
     this.tabStaffFour.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupAppointment)).EndInit();
     this.groupAppointment.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupAppointmentEntry)).EndInit();
     this.groupAppointmentEntry.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl12)).EndInit();
     this.groupControl12.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cbAppointmentYear.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbAppointmentMonth.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrAppointment)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvAppointment)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupContact)).EndInit();
     this.groupContact.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupContactEntry)).EndInit();
     this.groupContactEntry.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridctrContact)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvContact)).EndInit();
     this.tabStaffFive.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupCustomerVoice)).EndInit();
     this.groupCustomerVoice.ResumeLayout(false);
     this.groupCustomerVoice.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl24)).EndInit();
     this.GroupControl24.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.luedtCVSubmitter.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbListCV.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gctrCV)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvCV)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.luedtCVAssignTo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupCustomerVoiceActionHistory)).EndInit();
     this.groupCustomerVoiceActionHistory.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl26)).EndInit();
     this.GroupControl26.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gctrCVAction)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvCVAction)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupCustomerVoiceCVDetails)).EndInit();
     this.groupCustomerVoiceCVDetails.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.GroupControl28)).EndInit();
     this.GroupControl28.ResumeLayout(false);
     this.GroupControl28.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtHomeNo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtEmail.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtContactNo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoeditSummaryCV.Properties)).EndInit();
     this.tabStaffSix.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     this.groupControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupLeave)).EndInit();
     this.groupLeave.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupLeaveLeaveDetails)).EndInit();
     this.groupLeaveLeaveDetails.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl11)).EndInit();
     this.groupControl11.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cbLeaveStatus.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtLeaveEntitlement.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateedtLeaveJoinDate.Properties.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateedtLeaveJoinDate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrLeaveDetail)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvLeave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbLeaveNYearID.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupLeaveLeaveBalance)).EndInit();
     this.groupLeaveLeaveBalance.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).EndInit();
     this.groupControl5.ResumeLayout(false);
     this.groupControl5.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbLeaveBalance.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridctrLeaveBalance)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvLeaveBalance)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupLeaveRoster)).EndInit();
     this.groupLeaveRoster.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
     this.groupControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.luedtLeaveEmployeeID.Properties)).EndInit();
     this.tabStaffSeven.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl17)).EndInit();
     this.tabStaffEight.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
     this.xtraTabControl1.ResumeLayout(false);
     this.xtraTabPage1.ResumeLayout(false);
     this.xtraTabPage1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.memoEdit2.Properties)).EndInit();
     this.xtraTabPage2.ResumeLayout(false);
     this.xtraTabPage2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit4.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit3.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit2.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl18)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
     this.label3 = new System.Windows.Forms.Label();
     this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
     this.dateEdit1 = new DevExpress.XtraEditors.DateEdit();
     this.memoEdit1 = new DevExpress.XtraEditors.MemoEdit();
     ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEdit1.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(43, 33);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(67, 14);
     this.label1.TabIndex = 0;
     this.label1.Text = "�������ƣ�";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(43, 74);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(67, 14);
     this.label2.TabIndex = 2;
     this.label2.Text = "����ʱ�䣺";
     //
     // textEdit1
     //
     this.textEdit1.ImeMode = System.Windows.Forms.ImeMode.On;
     this.textEdit1.Location = new System.Drawing.Point(128, 30);
     this.textEdit1.Name = "textEdit1";
     this.textEdit1.Properties.MaxLength = 100;
     this.textEdit1.Size = new System.Drawing.Size(228, 23);
     this.textEdit1.TabIndex = 1;
     this.textEdit1.EditValueChanged += new System.EventHandler(this.textEdit1_EditValueChanged);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(43, 117);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(43, 14);
     this.label3.TabIndex = 5;
     this.label3.Text = "��ע��";
     //
     // simpleButton1
     //
     this.simpleButton1.Location = new System.Drawing.Point(171, 183);
     this.simpleButton1.Name = "simpleButton1";
     this.simpleButton1.Size = new System.Drawing.Size(75, 26);
     this.simpleButton1.TabIndex = 5;
     this.simpleButton1.Text = "ȷ��(&O)";
     this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
     //
     // simpleButton2
     //
     this.simpleButton2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.simpleButton2.Location = new System.Drawing.Point(264, 183);
     this.simpleButton2.Name = "simpleButton2";
     this.simpleButton2.Size = new System.Drawing.Size(75, 26);
     this.simpleButton2.TabIndex = 6;
     this.simpleButton2.Text = "ȡ��(&C)";
     //
     // dateEdit1
     //
     this.dateEdit1.EditValue = null;
     this.dateEdit1.Location = new System.Drawing.Point(128, 71);
     this.dateEdit1.Name = "dateEdit1";
     this.dateEdit1.Properties.Appearance.BackColor = System.Drawing.SystemColors.Window;
     this.dateEdit1.Properties.Appearance.Options.UseBackColor = true;
     this.dateEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.dateEdit1.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.dateEdit1.Size = new System.Drawing.Size(228, 23);
     this.dateEdit1.TabIndex = 7;
     //
     // memoEdit1
     //
     this.memoEdit1.Location = new System.Drawing.Point(128, 115);
     this.memoEdit1.Name = "memoEdit1";
     this.memoEdit1.Size = new System.Drawing.Size(228, 46);
     this.memoEdit1.TabIndex = 8;
     //
     // FormForecastReport_VolumeBalance
     //
     this.AcceptButton = this.simpleButton1;
     this.CancelButton = this.simpleButton2;
     this.ClientSize = new System.Drawing.Size(384, 235);
     this.Controls.Add(this.memoEdit1);
     this.Controls.Add(this.dateEdit1);
     this.Controls.Add(this.simpleButton2);
     this.Controls.Add(this.simpleButton1);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.textEdit1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FormForecastReport_VolumeBalance";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "FormForecastReport";
     this.Load += new System.EventHandler(this.FormForecastReport_VolumeBalance_Load);
     ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.memoEdit1.Properties)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #37
0
        private void btnShowXmlViewConfig_Click(object sender, EventArgs e)
        {
            System.IO.StringWriter writer = new System.IO.StringWriter();
            DataTable dtTemp = dtColumnsInView.Copy();
            DataSet dsResult = new DataSet("view");
            dsResult.Tables.Add(dtTemp);
            dsResult.WriteXml(writer, XmlWriteMode.IgnoreSchema);
            var xmlConfig = writer.ToString();

            if (dtColumnsInView.Rows.Count <= 0) return;

            PopupDialog diag = new PopupDialog();
            MemoEdit memoEdit1 = new MemoEdit();
            memoEdit1.Text = xmlConfig;
            memoEdit1.DeselectAll();
            memoEdit1.Font = new System.Drawing.Font("Courier New", 10, FontStyle.Bold);
            memoEdit1.BackColor = Color.White;
            memoEdit1.Properties.ReadOnly = true;
            diag.Controls.Add(memoEdit1);
            memoEdit1.Dock = DockStyle.Fill;
            diag.Size = new Size(850, 600);
            diag.Text = "XML Configuration";
            diag.StartPosition = FormStartPosition.CenterScreen;
            diag.ShowDialog();
        }
Example #38
0
 private void InitializeComponent()
 {
     this.gpgAdhocGrid = new GPGChatGrid();
     this.gvAdhoc = new GridView();
     this.rimPictureEdit3 = new RepositoryItemPictureEdit();
     this.rimTextEdit = new RepositoryItemTextEdit();
     this.rimMemoEdit3 = new RepositoryItemMemoEdit();
     this.meQuery = new MemoEdit();
     this.btnExecute = new GPGButton();
     this.lStatus = new GPGLabel();
     this.btnSaveQuery = new GPGButton();
     this.btnExport = new GPGButton();
     this.btnImport = new GPGButton();
     this.btnGetDBSchema = new GPGButton();
     this.btnCreateForm = new GPGButton();
     this.gpgAdhocGrid.BeginInit();
     this.gvAdhoc.BeginInit();
     this.rimPictureEdit3.BeginInit();
     this.rimTextEdit.BeginInit();
     this.rimMemoEdit3.BeginInit();
     this.meQuery.Properties.BeginInit();
     base.SuspendLayout();
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     this.gpgAdhocGrid.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.gpgAdhocGrid.CustomizeStyle = false;
     this.gpgAdhocGrid.EmbeddedNavigator.Name = "";
     this.gpgAdhocGrid.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.gpgAdhocGrid.IgnoreMouseWheel = false;
     this.gpgAdhocGrid.Location = new Point(12, 0x53);
     this.gpgAdhocGrid.LookAndFeel.SkinName = "Money Twins";
     this.gpgAdhocGrid.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgAdhocGrid.MainView = this.gvAdhoc;
     this.gpgAdhocGrid.Name = "gpgAdhocGrid";
     this.gpgAdhocGrid.RepositoryItems.AddRange(new RepositoryItem[] { this.rimPictureEdit3, this.rimTextEdit, this.rimMemoEdit3 });
     this.gpgAdhocGrid.ShowOnlyPredefinedDetails = true;
     this.gpgAdhocGrid.Size = new Size(700, 0xf2);
     this.gpgAdhocGrid.TabIndex = 11;
     this.gpgAdhocGrid.ViewCollection.AddRange(new BaseView[] { this.gvAdhoc });
     this.gvAdhoc.ActiveFilterString = "";
     this.gvAdhoc.Appearance.ColumnFilterButton.BackColor = Color.Black;
     this.gvAdhoc.Appearance.ColumnFilterButton.BackColor2 = Color.FromArgb(20, 20, 20);
     this.gvAdhoc.Appearance.ColumnFilterButton.BorderColor = Color.Black;
     this.gvAdhoc.Appearance.ColumnFilterButton.ForeColor = Color.Gray;
     this.gvAdhoc.Appearance.ColumnFilterButton.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.ColumnFilterButton.Options.UseBorderColor = true;
     this.gvAdhoc.Appearance.ColumnFilterButton.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.ColumnFilterButtonActive.BackColor = Color.FromArgb(20, 20, 20);
     this.gvAdhoc.Appearance.ColumnFilterButtonActive.BackColor2 = Color.FromArgb(0x4e, 0x4e, 0x4e);
     this.gvAdhoc.Appearance.ColumnFilterButtonActive.BorderColor = Color.FromArgb(20, 20, 20);
     this.gvAdhoc.Appearance.ColumnFilterButtonActive.ForeColor = Color.Blue;
     this.gvAdhoc.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true;
     this.gvAdhoc.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.Empty.BackColor = Color.Black;
     this.gvAdhoc.Appearance.Empty.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.FilterCloseButton.BackColor = Color.FromArgb(0xd4, 0xd0, 200);
     this.gvAdhoc.Appearance.FilterCloseButton.BackColor2 = Color.FromArgb(90, 90, 90);
     this.gvAdhoc.Appearance.FilterCloseButton.BorderColor = Color.FromArgb(0xd4, 0xd0, 200);
     this.gvAdhoc.Appearance.FilterCloseButton.ForeColor = Color.Black;
     this.gvAdhoc.Appearance.FilterCloseButton.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gvAdhoc.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.FilterCloseButton.Options.UseBorderColor = true;
     this.gvAdhoc.Appearance.FilterCloseButton.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.FilterPanel.BackColor = Color.Black;
     this.gvAdhoc.Appearance.FilterPanel.BackColor2 = Color.FromArgb(0xd4, 0xd0, 200);
     this.gvAdhoc.Appearance.FilterPanel.ForeColor = Color.White;
     this.gvAdhoc.Appearance.FilterPanel.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gvAdhoc.Appearance.FilterPanel.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.FilterPanel.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.FixedLine.BackColor = Color.FromArgb(0x3a, 0x3a, 0x3a);
     this.gvAdhoc.Appearance.FixedLine.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.FocusedCell.BackColor = Color.Black;
     this.gvAdhoc.Appearance.FocusedCell.Font = new Font("Tahoma", 10f);
     this.gvAdhoc.Appearance.FocusedCell.ForeColor = Color.White;
     this.gvAdhoc.Appearance.FocusedCell.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.FocusedCell.Options.UseFont = true;
     this.gvAdhoc.Appearance.FocusedCell.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.FocusedRow.BackColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gvAdhoc.Appearance.FocusedRow.BackColor2 = Color.FromArgb(0x52, 0x83, 190);
     this.gvAdhoc.Appearance.FocusedRow.Font = new Font("Arial", 9.75f);
     this.gvAdhoc.Appearance.FocusedRow.ForeColor = Color.White;
     this.gvAdhoc.Appearance.FocusedRow.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gvAdhoc.Appearance.FocusedRow.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.FocusedRow.Options.UseFont = true;
     this.gvAdhoc.Appearance.FocusedRow.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.FooterPanel.BackColor = Color.Black;
     this.gvAdhoc.Appearance.FooterPanel.BorderColor = Color.Black;
     this.gvAdhoc.Appearance.FooterPanel.Font = new Font("Tahoma", 10f);
     this.gvAdhoc.Appearance.FooterPanel.ForeColor = Color.White;
     this.gvAdhoc.Appearance.FooterPanel.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.FooterPanel.Options.UseBorderColor = true;
     this.gvAdhoc.Appearance.FooterPanel.Options.UseFont = true;
     this.gvAdhoc.Appearance.FooterPanel.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.GroupButton.BackColor = Color.Black;
     this.gvAdhoc.Appearance.GroupButton.BorderColor = Color.Black;
     this.gvAdhoc.Appearance.GroupButton.ForeColor = Color.White;
     this.gvAdhoc.Appearance.GroupButton.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.GroupButton.Options.UseBorderColor = true;
     this.gvAdhoc.Appearance.GroupButton.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.GroupFooter.BackColor = Color.FromArgb(10, 10, 10);
     this.gvAdhoc.Appearance.GroupFooter.BorderColor = Color.FromArgb(10, 10, 10);
     this.gvAdhoc.Appearance.GroupFooter.ForeColor = Color.White;
     this.gvAdhoc.Appearance.GroupFooter.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.GroupFooter.Options.UseBorderColor = true;
     this.gvAdhoc.Appearance.GroupFooter.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.GroupPanel.BackColor = Color.Black;
     this.gvAdhoc.Appearance.GroupPanel.BackColor2 = Color.Black;
     this.gvAdhoc.Appearance.GroupPanel.Font = new Font("Tahoma", 10f, FontStyle.Bold);
     this.gvAdhoc.Appearance.GroupPanel.ForeColor = Color.White;
     this.gvAdhoc.Appearance.GroupPanel.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.GroupPanel.Options.UseFont = true;
     this.gvAdhoc.Appearance.GroupPanel.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.GroupRow.BackColor = Color.Gray;
     this.gvAdhoc.Appearance.GroupRow.Font = new Font("Tahoma", 10f);
     this.gvAdhoc.Appearance.GroupRow.ForeColor = Color.White;
     this.gvAdhoc.Appearance.GroupRow.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.GroupRow.Options.UseFont = true;
     this.gvAdhoc.Appearance.GroupRow.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.HeaderPanel.BackColor = Color.Black;
     this.gvAdhoc.Appearance.HeaderPanel.BorderColor = Color.Black;
     this.gvAdhoc.Appearance.HeaderPanel.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.gvAdhoc.Appearance.HeaderPanel.ForeColor = Color.Black;
     this.gvAdhoc.Appearance.HeaderPanel.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.HeaderPanel.Options.UseBorderColor = true;
     this.gvAdhoc.Appearance.HeaderPanel.Options.UseFont = true;
     this.gvAdhoc.Appearance.HeaderPanel.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.HideSelectionRow.BackColor = Color.Gray;
     this.gvAdhoc.Appearance.HideSelectionRow.Font = new Font("Tahoma", 10f);
     this.gvAdhoc.Appearance.HideSelectionRow.ForeColor = Color.FromArgb(0xd4, 0xd0, 200);
     this.gvAdhoc.Appearance.HideSelectionRow.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.HideSelectionRow.Options.UseFont = true;
     this.gvAdhoc.Appearance.HideSelectionRow.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.HorzLine.BackColor = Color.FromArgb(0x52, 0x83, 190);
     this.gvAdhoc.Appearance.HorzLine.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.Preview.BackColor = Color.White;
     this.gvAdhoc.Appearance.Preview.Font = new Font("Tahoma", 10f);
     this.gvAdhoc.Appearance.Preview.ForeColor = Color.Purple;
     this.gvAdhoc.Appearance.Preview.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.Preview.Options.UseFont = true;
     this.gvAdhoc.Appearance.Preview.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.Row.BackColor = Color.Black;
     this.gvAdhoc.Appearance.Row.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0xb2);
     this.gvAdhoc.Appearance.Row.ForeColor = Color.White;
     this.gvAdhoc.Appearance.Row.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.Row.Options.UseFont = true;
     this.gvAdhoc.Appearance.Row.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.RowSeparator.BackColor = Color.White;
     this.gvAdhoc.Appearance.RowSeparator.BackColor2 = Color.White;
     this.gvAdhoc.Appearance.RowSeparator.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.SelectedRow.BackColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.gvAdhoc.Appearance.SelectedRow.BackColor2 = Color.FromArgb(0x52, 0x83, 190);
     this.gvAdhoc.Appearance.SelectedRow.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.gvAdhoc.Appearance.SelectedRow.ForeColor = Color.White;
     this.gvAdhoc.Appearance.SelectedRow.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gvAdhoc.Appearance.SelectedRow.Options.UseBackColor = true;
     this.gvAdhoc.Appearance.SelectedRow.Options.UseFont = true;
     this.gvAdhoc.Appearance.SelectedRow.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.TopNewRow.Font = new Font("Tahoma", 10f);
     this.gvAdhoc.Appearance.TopNewRow.ForeColor = Color.White;
     this.gvAdhoc.Appearance.TopNewRow.Options.UseFont = true;
     this.gvAdhoc.Appearance.TopNewRow.Options.UseForeColor = true;
     this.gvAdhoc.Appearance.VertLine.BackColor = Color.FromArgb(0x52, 0x83, 190);
     this.gvAdhoc.Appearance.VertLine.Options.UseBackColor = true;
     this.gvAdhoc.BorderStyle = BorderStyles.NoBorder;
     this.gvAdhoc.GridControl = this.gpgAdhocGrid;
     this.gvAdhoc.Name = "gvAdhoc";
     this.gvAdhoc.OptionsDetail.AllowZoomDetail = false;
     this.gvAdhoc.OptionsDetail.EnableMasterViewMode = false;
     this.gvAdhoc.OptionsDetail.ShowDetailTabs = false;
     this.gvAdhoc.OptionsDetail.SmartDetailExpand = false;
     this.gvAdhoc.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gvAdhoc.OptionsSelection.MultiSelect = true;
     this.gvAdhoc.OptionsView.RowAutoHeight = true;
     this.rimPictureEdit3.Name = "rimPictureEdit3";
     this.rimPictureEdit3.PictureAlignment = ContentAlignment.TopCenter;
     this.rimTextEdit.AutoHeight = false;
     this.rimTextEdit.Name = "rimTextEdit";
     this.rimMemoEdit3.MaxLength = 500;
     this.rimMemoEdit3.Name = "rimMemoEdit3";
     this.meQuery.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.meQuery.EditValue = "show tables;";
     this.meQuery.Location = new Point(13, 0x14b);
     this.meQuery.Name = "meQuery";
     this.meQuery.Properties.Appearance.BackColor = Color.Black;
     this.meQuery.Properties.Appearance.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.meQuery.Properties.Appearance.ForeColor = Color.White;
     this.meQuery.Properties.Appearance.Options.UseBackColor = true;
     this.meQuery.Properties.Appearance.Options.UseFont = true;
     this.meQuery.Properties.Appearance.Options.UseForeColor = true;
     this.meQuery.Size = new Size(700, 0x66);
     this.meQuery.TabIndex = 12;
     this.meQuery.KeyUp += new KeyEventHandler(this.meQuery_KeyUp);
     this.btnExecute.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnExecute.Appearance.ForeColor = Color.Black;
     this.btnExecute.Appearance.Options.UseForeColor = true;
     this.btnExecute.Location = new Point(0x261, 0x1b7);
     this.btnExecute.LookAndFeel.SkinName = "London Liquid Sky";
     this.btnExecute.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btnExecute.Name = "btnExecute";
     this.btnExecute.Size = new Size(0x68, 0x17);
     this.btnExecute.TabIndex = 13;
     this.btnExecute.Text = "Execute";
     this.btnExecute.UseVisualStyleBackColor = true;
     this.btnExecute.Click += new EventHandler(this.btnExecute_Click);
     this.lStatus.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.lStatus.AutoStyle = true;
     this.lStatus.Font = new Font("Arial", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.lStatus.ForeColor = Color.White;
     this.lStatus.IgnoreMouseWheel = false;
     this.lStatus.IsStyled = false;
     this.lStatus.Location = new Point(0x19, 0x3b);
     this.lStatus.Name = "lStatus";
     this.lStatus.Size = new Size(0x2a2, 0x15);
     this.lStatus.TabIndex = 0x17;
     this.lStatus.Text = "Executing Query";
     this.lStatus.TextAlign = ContentAlignment.TopCenter;
     this.lStatus.TextStyle = TextStyles.Default;
     this.lStatus.Visible = false;
     this.btnSaveQuery.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnSaveQuery.Appearance.ForeColor = Color.Black;
     this.btnSaveQuery.Appearance.Options.UseForeColor = true;
     this.btnSaveQuery.Location = new Point(0x1f3, 0x1b7);
     this.btnSaveQuery.LookAndFeel.SkinName = "London Liquid Sky";
     this.btnSaveQuery.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btnSaveQuery.Name = "btnSaveQuery";
     this.btnSaveQuery.Size = new Size(0x68, 0x17);
     this.btnSaveQuery.TabIndex = 0x18;
     this.btnSaveQuery.Text = "Save Query";
     this.btnSaveQuery.UseVisualStyleBackColor = true;
     this.btnSaveQuery.Click += new EventHandler(this.btnSaveQuery_Click);
     this.btnExport.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnExport.Appearance.ForeColor = Color.Black;
     this.btnExport.Appearance.Options.UseForeColor = true;
     this.btnExport.Location = new Point(0x185, 0x1b7);
     this.btnExport.LookAndFeel.SkinName = "London Liquid Sky";
     this.btnExport.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btnExport.Name = "btnExport";
     this.btnExport.Size = new Size(0x68, 0x17);
     this.btnExport.TabIndex = 0x19;
     this.btnExport.Text = "Export Results";
     this.btnExport.UseVisualStyleBackColor = true;
     this.btnExport.Click += new EventHandler(this.btnExport_Click);
     this.btnImport.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnImport.Appearance.ForeColor = Color.Black;
     this.btnImport.Appearance.Options.UseForeColor = true;
     this.btnImport.Location = new Point(0x117, 0x1b7);
     this.btnImport.LookAndFeel.SkinName = "London Liquid Sky";
     this.btnImport.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btnImport.Name = "btnImport";
     this.btnImport.Size = new Size(0x68, 0x17);
     this.btnImport.TabIndex = 0x1a;
     this.btnImport.Text = "Import Results";
     this.btnImport.UseVisualStyleBackColor = true;
     this.btnImport.Click += new EventHandler(this.btnImport_Click);
     this.btnGetDBSchema.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnGetDBSchema.Appearance.ForeColor = Color.Black;
     this.btnGetDBSchema.Appearance.Options.UseForeColor = true;
     this.btnGetDBSchema.Location = new Point(0xa9, 0x1b7);
     this.btnGetDBSchema.LookAndFeel.SkinName = "London Liquid Sky";
     this.btnGetDBSchema.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btnGetDBSchema.Name = "btnGetDBSchema";
     this.btnGetDBSchema.Size = new Size(0x68, 0x17);
     this.btnGetDBSchema.TabIndex = 0x1b;
     this.btnGetDBSchema.Text = "Get Schema";
     this.btnGetDBSchema.UseVisualStyleBackColor = true;
     this.btnGetDBSchema.Click += new EventHandler(this.btnGetDBSchema_Click);
     this.btnCreateForm.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.btnCreateForm.Appearance.ForeColor = Color.Black;
     this.btnCreateForm.Appearance.Options.UseForeColor = true;
     this.btnCreateForm.Location = new Point(0x3b, 0x1b7);
     this.btnCreateForm.LookAndFeel.SkinName = "London Liquid Sky";
     this.btnCreateForm.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btnCreateForm.Name = "btnCreateForm";
     this.btnCreateForm.Size = new Size(0x68, 0x17);
     this.btnCreateForm.TabIndex = 0x1c;
     this.btnCreateForm.Text = "Create Form";
     this.btnCreateForm.UseVisualStyleBackColor = true;
     this.btnCreateForm.Click += new EventHandler(this.btnCreateForm_Click);
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(0x2d4, 0x1fd);
     base.Controls.Add(this.btnCreateForm);
     base.Controls.Add(this.btnGetDBSchema);
     base.Controls.Add(this.btnImport);
     base.Controls.Add(this.btnExport);
     base.Controls.Add(this.btnSaveQuery);
     base.Controls.Add(this.btnExecute);
     base.Controls.Add(this.meQuery);
     base.Controls.Add(this.gpgAdhocGrid);
     base.Controls.Add(this.lStatus);
     base.Location = new Point(0, 0);
     base.Name = "DlgAdhocSQL";
     this.Text = "Adhoc SQL Query";
     base.Controls.SetChildIndex(this.lStatus, 0);
     base.Controls.SetChildIndex(this.gpgAdhocGrid, 0);
     base.Controls.SetChildIndex(this.meQuery, 0);
     base.Controls.SetChildIndex(this.btnExecute, 0);
     base.Controls.SetChildIndex(this.btnSaveQuery, 0);
     base.Controls.SetChildIndex(this.btnExport, 0);
     base.Controls.SetChildIndex(this.btnImport, 0);
     base.Controls.SetChildIndex(this.btnGetDBSchema, 0);
     base.Controls.SetChildIndex(this.btnCreateForm, 0);
     this.gpgAdhocGrid.EndInit();
     this.gvAdhoc.EndInit();
     this.rimPictureEdit3.EndInit();
     this.rimTextEdit.EndInit();
     this.rimMemoEdit3.EndInit();
     this.meQuery.Properties.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Example #39
0
        public void BindControls()
        {
            if (Questionnaire == null)
                MessageBox.Show("Questionnaire must be bind with JSON first.", "MultipleChoice Component");

            isLoaded = false;
            this.layoutControlGroupQuestion1.Clear();
            Settings oSettings = Questionnaire.Form.Settings;
            m_DynamicControls = new List<DynamicControl>();

            // layoutControlGroupQuestion1
            this.layoutControlGroupQuestion1.Name = "layoutControlGroupQuestion" + Guid.NewGuid().ToString();
            this.layoutControlGroupQuestion1.AppearanceGroup.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            this.layoutControlGroupQuestion1.AppearanceGroup.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
            this.layoutControlGroupQuestion1.AppearanceGroup.Options.UseFont = true;
            this.layoutControlGroupQuestion1.ExpandButtonVisible = false;
            this.layoutControlGroupQuestion1.GroupBordersVisible = true;
            this.layoutControlGroupQuestion1.TextVisible = false;
            this.layoutControlGroupQuestion1.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1,1, 1);
            this.layoutControlGroupQuestion1.ShowInCustomizationForm = false;
            //this.layoutControlGroupQuestion1.Size = new System.Drawing.Size(417, 64);
            //this.layoutControlGroupQuestion1.Text = oSettings.Label + " " + oSettings.QuestionText;
            this.layoutControlGroupQuestion1.BeginUpdate();

            #region Footer
            this.layoutControlItem1 = new LayoutControlItem();
            this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString();

            //bool isCustomerOwnershipOnly = false;
            //if (oSettings.CustomerOwnership && oSettings.BVOwnership)
            //    isCustomerOwnershipOnly = true;

            //ctlFooter = new Footer() {
            //    IsAccountLevel = oSettings.DataBindings.account_level,
            //    IsCustomerOwnershipOnly = isCustomerOwnershipOnly,
            //    HelpText = oSettings.QuestionHelp,
            //    LanguageCode = oSettings.DataBindings.language_code
            //};

            ctlFooter = new Footer() {
                IsAccountLevel = oSettings.DataBindings.account_level,
                IsCustomerOwned = oSettings.CustomerOwnership,
                IsBrightvisionOwned = oSettings.BVOwnership,
                HelpText = oSettings.QuestionHelp,
                LanguageCode = oSettings.DataBindings.language_code,
                QuestionText = oSettings.Label + " " + oSettings.QuestionText
            };

            ctlFooter.InitializeFooter();
            ctlFooter.Dock = DockStyle.Fill;
            ctlFooter.Height = 20;
            this.layoutControlItem1.Control = ctlFooter;
            this.layoutControlItem1.ShowInCustomizationForm = false;
            this.layoutControlItem1.TextVisible = false;
            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlItem1.MinSize = new Size(0, 24);
            this.layoutControlItem1.MaxSize = new Size(0, 24);
            this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            this.layoutControlItem1.SizeConstraintsType = SizeConstraintsType.Custom;
            this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1);
            #endregion

            IList<AnswerOption> answeroptionList = Questionnaire.Form.Settings.AnswerOptions;
            IMultipleChoice answeroption = null;
            List<MultipleChoiceValue> mcvalueList = null;
            int iAnswerOptions = answeroptionList.Count;
            int numCols = 1;
            int numRows = 1;
            LayoutControlItem refColItem = null, prevItem = null, lastItem = null;
            List<LayoutControlItem> listItems = null;
            int idx = 0;
            int refColItemWidth = 0;
            for (int x = 0; x < iAnswerOptions; ++x) {
                answeroption = answeroptionList[x] as IMultipleChoice;
                simpleLabelItemValidation = new SimpleLabelItem();
                simpleLabelItemValidation.AppearanceItemCaption.BackColor = Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
                simpleLabelItemValidation.Name = Guid.NewGuid().ToString();
                simpleLabelItemValidation.TextAlignMode = TextAlignModeItem.CustomSize;
                simpleLabelItemValidation.TextSize = new Size(212, 15);
                simpleLabelItemValidation.Text = "  Please check at least one item below.";
                simpleLabelItemValidation.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
                this.layoutControlGroupQuestion1.AddItem(simpleLabelItemValidation);

                mcvalueList = answeroption.MultipleChoiceValues;
                numCols = answeroption.MultipleChoiceColumns;
                numRows = Convert.ToInt16(Math.Ceiling(Convert.ToDouble(mcvalueList.Count) / Convert.ToDouble(numCols)));
                listItems = new List<LayoutControlItem>();
                for (int i = 1; i <= numCols; ++i) {
                    for (int q = 1; q <= numRows && idx < mcvalueList.Count ; ++q) {
                        if (i > 1 && q == 1) {
                            lastItem = refColItem;
                        }
                        if (q == 1) {
                            refColItem = new LayoutControlItem();
                            refColItem.Padding = new DevExpress.XtraLayout.Utils.Padding(0);
                            refColItem.Spacing = new DevExpress.XtraLayout.Utils.Padding(0);
                            //add checkedit
                            this.checkEdit1 = new CheckEdit();
                            this.checkEdit1.Tag = new MultiplechoiceData() {
                                ParentPositionIndex = "IndexPosition" + x.ToString(),
                                PositionIndex = "IndexPosition" + idx,
                                ControlContainer = refColItem
                            };
                            this.checkEdit1.Text = mcvalueList[idx].TextPrefix;
                            this.checkEdit1.Checked = mcvalueList[idx].Checked;
                            this.checkEdit1.Name = "checkEdit" + Guid.NewGuid().ToString();
                            //this.checkEdit1.StyleController = this.StyleController;
                            this.checkEdit1.AutoSizeInLayoutControl = true;
                            checkEdit1.CheckedChanged += new EventHandler(checkEdit1_CheckedChanged);

                            m_DynamicControls.Add(new DynamicControl() {
                                Control = this.checkEdit1,
                                Name = this.checkEdit1.Name,
                                DefaultValue = this.checkEdit1.Checked,
                                TextPrefix = this.checkEdit1.Text
                            });

                            refColItem.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                            refColItem.Control = this.checkEdit1;
                            refColItem.TextVisible = false;
                            refColItem.MinSize = new Size(0, 17);
                            refColItem.MaxSize = new Size(0, 17);
                            refColItem.SizeConstraintsType = SizeConstraintsType.Custom;
                            refColItem.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                            refColItem.AllowAutoAlignment = true;

                            if (refColItemWidth < this.checkEdit1.Width) refColItemWidth = this.checkEdit1.Width;

                            if (i > 1) {
                                layoutControlGroupQuestion1.AddItem(refColItem, lastItem, DevExpress.XtraLayout.Utils.InsertType.Right);
                            } else {
                                layoutControlGroupQuestion1.AddItem(refColItem);
                            }
                            listItems.Add(refColItem);
                        }
                        else {
                            this.layoutControlItem1 = new LayoutControlItem();
                            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0);
                            this.layoutControlItem1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0);
                            //add checkedit
                            this.checkEdit1 = new CheckEdit();
                            this.checkEdit1.Tag = new MultiplechoiceData() {
                                ParentPositionIndex = "IndexPosition" + x.ToString(),
                                PositionIndex = "IndexPosition" + idx,
                                ControlContainer = layoutControlItem1
                            };

                            this.checkEdit1.Text = mcvalueList[idx].TextPrefix;
                            this.checkEdit1.Checked = mcvalueList[idx].Checked;
                            this.checkEdit1.Name = "checkEdit" + Guid.NewGuid().ToString();
                            this.checkEdit1.StyleController = this.StyleController;
                            checkEdit1.CheckedChanged += new EventHandler(checkEdit1_CheckedChanged);

                            m_DynamicControls.Add(new DynamicControl() {
                                Control = this.checkEdit1,
                                Name = this.checkEdit1.Name,
                                DefaultValue = this.checkEdit1.Checked,
                                TextPrefix = this.checkEdit1.Text
                            });

                            this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                            this.layoutControlItem1.Control = this.checkEdit1;
                            this.layoutControlItem1.TextVisible = false;
                            this.layoutControlItem1.MinSize = new Size(0, 17);
                            this.layoutControlItem1.MaxSize = new Size(0, 17);
                            this.layoutControlItem1.SizeConstraintsType = SizeConstraintsType.Custom;
                            this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);

                            if (q > 1 && i==1) {
                                this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1);
                            } else {
                                if ((idx-numRows) >= 0) {
                                    this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1, listItems[idx - numRows], DevExpress.XtraLayout.Utils.InsertType.Right);
                                }
                            }
                            listItems.Add(this.layoutControlItem1);
                            prevItem = this.layoutControlItem1;
                        }
                        idx++;
                    }
                }
                idx = 0;

                //EmptySpaceItem esitem = new EmptySpaceItem();
                //esitem.Size = new Size(100,20);
                //this.layoutControlGroupQuestion1.AddItem(esitem);
                foreach (OtherChoice oChoice in answeroption.OtherChoices) {
                    if (oChoice.Enabled) {
                        //if (!string.IsNullOrEmpty(oChoice.TextPrefix)) {
                        //    // simpleLabelItem1
                        //    this.simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem();

                        //    this.simpleLabelItem1.Name = "simpleLabelItem" + Guid.NewGuid().ToString();
                        //    //this.simpleLabelItem1.ShowInCustomizationForm = false;
                        //    //this.simpleLabelItem1.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
                        //    this.simpleLabelItem1.Text = oChoice.TextPrefix;
                        //    //newSize = new System.Drawing.Size(100, 20);
                        //    newSize = new System.Drawing.Size(20, 20);
                        //    this.simpleLabelItem1.SizeConstraintsType = SizeConstraintsType.Custom;
                        //    this.simpleLabelItem1.MaxSize = newSize;
                        //    this.simpleLabelItem1.MinSize = newSize;
                        //    this.simpleLabelItem1.Size = newSize;
                        //    this.simpleLabelItem1.AppearanceItemCaption.BackColor = System.Drawing.Color.Transparent;
                        //    this.simpleLabelItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                        //    this.layoutControlGroupQuestion1.AddItem(this.simpleLabelItem1);
                        //} else {
                        //    this.simpleLabelItem1 = null;
                        //}
                        // layoutControlItem1
                        this.layoutControlItem1 = new LayoutControlItem();
                        //add textEdit1 to layout
                        this.memoEdit1 = new MemoEdit();
                        this.memoEdit1.Tag = new MultiplechoiceData() {
                            ParentPositionIndex = "IndexPosition" + x.ToString(),
                            PositionIndex = "IndexPosition" + idx.ToString(),
                            ControlContainer = layoutControlItem1,
                            Required = oChoice.Required,
                            HasValue = !string.IsNullOrWhiteSpace(oChoice.DefaultInputValue) ? true : false,
                            ChoiceOption = oChoice
                        };
                        this.memoEdit1.Name = "textEdit" + Guid.NewGuid().ToString();
                        this.memoEdit1.Properties.ScrollBars = ScrollBars.None;
                        this.memoEdit1.StyleController = this.StyleController;
                        //set value
                        string _DefaultValue = string.Empty;
                        if (oChoice.DefaultInputValue != null) {
                            _DefaultValue = oChoice.DefaultInputValue.Trim();
                            this.memoEdit1.Text = oChoice.DefaultInputValue.Trim();
                            oChoice.InputValue = oChoice.DefaultInputValue.Trim();
                        }

                        m_DynamicControls.Add(new DynamicControl() {
                            Control = this.memoEdit1,
                            Name = this.memoEdit1.Name,
                            DefaultTextValue = _DefaultValue,
                            TextPrefix = oChoice.TextPrefix
                        });

                        memoEdit1.TextChanged += new EventHandler(textEdit1_TextChanged);
                        memoEdit1.Resize += new EventHandler(memoEdit1_Resize);
                        memoEdit1.Click += new EventHandler(layoutControlGroupQuestion1_Click);

                        this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                        this.layoutControlItem1.Control = this.memoEdit1;
                        if (!string.IsNullOrEmpty(oChoice.TextPrefix)) {
                            this.layoutControlItem1.Text = oChoice.TextPrefix;
                            this.layoutControlItem1.TextVisible = true;
                            this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Top;
                            this.layoutControlItem1.MaxSize = new Size(0, 41);
                            this.layoutControlItem1.MinSize = new Size(0, 41);
                        } else {
                            this.layoutControlItem1.TextVisible = false;
                            this.layoutControlItem1.MaxSize = new Size(0, 24);
                            this.layoutControlItem1.MinSize = new Size(0, 24);
                        }
                        this.layoutControlItem1.SizeConstraintsType = SizeConstraintsType.Custom;
                        this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                        this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1);
                        idx++;
                    }
                }

            }

            //string prioText = oSettings.Priority;
            //if (oSettings.CustomerOwnership && oSettings.BVOwnership) {
            //    prioText += "(Cust+BV)";
            //} else if (oSettings.CustomerOwnership) {
            //    prioText += "(Cust)";
            //} else if (oSettings.BVOwnership) {
            //    prioText += "(BV)";
            //}
            //if (oSettings.PlotDoneStatus.Trim().ToLower() == "done") {
            //    prioText += " Done";
            //}

            // simpleLabelItem1
            //this.simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem();
            //this.simpleLabelItem1.Name = "simpleLabelItem" + Guid.NewGuid().ToString();
            //this.simpleLabelItem1.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            //this.simpleLabelItem1.AppearanceItemCaption.Options.UseTextOptions = true;
            //this.simpleLabelItem1.ShowInCustomizationForm = false;
            //this.simpleLabelItem1.Text = prioText;
            //this.simpleLabelItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            //this.layoutControlGroupQuestion1.AddItem(this.simpleLabelItem1);

            //if (!string.IsNullOrEmpty(oSettings.QuestionHelp)) {
            //    // LabelControl1 help
            //    this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            //    this.labelControl1.Name = "labelControl" + Guid.NewGuid().ToString();
            //    this.labelControl1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            //    this.labelControl1.Appearance.Options.UseTextOptions = true;
            //    this.labelControl1.Text = "Help";
            //    this.labelControl1.ToolTip = oSettings.QuestionHelp.Trim();

            //    //apply tooltip controller from parent
            //    if (this.ToolTipController != null && this.ToolTipController.DefaultController != null) {
            //        this.labelControl1.ToolTipController = ToolTipController.DefaultController;
            //    }
            //    this.labelControl1.Click += new EventHandler(layoutControlGroupQuestion1_Click);

            //    //layoutControlItem1
            //    this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
            //    this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString();
            //    this.layoutControlItem1.Control = this.labelControl1;
            //    this.layoutControlItem1.TextVisible = false;
            //    this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            //    this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1, this.simpleLabelItem1, DevExpress.XtraLayout.Utils.InsertType.Right);
            //}

            this.layoutControlGroupQuestion1.Click += new EventHandler(layoutControlGroupQuestion1_Click);

            /*
             * https://brightvision.jira.com/browse/PLATFORM-2440
             */
            for (int i = 0; i < this.layoutControlGroupQuestion1.Items.Count; i++)
            {
                ((LayoutControlItem)this.layoutControlGroupQuestion1.Items[i]).ControlMinSize = new Size(refColItemWidth, 17);
            }

            this.layoutControlGroupQuestion1.EndUpdate();

            Image bg = BGImage(this);
            if (bg != null) {
                this.layoutControlGroupQuestion1.BackgroundImage = bg;
                this.layoutControlGroupQuestion1.BackgroundImageVisible = true;
            }
            if (this.memoEdit1 != null)
                this.BackColor = this.memoEdit1.BackColor;

            this.ControlGroup = this.layoutControlGroupQuestion1;
            this.ControlGroup.Tag = this;
            isLoaded = true;
        }
		private void InitializeComponent()
		{
			System.ComponentModel.ComponentResourceManager componentResourceManager = new System.ComponentModel.ComponentResourceManager(typeof(TerminalFormIBET3IN1));
			this.ribbonControl1 = new RibbonControl();
			this.barStaticItem1 = new BarStaticItem();
			this.barStaticItem2 = new BarStaticItem();
			this.barStaticItem3 = new BarStaticItem();
			this.btn3in1betGetInfo = new BarButtonItem();
			this.lbl3in1betCurrentCredit = new BarStaticItem();
			this.lbl3in1betTotalMatch = new BarStaticItem();
			this.lbl3in1betLastUpdate = new BarStaticItem();
			this.barStaticItem7 = new BarStaticItem();
			this.barStaticItem8 = new BarStaticItem();
			this.barStaticItem9 = new BarStaticItem();
			this.lblIbetCurrentCredit = new BarStaticItem();
			this.lblIbetTotalMatch = new BarStaticItem();
			this.lblIbetLastUpdate = new BarStaticItem();
			this.btnIbetGetInfo = new BarButtonItem();
			this.lblStatus = new BarStaticItem();
			this.lblSameMatch = new BarStaticItem();
			this.lblLastUpdate = new BarStaticItem();
			this.btnStart = new BarButtonItem();
			this.btnStop = new BarButtonItem();
			this.btnClear = new BarButtonItem();
			this.ribbonPage1 = new RibbonPage();
			this.rpgIbet = new RibbonPageGroup();
			this.rpg3in1bet = new RibbonPageGroup();
			this.ribbonPageGroup3 = new RibbonPageGroup();
			this.ribbonPageGroup4 = new RibbonPageGroup();
			this.splitContainerControl1 = new SplitContainerControl();
			this.xtraTabControl1 = new XtraTabControl();
			this.xtraTabPage1 = new XtraTabPage();
			this.panelControl5 = new PanelControl();
			this.webIBET = new WebBrowser();
			this.panelControl4 = new PanelControl();
			this.btnIBETGO = new SimpleButton();
			this.txtIBETAddress = new TextEdit();
			this.labelControl5 = new LabelControl();
			this.xtraTabPage2 = new XtraTabPage();
			this.panelControl3 = new PanelControl();
			this.web3IN1BET = new WebBrowser();
			this.panelControl2 = new PanelControl();
			this.btn3IN1BETGO = new SimpleButton();
			this.txt1IN1BETAddress = new TextEdit();
			this.labelControl1 = new LabelControl();
			this.xtraTabPage3 = new XtraTabPage();
            this.xtraTabPage9 = new XtraTabPage();
			this.grdSameMatch = new GridControl();
			this.gridView1 = new GridView();
			this.gridColumn15 = new GridColumn();
			this.gridColumn16 = new GridColumn();
			this.gridColumn14 = new GridColumn();
			this.gridColumn17 = new GridColumn();
			this.gridColumn18 = new GridColumn();
			this.gridColumn19 = new GridColumn();
			this.xtraTabControl2 = new XtraTabControl();
			this.xtraTabPage4 = new XtraTabPage();
			this.groupControl2 = new GroupControl();
			this.txtTransactionTimeSpan = new SpinEdit();
			this.labelControl10 = new LabelControl();
			this.txtMaxTimePerHalf = new SpinEdit();
			this.labelControl7 = new LabelControl();
			this.chbAllowHalftime = new CheckEdit();
			this.groupControl1 = new GroupControl();
			this.btnSetUpdateInterval = new SimpleButton();
			this.txt3IN1BETUpdateInterval = new SpinEdit();
			this.labelControl3 = new LabelControl();
			this.txtIBETUpdateInterval = new SpinEdit();
			this.labelControl4 = new LabelControl();
			this.groupControl5 = new GroupControl();            
			this.chbHighRevenueBoost = new CheckEdit();
			this.txtLowestOddValue = new SpinEdit();
			this.labelControl9 = new LabelControl();
			this.txtOddValueDifferenet = new SpinEdit();
			this.labelControl8 = new LabelControl();
            this.checkEdit9 = new CheckEdit();
            this.checkEdit8 = new CheckEdit();
            this.checkEdit7 = new CheckEdit();
			this.checkEdit6 = new CheckEdit();
			this.checkEdit5 = new CheckEdit();
			this.checkEdit4 = new CheckEdit();
			this.checkEdit3 = new CheckEdit();
			this.groupControl4 = new GroupControl();
            this.groupControl6 = new GroupControl();
			this.txt3in1BETFixedStake = new SpinEdit();
			this.labelControl2 = new LabelControl();
			this.txtStake = new MemoEdit();
			this.chbRandomStake = new CheckEdit();
			this.txtIBETFixedStake = new SpinEdit();
			this.labelControl6 = new LabelControl();
			this.xtraTabPage5 = new XtraTabPage();
			this.grdTransaction = new GridControl();
			this.gridView2 = new GridView();
			this.gridColumn1 = new GridColumn();
			this.gridColumn2 = new GridColumn();
			this.gridColumn3 = new GridColumn();
			this.gridColumn6 = new GridColumn();
			this.gridColumn4 = new GridColumn();
			this.gridColumn5 = new GridColumn();
			this.gridColumn7 = new GridColumn();
			this.gridColumn8 = new GridColumn();
			this.gridColumn9 = new GridColumn();
			this.gridColumn10 = new GridColumn();
			this.gridColumn11 = new GridColumn();
			this.gridColumn12 = new GridColumn();
			this.gridColumn20 = new GridColumn();
			this.gridColumn13 = new GridColumn();

            this.chkListAllowedMatch = new CheckedListBoxControl();

			((System.ComponentModel.ISupportInitialize)this.ribbonControl1).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.splitContainerControl1).BeginInit();
			this.splitContainerControl1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.xtraTabControl1).BeginInit();
			this.xtraTabControl1.SuspendLayout();
			this.xtraTabPage1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.panelControl5).BeginInit();
			this.panelControl5.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.panelControl4).BeginInit();
			this.panelControl4.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.txtIBETAddress.Properties).BeginInit();
			this.xtraTabPage2.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.panelControl3).BeginInit();
			this.panelControl3.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.panelControl2).BeginInit();
			this.panelControl2.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.txt1IN1BETAddress.Properties).BeginInit();
			this.xtraTabPage3.SuspendLayout();

            this.xtraTabPage9.SuspendLayout();

			((System.ComponentModel.ISupportInitialize)this.grdSameMatch).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.gridView1).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.xtraTabControl2).BeginInit();
			this.xtraTabControl2.SuspendLayout();
			this.xtraTabPage4.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.groupControl2).BeginInit();
			this.groupControl2.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.txtTransactionTimeSpan.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.txtMaxTimePerHalf.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.chbAllowHalftime.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.groupControl1).BeginInit();
			this.groupControl1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.txt3IN1BETUpdateInterval.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.txtIBETUpdateInterval.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.groupControl5).BeginInit();
			this.groupControl5.SuspendLayout();

            ((System.ComponentModel.ISupportInitialize)this.groupControl6).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkListAllowedMatch)).BeginInit();
            this.groupControl6.SuspendLayout();

			((System.ComponentModel.ISupportInitialize)this.chbHighRevenueBoost.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.txtLowestOddValue.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.txtOddValueDifferenet.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)this.checkEdit9.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)this.checkEdit8.Properties).BeginInit();
            ((System.ComponentModel.ISupportInitialize)this.checkEdit7.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.checkEdit6.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.checkEdit5.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.checkEdit4.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.checkEdit3.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.groupControl4).BeginInit();
			this.groupControl4.SuspendLayout();

            

			((System.ComponentModel.ISupportInitialize)this.txt3in1BETFixedStake.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.txtStake.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.chbRandomStake.Properties).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.txtIBETFixedStake.Properties).BeginInit();
			this.xtraTabPage5.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.grdTransaction).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.gridView2).BeginInit();
			base.SuspendLayout();
			this.ribbonControl1.ApplicationButtonText = null;
			this.ribbonControl1.ExpandCollapseItem.Id = 0;
            this.ribbonControl1.ExpandCollapseItem.Name = string.Empty;
			this.ribbonControl1.Items.AddRange(new BarItem[]
			{
				this.ribbonControl1.ExpandCollapseItem, 
				this.barStaticItem1, 
				this.barStaticItem2, 
				this.barStaticItem3, 
				this.btn3in1betGetInfo, 
				this.lbl3in1betCurrentCredit, 
				this.lbl3in1betTotalMatch, 
				this.lbl3in1betLastUpdate, 
				this.barStaticItem7, 
				this.barStaticItem8, 
				this.barStaticItem9, 
				this.lblIbetCurrentCredit, 
				this.lblIbetTotalMatch, 
				this.lblIbetLastUpdate, 
				this.btnIbetGetInfo, 
				this.lblStatus, 
				this.lblSameMatch, 
				this.lblLastUpdate, 
				this.btnStart, 
				this.btnStop, 
				this.btnClear
			});
			this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
			this.ribbonControl1.MaxItemId = 22;
			this.ribbonControl1.Name = "ribbonControl1";
			this.ribbonControl1.Pages.AddRange(new RibbonPage[]
			{
				this.ribbonPage1
			});
			this.ribbonControl1.RibbonStyle = RibbonControlStyle.Office2010;
			this.ribbonControl1.SelectedPage = this.ribbonPage1;
			this.ribbonControl1.ShowCategoryInCaption = false;
			this.ribbonControl1.ShowExpandCollapseButton = DefaultBoolean.False;
			this.ribbonControl1.ShowPageHeadersMode = ShowPageHeadersMode.Hide;
			this.ribbonControl1.ShowToolbarCustomizeItem = false;
			this.ribbonControl1.Size = new System.Drawing.Size(999, 123);
			this.ribbonControl1.Toolbar.ShowCustomizeItem = false;
			this.barStaticItem1.Caption = "Current Credit:";
			this.barStaticItem1.Id = 1;
			this.barStaticItem1.Name = "barStaticItem1";
			this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
			this.barStaticItem2.Caption = "Total Match:";
			this.barStaticItem2.Id = 2;
			this.barStaticItem2.Name = "barStaticItem2";
			this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near;
			this.barStaticItem3.Caption = "Last Update:";
			this.barStaticItem3.Id = 3;
			this.barStaticItem3.Name = "barStaticItem3";
			this.barStaticItem3.TextAlignment = System.Drawing.StringAlignment.Near;
			this.btn3in1betGetInfo.Caption = "Get Info";
			this.btn3in1betGetInfo.Id = 4;
            //Bitmap bmp = (Bitmap)Image.FromFile("C:\\1.jpg");
            this.btn3in1betGetInfo.LargeGlyph = iBet.App.Properties.Resources.i8;
			this.btn3in1betGetInfo.Name = "btn3in1betGetInfo";
			this.btn3in1betGetInfo.ItemClick += new ItemClickEventHandler(this.btn3in1betGetInfo_ItemClick);
			this.lbl3in1betCurrentCredit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0);
			this.lbl3in1betCurrentCredit.Appearance.Options.UseFont = true;
			this.lbl3in1betCurrentCredit.Caption = "-";
			this.lbl3in1betCurrentCredit.Id = 5;
			this.lbl3in1betCurrentCredit.Name = "lbl3in1betCurrentCredit";
			this.lbl3in1betCurrentCredit.TextAlignment = System.Drawing.StringAlignment.Far;
			this.lbl3in1betCurrentCredit.Width = 135;
			this.lbl3in1betTotalMatch.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0);
			this.lbl3in1betTotalMatch.Appearance.Options.UseFont = true;
			this.lbl3in1betTotalMatch.AutoSize = BarStaticItemSize.None;
			this.lbl3in1betTotalMatch.Caption = "-";
			this.lbl3in1betTotalMatch.Id = 6;
			this.lbl3in1betTotalMatch.Name = "lbl3in1betTotalMatch";
			this.lbl3in1betTotalMatch.TextAlignment = System.Drawing.StringAlignment.Far;
			this.lbl3in1betTotalMatch.Width = 135;
			this.lbl3in1betLastUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			this.lbl3in1betLastUpdate.Appearance.Options.UseFont = true;
			this.lbl3in1betLastUpdate.Caption = "-";
			this.lbl3in1betLastUpdate.Id = 8;
			this.lbl3in1betLastUpdate.Name = "lbl3in1betLastUpdate";
			this.lbl3in1betLastUpdate.TextAlignment = System.Drawing.StringAlignment.Far;
			this.lbl3in1betLastUpdate.Width = 135;
			this.barStaticItem7.Caption = "Current Credit:";
			this.barStaticItem7.Id = 9;
			this.barStaticItem7.Name = "barStaticItem7";
			this.barStaticItem7.TextAlignment = System.Drawing.StringAlignment.Near;
			this.barStaticItem8.Caption = "Total Match:";
			this.barStaticItem8.Id = 10;
			this.barStaticItem8.Name = "barStaticItem8";
			this.barStaticItem8.TextAlignment = System.Drawing.StringAlignment.Near;
			this.barStaticItem9.Caption = "Last Update:";
			this.barStaticItem9.Id = 11;
			this.barStaticItem9.Name = "barStaticItem9";
			this.barStaticItem9.TextAlignment = System.Drawing.StringAlignment.Near;
			this.lblIbetCurrentCredit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0);
			this.lblIbetCurrentCredit.Appearance.Options.UseFont = true;
			this.lblIbetCurrentCredit.Caption = "-";
			this.lblIbetCurrentCredit.Id = 12;
			this.lblIbetCurrentCredit.Name = "lblIbetCurrentCredit";
			this.lblIbetCurrentCredit.TextAlignment = System.Drawing.StringAlignment.Far;
			this.lblIbetCurrentCredit.Width = 135;
			this.lblIbetTotalMatch.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0);
			this.lblIbetTotalMatch.Appearance.Options.UseFont = true;
			this.lblIbetTotalMatch.Caption = "-";
			this.lblIbetTotalMatch.Id = 13;
			this.lblIbetTotalMatch.Name = "lblIbetTotalMatch";
			this.lblIbetTotalMatch.TextAlignment = System.Drawing.StringAlignment.Far;
			this.lblIbetTotalMatch.Width = 135;
			this.lblIbetLastUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			this.lblIbetLastUpdate.Appearance.Options.UseFont = true;
			this.lblIbetLastUpdate.Caption = "-";
			this.lblIbetLastUpdate.Id = 14;
			this.lblIbetLastUpdate.Name = "lblIbetLastUpdate";
			this.lblIbetLastUpdate.TextAlignment = System.Drawing.StringAlignment.Far;
			this.lblIbetLastUpdate.Width = 135;
			this.btnIbetGetInfo.Caption = "Get Info";
			this.btnIbetGetInfo.Id = 15;
            this.btnIbetGetInfo.LargeGlyph = iBet.App.Properties.Resources.i8;
			this.btnIbetGetInfo.Name = "btnIbetGetInfo";
			this.btnIbetGetInfo.ItemClick += new ItemClickEventHandler(this.barButtonItem2_ItemClick);
			this.lblStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0);
			this.lblStatus.Appearance.Options.UseFont = true;
			this.lblStatus.Caption = "STOPPED";
			this.lblStatus.Id = 16;
			this.lblStatus.Name = "lblStatus";
			this.lblStatus.TextAlignment = System.Drawing.StringAlignment.Center;
			this.lblStatus.Width = 135;
			this.lblSameMatch.Caption = "Total Same Match: -";
			this.lblSameMatch.Id = 17;
			this.lblSameMatch.Name = "lblSameMatch";
			this.lblSameMatch.TextAlignment = System.Drawing.StringAlignment.Center;
			this.lblSameMatch.Width = 135;
			this.lblLastUpdate.Caption = "-";
			this.lblLastUpdate.Id = 18;
			this.lblLastUpdate.Name = "lblLastUpdate";
			this.lblLastUpdate.TextAlignment = System.Drawing.StringAlignment.Center;
			this.lblLastUpdate.Width = 135;
			this.btnStart.Caption = "Start";
			this.btnStart.Id = 19;
            this.btnStart.LargeGlyph = iBet.App.Properties.Resources.i5;
			this.btnStart.Name = "btnStart";
			this.btnStart.ItemClick += new ItemClickEventHandler(this.btnStart_ItemClick);
            this.btnStart.Enabled = false;
			this.btnStop.Caption = "Stop";
			this.btnStop.Enabled = false;
			this.btnStop.Id = 20;
            this.btnStop.LargeGlyph = iBet.App.Properties.Resources.i6;
			this.btnStop.Name = "btnStop";
			this.btnStop.ItemClick += new ItemClickEventHandler(this.btnStop_ItemClick);
			this.btnClear.Caption = "Clear";
			this.btnClear.Enabled = false;
			this.btnClear.Id = 21;
            this.btnClear.LargeGlyph = iBet.App.Properties.Resources.i7;
			this.btnClear.Name = "btnClear";
			this.btnClear.ItemClick += new ItemClickEventHandler(this.btnClear_ItemClick);
			this.ribbonPage1.Groups.AddRange(new RibbonPageGroup[]
			{
				this.rpgIbet, 
				this.rpg3in1bet, 
				this.ribbonPageGroup3, 
				this.ribbonPageGroup4
			});
			this.ribbonPage1.Name = "ribbonPage1";
			this.ribbonPage1.Text = "ribbonPage1";
			this.rpgIbet.ItemLinks.Add(this.barStaticItem7);
			this.rpgIbet.ItemLinks.Add(this.barStaticItem8);
			this.rpgIbet.ItemLinks.Add(this.barStaticItem9);
			this.rpgIbet.ItemLinks.Add(this.lblIbetCurrentCredit);
			this.rpgIbet.ItemLinks.Add(this.lblIbetTotalMatch);
			this.rpgIbet.ItemLinks.Add(this.lblIbetLastUpdate);
			this.rpgIbet.ItemLinks.Add(this.btnIbetGetInfo);
			this.rpgIbet.Name = "rpgIbet";
			this.rpgIbet.ShowCaptionButton = false;
			this.rpgIbet.Text = "IBET";
			this.rpg3in1bet.ItemLinks.Add(this.barStaticItem1);
            this.rpg3in1bet.ItemLinks.Add(this.barStaticItem2);
            this.rpg3in1bet.ItemLinks.Add(this.barStaticItem3);
            this.rpg3in1bet.ItemLinks.Add(this.lbl3in1betCurrentCredit);
            this.rpg3in1bet.ItemLinks.Add(this.lbl3in1betTotalMatch);
            this.rpg3in1bet.ItemLinks.Add(this.lbl3in1betLastUpdate);
            this.rpg3in1bet.ItemLinks.Add(this.btn3in1betGetInfo);
            this.rpg3in1bet.Name = "rpg3in1bet";
            this.rpg3in1bet.ShowCaptionButton = false;
            this.rpg3in1bet.Text = "3IN1BET";
			this.ribbonPageGroup3.ItemLinks.Add(this.lblStatus);
			this.ribbonPageGroup3.ItemLinks.Add(this.lblSameMatch);
			this.ribbonPageGroup3.ItemLinks.Add(this.lblLastUpdate);
			this.ribbonPageGroup3.ItemLinks.Add(this.btnStart);
			this.ribbonPageGroup3.ItemLinks.Add(this.btnStop);
			this.ribbonPageGroup3.Name = "ribbonPageGroup3";
			this.ribbonPageGroup3.ShowCaptionButton = false;
			this.ribbonPageGroup3.Text = "Status";
			this.ribbonPageGroup4.ItemLinks.Add(this.btnClear);
			this.ribbonPageGroup4.Name = "ribbonPageGroup4";
			this.ribbonPageGroup4.ShowCaptionButton = false;
			this.ribbonPageGroup4.Text = "Transaction";
			this.splitContainerControl1.Dock = DockStyle.Fill;
			this.splitContainerControl1.FixedPanel = SplitFixedPanel.Panel2;
			this.splitContainerControl1.Horizontal = false;
			this.splitContainerControl1.Location = new System.Drawing.Point(0, 123);
			this.splitContainerControl1.Name = "splitContainerControl1";
			this.splitContainerControl1.Panel1.Controls.Add(this.xtraTabControl1);
			this.splitContainerControl1.Panel1.Text = "Panel1";
			this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControl2);
			this.splitContainerControl1.Panel2.Text = "Panel2";
			this.splitContainerControl1.Size = new System.Drawing.Size(999, 575);
			this.splitContainerControl1.SplitterPosition = 285;
			this.splitContainerControl1.TabIndex = 1;
			this.splitContainerControl1.Text = "splitContainerControl1";
			this.xtraTabControl1.Dock = DockStyle.Fill;
			this.xtraTabControl1.Location = new System.Drawing.Point(0, 0);
			this.xtraTabControl1.Name = "xtraTabControl1";
			this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
			this.xtraTabControl1.Size = new System.Drawing.Size(999, 302);
			this.xtraTabControl1.TabIndex = 0;
			this.xtraTabControl1.TabPages.AddRange(new XtraTabPage[]
			{
				this.xtraTabPage1, 
				this.xtraTabPage2, 
				this.xtraTabPage3,
                this.xtraTabPage9
			});
			this.xtraTabPage1.Controls.Add(this.panelControl5);
			this.xtraTabPage1.Controls.Add(this.panelControl4);
			this.xtraTabPage1.Name = "xtraTabPage1";
			this.xtraTabPage1.Size = new System.Drawing.Size(993, 276);
			this.xtraTabPage1.Text = "IBET";
			this.panelControl5.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
			this.panelControl5.Controls.Add(this.webIBET);
			this.panelControl5.Location = new System.Drawing.Point(3, 38);
			this.panelControl5.Name = "panelControl5";
			this.panelControl5.Size = new System.Drawing.Size(987, 235);
			this.panelControl5.TabIndex = 3;
			this.webIBET.Dock = DockStyle.Fill;
			this.webIBET.Location = new System.Drawing.Point(2, 2);
			this.webIBET.MinimumSize = new System.Drawing.Size(20, 20);
			this.webIBET.Name = "webIBET";
			this.webIBET.Size = new System.Drawing.Size(983, 231);
			this.webIBET.TabIndex = 0;
			this.webIBET.Url = new System.Uri("http://www.ibet888.net", System.UriKind.Absolute);
			this.webIBET.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(this.webIBET_DocumentCompleted);
			this.panelControl4.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.panelControl4.Controls.Add(this.btnIBETGO);
			this.panelControl4.Controls.Add(this.txtIBETAddress);
			this.panelControl4.Controls.Add(this.labelControl5);
			this.panelControl4.Location = new System.Drawing.Point(3, 3);
			this.panelControl4.Name = "panelControl4";
			this.panelControl4.Size = new System.Drawing.Size(987, 29);
			this.panelControl4.TabIndex = 2;
			this.btnIBETGO.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
			this.btnIBETGO.Location = new System.Drawing.Point(908, 3);
			this.btnIBETGO.Name = "btnIBETGO";
			this.btnIBETGO.Size = new System.Drawing.Size(75, 23);
			this.btnIBETGO.TabIndex = 8;
			this.btnIBETGO.Text = "GO";
			this.btnIBETGO.Click += new System.EventHandler(this.btnIBETGO_Click);
			this.txtIBETAddress.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.txtIBETAddress.EditValue = "http://www.ibet888.net";
			this.txtIBETAddress.Location = new System.Drawing.Point(54, 6);
			this.txtIBETAddress.Name = "txtIBETAddress";
			this.txtIBETAddress.Size = new System.Drawing.Size(848, 20);
			this.txtIBETAddress.TabIndex = 7;
			this.labelControl5.Location = new System.Drawing.Point(5, 9);
			this.labelControl5.Name = "labelControl5";
			this.labelControl5.Size = new System.Drawing.Size(43, 13);
			this.labelControl5.TabIndex = 6;
			this.labelControl5.Text = "Address:";
			this.xtraTabPage2.Controls.Add(this.panelControl3);
			this.xtraTabPage2.Controls.Add(this.panelControl2);
			this.xtraTabPage2.Name = "xtraTabPage2";
			this.xtraTabPage2.Size = new System.Drawing.Size(993, 276);
			this.xtraTabPage2.Text = "3IN1BET";
			this.panelControl3.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
			this.panelControl3.Controls.Add(this.web3IN1BET);
			this.panelControl3.Location = new System.Drawing.Point(3, 38);
			this.panelControl3.Name = "panelControl3";
			this.panelControl3.Size = new System.Drawing.Size(987, 235);
			this.panelControl3.TabIndex = 6;
			this.web3IN1BET.Dock = DockStyle.Fill;
			this.web3IN1BET.Location = new System.Drawing.Point(2, 2);
			this.web3IN1BET.MinimumSize = new System.Drawing.Size(20, 20);
			this.web3IN1BET.Name = "web3IN1BET";
			this.web3IN1BET.Size = new System.Drawing.Size(983, 231);
			this.web3IN1BET.TabIndex = 0;			
            this.web3IN1BET.Url = new System.Uri("http://www.3in1bet.com", System.UriKind.Absolute);
			this.web3IN1BET.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(this.web3IN1BET_DocumentCompleted);
			this.panelControl2.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.panelControl2.Controls.Add(this.btn3IN1BETGO);
			this.panelControl2.Controls.Add(this.txt1IN1BETAddress);
			this.panelControl2.Controls.Add(this.labelControl1);
			this.panelControl2.Location = new System.Drawing.Point(3, 3);
			this.panelControl2.Name = "panelControl2";
			this.panelControl2.Size = new System.Drawing.Size(987, 29);
			this.panelControl2.TabIndex = 5;
			this.btn3IN1BETGO.Anchor = (AnchorStyles.Top | AnchorStyles.Right);
			this.btn3IN1BETGO.Location = new System.Drawing.Point(908, 3);
			this.btn3IN1BETGO.Name = "btn3IN1BETGO";
			this.btn3IN1BETGO.Size = new System.Drawing.Size(75, 23);
			this.btn3IN1BETGO.TabIndex = 5;
			this.btn3IN1BETGO.Text = "GO";
			this.btn3IN1BETGO.Click += new System.EventHandler(this.btn3IN1BETGO_Click);
			this.txt1IN1BETAddress.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			//this.txt1IN1BETAddress.EditValue = "http://www.secureiron.com"; day
            this.txt1IN1BETAddress.EditValue = "http://www.3in1bet.com";
			this.txt1IN1BETAddress.Location = new System.Drawing.Point(54, 6);
			this.txt1IN1BETAddress.Name = "txt1IN1BETAddress";
			this.txt1IN1BETAddress.Size = new System.Drawing.Size(848, 20);
			this.txt1IN1BETAddress.TabIndex = 4;
			this.labelControl1.Location = new System.Drawing.Point(5, 9);
			this.labelControl1.Name = "labelControl1";
			this.labelControl1.Size = new System.Drawing.Size(43, 13);
			this.labelControl1.TabIndex = 3;
			this.labelControl1.Text = "Address:";

            this.xtraTabPage9.Name = "xtraTabPage9";
            this.xtraTabPage9.Size = new System.Drawing.Size(993, 276);
            this.xtraTabPage9.Text = "ibet Test";
            //this.xtraTabPage9.Controls.Add(this.grdSameMatch);
            
            this.xtraTabPage3.Controls.Add(this.grdSameMatch);
			this.xtraTabPage3.Name = "xtraTabPage3";
			this.xtraTabPage3.Size = new System.Drawing.Size(993, 276);
			this.xtraTabPage3.Text = "Live Match";
			this.grdSameMatch.Dock = DockStyle.Fill;
			this.grdSameMatch.Location = new System.Drawing.Point(0, 0);
			this.grdSameMatch.MainView = this.gridView1;
			this.grdSameMatch.Name = "grdSameMatch";
			this.grdSameMatch.Size = new System.Drawing.Size(993, 276);
			this.grdSameMatch.TabIndex = 3;
			this.grdSameMatch.ViewCollection.AddRange(new BaseView[]
			{
				this.gridView1
			});
			this.gridView1.Columns.AddRange(new GridColumn[]
			{
				this.gridColumn15, 
				this.gridColumn16, 
				this.gridColumn14, 
				this.gridColumn17, 
				this.gridColumn18, 
				this.gridColumn19
			});
			this.gridView1.GridControl = this.grdSameMatch;
			this.gridView1.Name = "gridView1";
			this.gridView1.OptionsBehavior.Editable = false;
			this.gridView1.OptionsCustomization.AllowGroup = false;
			this.gridView1.OptionsDetail.AllowZoomDetail = false;
			this.gridView1.OptionsDetail.EnableMasterViewMode = false;
			this.gridView1.OptionsDetail.ShowDetailTabs = false;
			this.gridView1.OptionsDetail.SmartDetailExpand = false;
			this.gridView1.OptionsView.ShowAutoFilterRow = true;
			this.gridView1.OptionsView.ShowGroupPanel = false;
			this.gridView1.OptionsView.ShowPreview = true;
			this.gridView1.PreviewFieldName = "LeagueName";
			this.gridView1.SortInfo.AddRange(new GridColumnSortInfo[]
			{
				new GridColumnSortInfo(this.gridColumn18, ColumnSortOrder.Ascending)
			});
			this.gridColumn15.Caption = "Home Team";
			this.gridColumn15.FieldName = "HomeTeamName";            
			this.gridColumn15.Name = "gridColumn15";
			this.gridColumn15.Visible = true;
			this.gridColumn15.VisibleIndex = 0;
			this.gridColumn15.Width = 367;
			this.gridColumn16.Caption = "Away Team";
			this.gridColumn16.FieldName = "AwayTeamName";
			this.gridColumn16.Name = "gridColumn16";
			this.gridColumn16.Visible = true;
			this.gridColumn16.VisibleIndex = 1;
			this.gridColumn16.Width = 368;
			this.gridColumn14.Caption = "Odd Count";
			this.gridColumn14.FieldName = "OddCount";
			this.gridColumn14.Name = "gridColumn14";
			this.gridColumn14.OptionsColumn.FixedWidth = true;
			this.gridColumn14.Visible = true;
			this.gridColumn14.VisibleIndex = 2;
			this.gridColumn14.Width = 70;
			this.gridColumn17.Caption = "Half";
			this.gridColumn17.FieldName = "Half";
			this.gridColumn17.Name = "gridColumn17";
			this.gridColumn17.OptionsColumn.FixedWidth = true;
			this.gridColumn17.Visible = true;
			this.gridColumn17.VisibleIndex = 3;
			this.gridColumn17.Width = 60;
			this.gridColumn18.Caption = "Minute";
			this.gridColumn18.FieldName = "Minute";
			this.gridColumn18.Name = "gridColumn18";
			this.gridColumn18.OptionsColumn.FixedWidth = true;
			this.gridColumn18.SortMode = ColumnSortMode.Value;
			this.gridColumn18.Visible = true;
			this.gridColumn18.VisibleIndex = 4;
			this.gridColumn18.Width = 60;
			this.gridColumn19.Caption = "Half Time";
			this.gridColumn19.FieldName = "IsHalfTime";
			this.gridColumn19.Name = "gridColumn19";
			this.gridColumn19.OptionsColumn.FixedWidth = true;
			this.gridColumn19.UnboundType = UnboundColumnType.Boolean;
			this.gridColumn19.Visible = true;
			this.gridColumn19.VisibleIndex = 5;
			this.gridColumn19.Width = 60;
			this.xtraTabControl2.Dock = DockStyle.Fill;
			this.xtraTabControl2.Location = new System.Drawing.Point(0, 0);
			this.xtraTabControl2.Name = "xtraTabControl2";
			this.xtraTabControl2.SelectedTabPage = this.xtraTabPage4;
			this.xtraTabControl2.Size = new System.Drawing.Size(999, 248);
			this.xtraTabControl2.TabIndex = 1;
			this.xtraTabControl2.TabPages.AddRange(new XtraTabPage[]
			{
				this.xtraTabPage4, 
				this.xtraTabPage5
			});
			this.xtraTabPage4.Controls.Add(this.groupControl2);
			this.xtraTabPage4.Controls.Add(this.groupControl1);
			this.xtraTabPage4.Controls.Add(this.groupControl5);
			this.xtraTabPage4.Controls.Add(this.groupControl4);
            this.xtraTabPage4.Controls.Add(this.groupControl6);
			this.xtraTabPage4.Name = "xtraTabPage4";
			this.xtraTabPage4.Size = new System.Drawing.Size(993, 222);
			this.xtraTabPage4.Text = "Settings";
			this.groupControl2.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
			this.groupControl2.Controls.Add(this.txtTransactionTimeSpan);
			this.groupControl2.Controls.Add(this.labelControl10);
			this.groupControl2.Controls.Add(this.txtMaxTimePerHalf);
			this.groupControl2.Controls.Add(this.labelControl7);
			this.groupControl2.Controls.Add(this.chbAllowHalftime);
			this.groupControl2.Location = new System.Drawing.Point(209, 3);
			this.groupControl2.Name = "groupControl2";
			this.groupControl2.Size = new System.Drawing.Size(200, 212);
			this.groupControl2.TabIndex = 14;
			this.groupControl2.Text = "Time Settings";
			this.txtTransactionTimeSpan.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			BaseEdit arg_22D6_0 = this.txtTransactionTimeSpan;
			int[] array = new int[4];
			array[0] = 15;
			arg_22D6_0.EditValue = new decimal(array);
			this.txtTransactionTimeSpan.Location = new System.Drawing.Point(123, 80);
			this.txtTransactionTimeSpan.Name = "txtTransactionTimeSpan";
			this.txtTransactionTimeSpan.Properties.Buttons.AddRange(new EditorButton[]
			{
				new EditorButton()
			});
			this.txtTransactionTimeSpan.Properties.IsFloatValue = false;
			this.txtTransactionTimeSpan.Properties.Mask.EditMask = "N00";
			RepositoryItemSpinEdit arg_2378_0 = this.txtTransactionTimeSpan.Properties;
			array = new int[4];
			array[0] = 20;
			arg_2378_0.MaxValue = new decimal(array);
			RepositoryItemSpinEdit arg_239D_0 = this.txtTransactionTimeSpan.Properties;
			array = new int[4];
			array[0] = 5;
			arg_239D_0.MinValue = new decimal(array);
			this.txtTransactionTimeSpan.Size = new System.Drawing.Size(72, 20);
			this.txtTransactionTimeSpan.TabIndex = 9;
			this.labelControl10.Location = new System.Drawing.Point(5, 81);
			this.labelControl10.Name = "labelControl10";
			this.labelControl10.Size = new System.Drawing.Size(112, 13);
			this.labelControl10.TabIndex = 8;
			this.labelControl10.Text = "Transaction Time Span:";
			this.txtMaxTimePerHalf.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			BaseEdit arg_244C_0 = this.txtMaxTimePerHalf;
			array = new int[4];
			array[0] = 40;
			arg_244C_0.EditValue = new decimal(array);
			this.txtMaxTimePerHalf.Location = new System.Drawing.Point(123, 50);
			this.txtMaxTimePerHalf.Name = "txtMaxTimePerHalf";
			this.txtMaxTimePerHalf.Properties.Buttons.AddRange(new EditorButton[]
			{
				new EditorButton()
			});
			this.txtMaxTimePerHalf.Properties.IsFloatValue = false;
			this.txtMaxTimePerHalf.Properties.Mask.EditMask = "N00";
			this.txtMaxTimePerHalf.Size = new System.Drawing.Size(72, 20);
			this.txtMaxTimePerHalf.TabIndex = 7;
			this.labelControl7.Location = new System.Drawing.Point(5, 53);
			this.labelControl7.Name = "labelControl7";
			this.labelControl7.Size = new System.Drawing.Size(90, 13);
			this.labelControl7.TabIndex = 6;
			this.labelControl7.Text = "Max Time Per Half:";
			this.chbAllowHalftime.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.chbAllowHalftime.EditValue = true;
			this.chbAllowHalftime.Location = new System.Drawing.Point(5, 26);
			this.chbAllowHalftime.Name = "chbAllowHalftime";
			this.chbAllowHalftime.Properties.Caption = "Allow Halftime";
			this.chbAllowHalftime.Size = new System.Drawing.Size(190, 19);
			this.chbAllowHalftime.TabIndex = 5;
			this.groupControl1.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
			this.groupControl1.Controls.Add(this.btnSetUpdateInterval);
			this.groupControl1.Controls.Add(this.txt3IN1BETUpdateInterval);
			this.groupControl1.Controls.Add(this.labelControl3);
			this.groupControl1.Controls.Add(this.txtIBETUpdateInterval);
			this.groupControl1.Controls.Add(this.labelControl4);
			this.groupControl1.Location = new System.Drawing.Point(415, 3);
			this.groupControl1.Name = "groupControl1";
			this.groupControl1.Size = new System.Drawing.Size(200, 212);
			this.groupControl1.TabIndex = 13;
			this.groupControl1.Text = "Data Settings";
			this.btnSetUpdateInterval.Location = new System.Drawing.Point(59, 77);
			this.btnSetUpdateInterval.Name = "btnSetUpdateInterval";
			this.btnSetUpdateInterval.Size = new System.Drawing.Size(136, 23);
			this.btnSetUpdateInterval.TabIndex = 6;
			this.btnSetUpdateInterval.Text = "Set Update Interval";
			this.btnSetUpdateInterval.Click += new System.EventHandler(this.btnSetUpdateInterval_Click);
			this.txt3IN1BETUpdateInterval.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			BaseEdit arg_274B_0 = this.txt3IN1BETUpdateInterval;
			array = new int[4];
			array[0] = 8;
			arg_274B_0.EditValue = new decimal(array);
			this.txt3IN1BETUpdateInterval.Location = new System.Drawing.Point(132, 51);
			this.txt3IN1BETUpdateInterval.Name = "txt3IN1BETUpdateInterval";
			this.txt3IN1BETUpdateInterval.Properties.Buttons.AddRange(new EditorButton[]
			{
				new EditorButton()
			});
			this.txt3IN1BETUpdateInterval.Properties.IsFloatValue = false;
			this.txt3IN1BETUpdateInterval.Properties.Mask.EditMask = "N00";
			this.txt3IN1BETUpdateInterval.Size = new System.Drawing.Size(63, 20);
			this.txt3IN1BETUpdateInterval.TabIndex = 5;
			this.txt3IN1BETUpdateInterval.EditValueChanged += new System.EventHandler(this.txt3IN1BETUpdateInterval_EditValueChanged);
			this.labelControl3.Location = new System.Drawing.Point(5, 54);
			this.labelControl3.Name = "labelControl3";
			this.labelControl3.Size = new System.Drawing.Size(121, 13);
			this.labelControl3.TabIndex = 4;
			this.labelControl3.Text = "3IN1BET Update Interval:";
			this.txtIBETUpdateInterval.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			BaseEdit arg_288F_0 = this.txtIBETUpdateInterval;
			array = new int[4];
			array[0] = 8;
			arg_288F_0.EditValue = new decimal(array);
			this.txtIBETUpdateInterval.Location = new System.Drawing.Point(132, 25);
			this.txtIBETUpdateInterval.Name = "txtIBETUpdateInterval";
			this.txtIBETUpdateInterval.Properties.Buttons.AddRange(new EditorButton[]
			{
				new EditorButton()
			});
			this.txtIBETUpdateInterval.Properties.IsFloatValue = false;
			this.txtIBETUpdateInterval.Properties.Mask.EditMask = "N00";
			this.txtIBETUpdateInterval.Size = new System.Drawing.Size(63, 20);
			this.txtIBETUpdateInterval.TabIndex = 1;
			this.txtIBETUpdateInterval.EditValueChanged += new System.EventHandler(this.txtIBETUpdateInterval_EditValueChanged);
			this.labelControl4.Location = new System.Drawing.Point(5, 28);
			this.labelControl4.Name = "labelControl4";
			this.labelControl4.Size = new System.Drawing.Size(105, 13);
			this.labelControl4.TabIndex = 0;
			this.labelControl4.Text = "IBET Update Interval:";

			this.groupControl5.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
			this.groupControl5.Controls.Add(this.chbHighRevenueBoost);
			this.groupControl5.Controls.Add(this.txtLowestOddValue);
			this.groupControl5.Controls.Add(this.labelControl9);
			this.groupControl5.Controls.Add(this.txtOddValueDifferenet);
			this.groupControl5.Controls.Add(this.labelControl8);
            this.groupControl5.Controls.Add(this.checkEdit9);
            this.groupControl5.Controls.Add(this.checkEdit8);
            this.groupControl5.Controls.Add(this.checkEdit7);
			this.groupControl5.Controls.Add(this.checkEdit6);
			this.groupControl5.Controls.Add(this.checkEdit5);
			this.groupControl5.Controls.Add(this.checkEdit4);
			this.groupControl5.Controls.Add(this.checkEdit3);
			this.groupControl5.Location = new System.Drawing.Point(3, 3);
			this.groupControl5.Name = "groupControl5";
			this.groupControl5.Size = new System.Drawing.Size(200, 212);
			this.groupControl5.TabIndex = 13;
			this.groupControl5.Text = "Trading Settings";
			this.chbHighRevenueBoost.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.chbHighRevenueBoost.Location = new System.Drawing.Point(5, 203);
			this.chbHighRevenueBoost.Name = "chbHighRevenueBoost";
			this.chbHighRevenueBoost.Properties.Caption = "High Revenue Boost";
			this.chbHighRevenueBoost.Size = new System.Drawing.Size(190, 19);
			this.chbHighRevenueBoost.TabIndex = 13;
			this.txtLowestOddValue.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.txtLowestOddValue.EditValue = new decimal(new int[]
			{
				5, 
				0, 
				0, 
				65536
			});
			this.txtLowestOddValue.Location = new System.Drawing.Point(110, 178);
			this.txtLowestOddValue.Name = "txtLowestOddValue";
			this.txtLowestOddValue.Properties.Buttons.AddRange(new EditorButton[]
			{
				new EditorButton()
			});
			this.txtLowestOddValue.Properties.Increment = new decimal(new int[]
			{
				1, 
				0, 
				0, 
				65536
			});
			RepositoryItemSpinEdit arg_2C2D_0 = this.txtLowestOddValue.Properties;
			array = new int[4];
			array[0] = 1;
			arg_2C2D_0.MaxValue = new decimal(array);
			this.txtLowestOddValue.Properties.MinValue = new decimal(new int[]
			{
				1, 
				0, 
				0, 
				131072
			});
			this.txtLowestOddValue.Size = new System.Drawing.Size(85, 20);
			this.txtLowestOddValue.TabIndex = 12;
			this.labelControl9.Location = new System.Drawing.Point(5, 181);
			this.labelControl9.Name = "labelControl9";
			this.labelControl9.Size = new System.Drawing.Size(90, 13);
			this.labelControl9.TabIndex = 11;
			this.labelControl9.Text = "Lowest Odd Value:";
			this.txtOddValueDifferenet.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.txtOddValueDifferenet.EditValue = new decimal(new int[]
			{
				2, 
				0, 
				0, 
				-2147352576
			});
			this.txtOddValueDifferenet.Location = new System.Drawing.Point(110, 153);
			this.txtOddValueDifferenet.Name = "txtOddValueDifferenet";
			this.txtOddValueDifferenet.Properties.Buttons.AddRange(new EditorButton[]
			{
				new EditorButton()
			});
			this.txtOddValueDifferenet.Properties.Increment = new decimal(new int[]
			{
				1, 
				0, 
				0, 
				-2147352576
			});
			this.txtOddValueDifferenet.Properties.MinValue = new decimal(new int[]
			{
				2, //cho nay
				0, 
				0, 
				-2147352576
			});
			this.txtOddValueDifferenet.Size = new System.Drawing.Size(85, 20);
			this.txtOddValueDifferenet.TabIndex = 10;
			this.labelControl8.Location = new System.Drawing.Point(5, 156);
			this.labelControl8.Name = "labelControl8";
			this.labelControl8.Size = new System.Drawing.Size(99, 13);
			this.labelControl8.TabIndex = 9;
			this.labelControl8.Text = "Odd Value Different:";
			
            this.checkEdit6.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.checkEdit6.EditValue = true;
			this.checkEdit6.Enabled = false;
			this.checkEdit6.Location = new System.Drawing.Point(5, 101);
			this.checkEdit6.Name = "checkEdit6";
			this.checkEdit6.Properties.Caption = "Non-Live";
			this.checkEdit6.Size = new System.Drawing.Size(190, 19);
			this.checkEdit6.TabIndex = 8;
			
            this.checkEdit5.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.checkEdit5.EditValue = true;
			this.checkEdit5.Enabled = false;
			this.checkEdit5.Location = new System.Drawing.Point(5, 76);
			this.checkEdit5.Name = "checkEdit5";
			this.checkEdit5.Properties.Caption = "Live";
			this.checkEdit5.Size = new System.Drawing.Size(190, 19);
			this.checkEdit5.TabIndex = 7;
			
            this.checkEdit4.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.checkEdit4.EditValue = true;
			this.checkEdit4.Enabled = true;
			this.checkEdit4.Location = new System.Drawing.Point(5, 51);
			this.checkEdit4.Name = "checkEdit4";
			this.checkEdit4.Properties.Caption = "Allow Over/Under";
			this.checkEdit4.Size = new System.Drawing.Size(190, 19);
			this.checkEdit4.TabIndex = 6;

			this.checkEdit3.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.checkEdit3.EditValue = true;
			this.checkEdit3.Enabled = true;
			this.checkEdit3.Location = new System.Drawing.Point(5, 26);
			this.checkEdit3.Name = "checkEdit3";
			this.checkEdit3.Properties.Caption = "Allow Handicap";
			this.checkEdit3.Size = new System.Drawing.Size(190, 19);
			this.checkEdit3.TabIndex = 5;

            this.checkEdit7.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.checkEdit7.EditValue = true;
            this.checkEdit7.Enabled = true;
            this.checkEdit7.Location = new System.Drawing.Point(5, 126);
            this.checkEdit7.Name = "checkEdit7";
            this.checkEdit7.Properties.Caption = "Allow x.5 Over/Under from min 30";
            this.checkEdit7.Size = new System.Drawing.Size(190, 19);
            this.checkEdit7.TabIndex = 9;

            this.checkEdit8.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.checkEdit8.EditValue = false;
            this.checkEdit8.Enabled = true;
            this.checkEdit8.Location = new System.Drawing.Point(5, 228);
            this.checkEdit8.Name = "checkEdit8";
            this.checkEdit8.Properties.Caption = "Check credit before bet";
            this.checkEdit8.Size = new System.Drawing.Size(190, 19);
            this.checkEdit8.TabIndex = 14;

            this.checkEdit9.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this.checkEdit9.EditValue = false;
            this.checkEdit9.Enabled = true;
            this.checkEdit9.Location = new System.Drawing.Point(5, 252);
            this.checkEdit9.Name = "checkEdit9";
            this.checkEdit9.Properties.Caption = "Play sound";
            this.checkEdit9.Size = new System.Drawing.Size(190, 19);
            this.checkEdit9.TabIndex = 14;

			this.groupControl4.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
			this.groupControl4.Controls.Add(this.txt3in1BETFixedStake);
			this.groupControl4.Controls.Add(this.labelControl2);
			this.groupControl4.Controls.Add(this.txtStake);
			this.groupControl4.Controls.Add(this.chbRandomStake);
			this.groupControl4.Controls.Add(this.txtIBETFixedStake);
			this.groupControl4.Controls.Add(this.labelControl6);
			this.groupControl4.Location = new System.Drawing.Point(621, 3);
			this.groupControl4.Name = "groupControl4";
			this.groupControl4.Size = new System.Drawing.Size(200, 212);
			this.groupControl4.TabIndex = 12;
			this.groupControl4.Text = "Stake Settings";

            

			this.txt3in1BETFixedStake.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			BaseEdit arg_31A4_0 = this.txt3in1BETFixedStake;
			array = new int[4];
			array[0] = 10;
			arg_31A4_0.EditValue = new decimal(array);
            

            this.txt3in1BETFixedStake.Location = new System.Drawing.Point(112, 51);
			this.txt3in1BETFixedStake.Name = "txt3in1BETFixedStake";
			this.txt3in1BETFixedStake.Properties.Buttons.AddRange(new EditorButton[]
			{
				new EditorButton()
			});
			this.txt3in1BETFixedStake.Properties.IsFloatValue = false;
			this.txt3in1BETFixedStake.Properties.Mask.EditMask = "N00";
			this.txt3in1BETFixedStake.Size = new System.Drawing.Size(83, 20);
			this.txt3in1BETFixedStake.TabIndex = 5;
			this.labelControl2.Location = new System.Drawing.Point(5, 54);
			this.labelControl2.Name = "labelControl2";
			this.labelControl2.Size = new System.Drawing.Size(101, 13);
			this.labelControl2.TabIndex = 4;
			this.labelControl2.Text = "3IN1BET Fixed Stake:";
			this.txtStake.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
			this.txtStake.EditValue = "10\r\n15\r\n25\r\n35\r\n50\r\n30\r\n20\r\n30";            


            this.txtStake.Location = new System.Drawing.Point(5, 103);
			this.txtStake.Name = "txtStake";
			this.txtStake.Size = new System.Drawing.Size(190, 104);
			this.txtStake.TabIndex = 3;
			this.chbRandomStake.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.chbRandomStake.EditValue = true;
			this.chbRandomStake.Location = new System.Drawing.Point(3, 78);
			this.chbRandomStake.Name = "chbRandomStake";
			this.chbRandomStake.Properties.Caption = "Random Stake";
			this.chbRandomStake.Size = new System.Drawing.Size(192, 19);
			this.chbRandomStake.TabIndex = 2;
			this.chbRandomStake.CheckedChanged += new System.EventHandler(this.chbRandomStake_CheckedChanged);
			this.txtIBETFixedStake.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			BaseEdit arg_33D2_0 = this.txtIBETFixedStake;
			array = new int[4];
			array[0] = 15;
			arg_33D2_0.EditValue = new decimal(array);
			this.txtIBETFixedStake.Location = new System.Drawing.Point(112, 25);
			this.txtIBETFixedStake.Name = "txtIBETFixedStake";
			this.txtIBETFixedStake.Properties.Buttons.AddRange(new EditorButton[]
			{
				new EditorButton()
			});
			this.txtIBETFixedStake.Properties.IsFloatValue = false;
			this.txtIBETFixedStake.Properties.Mask.EditMask = "N00";
			this.txtIBETFixedStake.Size = new System.Drawing.Size(83, 20);
			this.txtIBETFixedStake.TabIndex = 1;
			this.labelControl6.Location = new System.Drawing.Point(5, 28);
			this.labelControl6.Name = "labelControl6";
			this.labelControl6.Size = new System.Drawing.Size(85, 13);
			this.labelControl6.TabIndex = 0;
			this.labelControl6.Text = "IBET Fixed Stake:";

            #region group6



            this.groupControl6.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left);
            this.groupControl6.Controls.Add(this.chkListAllowedMatch);
            this.groupControl6.Location = new System.Drawing.Point(825, 3);
            this.groupControl6.Name = "groupControl6";
            this.groupControl6.Size = new System.Drawing.Size(295, 212);
            this.groupControl6.TabIndex = 19;
            this.groupControl6.Text = "Allowed Betting Matches";
            //this.groupControl6.Resize 


            

            this.chkListAllowedMatch.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.chkListAllowedMatch.CheckOnClick = true;
            //this.chkListAllowedMatch.Dock = DockStyle.Fill;
            this.chkListAllowedMatch.HighlightedItemStyle = DevExpress.XtraEditors.HighlightStyle.Skinned;
            this.chkListAllowedMatch.ItemHeight = 16;
            this.chkListAllowedMatch.Location = new System.Drawing.Point(5, 25);
            this.chkListAllowedMatch.Name = "chkListAllowedMatch";
            this.chkListAllowedMatch.Size = new System.Drawing.Size(283, 182);
            this.chkListAllowedMatch.TabIndex = 20;
            //this.chkListAllowedMatch.ItemCheck += new ItemCheckedEventHandler (this.chkListAllowedMatch_ItemCheck);
            #endregion
            
            
            this.xtraTabPage5.Controls.Add(this.grdTransaction);
			this.xtraTabPage5.Name = "xtraTabPage5";
			this.xtraTabPage5.Size = new System.Drawing.Size(993, 222);
			this.xtraTabPage5.Text = "Live Transaction";
			this.grdTransaction.Dock = DockStyle.Fill;
			this.grdTransaction.Location = new System.Drawing.Point(0, 0);
			this.grdTransaction.MainView = this.gridView2;
			this.grdTransaction.Name = "grdTransaction";
			this.grdTransaction.Size = new System.Drawing.Size(993, 222);
			this.grdTransaction.TabIndex = 3;
			this.grdTransaction.ViewCollection.AddRange(new BaseView[]
			{
				this.gridView2
			});
			this.gridView2.Columns.AddRange(new GridColumn[]
			{
				this.gridColumn1, 
				this.gridColumn2, 
				this.gridColumn3, 
				this.gridColumn6, 
				this.gridColumn4, 
				this.gridColumn5, 
				this.gridColumn7, 
				this.gridColumn8, 
				this.gridColumn9, 
				this.gridColumn10, 
				this.gridColumn11, 
				this.gridColumn12, 
				this.gridColumn20, 
				this.gridColumn13
			});
			this.gridView2.GridControl = this.grdTransaction;
			this.gridView2.Name = "gridView2";
			this.gridView2.OptionsBehavior.Editable = false;
			this.gridView2.OptionsCustomization.AllowGroup = false;
			this.gridView2.OptionsView.AutoCalcPreviewLineCount = true;
			this.gridView2.OptionsView.ShowAutoFilterRow = true;
			this.gridView2.OptionsView.ShowFooter = true;
			this.gridView2.OptionsView.ShowGroupPanel = false;
			this.gridView2.OptionsView.ShowPreview = true;
			this.gridView2.PreviewFieldName = "Note";
			this.gridView2.SortInfo.AddRange(new GridColumnSortInfo[]
			{
				new GridColumnSortInfo(this.gridColumn13, ColumnSortOrder.Descending)
			});
			this.gridColumn1.Caption = "ID";
			this.gridColumn1.DisplayFormat.FormatType = FormatType.Numeric;
			this.gridColumn1.FieldName = "ID";
			this.gridColumn1.Name = "gridColumn1";
			this.gridColumn1.OptionsColumn.FixedWidth = true;
			this.gridColumn1.UnboundType = UnboundColumnType.Integer;
			this.gridColumn1.Visible = true;
			this.gridColumn1.VisibleIndex = 0;
			this.gridColumn1.Width = 50;
			this.gridColumn2.Caption = "Home Team";
			this.gridColumn2.FieldName = "HomeTeamName";
			this.gridColumn2.Name = "gridColumn2";
			this.gridColumn2.UnboundType = UnboundColumnType.String;
			this.gridColumn2.Visible = true;
			this.gridColumn2.VisibleIndex = 1;
			this.gridColumn2.Width = 20;
			this.gridColumn3.Caption = "Away Team";
			this.gridColumn3.FieldName = "AwayTeamName";
			this.gridColumn3.Name = "gridColumn3";
			this.gridColumn3.UnboundType = UnboundColumnType.String;
			this.gridColumn3.Visible = true;
			this.gridColumn3.VisibleIndex = 2;
			this.gridColumn3.Width = 20;
			this.gridColumn6.Caption = "Type";
			this.gridColumn6.FieldName = "OddType";
			this.gridColumn6.Name = "gridColumn6";
			this.gridColumn6.OptionsColumn.FixedWidth = true;
			this.gridColumn6.UnboundType = UnboundColumnType.String;
			this.gridColumn6.Visible = true;
			this.gridColumn6.VisibleIndex = 3;
			this.gridColumn6.Width = 180;
			this.gridColumn4.Caption = "Odd";
			this.gridColumn4.FieldName = "OddKindValue";
			this.gridColumn4.Name = "gridColumn4";
			this.gridColumn4.OptionsColumn.FixedWidth = true;
			this.gridColumn4.UnboundType = UnboundColumnType.String;
			this.gridColumn4.Visible = true;
			this.gridColumn4.VisibleIndex = 4;
			this.gridColumn5.Caption = "Value";
			this.gridColumn5.FieldName = "OddValue";
			this.gridColumn5.Name = "gridColumn5";
			this.gridColumn5.OptionsColumn.FixedWidth = true;
			this.gridColumn5.UnboundType = UnboundColumnType.String;
			this.gridColumn5.Visible = true;
			this.gridColumn5.VisibleIndex = 5;
			this.gridColumn5.Width = 80;
			this.gridColumn7.Caption = "Stake";
			this.gridColumn7.FieldName = "Stake";
			this.gridColumn7.Name = "gridColumn7";
			this.gridColumn7.OptionsColumn.FixedWidth = true;
			this.gridColumn7.UnboundType = UnboundColumnType.String;
			this.gridColumn7.Visible = true;
			this.gridColumn7.VisibleIndex = 6;
			this.gridColumn7.Width = 100;
			this.gridColumn8.Caption = "I Allow";
			this.gridColumn8.FieldName = "IBETAllow";
			this.gridColumn8.Name = "gridColumn8";
			this.gridColumn8.OptionsColumn.FixedWidth = true;
			this.gridColumn8.UnboundType = UnboundColumnType.Boolean;
			this.gridColumn8.Visible = true;
			this.gridColumn8.VisibleIndex = 7;
			this.gridColumn8.Width = 50;
			this.gridColumn9.Caption = "3 Allow";
            this.gridColumn9.FieldName = "THREEIN1Allow";
			this.gridColumn9.Name = "gridColumn9";
			this.gridColumn9.OptionsColumn.FixedWidth = true;
			this.gridColumn9.UnboundType = UnboundColumnType.Boolean;
			this.gridColumn9.Visible = true;
			this.gridColumn9.VisibleIndex = 8;
			this.gridColumn9.Width = 50;
			this.gridColumn10.Caption = "I Trade";
			this.gridColumn10.FieldName = "IBETTrade";
			this.gridColumn10.Name = "gridColumn10";
			this.gridColumn10.OptionsColumn.FixedWidth = true;
			this.gridColumn10.UnboundType = UnboundColumnType.Boolean;
			this.gridColumn10.Visible = true;
			this.gridColumn10.VisibleIndex = 9;
			this.gridColumn10.Width = 50;
			this.gridColumn11.Caption = "3 Trade";
            this.gridColumn11.FieldName = "THREEIN1Trade";
			this.gridColumn11.Name = "gridColumn11";
			this.gridColumn11.OptionsColumn.FixedWidth = true;
			this.gridColumn11.UnboundType = UnboundColumnType.Boolean;
			this.gridColumn11.Visible = true;
			this.gridColumn11.VisibleIndex = 10;
			this.gridColumn11.Width = 50;
			this.gridColumn12.Caption = "3 Retrade";
            this.gridColumn12.FieldName = "THREEIN1ReTrade";
			this.gridColumn12.Name = "gridColumn12";
			this.gridColumn12.OptionsColumn.FixedWidth = true;
			this.gridColumn12.UnboundType = UnboundColumnType.Boolean;
			this.gridColumn12.Visible = true;
			this.gridColumn12.VisibleIndex = 11;
			this.gridColumn12.Width = 50;
			this.gridColumn20.Caption = "I Retrade";
			this.gridColumn20.FieldName = "IBETReTrade";
			this.gridColumn20.Name = "gridColumn20";
			this.gridColumn20.OptionsColumn.FixedWidth = true;
			this.gridColumn20.UnboundType = UnboundColumnType.Boolean;
			this.gridColumn20.Visible = true;
			this.gridColumn20.VisibleIndex = 12;
			this.gridColumn20.Width = 50;
			this.gridColumn13.Caption = "DateTime";
			this.gridColumn13.DisplayFormat.FormatString = "dd/MM/yyyy hh:mm:ss";
			this.gridColumn13.DisplayFormat.FormatType = FormatType.DateTime;
			this.gridColumn13.FieldName = "DateTime";
			this.gridColumn13.Name = "gridColumn13";
			this.gridColumn13.OptionsColumn.FixedWidth = true;
			this.gridColumn13.SortMode = ColumnSortMode.Value;
			this.gridColumn13.SummaryItem.SummaryType = SummaryItemType.Count;
			this.gridColumn13.UnboundType = UnboundColumnType.DateTime;
			this.gridColumn13.Visible = true;
			this.gridColumn13.VisibleIndex = 13;
			this.gridColumn13.Width = 130;
			base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
			base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new System.Drawing.Size(1130, 678);
			base.Controls.Add(this.splitContainerControl1);
			base.Controls.Add(this.ribbonControl1);
///			base.Icon = (System.Drawing.Icon)componentResourceManager.GetObject("$this.Icon");
			base.Name = "TerminalForm";
			this.Ribbon = this.ribbonControl1;
			base.StartPosition = FormStartPosition.CenterScreen;
			this.Text = "IBET vs 3IN1BET";
			((System.ComponentModel.ISupportInitialize)this.ribbonControl1).EndInit();
			((System.ComponentModel.ISupportInitialize)this.splitContainerControl1).EndInit();
			this.splitContainerControl1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)this.xtraTabControl1).EndInit();
			this.xtraTabControl1.ResumeLayout(false);
			this.xtraTabPage1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)this.panelControl5).EndInit();
			this.panelControl5.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)this.panelControl4).EndInit();
			this.panelControl4.ResumeLayout(false);
			this.panelControl4.PerformLayout();
			((System.ComponentModel.ISupportInitialize)this.txtIBETAddress.Properties).EndInit();
			this.xtraTabPage2.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)this.panelControl3).EndInit();
			this.panelControl3.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)this.panelControl2).EndInit();
			this.panelControl2.ResumeLayout(false);
			this.panelControl2.PerformLayout();
			((System.ComponentModel.ISupportInitialize)this.txt1IN1BETAddress.Properties).EndInit();

            this.xtraTabPage9.ResumeLayout(false);

			this.xtraTabPage3.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)this.grdSameMatch).EndInit();
			((System.ComponentModel.ISupportInitialize)this.gridView1).EndInit();
			((System.ComponentModel.ISupportInitialize)this.xtraTabControl2).EndInit();
			this.xtraTabControl2.ResumeLayout(false);
			this.xtraTabPage4.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)this.groupControl2).EndInit();
			this.groupControl2.ResumeLayout(false);
			this.groupControl2.PerformLayout();
			((System.ComponentModel.ISupportInitialize)this.txtTransactionTimeSpan.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.txtMaxTimePerHalf.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.chbAllowHalftime.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.groupControl1).EndInit();
			this.groupControl1.ResumeLayout(false);
			this.groupControl1.PerformLayout();
			((System.ComponentModel.ISupportInitialize)this.txt3IN1BETUpdateInterval.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.txtIBETUpdateInterval.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.groupControl5).EndInit();
			this.groupControl5.ResumeLayout(false);
			this.groupControl5.PerformLayout();
			((System.ComponentModel.ISupportInitialize)this.chbHighRevenueBoost.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.txtLowestOddValue.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.txtOddValueDifferenet.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)this.checkEdit9.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)this.checkEdit8.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)this.checkEdit7.Properties).EndInit();
            ((System.ComponentModel.ISupportInitialize)this.checkEdit6.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.checkEdit5.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.checkEdit4.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.checkEdit3.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.groupControl4).EndInit();
			this.groupControl4.ResumeLayout(false);
			this.groupControl4.PerformLayout();

            ((System.ComponentModel.ISupportInitialize)this.chkListAllowedMatch).EndInit();
            ((System.ComponentModel.ISupportInitialize)this.groupControl6).EndInit();
            this.groupControl6.ResumeLayout(false);
            this.groupControl6.PerformLayout();

			((System.ComponentModel.ISupportInitialize)this.txt3in1BETFixedStake.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.txtStake.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.chbRandomStake.Properties).EndInit();
			((System.ComponentModel.ISupportInitialize)this.txtIBETFixedStake.Properties).EndInit();
			this.xtraTabPage5.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)this.grdTransaction).EndInit();
			((System.ComponentModel.ISupportInitialize)this.gridView2).EndInit();

            Icon icoMain = Properties.Resources._1;
            this.Icon = icoMain;
			base.ResumeLayout(false);
		}
		private void InitializeComponent()
		{
            DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup1 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
            DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup2 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
            DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup3 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
            this.btnNewTerminal = new DevExpress.XtraBars.BarButtonItem();
            this.btnNewTerminal2 = new DevExpress.XtraBars.BarButtonItem();
            this.btnNewTerminal3 = new DevExpress.XtraBars.BarButtonItem();
            this.btnStart = new DevExpress.XtraBars.BarButtonItem();
            this.btnStop = new DevExpress.XtraBars.BarButtonItem();
            this.btnClear = new DevExpress.XtraBars.BarButtonItem();
            this.txtUsername = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.txtPassword = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            this.btnLogin = new DevExpress.XtraBars.BarButtonItem();
            this.btnChangePassword = new DevExpress.XtraBars.BarButtonItem();
            this.btnLogout = new DevExpress.XtraBars.BarButtonItem();
            this.lblSystemTime = new DevExpress.XtraBars.BarStaticItem();
            this.lblTotalTransaction = new DevExpress.XtraBars.BarStaticItem();
            this.lblTotalTerminal = new DevExpress.XtraBars.BarStaticItem();
            this.barEditItem1 = new DevExpress.XtraBars.BarEditItem();
            this.repositoryItemPopupContainerEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
            this.ribbonGalleryBarItem1 = new DevExpress.XtraBars.RibbonGalleryBarItem();
            this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup();
            this.barButtonGroup2 = new DevExpress.XtraBars.BarButtonGroup();
            this.skinGalleryBarItem = new DevExpress.XtraBars.RibbonGalleryBarItem();
            this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
            this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
            this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
            this.grdTransaction = new DevExpress.XtraGrid.GridControl();
            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
            this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
            this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
            this.btnStatement = new DevExpress.XtraEditors.SimpleButton();
            this.btnBetList = new DevExpress.XtraEditors.SimpleButton();
            this.cbeSignatureTemplate = new DevExpress.XtraEditors.ComboBoxEdit();
            this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
            this.webBrowser2 = new System.Windows.Forms.WebBrowser();
            this.splitter1 = new System.Windows.Forms.Splitter();
            this.webBrowser1 = new System.Windows.Forms.WebBrowser();
            this.xtraTabPage5 = new DevExpress.XtraTab.XtraTabPage();
            this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
            this.textEdit4 = new DevExpress.XtraEditors.MemoEdit();
            this.chkSCloud = new DevExpress.XtraEditors.CheckEdit();
            this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
            this.textEdit3 = new DevExpress.XtraEditors.TextEdit();
            this.textEdit2 = new DevExpress.XtraEditors.TextEdit();
            this.textEdit1 = new DevExpress.XtraEditors.TextEdit();
            this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
            this.label4 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.chkRCloud = new DevExpress.XtraEditors.CheckEdit();
            this.btnSignMeIn = new DevExpress.XtraEditors.SimpleButton();
            this.txtServerIP = new DevExpress.XtraEditors.TextEdit();
            this.txtServerUserName = new DevExpress.XtraEditors.TextEdit();
            this.txtServerPassword = new DevExpress.XtraEditors.TextEdit();
            this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit();
            this.xtraTabControl2 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage();
            this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
            this.splitContainerControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.xtraTabPage1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
            this.xtraTabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cbeSignatureTemplate.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
            this.panelControl1.SuspendLayout();
            this.xtraTabPage5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
            this.panelControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkSCloud.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkRCloud.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerIP.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerUserName.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerPassword.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).BeginInit();
            this.xtraTabControl2.SuspendLayout();
            this.SuspendLayout();
            // 
            // ribbonControl1
            // 
            this.ribbonControl1.ApplicationButtonText = null;
            // 
            // 
            // 
            this.ribbonControl1.ExpandCollapseItem.Id = 0;
            this.ribbonControl1.ExpandCollapseItem.Name = "";
            this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.ribbonControl1.ExpandCollapseItem,
            this.btnNewTerminal,
            this.btnNewTerminal2,
            this.btnNewTerminal3,
            this.btnStart,
            this.btnStop,
            this.btnClear,
            this.txtUsername,
            this.txtPassword,
            this.btnLogin,
            this.btnChangePassword,
            this.btnLogout,
            this.lblSystemTime,
            this.lblTotalTransaction,
            this.lblTotalTerminal,
            this.barEditItem1,
            this.ribbonGalleryBarItem1,
            this.barButtonGroup1,
            this.barButtonGroup2,
            this.skinGalleryBarItem});
            this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
            this.ribbonControl1.MaxItemId = 22;
            this.ribbonControl1.Name = "ribbonControl1";
            this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
            this.ribbonPage1});
            this.ribbonControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemTextEdit1,
            this.repositoryItemTextEdit2,
            this.repositoryItemPopupContainerEdit1});
            this.ribbonControl1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010;
            this.ribbonControl1.SelectedPage = this.ribbonPage1;
            this.ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
            this.ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
            this.ribbonControl1.ShowToolbarCustomizeItem = false;
            this.ribbonControl1.Size = new System.Drawing.Size(1056, 125);
            this.ribbonControl1.StatusBar = this.ribbonStatusBar1;
            this.ribbonControl1.Toolbar.ShowCustomizeItem = false;
            // 
            // btnNewTerminal
            // 
            this.btnNewTerminal.Caption = "ibet-3in1";
            this.btnNewTerminal.Enabled = false;
            this.btnNewTerminal.Id = 1;
            this.btnNewTerminal.LargeGlyph = global::iBet.App.Properties.Resources.i4;
            this.btnNewTerminal.Name = "btnNewTerminal";
            this.btnNewTerminal.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal_ItemClick);
            // 
            // btnNewTerminal2
            // 
            this.btnNewTerminal2.Caption = "ibet-sbo";
            this.btnNewTerminal2.Enabled = false;
            this.btnNewTerminal2.Id = 13;
            this.btnNewTerminal2.LargeGlyph = global::iBet.App.Properties.Resources.i9;
            this.btnNewTerminal2.Name = "btnNewTerminal2";
            this.btnNewTerminal2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal2_ItemClick);
            // 
            // btnNewTerminal3
            // 
            this.btnNewTerminal3.Caption = "Follow Sub";
            this.btnNewTerminal3.Enabled = false;
            this.btnNewTerminal3.Id = 14;
            this.btnNewTerminal3.LargeGlyph = global::iBet.App.Properties.Resources.i10;
            this.btnNewTerminal3.Name = "btnNewTerminal3";
            this.btnNewTerminal3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnNewTerminal3_ItemClick);
            // 
            // btnStart
            // 
            this.btnStart.Caption = "Start";
            this.btnStart.Enabled = false;
            this.btnStart.Id = 2;
            this.btnStart.LargeGlyph = global::iBet.App.Properties.Resources.i5;
            this.btnStart.Name = "btnStart";
            this.btnStart.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStart_ItemClick);
            // 
            // btnStop
            // 
            this.btnStop.Caption = "Stop";
            this.btnStop.Enabled = false;
            this.btnStop.Id = 3;
            this.btnStop.LargeGlyph = global::iBet.App.Properties.Resources.i6;
            this.btnStop.Name = "btnStop";
            this.btnStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStop_ItemClick);
            // 
            // btnClear
            // 
            this.btnClear.Caption = "Clear";
            this.btnClear.Enabled = false;
            this.btnClear.Glyph = global::iBet.App.Properties.Resources.i7;
            this.btnClear.Id = 4;
            this.btnClear.LargeGlyph = global::iBet.App.Properties.Resources.i7;
            this.btnClear.Name = "btnClear";
            this.btnClear.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnClear_ItemClick);
            // 
            // txtUsername
            // 
            this.txtUsername.Caption = "Username";
            this.txtUsername.Edit = this.repositoryItemTextEdit1;
            this.txtUsername.Id = 5;
            this.txtUsername.Name = "txtUsername";
            this.txtUsername.Width = 150;
            // 
            // repositoryItemTextEdit1
            // 
            this.repositoryItemTextEdit1.AutoHeight = false;
            this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
            // 
            // txtPassword
            // 
            this.txtPassword.Caption = "Password ";
            this.txtPassword.Edit = this.repositoryItemTextEdit2;
            this.txtPassword.Id = 6;
            this.txtPassword.Name = "txtPassword";
            this.txtPassword.Width = 150;
            // 
            // repositoryItemTextEdit2
            // 
            this.repositoryItemTextEdit2.AutoHeight = false;
            this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2";
            this.repositoryItemTextEdit2.PasswordChar = '*';
            // 
            // btnLogin
            // 
            this.btnLogin.Caption = "Login";
            this.btnLogin.Id = 7;
            this.btnLogin.LargeGlyph = global::iBet.App.Properties.Resources.i1;
            this.btnLogin.Name = "btnLogin";
            this.btnLogin.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLogin_ItemClick);
            // 
            // btnChangePassword
            // 
            this.btnChangePassword.Caption = "Change Password";
            this.btnChangePassword.Enabled = false;
            this.btnChangePassword.Id = 8;
            this.btnChangePassword.LargeGlyph = global::iBet.App.Properties.Resources.i3;
            this.btnChangePassword.Name = "btnChangePassword";
            this.btnChangePassword.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnChangePassword_ItemClick);
            // 
            // btnLogout
            // 
            this.btnLogout.Caption = "Logout";
            this.btnLogout.Enabled = false;
            this.btnLogout.Id = 9;
            this.btnLogout.LargeGlyph = global::iBet.App.Properties.Resources.i2;
            this.btnLogout.Name = "btnLogout";
            this.btnLogout.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLogout_ItemClick);
            // 
            // lblSystemTime
            // 
            this.lblSystemTime.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right;
            this.lblSystemTime.Id = 10;
            this.lblSystemTime.Name = "lblSystemTime";
            this.lblSystemTime.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // lblTotalTransaction
            // 
            this.lblTotalTransaction.Caption = "Total transaction(s): 0";
            this.lblTotalTransaction.Id = 11;
            this.lblTotalTransaction.Name = "lblTotalTransaction";
            this.lblTotalTransaction.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // lblTotalTerminal
            // 
            this.lblTotalTerminal.Caption = "Total Terminal(s): 0";
            this.lblTotalTerminal.Id = 12;
            this.lblTotalTerminal.Name = "lblTotalTerminal";
            this.lblTotalTerminal.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barEditItem1
            // 
            this.barEditItem1.Caption = "barEditItem1";
            this.barEditItem1.Edit = this.repositoryItemPopupContainerEdit1;
            this.barEditItem1.Id = 15;
            this.barEditItem1.Name = "barEditItem1";
            // 
            // repositoryItemPopupContainerEdit1
            // 
            this.repositoryItemPopupContainerEdit1.AutoHeight = false;
            this.repositoryItemPopupContainerEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.repositoryItemPopupContainerEdit1.Name = "repositoryItemPopupContainerEdit1";
            // 
            // ribbonGalleryBarItem1
            // 
            this.ribbonGalleryBarItem1.Caption = "ribbonGalleryBarItem1";
            this.ribbonGalleryBarItem1.Id = 17;
            this.ribbonGalleryBarItem1.Name = "ribbonGalleryBarItem1";
            // 
            // barButtonGroup1
            // 
            this.barButtonGroup1.Caption = "barButtonGroup1";
            this.barButtonGroup1.Id = 18;
            this.barButtonGroup1.Name = "barButtonGroup1";
            // 
            // barButtonGroup2
            // 
            this.barButtonGroup2.Caption = "barButtonGroup2";
            this.barButtonGroup2.Id = 19;
            this.barButtonGroup2.Name = "barButtonGroup2";
            // 
            // skinGalleryBarItem
            // 
            this.skinGalleryBarItem.Caption = "skinGalleryBarItem";
            // 
            // skinGalleryBarItem
            // 
            this.skinGalleryBarItem.Gallery.AllowHoverImages = true;
            this.skinGalleryBarItem.Gallery.FixedHoverImageSize = false;
            galleryItemGroup1.Caption = "Standard";
            galleryItemGroup2.Caption = "Bonus";
            galleryItemGroup2.Visible = false;
            galleryItemGroup3.Caption = "Office";
            galleryItemGroup3.Visible = false;
            this.skinGalleryBarItem.Gallery.Groups.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItemGroup[] {
            galleryItemGroup1,
            galleryItemGroup2,
            galleryItemGroup3});
            this.skinGalleryBarItem.Gallery.ImageSize = new System.Drawing.Size(58, 43);
            this.skinGalleryBarItem.Gallery.ItemCheckMode = DevExpress.XtraBars.Ribbon.Gallery.ItemCheckMode.SingleRadio;
            this.skinGalleryBarItem.Id = 1;
            this.skinGalleryBarItem.Name = "skinGalleryBarItem";
            // 
            // ribbonPage1
            // 
            this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.ribbonPageGroup3,
            this.ribbonPageGroup1,
            this.ribbonPageGroup2,
            this.ribbonPageGroup5});
            this.ribbonPage1.Name = "ribbonPage1";
            this.ribbonPage1.Text = "Terminal";
            // 
            // ribbonPageGroup3
            // 
            this.ribbonPageGroup3.ItemLinks.Add(this.txtUsername);
            this.ribbonPageGroup3.ItemLinks.Add(this.txtPassword);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnLogin);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnChangePassword);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnLogout);
            this.ribbonPageGroup3.Name = "ribbonPageGroup3";
            this.ribbonPageGroup3.ShowCaptionButton = false;
            this.ribbonPageGroup3.Text = "Authentication";
            // 
            // ribbonPageGroup1
            // 
            this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal2);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnNewTerminal3);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnStart);
            this.ribbonPageGroup1.ItemLinks.Add(this.btnStop);
            this.ribbonPageGroup1.Name = "ribbonPageGroup1";
            this.ribbonPageGroup1.ShowCaptionButton = false;
            this.ribbonPageGroup1.Text = "Terminal";
            // 
            // ribbonPageGroup2
            // 
            this.ribbonPageGroup2.ItemLinks.Add(this.btnClear);
            this.ribbonPageGroup2.Name = "ribbonPageGroup2";
            this.ribbonPageGroup2.ShowCaptionButton = false;
            this.ribbonPageGroup2.Text = "Tracking";
            // 
            // ribbonPageGroup5
            // 
            this.ribbonPageGroup5.ItemLinks.Add(this.skinGalleryBarItem);
            this.ribbonPageGroup5.Name = "ribbonPageGroup5";
            this.ribbonPageGroup5.Text = "Skins";
            // 
            // ribbonStatusBar1
            // 
            this.ribbonStatusBar1.ItemLinks.Add(this.lblSystemTime);
            this.ribbonStatusBar1.ItemLinks.Add(this.lblTotalTerminal);
            this.ribbonStatusBar1.ItemLinks.Add(this.lblTotalTransaction);
            this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 617);
            this.ribbonStatusBar1.Name = "ribbonStatusBar1";
            this.ribbonStatusBar1.Ribbon = this.ribbonControl1;
            this.ribbonStatusBar1.Size = new System.Drawing.Size(1056, 31);
            // 
            // splitContainerControl1
            // 
            this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;
            this.splitContainerControl1.Horizontal = false;
            this.splitContainerControl1.Location = new System.Drawing.Point(0, 125);
            this.splitContainerControl1.Name = "splitContainerControl1";
            this.splitContainerControl1.Panel1.Controls.Add(this.xtraTabControl1);
            this.splitContainerControl1.Panel1.Text = "Panel1";
            this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControl2);
            this.splitContainerControl1.Panel2.Text = "Panel2";
            this.splitContainerControl1.Size = new System.Drawing.Size(1056, 492);
            this.splitContainerControl1.SplitterPosition = 44;
            this.splitContainerControl1.TabIndex = 1;
            this.splitContainerControl1.Text = "splitContainerControl1";
            // 
            // xtraTabControl1
            // 
            this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl1.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl1.Name = "xtraTabControl1";
            this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
            this.xtraTabControl1.Size = new System.Drawing.Size(1056, 443);
            this.xtraTabControl1.TabIndex = 0;
            this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage1,
            this.xtraTabPage3,
            this.xtraTabPage5});
            // 
            // xtraTabPage1
            // 
            this.xtraTabPage1.Controls.Add(this.grdTransaction);
            this.xtraTabPage1.Controls.Add(this.panelControl3);
            this.xtraTabPage1.Controls.Add(this.panelControl4);
            this.xtraTabPage1.Name = "xtraTabPage1";
            this.xtraTabPage1.Size = new System.Drawing.Size(1050, 417);
            this.xtraTabPage1.Text = "Transactions";
            // 
            // grdTransaction
            // 
            this.grdTransaction.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdTransaction.EmbeddedNavigator.ShowToolTips = false;
            this.grdTransaction.Location = new System.Drawing.Point(0, 0);
            this.grdTransaction.MainView = this.gridView2;
            this.grdTransaction.Name = "grdTransaction";
            this.grdTransaction.Size = new System.Drawing.Size(1050, 417);
            this.grdTransaction.TabIndex = 7;
            this.grdTransaction.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView2});
            // 
            // gridView2
            // 
            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn1,
            this.gridColumn8,
            this.gridColumn2,
            this.gridColumn3,
            this.gridColumn6,
            this.gridColumn4,
            this.gridColumn5,
            this.gridColumn7,
            this.gridColumn10,
            this.gridColumn11,
            this.gridColumn12,
            this.gridColumn9,
            this.gridColumn14,
            this.gridColumn15,
            this.gridColumn13});
            this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
            this.gridView2.GridControl = this.grdTransaction;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsBehavior.Editable = false;
            this.gridView2.OptionsCustomization.AllowGroup = false;
            this.gridView2.OptionsMenu.EnableColumnMenu = false;
            this.gridView2.OptionsMenu.EnableFooterMenu = false;
            this.gridView2.OptionsMenu.EnableGroupPanelMenu = false;
            this.gridView2.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button;
            this.gridView2.OptionsView.ShowAutoFilterRow = true;
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.gridView2.OptionsView.ShowPreview = true;
            this.gridView2.PreviewFieldName = "Note";
            this.gridView2.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowForFocusedRow;
            this.gridView2.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn13, DevExpress.Data.ColumnSortOrder.Descending)});
            // 
            // gridColumn1
            // 
            this.gridColumn1.Caption = "ID";
            this.gridColumn1.FieldName = "ID";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.OptionsColumn.AllowFocus = false;
            this.gridColumn1.OptionsColumn.AllowMove = false;
            this.gridColumn1.OptionsColumn.AllowSize = false;
            this.gridColumn1.OptionsColumn.FixedWidth = true;
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn1.Width = 30;
            // 
            // gridColumn8
            // 
            this.gridColumn8.Caption = "Account Pair";
            this.gridColumn8.FieldName = "AccountPair";
            this.gridColumn8.Name = "gridColumn8";
            this.gridColumn8.OptionsColumn.AllowFocus = false;
            this.gridColumn8.OptionsColumn.FixedWidth = true;
            this.gridColumn8.Visible = true;
            this.gridColumn8.VisibleIndex = 1;
            this.gridColumn8.Width = 120;
            // 
            // gridColumn2
            // 
            this.gridColumn2.Caption = "Home Team";
            this.gridColumn2.FieldName = "HomeTeamName";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.OptionsColumn.AllowFocus = false;
            this.gridColumn2.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 2;
            this.gridColumn2.Width = 107;
            // 
            // gridColumn3
            // 
            this.gridColumn3.Caption = "Away Team";
            this.gridColumn3.FieldName = "AwayTeamName";
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.OptionsColumn.AllowFocus = false;
            this.gridColumn3.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 3;
            this.gridColumn3.Width = 119;
            // 
            // gridColumn6
            // 
            this.gridColumn6.Caption = "Type";
            this.gridColumn6.FieldName = "OddType";
            this.gridColumn6.Name = "gridColumn6";
            this.gridColumn6.OptionsColumn.AllowFocus = false;
            this.gridColumn6.OptionsColumn.FixedWidth = true;
            this.gridColumn6.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn6.Visible = true;
            this.gridColumn6.VisibleIndex = 4;
            this.gridColumn6.Width = 150;
            // 
            // gridColumn4
            // 
            this.gridColumn4.Caption = "Odd";
            this.gridColumn4.FieldName = "OddKindValue";
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.OptionsColumn.AllowFocus = false;
            this.gridColumn4.OptionsColumn.FixedWidth = true;
            this.gridColumn4.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 5;
            this.gridColumn4.Width = 60;
            // 
            // gridColumn5
            // 
            this.gridColumn5.Caption = "Value";
            this.gridColumn5.FieldName = "OddValue";
            this.gridColumn5.Name = "gridColumn5";
            this.gridColumn5.OptionsColumn.AllowFocus = false;
            this.gridColumn5.OptionsColumn.FixedWidth = true;
            this.gridColumn5.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn5.Visible = true;
            this.gridColumn5.VisibleIndex = 6;
            this.gridColumn5.Width = 60;
            // 
            // gridColumn7
            // 
            this.gridColumn7.Caption = "Stake";
            this.gridColumn7.FieldName = "Stake";
            this.gridColumn7.Name = "gridColumn7";
            this.gridColumn7.OptionsColumn.AllowFocus = false;
            this.gridColumn7.OptionsColumn.FixedWidth = true;
            this.gridColumn7.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn7.Visible = true;
            this.gridColumn7.VisibleIndex = 7;
            this.gridColumn7.Width = 60;
            // 
            // gridColumn10
            // 
            this.gridColumn10.Caption = "I";
            this.gridColumn10.FieldName = "IBETTrade";
            this.gridColumn10.Name = "gridColumn10";
            this.gridColumn10.OptionsColumn.AllowFocus = false;
            this.gridColumn10.OptionsColumn.FixedWidth = true;
            this.gridColumn10.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn10.Visible = true;
            this.gridColumn10.VisibleIndex = 8;
            this.gridColumn10.Width = 30;
            // 
            // gridColumn11
            // 
            this.gridColumn11.Caption = "3";
            this.gridColumn11.FieldName = "THREEIN1Trade";
            this.gridColumn11.Name = "gridColumn11";
            this.gridColumn11.OptionsColumn.AllowFocus = false;
            this.gridColumn11.OptionsColumn.FixedWidth = true;
            this.gridColumn11.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn11.Visible = true;
            this.gridColumn11.VisibleIndex = 9;
            this.gridColumn11.Width = 30;
            // 
            // gridColumn12
            // 
            this.gridColumn12.Caption = "3 Re";
            this.gridColumn12.FieldName = "THREEIN1ReTrade";
            this.gridColumn12.Name = "gridColumn12";
            this.gridColumn12.OptionsColumn.AllowFocus = false;
            this.gridColumn12.OptionsColumn.FixedWidth = true;
            this.gridColumn12.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn12.Visible = true;
            this.gridColumn12.VisibleIndex = 11;
            this.gridColumn12.Width = 30;
            // 
            // gridColumn9
            // 
            this.gridColumn9.Caption = "I Re";
            this.gridColumn9.FieldName = "IBETReTrade";
            this.gridColumn9.Name = "gridColumn9";
            this.gridColumn9.OptionsColumn.AllowFocus = false;
            this.gridColumn9.OptionsColumn.FixedWidth = true;
            this.gridColumn9.Visible = true;
            this.gridColumn9.VisibleIndex = 12;
            this.gridColumn9.Width = 30;
            // 
            // gridColumn14
            // 
            this.gridColumn14.Caption = "B";
            this.gridColumn14.FieldName = "SBOBETTrade";
            this.gridColumn14.Name = "gridColumn14";
            this.gridColumn14.OptionsColumn.AllowFocus = false;
            this.gridColumn14.OptionsColumn.FixedWidth = true;
            this.gridColumn14.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn14.Visible = true;
            this.gridColumn14.VisibleIndex = 10;
            this.gridColumn14.Width = 30;
            // 
            // gridColumn15
            // 
            this.gridColumn15.Caption = "B Re";
            this.gridColumn15.FieldName = "SBOBETReTrade";
            this.gridColumn15.Name = "gridColumn15";
            this.gridColumn15.OptionsColumn.AllowFocus = false;
            this.gridColumn15.OptionsColumn.FixedWidth = true;
            this.gridColumn15.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn15.Visible = true;
            this.gridColumn15.VisibleIndex = 13;
            this.gridColumn15.Width = 30;
            // 
            // gridColumn13
            // 
            this.gridColumn13.Caption = "DateTime";
            this.gridColumn13.DisplayFormat.FormatString = "dd/MM/yyyy hh:mm:ss";
            this.gridColumn13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.gridColumn13.FieldName = "DateTime";
            this.gridColumn13.Name = "gridColumn13";
            this.gridColumn13.OptionsColumn.AllowFocus = false;
            this.gridColumn13.OptionsColumn.FixedWidth = true;
            this.gridColumn13.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value;
            this.gridColumn13.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count)});
            this.gridColumn13.UnboundType = DevExpress.Data.UnboundColumnType.DateTime;
            this.gridColumn13.Visible = true;
            this.gridColumn13.VisibleIndex = 14;
            this.gridColumn13.Width = 150;
            // 
            // panelControl3
            // 
            this.panelControl3.Location = new System.Drawing.Point(0, 0);
            this.panelControl3.Name = "panelControl3";
            this.panelControl3.Size = new System.Drawing.Size(200, 100);
            this.panelControl3.TabIndex = 8;
            // 
            // panelControl4
            // 
            this.panelControl4.Location = new System.Drawing.Point(0, 0);
            this.panelControl4.Name = "panelControl4";
            this.panelControl4.Size = new System.Drawing.Size(200, 100);
            this.panelControl4.TabIndex = 9;
            // 
            // xtraTabPage3
            // 
            this.xtraTabPage3.Controls.Add(this.btnStatement);
            this.xtraTabPage3.Controls.Add(this.btnBetList);
            this.xtraTabPage3.Controls.Add(this.cbeSignatureTemplate);
            this.xtraTabPage3.Controls.Add(this.panelControl1);
            this.xtraTabPage3.Name = "xtraTabPage3";
            this.xtraTabPage3.Size = new System.Drawing.Size(1050, 417);
            this.xtraTabPage3.Text = "Bet List - Statement";
            // 
            // btnStatement
            // 
            this.btnStatement.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnStatement.Location = new System.Drawing.Point(295, 391);
            this.btnStatement.Name = "btnStatement";
            this.btnStatement.Size = new System.Drawing.Size(99, 23);
            this.btnStatement.TabIndex = 7;
            this.btnStatement.Text = "Statement";
            this.btnStatement.Click += new System.EventHandler(this.btnStatement_Click);
            // 
            // btnBetList
            // 
            this.btnBetList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnBetList.Location = new System.Drawing.Point(198, 391);
            this.btnBetList.Name = "btnBetList";
            this.btnBetList.Size = new System.Drawing.Size(91, 23);
            this.btnBetList.TabIndex = 6;
            this.btnBetList.Text = "Refresh";
            this.btnBetList.Click += new System.EventHandler(this.btnRefresh_Click);
            // 
            // cbeSignatureTemplate
            // 
            this.cbeSignatureTemplate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.cbeSignatureTemplate.EditValue = "Select account pair";
            this.cbeSignatureTemplate.Location = new System.Drawing.Point(3, 394);
            this.cbeSignatureTemplate.Name = "cbeSignatureTemplate";
            this.cbeSignatureTemplate.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False;
            this.cbeSignatureTemplate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbeSignatureTemplate.Properties.DropDownRows = 10;
            this.cbeSignatureTemplate.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            this.cbeSignatureTemplate.Size = new System.Drawing.Size(189, 20);
            this.cbeSignatureTemplate.TabIndex = 5;
            // 
            // panelControl1
            // 
            this.panelControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.panelControl1.Controls.Add(this.webBrowser2);
            this.panelControl1.Controls.Add(this.splitter1);
            this.panelControl1.Controls.Add(this.webBrowser1);
            this.panelControl1.Location = new System.Drawing.Point(2, 3);
            this.panelControl1.Name = "panelControl1";
            this.panelControl1.Size = new System.Drawing.Size(1044, 382);
            this.panelControl1.TabIndex = 3;
            // 
            // webBrowser2
            // 
            this.webBrowser2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.webBrowser2.Location = new System.Drawing.Point(364, 2);
            this.webBrowser2.MinimumSize = new System.Drawing.Size(20, 20);
            this.webBrowser2.Name = "webBrowser2";
            this.webBrowser2.Size = new System.Drawing.Size(678, 378);
            this.webBrowser2.TabIndex = 2;
            this.webBrowser2.Url = new System.Uri("", System.UriKind.Relative);
            // 
            // splitter1
            // 
            this.splitter1.Location = new System.Drawing.Point(361, 2);
            this.splitter1.Name = "splitter1";
            this.splitter1.Size = new System.Drawing.Size(3, 378);
            this.splitter1.TabIndex = 1;
            this.splitter1.TabStop = false;
            // 
            // webBrowser1
            // 
            this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Left;
            this.webBrowser1.Location = new System.Drawing.Point(2, 2);
            this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
            this.webBrowser1.Name = "webBrowser1";
            this.webBrowser1.Size = new System.Drawing.Size(359, 378);
            this.webBrowser1.TabIndex = 0;
            this.webBrowser1.Url = new System.Uri("", System.UriKind.Relative);
            // 
            // xtraTabPage5
            // 
            this.xtraTabPage5.Controls.Add(this.panelControl2);
            this.xtraTabPage5.Name = "xtraTabPage5";
            this.xtraTabPage5.Size = new System.Drawing.Size(1050, 417);
            this.xtraTabPage5.Text = "Settings";
            // 
            // panelControl2
            // 
            this.panelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.panelControl2.Controls.Add(this.textEdit4);
            this.panelControl2.Controls.Add(this.chkSCloud);
            this.panelControl2.Controls.Add(this.simpleButton2);
            this.panelControl2.Controls.Add(this.textEdit3);
            this.panelControl2.Controls.Add(this.textEdit2);
            this.panelControl2.Controls.Add(this.textEdit1);
            this.panelControl2.Controls.Add(this.simpleButton1);
            this.panelControl2.Controls.Add(this.label4);
            this.panelControl2.Controls.Add(this.label3);
            this.panelControl2.Controls.Add(this.label2);
            this.panelControl2.Controls.Add(this.label1);
            this.panelControl2.Controls.Add(this.chkRCloud);
            this.panelControl2.Controls.Add(this.btnSignMeIn);
            this.panelControl2.Controls.Add(this.txtServerIP);
            this.panelControl2.Controls.Add(this.txtServerUserName);
            this.panelControl2.Controls.Add(this.txtServerPassword);
            this.panelControl2.Controls.Add(this.pictureEdit1);
            this.panelControl2.Location = new System.Drawing.Point(3, 3);
            this.panelControl2.Name = "panelControl2";
            this.panelControl2.Size = new System.Drawing.Size(1044, 497);
            this.panelControl2.TabIndex = 0;
            // 
            // textEdit4
            // 
            this.textEdit4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.textEdit4.Location = new System.Drawing.Point(244, 5);
            this.textEdit4.Name = "textEdit4";
            this.textEdit4.Size = new System.Drawing.Size(408, 406);
            this.textEdit4.TabIndex = 18;
            // 
            // chkSCloud
            // 
            this.chkSCloud.EditValue = true;
            this.chkSCloud.Location = new System.Drawing.Point(13, 27);
            this.chkSCloud.Name = "chkSCloud";
            this.chkSCloud.Properties.Caption = "S cloud";
            this.chkSCloud.Size = new System.Drawing.Size(86, 19);
            this.chkSCloud.TabIndex = 17;
            // 
            // simpleButton2
            // 
            this.simpleButton2.Location = new System.Drawing.Point(130, 307);
            this.simpleButton2.Name = "simpleButton2";
            this.simpleButton2.Size = new System.Drawing.Size(97, 23);
            this.simpleButton2.TabIndex = 16;
            this.simpleButton2.Text = "Set";
            this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
            // 
            // textEdit3
            // 
            this.textEdit3.EditValue = "0";
            this.textEdit3.Location = new System.Drawing.Point(94, 216);
            this.textEdit3.Name = "textEdit3";
            this.textEdit3.Size = new System.Drawing.Size(142, 20);
            this.textEdit3.TabIndex = 15;
            // 
            // textEdit2
            // 
            this.textEdit2.Location = new System.Drawing.Point(94, 268);
            this.textEdit2.Name = "textEdit2";
            this.textEdit2.Size = new System.Drawing.Size(142, 20);
            this.textEdit2.TabIndex = 14;
            // 
            // textEdit1
            // 
            this.textEdit1.Location = new System.Drawing.Point(94, 241);
            this.textEdit1.Name = "textEdit1";
            this.textEdit1.Size = new System.Drawing.Size(142, 20);
            this.textEdit1.TabIndex = 13;
            // 
            // simpleButton1
            // 
            this.simpleButton1.Location = new System.Drawing.Point(18, 307);
            this.simpleButton1.Name = "simpleButton1";
            this.simpleButton1.Size = new System.Drawing.Size(97, 23);
            this.simpleButton1.TabIndex = 12;
            this.simpleButton1.Text = "Get";
            this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(12, 176);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(0, 13);
            this.label4.TabIndex = 11;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(11, 140);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(53, 13);
            this.label3.TabIndex = 10;
            this.label3.Text = "Password";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(11, 113);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(55, 13);
            this.label2.TabIndex = 9;
            this.label2.Text = "Username";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(11, 86);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(81, 13);
            this.label1.TabIndex = 8;
            this.label1.Text = "Server Address";
            // 
            // chkRCloud
            // 
            this.chkRCloud.EditValue = true;
            this.chkRCloud.Location = new System.Drawing.Point(12, 53);
            this.chkRCloud.Name = "chkRCloud";
            this.chkRCloud.Properties.Caption = "R cloud";
            this.chkRCloud.Size = new System.Drawing.Size(86, 19);
            this.chkRCloud.TabIndex = 7;
            this.chkRCloud.CheckedChanged += new System.EventHandler(this.chbCloud_CheckedChanged);
            // 
            // btnSignMeIn
            // 
            this.btnSignMeIn.Location = new System.Drawing.Point(154, 171);
            this.btnSignMeIn.Name = "btnSignMeIn";
            this.btnSignMeIn.Size = new System.Drawing.Size(75, 23);
            this.btnSignMeIn.TabIndex = 3;
            this.btnSignMeIn.Text = "Sign me in";
            this.btnSignMeIn.Click += new System.EventHandler(this.btnSignMeIn_Click);
            // 
            // txtServerIP
            // 
            this.txtServerIP.EditValue = "115.84.178.100";
            this.txtServerIP.Location = new System.Drawing.Point(95, 83);
            this.txtServerIP.Name = "txtServerIP";
            this.txtServerIP.Size = new System.Drawing.Size(142, 20);
            this.txtServerIP.TabIndex = 4;
            // 
            // txtServerUserName
            // 
            this.txtServerUserName.EditValue = "tuns";
            this.txtServerUserName.Location = new System.Drawing.Point(95, 110);
            this.txtServerUserName.Name = "txtServerUserName";
            this.txtServerUserName.Size = new System.Drawing.Size(142, 20);
            this.txtServerUserName.TabIndex = 5;
            // 
            // txtServerPassword
            // 
            this.txtServerPassword.EditValue = "anhkomuonradi";
            this.txtServerPassword.Location = new System.Drawing.Point(95, 137);
            this.txtServerPassword.Name = "txtServerPassword";
            this.txtServerPassword.Properties.UseSystemPasswordChar = true;
            this.txtServerPassword.Size = new System.Drawing.Size(142, 20);
            this.txtServerPassword.TabIndex = 6;
            // 
            // pictureEdit1
            // 
            this.pictureEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.pictureEdit1.EditValue = ((object)(resources.GetObject("pictureEdit1.EditValue")));
            this.pictureEdit1.Location = new System.Drawing.Point(658, 5);
            this.pictureEdit1.Name = "pictureEdit1";
            this.pictureEdit1.Properties.AllowFocused = false;
            this.pictureEdit1.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.pictureEdit1.Properties.Appearance.Options.UseBackColor = true;
            this.pictureEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.pictureEdit1.Properties.PictureAlignment = System.Drawing.ContentAlignment.TopLeft;
            this.pictureEdit1.Properties.ShowMenu = false;
            this.pictureEdit1.Size = new System.Drawing.Size(382, 448);
            this.pictureEdit1.TabIndex = 2;
            // 
            // xtraTabControl2
            // 
            this.xtraTabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl2.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl2.Name = "xtraTabControl2";
            this.xtraTabControl2.SelectedTabPage = this.xtraTabPage2;
            this.xtraTabControl2.Size = new System.Drawing.Size(1056, 44);
            this.xtraTabControl2.TabIndex = 1;
            this.xtraTabControl2.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage2,
            this.xtraTabPage4});
            // 
            // xtraTabPage2
            // 
            this.xtraTabPage2.Name = "xtraTabPage2";
            this.xtraTabPage2.Size = new System.Drawing.Size(1050, 18);
            this.xtraTabPage2.Text = "Waiting list";
            // 
            // xtraTabPage4
            // 
            this.xtraTabPage4.Name = "xtraTabPage4";
            this.xtraTabPage4.Size = new System.Drawing.Size(1050, 18);
            this.xtraTabPage4.Text = "Clones monitor";
            // 
            // ribbonPageGroup4
            // 
            this.ribbonPageGroup4.ItemLinks.Add(this.btnClear);
            this.ribbonPageGroup4.Name = "ribbonPageGroup4";
            this.ribbonPageGroup4.ShowCaptionButton = false;
            this.ribbonPageGroup4.Text = "Tracking";
            // 
            // MainForm
            // 
            this.AutoHideRibbon = false;
            this.ClientSize = new System.Drawing.Size(1056, 648);
            this.Controls.Add(this.splitContainerControl1);
            this.Controls.Add(this.ribbonStatusBar1);
            this.Controls.Add(this.ribbonControl1);
            this.Icon = global::iBet.App.Properties.Resources.BetBrokerLogo;
            this.Name = "MainForm";
            this.Ribbon = this.ribbonControl1;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.StatusBar = this.ribbonStatusBar1;
            this.Text = "Bet Broker";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
            this.splitContainerControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.xtraTabPage1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
            this.xtraTabPage3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.cbeSignatureTemplate.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
            this.panelControl1.ResumeLayout(false);
            this.xtraTabPage5.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
            this.panelControl2.ResumeLayout(false);
            this.panelControl2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkSCloud.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chkRCloud.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerIP.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerUserName.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServerPassword.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).EndInit();
            this.xtraTabControl2.ResumeLayout(false);
            this.ResumeLayout(false);

		}
Example #42
0
 /// <summary>
 /// 显示短语库选择器		
 /// </summary>
 /// <param name="dx">记录表中文名,要和短语库对上,否则没有记录</param>
 /// <param name="sx">属性中文名</param>
 /// <returns></returns>
 public static void SelectSDDyk(string dx, string sx, MemoEdit txt)
 {
     //2011.06.20 rabbit edit 
     //2011.10.23 胡建林 edit 
     frmDykSelector dlg = new frmDykSelector();
     PJ_dyk parentObj = Client.ClientHelper.PlatformSqlMap.GetOne<PJ_dyk>(string.Format("where dx='{0}' and sx='{1}' and parentid=''", dx, sx));
     if (parentObj != null)
     {
         dlg.ucpJ_dykSelector1.ParentObj = parentObj;
         if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             txt.EditValue = dlg.ucpJ_dykSelector1.GetSelectedRow().nr;
         }
     }
     else
     {
         MsgBox.ShowWarningMessageBox("短语库中没有找到 记录表中文名为 " + dx + " 属性为 " + sx + " 的记录");
     }
 }
Example #43
0
        public void BindControls()
        {
            if (Questionnaire == null)
                MessageBox.Show("Questionnaire must be bind with JSON first.", "Textbox Component");

            m_DynamicControls = new List<DynamicControl>();

            #region Layout Control Group Initialize
            isLoaded = false;
            this.layoutControlGroupQuestion1.Clear();
            Settings oSettings = Questionnaire.Form.Settings;

            // layoutControlGroupQuestion1
            this.layoutControlGroupQuestion1.Name = "layoutControlGroupQuestion" + Guid.NewGuid().ToString();
            this.layoutControlGroupQuestion1.AppearanceGroup.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            this.layoutControlGroupQuestion1.AppearanceGroup.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
            this.layoutControlGroupQuestion1.AppearanceGroup.Options.UseFont = true;
            this.layoutControlGroupQuestion1.ExpandButtonVisible = false;
            this.layoutControlGroupQuestion1.GroupBordersVisible = true;
            this.layoutControlGroupQuestion1.TextVisible = false;
            this.layoutControlGroupQuestion1.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1);
            this.layoutControlGroupQuestion1.ShowInCustomizationForm = false;
            //this.layoutControlGroupQuestion1.Text = oSettings.Label + " " + oSettings.QuestionText;
            this.layoutControlGroupQuestion1.BeginUpdate();

            #endregion

            #region Footer
            this.layoutControlItem1 = new LayoutControlItem();
            this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString();

            //bool isCustomerOwnershipOnly = false;
            //if (oSettings.CustomerOwnership && oSettings.BVOwnership)
            //    isCustomerOwnershipOnly = true;

            //ctlFooter = new Footer() {
            //   IsAccountLevel = oSettings.DataBindings.account_level,
            //   IsCustomerOwnershipOnly = isCustomerOwnershipOnly,
            //   HelpText = oSettings.QuestionHelp,
            //   LanguageCode = oSettings.DataBindings.language_code
            //};

            ctlFooter = new Footer() {
                IsAccountLevel = oSettings.DataBindings.account_level,
                IsCustomerOwned = oSettings.CustomerOwnership,
                IsBrightvisionOwned = oSettings.BVOwnership,
                HelpText = oSettings.QuestionHelp,
                LanguageCode = oSettings.DataBindings.language_code,
                QuestionText = oSettings.Label + " " + oSettings.QuestionText
            };

            ctlFooter.InitializeFooter();
            ctlFooter.Dock = DockStyle.Fill;
            ctlFooter.Height = 20;

            this.layoutControlItem1.Control = ctlFooter;
            this.layoutControlItem1.ShowInCustomizationForm = false;
            this.layoutControlItem1.TextVisible = false;
            this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlItem1.MinSize = new Size(0, 24);
            this.layoutControlItem1.MaxSize = new Size(0, 24);
            this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            this.layoutControlItem1.SizeConstraintsType = SizeConstraintsType.Custom;
            this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1);
            #endregion

            #region Answer Option Binding
            IList<AnswerOption> answeroptionList = Questionnaire.Form.Settings.AnswerOptions;
            ITextbox answeroption = null;
            int iAnswerOptions = answeroptionList.Count;
            //System.Drawing.Size newSize;
            for (int x = 0; x < iAnswerOptions; ++x) {
                answeroption = answeroptionList[x] as ITextbox;
                // layoutControlItem1
                this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
                //add textEdit1 to layout
                this.memoEdit1 = new MemoEdit();
                this.memoEdit1.Tag = new TextboxData() {
                    PositionIndex = "IndexPosition" + x,
                    ControlContainer = layoutControlItem1,
                    Required = answeroption.Required,
                    HasValue = !string.IsNullOrWhiteSpace(answeroption.DefaultInputValue) ? true : false,
                    AnswerOption = answeroption
                };
                this.memoEdit1.Name = "textEdit" + Guid.NewGuid().ToString();
                this.memoEdit1.Properties.ScrollBars = ScrollBars.None;
                this.memoEdit1.StyleController = this.StyleController;
                //set value

                string _DefaultValue = string.Empty;
                if (answeroption.DefaultInputValue != null) {
                    _DefaultValue = answeroption.DefaultInputValue.Trim();
                    this.memoEdit1.Text = answeroption.DefaultInputValue.Trim();
                    answeroption.InputValue = answeroption.DefaultInputValue.Trim();
                }

                m_DynamicControls.Add(new DynamicControl() {
                    DefaultValue = _DefaultValue
                });

                memoEdit1.TextChanged += new EventHandler(textEdit1_TextChanged);
                memoEdit1.Resize += new EventHandler(memoEdit1_Resize);
                memoEdit1.Click += new EventHandler(layoutControlGroupQuestion1_Click);

                this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.layoutControlItem1.Control = this.memoEdit1;
                //int width = 1000, height = 1000;
                //if (!string.IsNullOrEmpty(answeroption.TextboxMaxWidth)) {
                //    int.TryParse(answeroption.TextboxMaxWidth, out width);
                //}
                //if (!string.IsNullOrEmpty(answeroption.TextboxMaxHeight)) {
                //    int.TryParse(answeroption.TextboxMaxHeight, out height);
                //}
                if (!string.IsNullOrEmpty(answeroption.TextPrefix)) {
                    this.layoutControlItem1.Text = answeroption.TextPrefix;
                    this.layoutControlItem1.TextVisible = true;
                    this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Top;
                    this.layoutControlItem1.MinSize = new Size(0, 41);
                    this.layoutControlItem1.MaxSize = new Size(0, 41);
                } else {
                    this.layoutControlItem1.TextVisible = false;
                    this.layoutControlItem1.MinSize = new Size(0, 24);
                    this.layoutControlItem1.MaxSize = new Size(0, 24);
                }
                //newSize = new System.Drawing.Size(width, height);
                this.layoutControlItem1.SizeConstraintsType = SizeConstraintsType.Custom;
                this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1);
            }
            //string prioText = oSettings.Priority;
            //if (oSettings.CustomerOwnership && oSettings.BVOwnership) {
            //    prioText += "(Cust+BV)";
            //} else if (oSettings.CustomerOwnership) {
            //    prioText += "(Cust)";
            //} else if (oSettings.BVOwnership) {
            //    prioText += "(BV)";
            //}
            //if (oSettings.PlotDoneStatus.Trim().ToLower() == "done") {
            //    prioText += " Done";
            //}

            //// simpleLabelItem1 status
            //this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
            //this.emptySpaceItem1.Name = "simpleLabelItem" + Guid.NewGuid().ToString();
            //this.emptySpaceItem1.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            //this.emptySpaceItem1.AppearanceItemCaption.Options.UseTextOptions = true;
            //this.emptySpaceItem1.ShowInCustomizationForm = false;
            //this.emptySpaceItem1.Text = prioText;
            //this.emptySpaceItem1.TextVisible = true;
            //this.emptySpaceItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            //this.emptySpaceItem1.SizeConstraintsType = SizeConstraintsType.Custom;
            //this.layoutControlGroupQuestion1.AddItem(this.emptySpaceItem1);

            //if (!string.IsNullOrEmpty(oSettings.QuestionHelp)) {
            //    this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
            //    this.emptySpaceItem2.Name = "simpleLabelItem" + Guid.NewGuid().ToString();
            //    this.emptySpaceItem2.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            //    this.emptySpaceItem2.AppearanceItemCaption.Options.UseTextOptions = true;
            //    this.emptySpaceItem2.ShowInCustomizationForm = false;
            //    this.emptySpaceItem2.Text = "Help";
            //    this.emptySpaceItem2.OptionsToolTip.ToolTip = oSettings.QuestionHelp.Trim();

            //    //apply tooltip controller from parent
            //    //if (this.ToolTipController != null && this.ToolTipController.DefaultController != null) {
            //    //    this.emptySpaceItem2.OptionsToolTip.ToolTipController = ToolTipController.DefaultController;
            //    //}

            //    this.emptySpaceItem2.TextVisible = true;
            //    this.emptySpaceItem2.Size = new Size(50, 20);
            //    this.emptySpaceItem2.MaxSize = new Size(50, 20);
            //    this.emptySpaceItem2.MinSize = new Size(50, 20);
            //    this.emptySpaceItem2.SizeConstraintsType = SizeConstraintsType.Custom;
            //    this.emptySpaceItem2.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            //    this.emptySpaceItem2.AppearanceItemCaption.TextOptions.HAlignment = HorzAlignment.Far;
            //    this.layoutControlGroupQuestion1.AddItem(this.emptySpaceItem2, this.emptySpaceItem1, DevExpress.XtraLayout.Utils.InsertType.Right);
            //}
            #endregion

            this.layoutControlGroupQuestion1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            this.layoutControlGroupQuestion1.EndUpdate();

            Image bg = BGImage(this);
            if (bg != null) {
                this.layoutControlGroupQuestion1.BackgroundImage = bg;
                this.layoutControlGroupQuestion1.BackgroundImageVisible = true;
            }
            if (this.memoEdit1 != null)
                BackColor = this.memoEdit1.BackColor;

            this.ControlGroup = this.layoutControlGroupQuestion1;
            this.ControlGroup.Tag = this;
            isLoaded = true;
        }
Example #44
0
        /*
         * https://brightvision.jira.com/browse/PLATFORM-3015
         */
        public void BindControls()
        {
            #region Initialization
            if (Questionnaire == null)
                MessageBox.Show("Questionnaire must be bind with JSON first.", "Schedule Component");

            var answerOpt = Questionnaire.Form.Settings.AnswerOptions[0] as ISchedule;

            //if (CalendarDataSource == null) {
            //    if (answerOpt != null) {
            //        if (answerOpt.CalendarOption != null && answerOpt.CalendarOption.CalendarValues.Count > 0)
            //            CalendarDataSource = answerOpt.CalendarOption.CalendarValues;
            //        else {
            //            MessageBox.Show("\"CalendarDataSource\" property must be set first.","Schedule Component");
            //            return;
            //        }
            //    } else {
            //        MessageBox.Show("\"CalendarDataSource\" property must be set first.", "Schedule Component");
            //        return;
            //    }
            //}

            #endregion

            isLoaded = false;
            this.layoutControlGroupQuestion1.Clear();
            Settings oSettings = Questionnaire.Form.Settings;

            // layoutControlGroupQuestion1
            this.layoutControlGroupQuestion1.Name = "layoutControlGroupQuestion" + Guid.NewGuid().ToString();
            this.layoutControlGroupQuestion1.AppearanceGroup.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            this.layoutControlGroupQuestion1.AppearanceGroup.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
            this.layoutControlGroupQuestion1.AppearanceGroup.Options.UseFont = true;
            this.layoutControlGroupQuestion1.ExpandButtonVisible = false;
            this.layoutControlGroupQuestion1.GroupBordersVisible = true;
            this.layoutControlGroupQuestion1.TextVisible = false;
            this.layoutControlGroupQuestion1.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1);
            this.layoutControlGroupQuestion1.ShowInCustomizationForm = false;
            //this.layoutControlGroupQuestion1.Text = oSettings.Label + " " + oSettings.QuestionText;
            this.layoutControlGroupQuestion1.BeginUpdate();

            #region Footer
            this.lciFooter = new LayoutControlItem();
            this.lciFooter.Name = "layoutControlItem" + Guid.NewGuid().ToString();

            //bool isCustomerOwnershipOnly = false;
            //if (oSettings.CustomerOwnership && oSettings.BVOwnership)
            //    isCustomerOwnershipOnly = true;

            //ctlFooter = new Footer() {
            //    IsAccountLevel = oSettings.DataBindings.account_level,
            //    IsCustomerOwnershipOnly = isCustomerOwnershipOnly,
            //    HelpText = oSettings.QuestionHelp,
            //    LanguageCode = oSettings.DataBindings.language_code
            //};

            ctlFooter = new Footer()
            {
                IsAccountLevel = oSettings.DataBindings.account_level,
                IsCustomerOwned = oSettings.CustomerOwnership,
                IsBrightvisionOwned = oSettings.BVOwnership,
                HelpText = oSettings.QuestionHelp,
                LanguageCode = oSettings.DataBindings.language_code,
                QuestionText = oSettings.Label + " " + oSettings.QuestionText
            };

            ctlFooter.InitializeFooter();
            ctlFooter.Dock = DockStyle.Fill;
            ctlFooter.Height = 20;
            this.lciFooter.Control = ctlFooter;
            this.lciFooter.ShowInCustomizationForm = false;
            this.lciFooter.TextVisible = false;
            this.lciFooter.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.lciFooter.MinSize = new Size(0, 24);
            this.lciFooter.MaxSize = new Size(0, 24);
            this.lciFooter.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            this.lciFooter.SizeConstraintsType = SizeConstraintsType.Custom;
            this.layoutControlGroupQuestion1.AddItem(this.lciFooter);
            #endregion

            IList<AnswerOption> answeroptionList = Questionnaire.Form.Settings.AnswerOptions;
            ISchedule answeroption = null;
            int iAnswerOptions = answeroptionList.Count;
            //System.Drawing.Size newSize;
            int idx = 0;
            ScheduleSalesPerson oSalesPerson;
            for (int x = 0; x < iAnswerOptions; ++x)
            {
                answeroption = answeroptionList[x] as ISchedule;

                LayoutControlItem lciScheduleDetails = new LayoutControlItem();
                this.lblScheduleDetails = new Label();
                this.lblScheduleDetails.Text = "";
                lciScheduleDetails.Control = this.lblScheduleDetails;
                lciScheduleDetails.TextVisible = false;
                this.layoutControlGroupQuestion1.AddItem(lciScheduleDetails);

                #region Sales Person
                // layoutControlItem1
                this.lciSalesPerson = new LayoutControlItem();
                //lookUpEdit1
                this.lookUpEdit1 = new LookUpEdit();
                this.lookUpEdit1.Name = "SalesPerson_lookUpEdit" + Guid.NewGuid().ToString();
                this.lookUpEdit1.Properties.NullText = "";
                //this.lookUpEdit1.Properties.DisplayMember = "Name";
                //this.lookUpEdit1.Properties.ValueMember = "Id";
                this.lookUpEdit1.Properties.DisplayMember = "resource_name";
                this.lookUpEdit1.Properties.ValueMember = "resource_id";
                //this.lookUpEdit1.Properties.Columns.Add(new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "SalesPerson"));
                this.lookUpEdit1.Properties.Columns.Add(new DevExpress.XtraEditors.Controls.LookUpColumnInfo("resource_name", "SalesPerson"));
                this.lookUpEdit1.Properties.ShowFooter = false;
                this.lookUpEdit1.Properties.ShowHeader = false;
                this.lookUpEdit1.Properties.ReadOnly = true;
                this.lookUpEdit1.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;

                oSalesPerson = answeroption.ScheduleSalesPerson;
                if (oSalesPerson != null)
                {
                    if (oSalesPerson.SalesPersonSelectedValue != null)
                    {
                        this.lookUpEdit1.Properties.DataSource = new List<SalesPerson> { oSalesPerson.SalesPersonSelectedValue };
                        this.lookUpEdit1.EditValue = oSalesPerson.SalesPersonSelectedValue.Id;
                    }
                }

                this.lookUpEdit1.Tag = new ScheduleData()
                {
                    Name = "SalesPerson",
                    PositionIndex = "IndexPosition" + x,
                    ControlContainer = lciSalesPerson
                };
                this.lookUpEdit1.Size = new System.Drawing.Size(155, 20);
                this.lookUpEdit1.StyleController = this.StyleController;
                //this.lookUpEdit1.EditValueChanged += new EventHandler(lookUpEdit1_SelectedIndexChanged);
                this.lookUpEdit1.Click += new EventHandler(layoutControlGroupQuestion1_Click);

                // lciSalesPerson
                this.lciSalesPerson.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.lciSalesPerson.Control = this.lookUpEdit1;
                if (oSalesPerson != null && !string.IsNullOrEmpty(oSalesPerson.TextPrefix))
                {
                    this.lciSalesPerson.Text = oSalesPerson.TextPrefix.Trim();

                }
                else
                {
                    this.lciSalesPerson.Text = "Sales Person:";
                }
                this.lciSalesPerson.TextLocation = DevExpress.Utils.Locations.Top;
                this.lciSalesPerson.TextSize = new System.Drawing.Size(108, 13);
                this.lciSalesPerson.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.lciSalesPerson.MaxSize = new System.Drawing.Size(160, 20);
                this.lciSalesPerson.MinSize = new System.Drawing.Size(160, 20);
                this.lciSalesPerson.Size = new System.Drawing.Size(50, 20);
                this.lciSalesPerson.ShowInCustomizationForm = false;
                this.lciSalesPerson.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                //this.layoutControlGroupQuestion1.AddItem(this.lciSalesPerson);

                #endregion

                #region Schedule Type
                // emptySpaceItem1
                this.emptySpaceItem1 = new EmptySpaceItem();
                this.emptySpaceItem1.Name = "emptySpaceItem" + Guid.NewGuid().ToString();
                this.emptySpaceItem1.Size = new System.Drawing.Size(25, 20);
                this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
                this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.emptySpaceItem1.MaxSize = new System.Drawing.Size(0, 20);
                this.emptySpaceItem1.MinSize = new System.Drawing.Size(0, 20);
                this.emptySpaceItem1.ShowInCustomizationForm = false;
                this.emptySpaceItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);

                //
                // comboBoxEdit1
                this.lciScheduleType = new DevExpress.XtraLayout.LayoutControlItem();
                this.comboBoxEdit1 = new ComboBoxEdit();
                this.comboBoxEdit1.Tag = new ScheduleData()
                {
                    Name = "ScheduleType",
                    PositionIndex = "IndexPosition" + x,
                    ControlContainer = lciScheduleType
                };

                this.comboBoxEdit1.Size = new System.Drawing.Size(50, 20);
                this.comboBoxEdit1.Name = "ScheduleType_comboBoxEdit" + Guid.NewGuid().ToString();
                this.comboBoxEdit1.Properties.ReadOnly = true;
                this.comboBoxEdit1.StyleController = this.StyleController;
                this.comboBoxEdit1.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
                this.comboBoxEdit1.SelectedIndexChanged += new EventHandler(comboBoxEdit1_SelectedIndexChanged);
                this.comboBoxEdit1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                if (answeroption.ScheduleType == null)
                {
                    answeroption.ScheduleType = new ScheduleType();
                }
                if (answeroption.ScheduleType.ScheduleTypeSelectedValue == null)
                {
                    answeroption.ScheduleType.ScheduleTypeSelectedValue = "";
                }
                answeroption.ScheduleType.ScheduleTypeValues = new List<string> { "Seminar", "Webinar", "Meeting" };

                answeroption.ScheduleType.ScheduleTypeValues.ForEach(delegate(string strValue)
                {
                    this.comboBoxEdit1.Properties.Items.Add(strValue);
                });

                // lciScheduleType
                this.lciScheduleType.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                //this.layoutControlItem2.AppearanceItemCaption.Options.UseTextOptions = true;
                //this.layoutControlItem2.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
                this.lciScheduleType.Control = this.comboBoxEdit1;
                this.lciScheduleType.TextLocation = DevExpress.Utils.Locations.Top;
                this.lciScheduleType.TextSize = new System.Drawing.Size(60, 13);
                if (!string.IsNullOrEmpty(answeroption.ScheduleType.TextPrefix))
                {
                    this.lciScheduleType.Text = answeroption.ScheduleType.TextPrefix;
                }
                else
                {
                    this.lciScheduleType.Text = "Schedule Type:";
                }

                this.lciScheduleType.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.lciScheduleType.MaxSize = new System.Drawing.Size(160, 24);
                this.lciScheduleType.MinSize = new System.Drawing.Size(160, 24);
                this.lciScheduleType.Size = new System.Drawing.Size(160, 24);
                this.lciScheduleType.ShowInCustomizationForm = false;
                this.lciScheduleType.Click += new EventHandler(layoutControlGroupQuestion1_Click);

                this.lciSalesPerson.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.OnlyInCustomization;
                this.lciScheduleType.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.OnlyInCustomization;
                this.emptySpaceItem1.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.OnlyInCustomization;

                this.layoutControlGroupQuestion1.AddItem(this.lciScheduleType);
                this.layoutControlGroupQuestion1.AddItem(this.emptySpaceItem1, this.lciScheduleType, DevExpress.XtraLayout.Utils.InsertType.Right);
                this.layoutControlGroupQuestion1.AddItem(this.lciSalesPerson, this.emptySpaceItem1, DevExpress.XtraLayout.Utils.InsertType.Right);

                // emptySpaceItem1
                this.emptySpaceItem1 = new EmptySpaceItem();
                this.emptySpaceItem1.Name = "emptySpaceItem" + Guid.NewGuid().ToString();
                this.emptySpaceItem1.Size = new System.Drawing.Size(1, 15);
                this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
                this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.emptySpaceItem1.MaxSize = new System.Drawing.Size(0, 15);
                this.emptySpaceItem1.MinSize = new System.Drawing.Size(0, 15);
                this.emptySpaceItem1.ShowInCustomizationForm = false;
                this.emptySpaceItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                //this.layoutControlGroupQuestion1.AddItem(this.emptySpaceItem1);
                #endregion

                #region List of Schedules Available
                // lciListOfSchedule
                this.lciListOfScheduleDropDown = new DevExpress.XtraLayout.LayoutControlItem();
                //lookUpEdit1
                this.lookUpEdit2 = new LookUpEdit();
                this.lookUpEdit2.Name = "lookUpEdit" + Guid.NewGuid().ToString();
                this.lookUpEdit2.Properties.NullText = "";
                this.lookUpEdit2.Properties.DisplayMember = "title";
                this.lookUpEdit2.Properties.ValueMember = "id";
                this.lookUpEdit2.Properties.Columns.Add(new DevExpress.XtraEditors.Controls.LookUpColumnInfo("title", "List of Bookings"));
                comboBoxEdit1_SelectedIndexChanged(this.comboBoxEdit1, null);
                this.lookUpEdit2.Properties.ShowFooter = true;
                this.lookUpEdit2.Properties.ShowHeader = false;
                this.lookUpEdit2.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;

                this.lookUpEdit2.Tag = new ScheduleData()
                {
                    Name = "ListOfBookingsAvailable",
                    PositionIndex = "IndexPosition" + x,
                    ControlContainer = lciListOfScheduleDropDown,
                    Required = answeroption.ListOfBookingsAvailableRequired,
                    HasValue = answeroption.ScheduleValue != null && !string.IsNullOrEmpty(answeroption.ScheduleValue.ScheduleId) ? true : false
                };
                this.lookUpEdit2.Size = new System.Drawing.Size(155, 20);
                this.lookUpEdit2.StyleController = this.StyleController;
                //load answer values
                if (answeroption.ScheduleType != null)
                {
                    if (answeroption.ScheduleValue != null)
                    {
                        if (!string.IsNullOrEmpty(answeroption.ScheduleValue.ScheduleId))
                        {
                            int schedid = int.Parse(answeroption.ScheduleValue.ScheduleId);

                            lookUpEdit2.EditValue = schedid;
                            //if (answeroption.ScheduleType.ScheduleTypeSelectedValue.ToLower() == "meeting") {
                            //    CreateMeeting.Enabled = true;
                            //}
                        }
                    }
                }
                //this.lookUpEdit2.EditValueChanged += new EventHandler(lookUpEdit2_EditValueChanged);
                this.lookUpEdit2.Click += new EventHandler(layoutControlGroupQuestion1_Click);

                this.comboBoxEdit1.EditValue = answeroption.ScheduleType.ScheduleTypeSelectedValue;

                // layoutControlItem1
                this.lciListOfScheduleDropDown.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.lciListOfScheduleDropDown.Control = this.lookUpEdit2;

                if (!string.IsNullOrEmpty(answeroption.ListOfBookingsAvailableLabel))
                {
                    this.lciListOfScheduleDropDown.Text = answeroption.ListOfBookingsAvailableLabel.Trim();
                }
                else
                {
                    this.lciListOfScheduleDropDown.Text = "List of Schedules Available:";
                }
                this.lciListOfScheduleDropDown.TextLocation = DevExpress.Utils.Locations.Top;
                this.lciListOfScheduleDropDown.ShowInCustomizationForm = false;
                this.lciListOfScheduleDropDown.Click += new EventHandler(layoutControlGroupQuestion1_Click);

                this.lciListOfScheduleDropDown.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.OnlyInCustomization;
                this.layoutControlGroupQuestion1.AddItem(this.lciListOfScheduleDropDown);
                //
                // simpleButton1
                //
                this.PreviewBooking = new SimpleButton();
                //this.PreviewBooking.Name = "PreviewDetails_simpleButton" + Guid.NewGuid().ToString();
                this.PreviewBooking.Name = "PreviewBooking";
                this.PreviewBooking.Size = new System.Drawing.Size(130, 22);
                this.PreviewBooking.StyleController = this.StyleController;
                if (!string.IsNullOrEmpty(answeroption.ViewDetailSummaryButtonLabel))
                    this.PreviewBooking.Text = answeroption.ViewDetailSummaryButtonLabel;
                else
                    this.PreviewBooking.Text = "Preview Details";

                this.PreviewBooking.Click += new EventHandler(viewDetailSummary_Click);
                this.PreviewBooking.Enabled = false;

                // lciListOfSchedulePreviewButton
                this.lciListOfSchedulePreviewButton = new LayoutControlItem();
                this.lciListOfSchedulePreviewButton.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.lciListOfSchedulePreviewButton.Control = this.PreviewBooking;
                this.lciListOfSchedulePreviewButton.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.lciListOfSchedulePreviewButton.MaxSize = new System.Drawing.Size(100, 24);
                this.lciListOfSchedulePreviewButton.MinSize = new System.Drawing.Size(80, 24);
                this.lciListOfSchedulePreviewButton.Size = new System.Drawing.Size(80, 24);
                this.lciListOfSchedulePreviewButton.TextVisible = false;
                this.lciListOfSchedulePreviewButton.ShowInCustomizationForm = false;
                this.lciListOfSchedulePreviewButton.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.lciListOfSchedulePreviewButton);

                //
                // simpleButton1
                //
                this.CreateMeeting = new SimpleButton();
                //this.CreateMeeting.Name = "CreateMeeting_simpleButton" + Guid.NewGuid().ToString();
                this.CreateMeeting.Name = "CreateMeeting";
                this.CreateMeeting.Size = new System.Drawing.Size(130, 22);
                this.CreateMeeting.StyleController = this.StyleController;
                if (!string.IsNullOrEmpty(answeroption.CreateMeetingButtonLabel))
                {
                    if (answeroption.CreateMeetingButtonLabel.Trim().ToLower() == "create meeting")
                    {
                        this.CreateMeeting.Text = "Create/Edit Meeting";
                    }
                    else
                    {
                        this.CreateMeeting.Text = answeroption.CreateMeetingButtonLabel;
                    }
                }
                else
                {
                    this.CreateMeeting.Text = "Create/Edit Meeting";
                }
                this.CreateMeeting.Click += new EventHandler(createMeeting_Click);
                this.CreateMeeting.Enabled = false;

                // layoutControlItem1
                this.lciListOfScheduleCreateEditButton = new LayoutControlItem();
                if (answeroption.ScheduleType != null && answeroption.ScheduleType.ScheduleTypeSelectedValue == "Meeting")
                {
                    //lookUpEdit2.Properties.ReadOnly = true;
                    this.CreateMeeting.Tag = "HasMeeting";
                }
                else
                    this.lciListOfScheduleCreateEditButton.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
                //this.lciListOfScheduleCreateEditButton.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.lciListOfScheduleCreateEditButton.Name = "lciListOfScheduleCreateEditButton";
                this.lciListOfScheduleCreateEditButton.Control = this.CreateMeeting;
                this.lciListOfScheduleCreateEditButton.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.lciListOfScheduleCreateEditButton.MaxSize = new System.Drawing.Size(115, 24);
                this.lciListOfScheduleCreateEditButton.MinSize = new System.Drawing.Size(115, 24);
                this.lciListOfScheduleCreateEditButton.Size = new System.Drawing.Size(115, 24);
                this.lciListOfScheduleCreateEditButton.TextVisible = false;
                this.lciListOfScheduleCreateEditButton.ShowInCustomizationForm = false;
                this.lciListOfScheduleCreateEditButton.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.lciListOfScheduleCreateEditButton, this.lciListOfSchedulePreviewButton, DevExpress.XtraLayout.Utils.InsertType.Right);
                //
                // simpleButton1
                //
                this.DeleteMeeting = new SimpleButton();
                //this.DeleteMeeting.Name = "DeleteMeeting_simpleButton" + Guid.NewGuid().ToString();
                this.DeleteMeeting.Name = "DeleteMeeting";
                this.DeleteMeeting.Size = new System.Drawing.Size(130, 22);
                this.DeleteMeeting.StyleController = this.StyleController;
                this.DeleteMeeting.Text = "Delete Meeting";
                this.DeleteMeeting.Click += new EventHandler(deleteMeeting_Click);
                this.DeleteMeeting.Enabled = false;

                // lciListOfScheduleDeleteButton
                this.lciListOfScheduleDeleteButton = new LayoutControlItem();
                if (answeroption.ScheduleType != null && answeroption.ScheduleType.ScheduleTypeSelectedValue == "Meeting")
                {
                    this.DeleteMeeting.Tag = "HasMeeting";
                    //lookUpEdit2.Properties.ReadOnly = true;
                    var lueData = lookUpEdit2.Tag as ScheduleData;
                    lueData.IsMeeting = true;
                }
                else
                    this.lciListOfScheduleDeleteButton.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
                this.lciListOfScheduleDeleteButton.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.lciListOfScheduleDeleteButton.Control = this.DeleteMeeting;
                this.lciListOfScheduleDeleteButton.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.lciListOfScheduleDeleteButton.MaxSize = new System.Drawing.Size(100, 24);
                this.lciListOfScheduleDeleteButton.MinSize = new System.Drawing.Size(80, 24);
                this.lciListOfScheduleDeleteButton.Size = new System.Drawing.Size(80, 24);
                this.lciListOfScheduleDeleteButton.TextVisible = false;
                this.lciListOfScheduleDeleteButton.ShowInCustomizationForm = false;
                this.lciListOfScheduleDeleteButton.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.lciListOfScheduleDeleteButton, this.lciListOfScheduleCreateEditButton, DevExpress.XtraLayout.Utils.InsertType.Right);

                ////load answer values
                //if (answeroption.ScheduleType != null) {
                //    if (answeroption.ScheduleValue != null) {
                //        if (!string.IsNullOrEmpty(answeroption.ScheduleValue.ScheduleId)) {
                //            int schedid = int.Parse(answeroption.ScheduleValue.ScheduleId);

                //            lookUpEdit2.EditValue = schedid;
                //            //if (answeroption.ScheduleType.ScheduleTypeSelectedValue.ToLower() == "meeting") {
                //            //    CreateMeeting.Enabled = true;
                //            //}
                //        }
                //    }
                //}

                // emptySpaceItem1
                this.emptySpaceItem1 = new EmptySpaceItem();
                this.emptySpaceItem1.Name = "emptySpaceItem" + Guid.NewGuid().ToString();
                this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.emptySpaceItem1.MaxSize = new System.Drawing.Size(0, 20);
                this.emptySpaceItem1.MinSize = new System.Drawing.Size(0, 20);
                this.emptySpaceItem1.Size = new System.Drawing.Size(200, 20);
                this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
                this.emptySpaceItem1.ShowInCustomizationForm = false;
                this.emptySpaceItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.emptySpaceItem1, this.lciListOfScheduleDeleteButton, DevExpress.XtraLayout.Utils.InsertType.Right);
                #endregion

                #region Customer Attendies

                #region Grid
                simpleLabelItemValidation = new SimpleLabelItem();
                simpleLabelItemValidation.AppearanceItemCaption.BackColor = Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
                simpleLabelItemValidation.Name = Guid.NewGuid().ToString();
                simpleLabelItemValidation.TextAlignMode = TextAlignModeItem.CustomSize;
                simpleLabelItemValidation.TextSize = new Size(212, 20);
                simpleLabelItemValidation.Text = "  Please add at least one contact attendie.";
                simpleLabelItemValidation.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
                this.layoutControlGroupQuestion1.AddItem(simpleLabelItemValidation);

                //create our gridcontrol
                //
                // gridColumn1
                //
                this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn1.Caption = "Name";
                this.gridColumn1.FieldName = "Name";
                this.gridColumn1.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn1.Visible = true;
                this.gridColumn1.OptionsColumn.AllowEdit = false;
                this.gridColumn1.VisibleIndex = 0;
                this.gridColumn1.Width = 66;
                //
                // gridColumn2
                //
                this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn2.Caption = "Address";
                this.gridColumn2.FieldName = "Address";
                this.gridColumn2.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn2.Visible = true;
                this.gridColumn2.OptionsColumn.AllowEdit = false;
                this.gridColumn2.VisibleIndex = 1;
                this.gridColumn2.Width = 66;
                //
                // gridColumn3
                //
                //this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
                //this.gridColumn3.Caption = "City";
                //this.gridColumn3.FieldName = "City";
                //this.gridColumn3.Name = "gridColumn" + Guid.NewGuid().ToString();
                //this.gridColumn3.Visible = true;
                //this.gridColumn3.OptionsColumn.AllowEdit = false;
                //this.gridColumn3.VisibleIndex = 2;
                //this.gridColumn3.Width = 66;
                //
                // gridColumn4
                //
                this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn4.Caption = "Telephone";
                this.gridColumn4.FieldName = "Telephone";
                this.gridColumn4.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn4.Visible = true;
                this.gridColumn4.OptionsColumn.AllowEdit = false;
                this.gridColumn4.VisibleIndex = 3;
                this.gridColumn4.Width = 66;
                //
                // gridColumn5
                //
                this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn5.Caption = "Email";
                this.gridColumn5.FieldName = "Email";
                this.gridColumn5.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn5.Visible = true;
                this.gridColumn5.OptionsColumn.AllowEdit = false;
                this.gridColumn5.VisibleIndex = 4;
                this.gridColumn5.Width = 70;
                //
                // gridColumn6
                //
                this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn6.Caption = "AccountID";
                this.gridColumn6.FieldName = "AccountID";
                this.gridColumn6.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn6.Visible = false;
                //
                // gridColumn7
                //
                this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn7.Caption = "ContactID";
                this.gridColumn7.FieldName = "ContactID";
                this.gridColumn7.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn7.Visible = false;

                //
                // gridView1
                //
                this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
                this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
                this.gridColumn1,
                this.gridColumn2,
                //this.gridColumn3,
                this.gridColumn4,
                this.gridColumn5,
                this.gridColumn6,
                this.gridColumn7});
                this.gridView1.GridControl = this.gridControl1;
                this.gridView1.Name = "gridView" + Guid.NewGuid().ToString();
                this.gridView1.OptionsFind.AlwaysVisible = false;
                this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
                this.gridView1.OptionsSelection.MultiSelect = true;
                this.gridView1.OptionsView.ShowGroupPanel = false;
                this.gridView1.OptionsView.ColumnAutoWidth = true;
                this.gridView1.DataSourceChanged += new EventHandler(gridView1_DataSourceChanged);
                //
                // gridControl1
                //
                this.gridControl1 = new DevExpress.XtraGrid.GridControl();
                this.gridControl1.LookAndFeel.UseDefaultLookAndFeel = false;
                this.gridControl1.MainView = this.gridView1;
                this.gridControl1.Name = "gridControl" + Guid.NewGuid().ToString();
                this.gridControl1.Size = new System.Drawing.Size(150, 74);
                this.gridControl1.TabIndex = 11;
                this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
                this.gridView1});
                SetCurrentAttendies();
                var schedData = new ScheduleData()
                {
                    Required = answeroption.AttendiesRequired
                };
                if (gridView1.GridControl.DataSource != null)
                {
                    List<ContactAttendie> gvDs = gridView1.GridControl.DataSource as List<ContactAttendie>;
                    if (gvDs != null && gvDs.Count > 0)
                        schedData.HasValue = true;
                }
                this.gridView1.Tag = schedData;
                //
                // lciGridControl
                //
                this.lciGridControl = new LayoutControlItem();
                this.lciGridControl.Control = this.gridControl1;
                this.lciGridControl.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                if (!string.IsNullOrEmpty(answeroption.AttendiesLabel))
                    this.lciGridControl.Text = answeroption.AttendiesLabel;
                else
                    this.lciGridControl.Text = "Attendies:";
                this.lciGridControl.TextLocation = DevExpress.Utils.Locations.Top;
                this.lciGridControl.TextSize = new System.Drawing.Size(108, 13);
                this.lciGridControl.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.lciGridControl.MaxSize = new System.Drawing.Size(0, 90);
                this.lciGridControl.MinSize = new System.Drawing.Size(0, 90);
                this.lciGridControl.Size = new System.Drawing.Size(200, 90);
                this.lciGridControl.ShowInCustomizationForm = false;
                this.layoutControlGroupQuestion1.AddItem(this.lciGridControl);
                #endregion

                //
                // simpleButton1
                //
                this.simpleButton1 = new SimpleButton();
                this.simpleButton1.Name = "simpleButton" + Guid.NewGuid().ToString();
                this.simpleButton1.Size = new System.Drawing.Size(130, 22);
                this.simpleButton1.StyleController = this.StyleController;
                this.simpleButton1.Enabled = false;
                if (!string.IsNullOrEmpty(answeroption.AddCallerButtonLabel))
                    this.simpleButton1.Text = answeroption.AddCallerButtonLabel;
                else
                    this.simpleButton1.Text = "Add Caller";
                this.simpleButton1.Click += new EventHandler(AddCaller_Click);

                // lciAddCaller
                this.lciAddCaller = new LayoutControlItem();
                this.lciAddCaller.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.lciAddCaller.Control = this.simpleButton1;
                this.lciAddCaller.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.lciAddCaller.MaxSize = new System.Drawing.Size(80, 24);
                this.lciAddCaller.MinSize = new System.Drawing.Size(80, 24);
                this.lciAddCaller.Size = new System.Drawing.Size(80, 24);
                this.lciAddCaller.TextVisible = false;
                this.lciAddCaller.ShowInCustomizationForm = false;
                this.lciAddCaller.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.lciAddCaller);

                //
                // simpleButton2
                //
                this.simpleButton2 = new SimpleButton();
                this.simpleButton2.Name = "simpleButton" + Guid.NewGuid().ToString();
                this.simpleButton2.Size = new System.Drawing.Size(130, 22);
                this.simpleButton2.StyleController = this.StyleController;
                this.simpleButton2.Enabled = false;
                if (!string.IsNullOrEmpty(answeroption.AddAdditionalAttendieButtonLabel))
                    this.simpleButton2.Text = answeroption.AddAdditionalAttendieButtonLabel;
                else
                    this.simpleButton2.Text = "Add Additional";
                this.simpleButton2.Click += new EventHandler(AddAdditional_Click);

                // layoutControlItem1
                this.lciAddAdditional = new LayoutControlItem();
                this.lciAddAdditional.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.lciAddAdditional.Control = this.simpleButton2;
                this.lciAddAdditional.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.lciAddAdditional.MaxSize = new System.Drawing.Size(100, 24);
                this.lciAddAdditional.MinSize = new System.Drawing.Size(80, 24);
                this.lciAddAdditional.Size = new System.Drawing.Size(80, 24);
                this.lciAddAdditional.TextVisible = false;
                this.lciAddAdditional.ShowInCustomizationForm = false;
                this.lciAddAdditional.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.lciAddAdditional, this.lciAddCaller, DevExpress.XtraLayout.Utils.InsertType.Right);

                //
                // simpleButton3
                //
                this.simpleButton3 = new SimpleButton();
                this.simpleButton3.Name = "simpleButton" + Guid.NewGuid().ToString();
                this.simpleButton3.Size = new System.Drawing.Size(130, 22);
                this.simpleButton3.StyleController = this.StyleController;
                this.simpleButton3.Enabled = false;
                if (!string.IsNullOrEmpty(answeroption.DeleteAttendieButtonLabel))
                    this.simpleButton3.Text = answeroption.DeleteAttendieButtonLabel;
                else
                    this.simpleButton3.Text = "Delete";
                this.simpleButton3.Click += new EventHandler(DeleteAttendie_Click);

                // layoutControlItem2
                this.lciDeleteCaller = new LayoutControlItem();
                this.lciDeleteCaller.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.lciDeleteCaller.Control = this.simpleButton3;
                this.lciDeleteCaller.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.lciDeleteCaller.MaxSize = new System.Drawing.Size(70, 24);
                this.lciDeleteCaller.MinSize = new System.Drawing.Size(70, 24);
                this.lciDeleteCaller.Size = new System.Drawing.Size(70, 24);
                this.lciDeleteCaller.TextVisible = false;
                this.lciDeleteCaller.ShowInCustomizationForm = false;
                this.lciDeleteCaller.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.lciDeleteCaller, this.lciAddAdditional, DevExpress.XtraLayout.Utils.InsertType.Right);

                // emptySpaceItem1
                this.emptySpaceItem1 = new EmptySpaceItem();
                this.emptySpaceItem1.Name = "emptySpaceItem" + Guid.NewGuid().ToString();
                this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.emptySpaceItem1.MaxSize = new System.Drawing.Size(0, 20);
                this.emptySpaceItem1.MinSize = new System.Drawing.Size(0, 20);
                this.emptySpaceItem1.Size = new System.Drawing.Size(200, 20);
                this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
                this.emptySpaceItem1.ShowInCustomizationForm = false;
                this.emptySpaceItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.emptySpaceItem1, this.lciDeleteCaller, DevExpress.XtraLayout.Utils.InsertType.Right);

                #endregion

                #region Other Choices
                idx = 0;
                //EmptySpaceItem esitem = new EmptySpaceItem();
                //esitem.Size = new Size(100, 20);
                //this.layoutControlGroupQuestion1.AddItem(esitem);
                foreach (OtherChoice oChoice in answeroption.OtherChoices)
                {
                    if (oChoice.Enabled)
                    {
                        //if (!string.IsNullOrEmpty(oChoice.TextPrefix)) {
                        //    // simpleLabelItem1
                        //    this.simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem();

                        //    this.simpleLabelItem1.Name = "simpleLabelItem" + Guid.NewGuid().ToString();
                        //    //this.simpleLabelItem1.ShowInCustomizationForm = false;
                        //    //this.simpleLabelItem1.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
                        //    this.simpleLabelItem1.Text = oChoice.TextPrefix;
                        //    //newSize = new System.Drawing.Size(100, 20);
                        //    newSize = new System.Drawing.Size(20, 20);
                        //    this.simpleLabelItem1.SizeConstraintsType = SizeConstraintsType.Custom;
                        //    this.simpleLabelItem1.MaxSize = newSize;
                        //    this.simpleLabelItem1.MinSize = newSize;
                        //    this.simpleLabelItem1.Size = newSize;
                        //    this.simpleLabelItem1.AppearanceItemCaption.BackColor = System.Drawing.Color.Transparent;
                        //    this.simpleLabelItem1.ShowInCustomizationForm = false;
                        //    this.simpleLabelItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                        //    this.layoutControlGroupQuestion1.AddItem(this.simpleLabelItem1);
                        //} else {
                        //    this.simpleLabelItem1 = null;
                        //}
                        // layoutControlItem1
                        this.lciOtherChoice = new LayoutControlItem();
                        //add textEdit1 to layout
                        this.memoEdit1 = new MemoEdit();
                        this.memoEdit1.Tag = new ScheduleData()
                        {
                            ParentPositionIndex = "IndexPosition" + x.ToString(),
                            PositionIndex = "IndexPosition" + idx.ToString(),
                            ControlContainer = lciOtherChoice,
                            Required = oChoice.Required,
                            HasValue = !string.IsNullOrWhiteSpace(oChoice.DefaultInputValue) ? true : false,
                            ChoiceOption = oChoice
                        };
                        this.memoEdit1.Name = "textEdit" + Guid.NewGuid().ToString();
                        this.memoEdit1.Properties.ScrollBars = System.Windows.Forms.ScrollBars.None;
                        this.memoEdit1.StyleController = this.StyleController;
                        if (oChoice.DefaultInputValue != null)
                        {
                            this.memoEdit1.Text = oChoice.DefaultInputValue.Trim();
                            oChoice.InputValue = oChoice.DefaultInputValue.Trim();
                        }
                        memoEdit1.TextChanged += new EventHandler(memoEdit1_TextChanged);
                        memoEdit1.Resize += new EventHandler(memoEdit1_Resize);
                        memoEdit1.Click += new EventHandler(layoutControlGroupQuestion1_Click);

                        this.lciOtherChoice.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                        this.lciOtherChoice.Control = this.memoEdit1;

                        if (!string.IsNullOrEmpty(oChoice.TextPrefix))
                        {
                            this.lciOtherChoice.Text = oChoice.TextPrefix;
                            this.lciOtherChoice.TextVisible = true;
                            this.lciOtherChoice.TextLocation = DevExpress.Utils.Locations.Top;
                            this.lciOtherChoice.MaxSize = new Size(0, 41);
                            this.lciOtherChoice.MinSize = new Size(0, 41);
                        }
                        else
                        {
                            this.lciOtherChoice.TextVisible = false;
                            this.lciOtherChoice.MaxSize = new Size(0, 24);
                            this.lciOtherChoice.MinSize = new Size(0, 24);
                        }
                        this.lciOtherChoice.SizeConstraintsType = SizeConstraintsType.Custom;
                        this.lciOtherChoice.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                        this.lciOtherChoice.ShowInCustomizationForm = false;
                        this.layoutControlGroupQuestion1.AddItem(this.lciOtherChoice);
                        idx++;
                    }
                }
                #endregion

            }

            #region Footer
            //string prioText = oSettings.Priority;
            //if (oSettings.CustomerOwnership && oSettings.BVOwnership) {
            //    prioText += "(Cust+BV)";
            //} else if (oSettings.CustomerOwnership) {
            //    prioText += "(Cust)";
            //} else if (oSettings.BVOwnership) {
            //    prioText += "(BV)";
            //}
            //if (oSettings.PlotDoneStatus.Trim().ToLower() == "done") {
            //    prioText += " Done";
            //}

            //// simpleLabelItem1 status
            //this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
            //this.emptySpaceItem1.Name = "simpleLabelItem" + Guid.NewGuid().ToString();
            //this.emptySpaceItem1.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            //this.emptySpaceItem1.AppearanceItemCaption.Options.UseTextOptions = true;
            //this.emptySpaceItem1.ShowInCustomizationForm = false;
            //this.emptySpaceItem1.SizeConstraintsType = SizeConstraintsType.Custom;
            //this.emptySpaceItem1.Text = prioText;
            //this.emptySpaceItem1.TextVisible = true;
            //this.emptySpaceItem1.ShowInCustomizationForm = false;
            //this.emptySpaceItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            //this.layoutControlGroupQuestion1.AddItem(this.emptySpaceItem1);

            //if (!string.IsNullOrEmpty(oSettings.QuestionHelp)) {
            //    this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
            //    this.emptySpaceItem2.Name = "simpleLabelItem" + Guid.NewGuid().ToString();
            //    this.emptySpaceItem2.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            //    this.emptySpaceItem2.AppearanceItemCaption.Options.UseTextOptions = true;
            //    this.emptySpaceItem2.ShowInCustomizationForm = false;
            //    this.emptySpaceItem2.Text = "Help";
            //    this.emptySpaceItem2.OptionsToolTip.ToolTip = oSettings.QuestionHelp.Trim();

            //    //apply tooltip controller from parent
            //    //if (this.ToolTipController != null && this.ToolTipController.DefaultController != null) {
            //    //    this.emptySpaceItem2.OptionsToolTip.ToolTipController = ToolTipController.DefaultController;
            //    //}

            //    this.emptySpaceItem2.TextVisible = true;
            //    this.emptySpaceItem2.Size = new Size(50, 20);
            //    this.emptySpaceItem2.MaxSize = new Size(50, 20);
            //    this.emptySpaceItem2.MinSize = new Size(50, 20);
            //    this.emptySpaceItem2.SizeConstraintsType = SizeConstraintsType.Custom;
            //    this.emptySpaceItem2.ShowInCustomizationForm = false;
            //    this.emptySpaceItem2.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            //    this.emptySpaceItem2.AppearanceItemCaption.TextOptions.HAlignment = HorzAlignment.Far;
            //    this.layoutControlGroupQuestion1.AddItem(this.emptySpaceItem2, this.emptySpaceItem1, DevExpress.XtraLayout.Utils.InsertType.Right);
            //}
            #endregion

            this.layoutControlGroupQuestion1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            this.layoutControlGroupQuestion1.EndUpdate();
            Image bg = BGImage(this);
            if (bg != null)
            {
                this.layoutControlGroupQuestion1.BackgroundImage = bg;
                this.layoutControlGroupQuestion1.BackgroundImageVisible = true;
            }
            if (this.memoEdit1 != null)
                BackColor = this.memoEdit1.BackColor;

            //lookUpEdit2.EditValue = null;
            //lookUpEdit2.ItemIndex = 0;

            this.ControlGroup = this.layoutControlGroupQuestion1;
            this.ControlGroup.Tag = this;
            isLoaded = true;
        }
		private void addDetailTabPage(
			ILanguageColumnFilter filter,
			int imageIndex,
			string name,
			string languageCode)
		{
			var tabPage =
				new XtraTabPage
					{
						Text = name,
						ImageIndex = imageIndex,
					};
			tabControl1.TabPages.Add(tabPage);

			if (!string.IsNullOrEmpty(languageCode))
			{
				if (filter != null && !filter.WantDisplayLanguageColumnInGrid(languageCode))
				{
					tabPage.PageVisible = false;
				}
			}

			var textBox = new MemoEdit();
			textBox.TextChanged += textBox_TextChanged;
			textBox.KeyDown += textBox_KeyDown;
			textBox.Name = @"ColumnText";
			tabPage.Controls.Add(textBox);

			if (!StringExtensionMethods.IsNullOrWhiteSpace(languageCode))
			{
				var isRtl = CultureHelper.CreateCultureErrorTolerant(languageCode).TextInfo.IsRightToLeft;
				if (isRtl)
				{
					textBox.RightToLeft = RightToLeft.Yes;
				}
			}

			textBox.Properties.AcceptsReturn = true;
			textBox.Properties.AcceptsTab = true;
			textBox.AllowDrop = true;
			textBox.Dock = DockStyle.Fill;
			textBox.Properties.HideSelection = false;
			textBox.Properties.ScrollBars = ScrollBars.Vertical;
			textBox.TabIndex = 0;

			// --
			// Spell checker.

			var project = MainForm.Current.ProjectFilesControl.Project ?? Project.Empty;

			if (project != null && project.UseSpellChecker)
			{
				var culture =
					new LanguageCodeDetection(project).DetectCultureFromFileName(
					GridEditableData.ParentSettings,
					name);

				var spellChecker = CultureHelper.CreateSpellChecker(culture);
				if (spellChecker != null)
				{
					spellChecker.ParentContainer = textBox;
					spellChecker.SetShowSpellCheckMenu(textBox, true);
				}
			}
		}
Example #46
0
 public OutputHelper(MemoEdit me)
 {
     memoEdit = me;
 }
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.iNew = new DevExpress.XtraBars.BarButtonItem();
            this.iNew2 = new DevExpress.XtraBars.BarButtonItem();
            this.iNewR = new DevExpress.XtraBars.BarButtonItem();
            this.iNewR2IB = new DevExpress.XtraBars.BarButtonItem();
            this.iLoadStrategy = new DevExpress.XtraBars.BarButtonItem();
            this.pmNew = new DevExpress.XtraBars.PopupMenu(this.components);
            this.pmNewR = new DevExpress.XtraBars.PopupMenu(this.components);
            this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
            this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem3 = new DevExpress.XtraBars.BarStaticItem();
            this.btnSbobetGetInfo = new DevExpress.XtraBars.BarButtonItem();
            this.lblSbobetCurrentCredit = new DevExpress.XtraBars.BarStaticItem();
            this.lblSbobetTotalMatch = new DevExpress.XtraBars.BarStaticItem();
            this.lblSbobetLastUpdate = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem7 = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem8 = new DevExpress.XtraBars.BarStaticItem();
            this.barStaticItem9 = new DevExpress.XtraBars.BarStaticItem();
            this.lblIbetCurrentCredit = new DevExpress.XtraBars.BarStaticItem();
            this.lblIbetTotalMatch = new DevExpress.XtraBars.BarStaticItem();
            this.lblIbetLastUpdate = new DevExpress.XtraBars.BarStaticItem();
            this.btnIbetGetInfo = new DevExpress.XtraBars.BarButtonItem();
            this.lblStatus = new DevExpress.XtraBars.BarStaticItem();
            this.lblSameMatch = new DevExpress.XtraBars.BarStaticItem();
            this.lblLastUpdate = new DevExpress.XtraBars.BarStaticItem();
            this.btnStart = new DevExpress.XtraBars.BarButtonItem();
            this.btnStop = new DevExpress.XtraBars.BarButtonItem();
            this.btnClear = new DevExpress.XtraBars.BarButtonItem();
            this.btnSnapShot = new DevExpress.XtraBars.BarButtonItem();
            this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
            this.rpgIbet = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.rpgSbobet = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
            this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
            this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPageMatches = new DevExpress.XtraTab.XtraTabPage();
            this.grdSameMatch = new DevExpress.XtraGrid.GridControl();
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.xtraTabPageBetList1 = new DevExpress.XtraTab.XtraTabPage();
            this.girdBetList1 = new DevExpress.XtraGrid.GridControl();
            this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn33 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn25 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn28 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn29 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn30 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn31 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn32 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.xtraTabPageBetList2 = new DevExpress.XtraTab.XtraTabPage();
            this.xtraTabControl2 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage();
            this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
            this.checkEdit2 = new DevExpress.XtraEditors.CheckEdit();
            this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
            this.checkEdit18 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit17 = new DevExpress.XtraEditors.CheckEdit();
            this.spinEdit4 = new DevExpress.XtraEditors.SpinEdit();
            this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit();
            this.spinEdit3 = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
            this.spinEdit2 = new DevExpress.XtraEditors.SpinEdit();
            this.spinEdit1 = new DevExpress.XtraEditors.SpinEdit();
            this.txtTransactionTimeSpan = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
            this.txtMaxTimePerHalf = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
            this.chbAllowHalftime = new DevExpress.XtraEditors.CheckEdit();
            this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
            this.checkEdit15 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit14 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit13 = new DevExpress.XtraEditors.CheckEdit();
            this.btnSetUpdateInterval = new DevExpress.XtraEditors.SimpleButton();
            this.txtSBOBETUpdateInterval = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
            this.txtIBETUpdateInterval = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
            this.groupControl5 = new DevExpress.XtraEditors.GroupControl();
            this.chbHighRevenueBoost = new DevExpress.XtraEditors.CheckEdit();
            this.txtAddValue = new DevExpress.XtraEditors.SpinEdit();
            this.txtLowestOddValue = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
            this.txtOddValueDifferenet = new DevExpress.XtraEditors.SpinEdit();
            this.checkEdit6 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit5 = new DevExpress.XtraEditors.CheckEdit();
            this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
            this.checkEdit7 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit12 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit11 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit10 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit9 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit8 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit4 = new DevExpress.XtraEditors.CheckEdit();
            this.checkEdit3 = new DevExpress.XtraEditors.CheckEdit();
            this.groupControl4 = new DevExpress.XtraEditors.GroupControl();
            this.txtSBOBETFixedStake = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
            this.txtStake = new DevExpress.XtraEditors.MemoEdit();
            this.chbRandomStake = new DevExpress.XtraEditors.CheckEdit();
            this.txtIBETFixedStake = new DevExpress.XtraEditors.SpinEdit();
            this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
            this.groupControl6 = new DevExpress.XtraEditors.GroupControl();
            this.chkListAllowedMatch = new DevExpress.XtraEditors.CheckedListBoxControl();
            this.xtraTabPage5 = new DevExpress.XtraTab.XtraTabPage();
            this.grdTransaction = new DevExpress.XtraGrid.GridControl();
            this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.panelControl5 = new DevExpress.XtraEditors.PanelControl();
            this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
            this.label1 = new System.Windows.Forms.Label();
            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
            this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
            this.panelControl9 = new DevExpress.XtraEditors.PanelControl();
            this.panelControl10 = new DevExpress.XtraEditors.PanelControl();
            this.btnIBETGO2 = new DevExpress.XtraEditors.SimpleButton();
            this.txtIBETAddress2 = new DevExpress.XtraEditors.TextEdit();
            this.xtraTabPage9 = new DevExpress.XtraTab.XtraTabPage();
            ((System.ComponentModel.ISupportInitialize)(this.pmNew)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pmNewR)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
            this.splitContainerControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.xtraTabPageMatches.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdSameMatch)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            this.xtraTabPageBetList1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.girdBetList1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).BeginInit();
            this.xtraTabControl2.SuspendLayout();
            this.xtraTabPage4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
            this.groupControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit18.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit17.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit4.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit3.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit2.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTransactionTimeSpan.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtMaxTimePerHalf.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chbAllowHalftime.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
            this.groupControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit15.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit14.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit13.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETUpdateInterval.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETUpdateInterval.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).BeginInit();
            this.groupControl5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.chbHighRevenueBoost.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAddValue.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtLowestOddValue.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtOddValueDifferenet.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit6.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit5.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit7.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit12.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit11.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit10.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit9.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit8.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).BeginInit();
            this.groupControl4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETFixedStake.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtStake.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.chbRandomStake.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETFixedStake.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).BeginInit();
            this.groupControl6.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.chkListAllowedMatch)).BeginInit();
            this.xtraTabPage5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl10)).BeginInit();
            this.panelControl10.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETAddress2.Properties)).BeginInit();
            this.xtraTabPage9.SuspendLayout();
            this.SuspendLayout();
            // 
            // gridColumn23
            // 
            this.gridColumn23.Caption = "Kick Off";
            this.gridColumn23.FieldName = "KickOffTime";
            this.gridColumn23.Name = "gridColumn23";
            this.gridColumn23.Visible = true;
            this.gridColumn23.VisibleIndex = 8;
            this.gridColumn23.Width = 150;
            // 
            // iNew
            // 
            this.iNew.Caption = "Open Website";
            this.iNew.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f");
            this.iNew.Description = "Open Website";
            this.iNew.Enabled = false;
            this.iNew.Hint = "Open main web";
            this.iNew.Id = 0;
            this.iNew.ImageIndex = 6;
            this.iNew.LargeImageIndex = 0;
            this.iNew.Name = "iNew";
            this.iNew.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnViewIbetWeb);
            // 
            // iNew2
            // 
            this.iNew2.Caption = "Open 2nd Website";
            this.iNew2.CategoryGuid = new System.Guid("1b511317-d784-42ba-b4ed-0d2a746d6c1f");
            this.iNew2.Description = "Open 2nd Website";
            this.iNew2.Enabled = false;
            this.iNew2.Hint = "Open main web";
            this.iNew2.Id = 0;
            this.iNew2.ImageIndex = 6;
            this.iNew2.LargeImageIndex = 0;
            this.iNew2.Name = "iNew2";
            this.iNew2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnViewIbet2Web);
            // 
            // iNewR
            // 
            this.iNewR.Caption = "Open Website";
            this.iNewR.CategoryGuid = new System.Guid("ab511317-d784-42ba-b4ed-0d2a746d6c1f");
            this.iNewR.Description = "Open Website";
            this.iNewR.Enabled = false;
            this.iNewR.Hint = "Open main web";
            this.iNewR.Id = 0;
            this.iNewR.ImageIndex = 6;
            this.iNewR.LargeImageIndex = 0;
            this.iNewR.Name = "iNewR";
            this.iNewR.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnViewSboWeb);
            // 
            // iNewR2IB
            // 
            this.iNewR2IB.Caption = "Login to 2nd IBET";
            this.iNewR2IB.CategoryGuid = new System.Guid("ab511317-d784-42ba-b4ed-0d2a746d6c1f");
            this.iNewR2IB.Description = "2nd IB";
            this.iNewR2IB.Enabled = false;
            this.iNewR2IB.Hint = "2nd IB";
            this.iNewR2IB.Id = 0;
            this.iNewR2IB.ImageIndex = 6;
            this.iNewR2IB.LargeImageIndex = 0;
            this.iNewR2IB.Name = "iNewR2IB";
            this.iNewR2IB.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLoginIbet2);
            // 
            // iLoadStrategy
            // 
            this.iLoadStrategy.Caption = "Load Strategy";
            this.iLoadStrategy.Description = "Load Strategy";
            this.iLoadStrategy.Enabled = false;
            this.iLoadStrategy.Hint = "Best Strategy";
            this.iLoadStrategy.Id = 0;
            this.iLoadStrategy.ImageIndex = 6;
            this.iLoadStrategy.LargeImageIndex = 0;
            this.iLoadStrategy.Name = "iLoadStrategy";
            this.iLoadStrategy.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLoadStrategy);
            // 
            // pmNew
            // 
            this.pmNew.ItemLinks.Add(this.iNew);
            this.pmNew.ItemLinks.Add(this.iLoadStrategy);
            this.pmNew.ItemLinks.Add(this.iNewR2IB);
            this.pmNew.ItemLinks.Add(this.iNew2);
            this.pmNew.Name = "pmNew";
            // 
            // pmNewR
            // 
            this.pmNewR.ItemLinks.Add(this.iNewR);

            this.pmNewR.Name = "pmNewR";
            // 
            // ribbonControl1
            // 
            this.ribbonControl1.ApplicationButtonText = null;
            // 
            // 
            // 
            this.ribbonControl1.ExpandCollapseItem.Id = 0;
            this.ribbonControl1.ExpandCollapseItem.Name = "";
            this.ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.ribbonControl1.ExpandCollapseItem,
            this.barStaticItem1,
            this.barStaticItem2,
            this.barStaticItem3,
            this.btnSbobetGetInfo,
            this.lblSbobetCurrentCredit,
            this.lblSbobetTotalMatch,
            this.lblSbobetLastUpdate,
            this.barStaticItem7,
            this.barStaticItem8,
            this.barStaticItem9,
            this.lblIbetCurrentCredit,
            this.lblIbetTotalMatch,
            this.lblIbetLastUpdate,
            this.btnIbetGetInfo,
            this.iNew,
            this.iNew2,
            this.iNewR,
            this.iNewR2IB,
            this.iLoadStrategy,
            this.lblStatus,
            this.lblSameMatch,
            this.lblLastUpdate,
            this.btnStart,
            this.btnStop,
            this.btnClear,
            this.btnSnapShot});
            this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
            this.ribbonControl1.MaxItemId = 23;
            this.ribbonControl1.Name = "ribbonControl1";
            this.ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
            this.ribbonPage1});
            this.ribbonControl1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010;
            this.ribbonControl1.SelectedPage = this.ribbonPage1;
            this.ribbonControl1.ShowCategoryInCaption = false;
            this.ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False;
            this.ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide;
            this.ribbonControl1.ShowToolbarCustomizeItem = false;
            this.ribbonControl1.Size = new System.Drawing.Size(1130, 125);
            this.ribbonControl1.Toolbar.ShowCustomizeItem = false;
            // 
            // barStaticItem1
            // 
            this.barStaticItem1.Caption = "Current Credit:";
            this.barStaticItem1.Id = 1;
            this.barStaticItem1.Name = "barStaticItem1";
            this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem2
            // 
            this.barStaticItem2.Caption = "Total Match:";
            this.barStaticItem2.Id = 2;
            this.barStaticItem2.Name = "barStaticItem2";
            this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem3
            // 
            this.barStaticItem3.Caption = "Last Update:";
            this.barStaticItem3.Id = 3;
            this.barStaticItem3.Name = "barStaticItem3";
            this.barStaticItem3.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // btnSbobetGetInfo
            // 
            this.btnSbobetGetInfo.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
            this.btnSbobetGetInfo.Caption = "Log In";
            this.btnSbobetGetInfo.DropDownControl = this.pmNewR;
            this.btnSbobetGetInfo.Id = 4;
            this.btnSbobetGetInfo.LargeGlyph = global::iBet.App.Properties.Resources.i8;
            this.btnSbobetGetInfo.Name = "btnSbobetGetInfo";
            this.btnSbobetGetInfo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnSbobetGetInfo_ItemClick);
            // 
            // lblSbobetCurrentCredit
            // 
            this.lblSbobetCurrentCredit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblSbobetCurrentCredit.Appearance.Options.UseFont = true;
            this.lblSbobetCurrentCredit.Caption = "-";
            this.lblSbobetCurrentCredit.Id = 5;
            this.lblSbobetCurrentCredit.Name = "lblSbobetCurrentCredit";
            this.lblSbobetCurrentCredit.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblSbobetCurrentCredit.Width = 135;
            // 
            // lblSbobetTotalMatch
            // 
            this.lblSbobetTotalMatch.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblSbobetTotalMatch.Appearance.Options.UseFont = true;
            this.lblSbobetTotalMatch.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None;
            this.lblSbobetTotalMatch.Caption = "-";
            this.lblSbobetTotalMatch.Id = 6;
            this.lblSbobetTotalMatch.Name = "lblSbobetTotalMatch";
            this.lblSbobetTotalMatch.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblSbobetTotalMatch.Width = 135;
            // 
            // lblSbobetLastUpdate
            // 
            this.lblSbobetLastUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblSbobetLastUpdate.Appearance.Options.UseFont = true;
            this.lblSbobetLastUpdate.Caption = "-";
            this.lblSbobetLastUpdate.Id = 8;
            this.lblSbobetLastUpdate.Name = "lblSbobetLastUpdate";
            this.lblSbobetLastUpdate.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblSbobetLastUpdate.Width = 135;
            // 
            // barStaticItem7
            // 
            this.barStaticItem7.Caption = "Current Credit:";
            this.barStaticItem7.Id = 9;
            this.barStaticItem7.Name = "barStaticItem7";
            this.barStaticItem7.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem8
            // 
            this.barStaticItem8.Caption = "Total Match:";
            this.barStaticItem8.Id = 10;
            this.barStaticItem8.Name = "barStaticItem8";
            this.barStaticItem8.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // barStaticItem9
            // 
            this.barStaticItem9.Caption = "Last Update:";
            this.barStaticItem9.Id = 11;
            this.barStaticItem9.Name = "barStaticItem9";
            this.barStaticItem9.TextAlignment = System.Drawing.StringAlignment.Near;
            // 
            // lblIbetCurrentCredit
            // 
            this.lblIbetCurrentCredit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblIbetCurrentCredit.Appearance.Options.UseFont = true;
            this.lblIbetCurrentCredit.Caption = "-";
            this.lblIbetCurrentCredit.Id = 12;
            this.lblIbetCurrentCredit.Name = "lblIbetCurrentCredit";
            this.lblIbetCurrentCredit.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblIbetCurrentCredit.Width = 135;
            // 
            // lblIbetTotalMatch
            // 
            this.lblIbetTotalMatch.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblIbetTotalMatch.Appearance.Options.UseFont = true;
            this.lblIbetTotalMatch.Caption = "-";
            this.lblIbetTotalMatch.Id = 13;
            this.lblIbetTotalMatch.Name = "lblIbetTotalMatch";
            this.lblIbetTotalMatch.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblIbetTotalMatch.Width = 135;
            // 
            // lblIbetLastUpdate
            // 
            this.lblIbetLastUpdate.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblIbetLastUpdate.Appearance.Options.UseFont = true;
            this.lblIbetLastUpdate.Caption = "-";
            this.lblIbetLastUpdate.Id = 14;
            this.lblIbetLastUpdate.Name = "lblIbetLastUpdate";
            this.lblIbetLastUpdate.TextAlignment = System.Drawing.StringAlignment.Far;
            this.lblIbetLastUpdate.Width = 135;
            // 
            // btnIbetGetInfo
            // 
            this.btnIbetGetInfo.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
            this.btnIbetGetInfo.Caption = "Log In";
            this.btnIbetGetInfo.DropDownControl = this.pmNew;
            this.btnIbetGetInfo.Id = 15;
            this.btnIbetGetInfo.LargeGlyph = global::iBet.App.Properties.Resources.i8;
            this.btnIbetGetInfo.Name = "btnIbetGetInfo";
            this.btnIbetGetInfo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick);
            // 
            // lblStatus
            // 
            this.lblStatus.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblStatus.Appearance.Options.UseFont = true;
            this.lblStatus.Caption = "STOPPED";
            this.lblStatus.Id = 16;
            this.lblStatus.Name = "lblStatus";
            this.lblStatus.TextAlignment = System.Drawing.StringAlignment.Center;
            this.lblStatus.Width = 135;
            // 
            // lblSameMatch
            // 
            this.lblSameMatch.Caption = "Total Same Match: -";
            this.lblSameMatch.Id = 17;
            this.lblSameMatch.Name = "lblSameMatch";
            this.lblSameMatch.TextAlignment = System.Drawing.StringAlignment.Center;
            this.lblSameMatch.Width = 135;
            // 
            // lblLastUpdate
            // 
            this.lblLastUpdate.Caption = "-";
            this.lblLastUpdate.Id = 18;
            this.lblLastUpdate.Name = "lblLastUpdate";
            this.lblLastUpdate.TextAlignment = System.Drawing.StringAlignment.Center;
            this.lblLastUpdate.Width = 135;
            // 
            // btnStart
            // 
            this.btnStart.Caption = "Start";
            this.btnStart.Enabled = false;
            this.btnStart.Id = 19;
            this.btnStart.LargeGlyph = global::iBet.App.Properties.Resources.i5;
            this.btnStart.Name = "btnStart";
            this.btnStart.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStart_ItemClick);
            // 
            // btnStop
            // 
            this.btnStop.Caption = "Stop";
            this.btnStop.Enabled = false;
            this.btnStop.Id = 20;
            this.btnStop.LargeGlyph = global::iBet.App.Properties.Resources.i6;
            this.btnStop.Name = "btnStop";
            this.btnStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStop_ItemClick);
            // 
            // btnClear
            // 
            this.btnClear.Caption = "Clear";
            this.btnClear.Enabled = false;
            this.btnClear.Id = 21;
            this.btnClear.LargeGlyph = global::iBet.App.Properties.Resources.i7;
            this.btnClear.Name = "btnClear";
            this.btnClear.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnClear_ItemClick);
            // 
            // btnSnapShot
            // 
            this.btnSnapShot.Caption = "Snap Shot";
            this.btnSnapShot.Enabled = false;
            this.btnSnapShot.Id = 21;
            this.btnSnapShot.LargeGlyph = global::iBet.App.Properties.Resources.i11;
            this.btnSnapShot.Name = "btnSnapShot";
            this.btnSnapShot.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnSnapShot_ItemClick);
            // 
            // ribbonPage1
            // 
            this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
            this.rpgIbet,
            this.rpgSbobet,
            this.ribbonPageGroup3,
            this.ribbonPageGroup4,
            this.ribbonPageGroup5});
            this.ribbonPage1.Name = "ribbonPage1";
            this.ribbonPage1.Text = "ribbonPage1";
            // 
            // rpgIbet
            // 
            this.rpgIbet.ItemLinks.Add(this.barStaticItem7);
            this.rpgIbet.ItemLinks.Add(this.barStaticItem8);
            this.rpgIbet.ItemLinks.Add(this.barStaticItem9);
            this.rpgIbet.ItemLinks.Add(this.lblIbetCurrentCredit);
            this.rpgIbet.ItemLinks.Add(this.lblIbetTotalMatch);
            this.rpgIbet.ItemLinks.Add(this.lblIbetLastUpdate);
            this.rpgIbet.ItemLinks.Add(this.btnIbetGetInfo);
            this.rpgIbet.Name = "rpgIbet";
            this.rpgIbet.ShowCaptionButton = false;
            this.rpgIbet.Text = "IBET";
            // 
            // rpgSbobet
            // 
            this.rpgSbobet.ItemLinks.Add(this.barStaticItem1);
            this.rpgSbobet.ItemLinks.Add(this.barStaticItem2);
            this.rpgSbobet.ItemLinks.Add(this.barStaticItem3);
            this.rpgSbobet.ItemLinks.Add(this.lblSbobetCurrentCredit);
            this.rpgSbobet.ItemLinks.Add(this.lblSbobetTotalMatch);
            this.rpgSbobet.ItemLinks.Add(this.lblSbobetLastUpdate);
            this.rpgSbobet.ItemLinks.Add(this.btnSbobetGetInfo);
            this.rpgSbobet.Name = "rpgSbobet";
            this.rpgSbobet.ShowCaptionButton = false;
            this.rpgSbobet.Text = "SBOBET";
            // 
            // ribbonPageGroup3
            // 
            this.ribbonPageGroup3.ItemLinks.Add(this.lblStatus);
            this.ribbonPageGroup3.ItemLinks.Add(this.lblSameMatch);
            this.ribbonPageGroup3.ItemLinks.Add(this.lblLastUpdate);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnStart);
            this.ribbonPageGroup3.ItemLinks.Add(this.btnStop);
            this.ribbonPageGroup3.Name = "ribbonPageGroup3";
            this.ribbonPageGroup3.ShowCaptionButton = false;
            this.ribbonPageGroup3.Text = "Status";
            // 
            // ribbonPageGroup4
            // 
            this.ribbonPageGroup4.ItemLinks.Add(this.btnClear);
            this.ribbonPageGroup4.Name = "ribbonPageGroup4";
            this.ribbonPageGroup4.ShowCaptionButton = false;
            this.ribbonPageGroup4.Text = "Transaction";
            // 
            // ribbonPageGroup5
            // 
            this.ribbonPageGroup5.ItemLinks.Add(this.btnSnapShot);
            this.ribbonPageGroup5.Name = "ribbonPageGroup5";
            this.ribbonPageGroup5.ShowCaptionButton = false;
            this.ribbonPageGroup5.Text = "Match Data";
            // 
            // splitContainerControl1
            // 
            this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2;
            this.splitContainerControl1.Horizontal = false;
            this.splitContainerControl1.Location = new System.Drawing.Point(0, 125);
            this.splitContainerControl1.Name = "splitContainerControl1";
            this.splitContainerControl1.Panel1.Controls.Add(this.xtraTabControl1);
            this.splitContainerControl1.Panel1.Text = "Panel1";
            this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControl2);
            this.splitContainerControl1.Panel2.Text = "Panel2";
            this.splitContainerControl1.Size = new System.Drawing.Size(1130, 553);
            this.splitContainerControl1.SplitterPosition = 275;
            this.splitContainerControl1.TabIndex = 1;
            this.splitContainerControl1.Text = "splitContainerControl1";
            // 
            // xtraTabControl1
            // 
            this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl1.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl1.Name = "xtraTabControl1";
            this.xtraTabControl1.SelectedTabPage = this.xtraTabPageMatches;
            this.xtraTabControl1.Size = new System.Drawing.Size(1130, 273);
            this.xtraTabControl1.TabIndex = 0;
            this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPageMatches,
            this.xtraTabPageBetList1,
            this.xtraTabPageBetList2});
            // 
            // xtraTabPageMatches
            // 
            this.xtraTabPageMatches.Controls.Add(this.grdSameMatch);
            this.xtraTabPageMatches.Name = "xtraTabPageMatches";
            this.xtraTabPageMatches.Size = new System.Drawing.Size(1124, 247);
            this.xtraTabPageMatches.Text = "Live Match";
            // 
            // grdSameMatch
            // 
            this.grdSameMatch.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdSameMatch.Location = new System.Drawing.Point(0, 0);
            this.grdSameMatch.MainView = this.gridView1;
            this.grdSameMatch.Name = "grdSameMatch";
            this.grdSameMatch.Size = new System.Drawing.Size(1124, 247);
            this.grdSameMatch.TabIndex = 3;
            this.grdSameMatch.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView1});
            // 
            // gridView1
            // 
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn15,
            this.gridColumn16,
            this.gridColumn21,
            this.gridColumn22,
            this.gridColumn14,
            this.gridColumn17,
            this.gridColumn18,
            this.gridColumn19,
            this.gridColumn23});
            this.gridView1.GridControl = this.grdSameMatch;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsBehavior.Editable = false;
            this.gridView1.OptionsCustomization.AllowGroup = false;
            this.gridView1.OptionsDetail.AllowZoomDetail = false;
            this.gridView1.OptionsDetail.EnableMasterViewMode = false;
            this.gridView1.OptionsDetail.ShowDetailTabs = false;
            this.gridView1.OptionsDetail.SmartDetailExpand = false;
            this.gridView1.OptionsView.ShowAutoFilterRow = true;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.gridView1.OptionsView.ShowPreview = true;
            this.gridView1.PreviewFieldName = "LeagueName";
            this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn23, DevExpress.Data.ColumnSortOrder.Ascending)});
            this.gridView1.RowCellStyle += new DevExpress.XtraGrid.Views.Grid.RowCellStyleEventHandler(this.gridView1_RowCellStyle);
            // 
            // gridColumn15
            // 
            this.gridColumn15.Caption = "Home Team";
            this.gridColumn15.FieldName = "HomeTeamName";
            this.gridColumn15.Name = "gridColumn15";
            this.gridColumn15.Visible = true;
            this.gridColumn15.VisibleIndex = 0;
            this.gridColumn15.Width = 367;
            // 
            // gridColumn16
            // 
            this.gridColumn16.Caption = "Away Team";
            this.gridColumn16.FieldName = "AwayTeamName";
            this.gridColumn16.Name = "gridColumn16";
            this.gridColumn16.Visible = true;
            this.gridColumn16.VisibleIndex = 1;
            this.gridColumn16.Width = 368;
            // 
            // gridColumn21
            // 
            this.gridColumn21.Caption = "HScore";
            this.gridColumn21.FieldName = "HomeScore";
            this.gridColumn21.Name = "gridColumn21";
            this.gridColumn21.Visible = true;
            this.gridColumn21.VisibleIndex = 2;
            // 
            // gridColumn22
            // 
            this.gridColumn22.Caption = "AScore";
            this.gridColumn22.FieldName = "AwayScore";
            this.gridColumn22.Name = "gridColumn22";
            this.gridColumn22.Visible = true;
            this.gridColumn22.VisibleIndex = 3;
            // 
            // gridColumn14
            // 
            this.gridColumn14.Caption = "Odd Count";
            this.gridColumn14.FieldName = "OddCount";
            this.gridColumn14.Name = "gridColumn14";
            this.gridColumn14.OptionsColumn.FixedWidth = true;
            this.gridColumn14.Visible = true;
            this.gridColumn14.VisibleIndex = 4;
            this.gridColumn14.Width = 70;
            // 
            // gridColumn17
            // 
            this.gridColumn17.Caption = "Half";
            this.gridColumn17.FieldName = "Half";
            this.gridColumn17.Name = "gridColumn17";
            this.gridColumn17.OptionsColumn.FixedWidth = true;
            this.gridColumn17.Visible = true;
            this.gridColumn17.VisibleIndex = 5;
            this.gridColumn17.Width = 40;
            // 
            // gridColumn18
            // 
            this.gridColumn18.Caption = "Min";
            this.gridColumn18.FieldName = "Minute";
            this.gridColumn18.Name = "gridColumn18";
            this.gridColumn18.OptionsColumn.FixedWidth = true;
            this.gridColumn18.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value;
            this.gridColumn18.Visible = true;
            this.gridColumn18.VisibleIndex = 6;
            this.gridColumn18.Width = 40;
            // 
            // gridColumn19
            // 
            this.gridColumn19.Caption = "HT";
            this.gridColumn19.FieldName = "IsHalfTime";
            this.gridColumn19.Name = "gridColumn19";
            this.gridColumn19.OptionsColumn.FixedWidth = true;
            this.gridColumn19.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn19.Visible = true;
            this.gridColumn19.VisibleIndex = 7;
            this.gridColumn19.Width = 40;
            // 
            // xtraTabPageBetList1
            // 
            this.xtraTabPageBetList1.Controls.Add(this.girdBetList1);
            this.xtraTabPageBetList1.Name = "xtraTabPageBetList1";
            this.xtraTabPageBetList1.Size = new System.Drawing.Size(1124, 247);
            this.xtraTabPageBetList1.Text = "Bet List 1";
            // 
            // girdBetList1
            // 
            this.girdBetList1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.girdBetList1.Location = new System.Drawing.Point(0, 0);
            this.girdBetList1.MainView = this.gridView3;
            this.girdBetList1.Name = "girdBetList1";
            this.girdBetList1.Size = new System.Drawing.Size(1124, 247);
            this.girdBetList1.TabIndex = 4;
            this.girdBetList1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView3});
            // 
            // gridView3
            // 
            this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn33,
            this.gridColumn24,
            this.gridColumn25,
            this.gridColumn28,
            this.gridColumn29,
            this.gridColumn30,
            this.gridColumn31,
            this.gridColumn32});
            this.gridView3.GridControl = this.girdBetList1;
            this.gridView3.Name = "gridView3";
            this.gridView3.OptionsBehavior.Editable = false;
            this.gridView3.OptionsCustomization.AllowGroup = false;
            this.gridView3.OptionsDetail.AllowZoomDetail = false;
            this.gridView3.OptionsDetail.EnableMasterViewMode = false;
            this.gridView3.OptionsDetail.ShowDetailTabs = false;
            this.gridView3.OptionsDetail.SmartDetailExpand = false;
            this.gridView3.OptionsView.ShowAutoFilterRow = true;
            this.gridView3.OptionsView.ShowGroupPanel = false;
            this.gridView3.OptionsView.ShowPreview = true;
            this.gridView3.PreviewFieldName = "LeagueName";
            this.gridView3.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn32, DevExpress.Data.ColumnSortOrder.Ascending)});
            // 
            // gridColumn33
            // 
            this.gridColumn33.Caption = "RefID";
            this.gridColumn33.FieldName = "ID";
            this.gridColumn33.Name = "gridColumn33";
            this.gridColumn33.Visible = true;
            this.gridColumn33.VisibleIndex = 0;
            this.gridColumn33.Width = 69;
            // 
            // gridColumn24
            // 
            this.gridColumn24.Caption = "Home Team";
            this.gridColumn24.FieldName = "Home";
            this.gridColumn24.Name = "gridColumn24";
            this.gridColumn24.Visible = true;
            this.gridColumn24.VisibleIndex = 1;
            this.gridColumn24.Width = 300;
            // 
            // gridColumn25
            // 
            this.gridColumn25.Caption = "Away Team";
            this.gridColumn25.FieldName = "Away";
            this.gridColumn25.Name = "gridColumn25";
            this.gridColumn25.Visible = true;
            this.gridColumn25.VisibleIndex = 2;
            this.gridColumn25.Width = 300;
            // 
            // gridColumn28
            // 
            this.gridColumn28.Caption = "Choose";
            this.gridColumn28.FieldName = "Choice";
            this.gridColumn28.Name = "gridColumn28";
            this.gridColumn28.OptionsColumn.FixedWidth = true;
            this.gridColumn28.Visible = true;
            this.gridColumn28.VisibleIndex = 3;
            this.gridColumn28.Width = 70;
            // 
            // gridColumn29
            // 
            this.gridColumn29.Caption = "Odd";
            this.gridColumn29.FieldName = "Handicap";
            this.gridColumn29.Name = "gridColumn29";
            this.gridColumn29.OptionsColumn.FixedWidth = true;
            this.gridColumn29.Visible = true;
            this.gridColumn29.VisibleIndex = 4;
            this.gridColumn29.Width = 40;
            // 
            // gridColumn30
            // 
            this.gridColumn30.Caption = "Odd Value";
            this.gridColumn30.FieldName = "OddsValue";
            this.gridColumn30.Name = "gridColumn30";
            this.gridColumn30.OptionsColumn.FixedWidth = true;
            this.gridColumn30.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value;
            this.gridColumn30.Visible = true;
            this.gridColumn30.VisibleIndex = 5;
            this.gridColumn30.Width = 60;
            // 
            // gridColumn31
            // 
            this.gridColumn31.Caption = "Stake";
            this.gridColumn31.FieldName = "Stake";
            this.gridColumn31.Name = "gridColumn31";
            this.gridColumn31.OptionsColumn.FixedWidth = true;
            this.gridColumn31.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn31.Visible = true;
            this.gridColumn31.VisibleIndex = 6;
            this.gridColumn31.Width = 40;
            // 
            // gridColumn32
            // 
            this.gridColumn32.Caption = "Bet Time";
            this.gridColumn32.FieldName = "BetTime";
            this.gridColumn32.Name = "gridColumn32";
            this.gridColumn32.Visible = true;
            this.gridColumn32.VisibleIndex = 7;
            this.gridColumn32.Width = 227;
            // 
            // xtraTabPageBetList2
            // 
            this.xtraTabPageBetList2.Name = "xtraTabPageBetList2";
            this.xtraTabPageBetList2.Size = new System.Drawing.Size(1124, 247);
            this.xtraTabPageBetList2.Text = "Bet List 2";
            // 
            // xtraTabControl2
            // 
            this.xtraTabControl2.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.xtraTabControl2.Appearance.Options.UseBackColor = true;
            this.xtraTabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xtraTabControl2.Location = new System.Drawing.Point(0, 0);
            this.xtraTabControl2.Name = "xtraTabControl2";
            this.xtraTabControl2.SelectedTabPage = this.xtraTabPage4;
            this.xtraTabControl2.Size = new System.Drawing.Size(1130, 275);
            this.xtraTabControl2.TabIndex = 1;
            this.xtraTabControl2.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.xtraTabPage4,
            this.xtraTabPage5});
            // 
            // xtraTabPage4
            // 
            this.xtraTabPage4.Controls.Add(this.groupControl2);
            this.xtraTabPage4.Controls.Add(this.groupControl1);
            this.xtraTabPage4.Controls.Add(this.groupControl5);
            this.xtraTabPage4.Controls.Add(this.groupControl4);
            this.xtraTabPage4.Controls.Add(this.groupControl6);
            this.xtraTabPage4.Name = "xtraTabPage4";
            this.xtraTabPage4.Size = new System.Drawing.Size(1124, 249);
            this.xtraTabPage4.Text = "Settings";
            // 
            // groupControl2
            // 
            this.groupControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.groupControl2.Controls.Add(this.checkEdit2);
            this.groupControl2.Controls.Add(this.labelControl12);
            this.groupControl2.Controls.Add(this.labelControl11);
            this.groupControl2.Controls.Add(this.checkEdit18);
            this.groupControl2.Controls.Add(this.checkEdit17);
            this.groupControl2.Controls.Add(this.spinEdit4);
            this.groupControl2.Controls.Add(this.checkEdit1);
            this.groupControl2.Controls.Add(this.spinEdit3);
            this.groupControl2.Controls.Add(this.labelControl13);
            this.groupControl2.Controls.Add(this.spinEdit2);
            this.groupControl2.Controls.Add(this.spinEdit1);
            this.groupControl2.Controls.Add(this.txtTransactionTimeSpan);
            this.groupControl2.Controls.Add(this.labelControl10);
            this.groupControl2.Controls.Add(this.txtMaxTimePerHalf);
            this.groupControl2.Controls.Add(this.labelControl7);
            this.groupControl2.Controls.Add(this.chbAllowHalftime);
            this.groupControl2.Location = new System.Drawing.Point(209, 3);
            this.groupControl2.Name = "groupControl2";
            this.groupControl2.Size = new System.Drawing.Size(200, 243);
            this.groupControl2.TabIndex = 14;
            this.groupControl2.Text = "Time Settings";
            // 
            // checkEdit2
            // 
            this.checkEdit2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit2.Location = new System.Drawing.Point(135, 191);
            this.checkEdit2.Name = "checkEdit2";
            this.checkEdit2.Properties.Caption = "O/U";
            this.checkEdit2.Size = new System.Drawing.Size(60, 19);
            this.checkEdit2.TabIndex = 24;
            this.checkEdit2.CheckedChanged += new System.EventHandler(this.checkEdit2_CheckedChanged);
            // 
            // labelControl12
            // 
            this.labelControl12.Location = new System.Drawing.Point(7, 140);
            this.labelControl12.Name = "labelControl12";
            this.labelControl12.Size = new System.Drawing.Size(56, 13);
            this.labelControl12.TabIndex = 23;
            this.labelControl12.Text = "Flush Half 2";
            // 
            // labelControl11
            // 
            this.labelControl11.Location = new System.Drawing.Point(7, 112);
            this.labelControl11.Name = "labelControl11";
            this.labelControl11.Size = new System.Drawing.Size(56, 13);
            this.labelControl11.TabIndex = 22;
            this.labelControl11.Text = "Flush Half 1";
            // 
            // checkEdit18
            // 
            this.checkEdit18.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit18.EditValue = true;
            this.checkEdit18.Location = new System.Drawing.Point(69, 191);
            this.checkEdit18.Name = "checkEdit18";
            this.checkEdit18.Properties.Caption = "Half 2";
            this.checkEdit18.Size = new System.Drawing.Size(60, 19);
            this.checkEdit18.TabIndex = 21;
            // 
            // checkEdit17
            // 
            this.checkEdit17.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit17.EditValue = true;
            this.checkEdit17.Location = new System.Drawing.Point(5, 191);
            this.checkEdit17.Name = "checkEdit17";
            this.checkEdit17.Properties.Caption = "Half 1";
            this.checkEdit17.Size = new System.Drawing.Size(58, 19);
            this.checkEdit17.TabIndex = 20;
            // 
            // spinEdit4
            // 
            this.spinEdit4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.spinEdit4.EditValue = new decimal(new int[] {
            2,
            0,
            0,
            131072});
            this.spinEdit4.Location = new System.Drawing.Point(85, 166);
            this.spinEdit4.Name = "spinEdit4";
            this.spinEdit4.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.spinEdit4.Properties.Increment = new decimal(new int[] {
            1,
            0,
            0,
            131072});
            this.spinEdit4.Size = new System.Drawing.Size(52, 20);
            this.spinEdit4.TabIndex = 17;
            // 
            // checkEdit1
            // 
            this.checkEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit1.EditValue = true;
            this.checkEdit1.Location = new System.Drawing.Point(5, 166);
            this.checkEdit1.Name = "checkEdit1";
            this.checkEdit1.Properties.Caption = "Take Profit";
            this.checkEdit1.Size = new System.Drawing.Size(77, 19);
            this.checkEdit1.TabIndex = 16;
            // 
            // spinEdit3
            // 
            this.spinEdit3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.spinEdit3.EditValue = new decimal(new int[] {
            15,
            0,
            0,
            131072});
            this.spinEdit3.Location = new System.Drawing.Point(143, 166);
            this.spinEdit3.Name = "spinEdit3";
            this.spinEdit3.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.spinEdit3.Properties.Increment = new decimal(new int[] {
            1,
            0,
            0,
            -2147352576});
            this.spinEdit3.Properties.MinValue = new decimal(new int[] {
            2,
            0,
            0,
            -2147352576});
            this.spinEdit3.Size = new System.Drawing.Size(52, 20);
            this.spinEdit3.TabIndex = 15;
            // 
            // labelControl13
            // 
            this.labelControl13.Location = new System.Drawing.Point(5, 169);
            this.labelControl13.Name = "labelControl13";
            this.labelControl13.Size = new System.Drawing.Size(0, 13);
            this.labelControl13.TabIndex = 14;
            // 
            // spinEdit2
            // 
            this.spinEdit2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.spinEdit2.EditValue = new decimal(new int[] {
            32,
            0,
            0,
            0});
            this.spinEdit2.Location = new System.Drawing.Point(123, 137);
            this.spinEdit2.Name = "spinEdit2";
            this.spinEdit2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.spinEdit2.Properties.IsFloatValue = false;
            this.spinEdit2.Properties.Mask.EditMask = "N00";
            this.spinEdit2.Size = new System.Drawing.Size(72, 20);
            this.spinEdit2.TabIndex = 13;
            // 
            // spinEdit1
            // 
            this.spinEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.spinEdit1.EditValue = new decimal(new int[] {
            32,
            0,
            0,
            0});
            this.spinEdit1.Location = new System.Drawing.Point(123, 109);
            this.spinEdit1.Name = "spinEdit1";
            this.spinEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.spinEdit1.Properties.IsFloatValue = false;
            this.spinEdit1.Properties.Mask.EditMask = "N00";
            this.spinEdit1.Size = new System.Drawing.Size(72, 20);
            this.spinEdit1.TabIndex = 11;
            // 
            // txtTransactionTimeSpan
            // 
            this.txtTransactionTimeSpan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTransactionTimeSpan.EditValue = new decimal(new int[] {
            10,
            0,
            0,
            0});
            this.txtTransactionTimeSpan.Location = new System.Drawing.Point(123, 80);
            this.txtTransactionTimeSpan.Name = "txtTransactionTimeSpan";
            this.txtTransactionTimeSpan.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtTransactionTimeSpan.Properties.IsFloatValue = false;
            this.txtTransactionTimeSpan.Properties.Mask.EditMask = "N00";
            this.txtTransactionTimeSpan.Size = new System.Drawing.Size(72, 20);
            this.txtTransactionTimeSpan.TabIndex = 9;
            // 
            // labelControl10
            // 
            this.labelControl10.Location = new System.Drawing.Point(5, 81);
            this.labelControl10.Name = "labelControl10";
            this.labelControl10.Size = new System.Drawing.Size(112, 13);
            this.labelControl10.TabIndex = 8;
            this.labelControl10.Text = "Transaction Time Span:";
            // 
            // txtMaxTimePerHalf
            // 
            this.txtMaxTimePerHalf.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtMaxTimePerHalf.EditValue = new decimal(new int[] {
            40,
            0,
            0,
            0});
            this.txtMaxTimePerHalf.Location = new System.Drawing.Point(123, 50);
            this.txtMaxTimePerHalf.Name = "txtMaxTimePerHalf";
            this.txtMaxTimePerHalf.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtMaxTimePerHalf.Properties.IsFloatValue = false;
            this.txtMaxTimePerHalf.Properties.Mask.EditMask = "N00";
            this.txtMaxTimePerHalf.Size = new System.Drawing.Size(72, 20);
            this.txtMaxTimePerHalf.TabIndex = 7;
            // 
            // labelControl7
            // 
            this.labelControl7.Location = new System.Drawing.Point(5, 53);
            this.labelControl7.Name = "labelControl7";
            this.labelControl7.Size = new System.Drawing.Size(90, 13);
            this.labelControl7.TabIndex = 6;
            this.labelControl7.Text = "Max Time Per Half:";
            // 
            // chbAllowHalftime
            // 
            this.chbAllowHalftime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.chbAllowHalftime.EditValue = true;
            this.chbAllowHalftime.Location = new System.Drawing.Point(5, 26);
            this.chbAllowHalftime.Name = "chbAllowHalftime";
            this.chbAllowHalftime.Properties.Caption = "Allow Halftime";
            this.chbAllowHalftime.Size = new System.Drawing.Size(102, 19);
            this.chbAllowHalftime.TabIndex = 5;
            // 
            // groupControl1
            // 
            this.groupControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.groupControl1.Controls.Add(this.checkEdit15);
            this.groupControl1.Controls.Add(this.checkEdit14);
            this.groupControl1.Controls.Add(this.checkEdit13);
            this.groupControl1.Controls.Add(this.btnSetUpdateInterval);
            this.groupControl1.Controls.Add(this.txtSBOBETUpdateInterval);
            this.groupControl1.Controls.Add(this.labelControl3);
            this.groupControl1.Controls.Add(this.txtIBETUpdateInterval);
            this.groupControl1.Controls.Add(this.labelControl4);
            this.groupControl1.Location = new System.Drawing.Point(415, 3);
            this.groupControl1.Name = "groupControl1";
            this.groupControl1.Size = new System.Drawing.Size(200, 243);
            this.groupControl1.TabIndex = 13;
            this.groupControl1.Text = "Data Settings";
            // 
            // checkEdit15
            // 
            this.checkEdit15.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit15.Location = new System.Drawing.Point(5, 151);
            this.checkEdit15.Name = "checkEdit15";
            this.checkEdit15.Properties.Caption = "Scanner mode: Pure odd sms";
            this.checkEdit15.Size = new System.Drawing.Size(190, 19);
            this.checkEdit15.TabIndex = 30;
            // 
            // checkEdit14
            // 
            this.checkEdit14.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit14.EditValue = true;
            this.checkEdit14.Location = new System.Drawing.Point(5, 128);
            this.checkEdit14.Name = "checkEdit14";
            this.checkEdit14.Properties.Caption = "Receive odd from community";
            this.checkEdit14.Size = new System.Drawing.Size(190, 19);
            this.checkEdit14.TabIndex = 29;
            // 
            // checkEdit13
            // 
            this.checkEdit13.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit13.EditValue = true;
            this.checkEdit13.Location = new System.Drawing.Point(5, 104);
            this.checkEdit13.Name = "checkEdit13";
            this.checkEdit13.Properties.Caption = "Submit odd to community";
            this.checkEdit13.Size = new System.Drawing.Size(190, 19);
            this.checkEdit13.TabIndex = 28;
            // 
            // btnSetUpdateInterval
            // 
            this.btnSetUpdateInterval.Location = new System.Drawing.Point(59, 77);
            this.btnSetUpdateInterval.Name = "btnSetUpdateInterval";
            this.btnSetUpdateInterval.Size = new System.Drawing.Size(136, 23);
            this.btnSetUpdateInterval.TabIndex = 6;
            this.btnSetUpdateInterval.Text = "Set Update Interval";
            this.btnSetUpdateInterval.Click += new System.EventHandler(this.btnSetUpdateInterval_Click);
            // 
            // txtSBOBETUpdateInterval
            // 
            this.txtSBOBETUpdateInterval.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtSBOBETUpdateInterval.EditValue = new decimal(new int[] {
            12,
            0,
            0,
            0});
            this.txtSBOBETUpdateInterval.Location = new System.Drawing.Point(132, 51);
            this.txtSBOBETUpdateInterval.Name = "txtSBOBETUpdateInterval";
            this.txtSBOBETUpdateInterval.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtSBOBETUpdateInterval.Properties.IsFloatValue = false;
            this.txtSBOBETUpdateInterval.Properties.Mask.EditMask = "N00";
            this.txtSBOBETUpdateInterval.Size = new System.Drawing.Size(63, 20);
            this.txtSBOBETUpdateInterval.TabIndex = 5;
            this.txtSBOBETUpdateInterval.EditValueChanged += new System.EventHandler(this.txtSBOBETUpdateInterval_EditValueChanged);
            // 
            // labelControl3
            // 
            this.labelControl3.Location = new System.Drawing.Point(5, 54);
            this.labelControl3.Name = "labelControl3";
            this.labelControl3.Size = new System.Drawing.Size(121, 13);
            this.labelControl3.TabIndex = 4;
            this.labelControl3.Text = "SBOBET Update Interval:";
            // 
            // txtIBETUpdateInterval
            // 
            this.txtIBETUpdateInterval.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtIBETUpdateInterval.EditValue = new decimal(new int[] {
            12,
            0,
            0,
            0});
            this.txtIBETUpdateInterval.Location = new System.Drawing.Point(132, 25);
            this.txtIBETUpdateInterval.Name = "txtIBETUpdateInterval";
            this.txtIBETUpdateInterval.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtIBETUpdateInterval.Properties.IsFloatValue = false;
            this.txtIBETUpdateInterval.Properties.Mask.EditMask = "N00";
            this.txtIBETUpdateInterval.Size = new System.Drawing.Size(63, 20);
            this.txtIBETUpdateInterval.TabIndex = 1;
            this.txtIBETUpdateInterval.EditValueChanged += new System.EventHandler(this.txtIBETUpdateInterval_EditValueChanged);
            // 
            // labelControl4
            // 
            this.labelControl4.Location = new System.Drawing.Point(5, 28);
            this.labelControl4.Name = "labelControl4";
            this.labelControl4.Size = new System.Drawing.Size(105, 13);
            this.labelControl4.TabIndex = 0;
            this.labelControl4.Text = "IBET Update Interval:";
            // 
            // groupControl5
            // 
            this.groupControl5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.groupControl5.Controls.Add(this.chbHighRevenueBoost);
            this.groupControl5.Controls.Add(this.txtAddValue);
            this.groupControl5.Controls.Add(this.txtLowestOddValue);
            this.groupControl5.Controls.Add(this.labelControl9);
            this.groupControl5.Controls.Add(this.txtOddValueDifferenet);
            this.groupControl5.Controls.Add(this.checkEdit6);
            this.groupControl5.Controls.Add(this.checkEdit5);
            this.groupControl5.Controls.Add(this.labelControl18);
            this.groupControl5.Controls.Add(this.labelControl8);
            this.groupControl5.Controls.Add(this.checkEdit7);
            this.groupControl5.Controls.Add(this.checkEdit12);
            this.groupControl5.Controls.Add(this.checkEdit11);
            this.groupControl5.Controls.Add(this.checkEdit10);
            this.groupControl5.Controls.Add(this.checkEdit9);
            this.groupControl5.Controls.Add(this.checkEdit8);
            this.groupControl5.Controls.Add(this.checkEdit4);
            this.groupControl5.Controls.Add(this.checkEdit3);
            this.groupControl5.Location = new System.Drawing.Point(3, 3);
            this.groupControl5.Name = "groupControl5";
            this.groupControl5.Size = new System.Drawing.Size(200, 243);
            this.groupControl5.TabIndex = 13;
            this.groupControl5.Text = "Trading Settings";
            // 
            // chbHighRevenueBoost
            // 
            this.chbHighRevenueBoost.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.chbHighRevenueBoost.Location = new System.Drawing.Point(5, 172);
            this.chbHighRevenueBoost.Name = "chbHighRevenueBoost";
            this.chbHighRevenueBoost.Properties.Caption = "Top Class";
            this.chbHighRevenueBoost.Size = new System.Drawing.Size(90, 19);
            this.chbHighRevenueBoost.TabIndex = 13;
            // 
            // txtAddValue
            // 
            this.txtAddValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtAddValue.EditValue = new decimal(new int[] {
            4,
            0,
            0,
            0});
            this.txtAddValue.Location = new System.Drawing.Point(110, 148);
            this.txtAddValue.Name = "txtAddValue";
            this.txtAddValue.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtAddValue.Size = new System.Drawing.Size(85, 20);
            this.txtAddValue.TabIndex = 22;
            // 
            // txtLowestOddValue
            // 
            this.txtLowestOddValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtLowestOddValue.EditValue = new decimal(new int[] {
            5,
            0,
            0,
            65536});
            this.txtLowestOddValue.Location = new System.Drawing.Point(110, 121);
            this.txtLowestOddValue.Name = "txtLowestOddValue";
            this.txtLowestOddValue.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtLowestOddValue.Properties.Increment = new decimal(new int[] {
            1,
            0,
            0,
            65536});
            this.txtLowestOddValue.Properties.MaxValue = new decimal(new int[] {
            1,
            0,
            0,
            131072});
            this.txtLowestOddValue.Properties.MinValue = new decimal(new int[] {
            1,
            0,
            0,
            131072});
            this.txtLowestOddValue.Size = new System.Drawing.Size(85, 20);
            this.txtLowestOddValue.TabIndex = 12;
            // 
            // labelControl9
            // 
            this.labelControl9.Location = new System.Drawing.Point(5, 123);
            this.labelControl9.Name = "labelControl9";
            this.labelControl9.Size = new System.Drawing.Size(90, 13);
            this.labelControl9.TabIndex = 11;
            this.labelControl9.Text = "Lowest Odd Value:";
            // 
            // txtOddValueDifferenet
            // 
            this.txtOddValueDifferenet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtOddValueDifferenet.EditValue = new decimal(new int[] {
            1,
            0,
            0,
            -2147352576});
            this.txtOddValueDifferenet.Location = new System.Drawing.Point(110, 94);
            this.txtOddValueDifferenet.Name = "txtOddValueDifferenet";
            this.txtOddValueDifferenet.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtOddValueDifferenet.Properties.Increment = new decimal(new int[] {
            1,
            0,
            0,
            -2147352576});
            this.txtOddValueDifferenet.Properties.MinValue = new decimal(new int[] {
            2,
            0,
            0,
            -2147352576});
            this.txtOddValueDifferenet.Size = new System.Drawing.Size(85, 20);
            this.txtOddValueDifferenet.TabIndex = 10;
            // 
            // checkEdit6
            // 
            this.checkEdit6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit6.EditValue = true;
            this.checkEdit6.Location = new System.Drawing.Point(108, 51);
            this.checkEdit6.Name = "checkEdit6";
            this.checkEdit6.Properties.Caption = "Non-Live";
            this.checkEdit6.Size = new System.Drawing.Size(77, 19);
            this.checkEdit6.TabIndex = 8;
            // 
            // checkEdit5
            // 
            this.checkEdit5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit5.EditValue = true;
            this.checkEdit5.Location = new System.Drawing.Point(5, 72);
            this.checkEdit5.Name = "checkEdit5";
            this.checkEdit5.Properties.Caption = "Live";
            this.checkEdit5.Size = new System.Drawing.Size(52, 19);
            this.checkEdit5.TabIndex = 7;
            // 
            // labelControl18
            // 
            this.labelControl18.Location = new System.Drawing.Point(5, 150);
            this.labelControl18.Name = "labelControl18";
            this.labelControl18.Size = new System.Drawing.Size(95, 13);
            this.labelControl18.TabIndex = 29;
            this.labelControl18.Text = "Min of |Won-Lose|: ";
            // 
            // labelControl8
            // 
            this.labelControl8.Location = new System.Drawing.Point(5, 97);
            this.labelControl8.Name = "labelControl8";
            this.labelControl8.Size = new System.Drawing.Size(99, 13);
            this.labelControl8.TabIndex = 9;
            this.labelControl8.Text = "Odd Value Different:";
            // 
            // checkEdit7
            // 
            this.checkEdit7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit7.Location = new System.Drawing.Point(108, 221);
            this.checkEdit7.Name = "checkEdit7";
            this.checkEdit7.Properties.Caption = "Over 92/90";
            this.checkEdit7.Size = new System.Drawing.Size(83, 19);
            this.checkEdit7.TabIndex = 9;
            // 
            // checkEdit12
            // 
            this.checkEdit12.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit12.Location = new System.Drawing.Point(108, 196);
            this.checkEdit12.Name = "checkEdit12";
            this.checkEdit12.Properties.Caption = "Under Equal";
            this.checkEdit12.Size = new System.Drawing.Size(83, 19);
            this.checkEdit12.TabIndex = 23;
            // 
            // checkEdit11
            // 
            this.checkEdit11.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit11.Location = new System.Drawing.Point(5, 221);
            this.checkEdit11.Name = "checkEdit11";
            this.checkEdit11.Properties.Caption = "Over 1.75";
            this.checkEdit11.Size = new System.Drawing.Size(95, 19);
            this.checkEdit11.TabIndex = 19;
            // 
            // checkEdit10
            // 
            this.checkEdit10.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit10.Location = new System.Drawing.Point(5, 47);
            this.checkEdit10.Name = "checkEdit10";
            this.checkEdit10.Properties.Caption = "Matches List";
            this.checkEdit10.Size = new System.Drawing.Size(90, 19);
            this.checkEdit10.TabIndex = 19;
            // 
            // checkEdit9
            // 
            this.checkEdit9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit9.Location = new System.Drawing.Point(108, 172);
            this.checkEdit9.Name = "checkEdit9";
            this.checkEdit9.Properties.Caption = "Odd Down";
            this.checkEdit9.Size = new System.Drawing.Size(76, 19);
            this.checkEdit9.TabIndex = 19;
            // 
            // checkEdit8
            // 
            this.checkEdit8.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit8.Location = new System.Drawing.Point(5, 196);
            this.checkEdit8.Name = "checkEdit8";
            this.checkEdit8.Properties.Caption = "Over Equal";
            this.checkEdit8.Size = new System.Drawing.Size(95, 19);
            this.checkEdit8.TabIndex = 14;
            // 
            // checkEdit4
            // 
            this.checkEdit4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit4.EditValue = true;
            this.checkEdit4.Location = new System.Drawing.Point(108, 25);
            this.checkEdit4.Name = "checkEdit4";
            this.checkEdit4.Properties.Caption = "Over/Under";
            this.checkEdit4.Size = new System.Drawing.Size(87, 19);
            this.checkEdit4.TabIndex = 6;
            // 
            // checkEdit3
            // 
            this.checkEdit3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkEdit3.EditValue = true;
            this.checkEdit3.Location = new System.Drawing.Point(5, 26);
            this.checkEdit3.Name = "checkEdit3";
            this.checkEdit3.Properties.Caption = "Handicap";
            this.checkEdit3.Size = new System.Drawing.Size(90, 19);
            this.checkEdit3.TabIndex = 5;
            // 
            // groupControl4
            // 
            this.groupControl4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.groupControl4.Controls.Add(this.txtSBOBETFixedStake);
            this.groupControl4.Controls.Add(this.labelControl2);
            this.groupControl4.Controls.Add(this.txtStake);
            this.groupControl4.Controls.Add(this.chbRandomStake);
            this.groupControl4.Controls.Add(this.txtIBETFixedStake);
            this.groupControl4.Controls.Add(this.labelControl6);
            this.groupControl4.Location = new System.Drawing.Point(621, 3);
            this.groupControl4.Name = "groupControl4";
            this.groupControl4.Size = new System.Drawing.Size(200, 243);
            this.groupControl4.TabIndex = 12;
            this.groupControl4.Text = "Stake Settings";
            // 
            // txtSBOBETFixedStake
            // 
            this.txtSBOBETFixedStake.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtSBOBETFixedStake.EditValue = new decimal(new int[] {
            25,
            0,
            0,
            0});
            this.txtSBOBETFixedStake.Location = new System.Drawing.Point(112, 51);
            this.txtSBOBETFixedStake.Name = "txtSBOBETFixedStake";
            this.txtSBOBETFixedStake.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtSBOBETFixedStake.Properties.IsFloatValue = false;
            this.txtSBOBETFixedStake.Properties.Mask.EditMask = "N00";
            this.txtSBOBETFixedStake.Size = new System.Drawing.Size(83, 20);
            this.txtSBOBETFixedStake.TabIndex = 5;
            // 
            // labelControl2
            // 
            this.labelControl2.Location = new System.Drawing.Point(5, 54);
            this.labelControl2.Name = "labelControl2";
            this.labelControl2.Size = new System.Drawing.Size(101, 13);
            this.labelControl2.TabIndex = 4;
            this.labelControl2.Text = "SBOBET Fixed Stake:";
            // 
            // txtStake
            // 
            this.txtStake.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtStake.EditValue = "10\r\n20\r\n15\r\n5";
            this.txtStake.Location = new System.Drawing.Point(5, 103);
            this.txtStake.Name = "txtStake";
            this.txtStake.Size = new System.Drawing.Size(190, 135);
            this.txtStake.TabIndex = 3;
            // 
            // chbRandomStake
            // 
            this.chbRandomStake.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.chbRandomStake.EditValue = true;
            this.chbRandomStake.Location = new System.Drawing.Point(3, 78);
            this.chbRandomStake.Name = "chbRandomStake";
            this.chbRandomStake.Properties.Caption = "Random Stake";
            this.chbRandomStake.Size = new System.Drawing.Size(192, 19);
            this.chbRandomStake.TabIndex = 2;
            this.chbRandomStake.CheckedChanged += new System.EventHandler(this.chbRandomStake_CheckedChanged);
            // 
            // txtIBETFixedStake
            // 
            this.txtIBETFixedStake.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtIBETFixedStake.EditValue = new decimal(new int[] {
            25,
            0,
            0,
            0});
            this.txtIBETFixedStake.Location = new System.Drawing.Point(112, 25);
            this.txtIBETFixedStake.Name = "txtIBETFixedStake";
            this.txtIBETFixedStake.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.txtIBETFixedStake.Properties.IsFloatValue = false;
            this.txtIBETFixedStake.Properties.Mask.EditMask = "N00";
            this.txtIBETFixedStake.Size = new System.Drawing.Size(83, 20);
            this.txtIBETFixedStake.TabIndex = 1;
            // 
            // labelControl6
            // 
            this.labelControl6.Location = new System.Drawing.Point(5, 28);
            this.labelControl6.Name = "labelControl6";
            this.labelControl6.Size = new System.Drawing.Size(85, 13);
            this.labelControl6.TabIndex = 0;
            this.labelControl6.Text = "IBET Fixed Stake:";
            // 
            // groupControl6
            // 
            this.groupControl6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.groupControl6.Controls.Add(this.chkListAllowedMatch);
            this.groupControl6.Location = new System.Drawing.Point(827, 3);
            this.groupControl6.Name = "groupControl6";
            this.groupControl6.Size = new System.Drawing.Size(293, 243);
            this.groupControl6.TabIndex = 19;
            this.groupControl6.Text = "Allowed Betting Matches";
            // 
            // chkListAllowedMatch
            // 
            this.chkListAllowedMatch.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.chkListAllowedMatch.CheckOnClick = true;
            this.chkListAllowedMatch.HighlightedItemStyle = DevExpress.XtraEditors.HighlightStyle.Skinned;
            this.chkListAllowedMatch.ItemHeight = 16;
            this.chkListAllowedMatch.Location = new System.Drawing.Point(5, 25);
            this.chkListAllowedMatch.Name = "chkListAllowedMatch";
            this.chkListAllowedMatch.Size = new System.Drawing.Size(283, 213);
            this.chkListAllowedMatch.TabIndex = 20;
            // 
            // xtraTabPage5
            // 
            this.xtraTabPage5.Controls.Add(this.grdTransaction);
            this.xtraTabPage5.Name = "xtraTabPage5";
            this.xtraTabPage5.Size = new System.Drawing.Size(1124, 249);
            this.xtraTabPage5.Text = "Live Transaction";
            // 
            // grdTransaction
            // 
            this.grdTransaction.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdTransaction.Location = new System.Drawing.Point(0, 0);
            this.grdTransaction.MainView = this.gridView2;
            this.grdTransaction.Name = "grdTransaction";
            this.grdTransaction.Size = new System.Drawing.Size(1124, 249);
            this.grdTransaction.TabIndex = 3;
            this.grdTransaction.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gridView2});
            // 
            // gridView2
            // 
            this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn1,
            this.gridColumn2,
            this.gridColumn3,
            this.gridColumn6,
            this.gridColumn4,
            this.gridColumn5,
            this.gridColumn7,
            this.gridColumn8,
            this.gridColumn9,
            this.gridColumn10,
            this.gridColumn11,
            this.gridColumn12,
            this.gridColumn20,
            this.gridColumn13});
            this.gridView2.GridControl = this.grdTransaction;
            this.gridView2.Name = "gridView2";
            this.gridView2.OptionsBehavior.Editable = false;
            this.gridView2.OptionsCustomization.AllowGroup = false;
            this.gridView2.OptionsView.AutoCalcPreviewLineCount = true;
            this.gridView2.OptionsView.ShowAutoFilterRow = true;
            this.gridView2.OptionsView.ShowFooter = true;
            this.gridView2.OptionsView.ShowGroupPanel = false;
            this.gridView2.OptionsView.ShowPreview = true;
            this.gridView2.PreviewFieldName = "Note";
            this.gridView2.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
            new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn13, DevExpress.Data.ColumnSortOrder.Descending)});
            // 
            // gridColumn1
            // 
            this.gridColumn1.Caption = "ID";
            this.gridColumn1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.gridColumn1.FieldName = "ID";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.OptionsColumn.FixedWidth = true;
            this.gridColumn1.UnboundType = DevExpress.Data.UnboundColumnType.Integer;
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn1.Width = 50;
            // 
            // gridColumn2
            // 
            this.gridColumn2.Caption = "Home Team";
            this.gridColumn2.FieldName = "HomeTeamName";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 1;
            this.gridColumn2.Width = 20;
            // 
            // gridColumn3
            // 
            this.gridColumn3.Caption = "Away Team";
            this.gridColumn3.FieldName = "AwayTeamName";
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 2;
            this.gridColumn3.Width = 20;
            // 
            // gridColumn6
            // 
            this.gridColumn6.Caption = "Type";
            this.gridColumn6.FieldName = "OddType";
            this.gridColumn6.Name = "gridColumn6";
            this.gridColumn6.OptionsColumn.FixedWidth = true;
            this.gridColumn6.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn6.Visible = true;
            this.gridColumn6.VisibleIndex = 3;
            this.gridColumn6.Width = 180;
            // 
            // gridColumn4
            // 
            this.gridColumn4.Caption = "Odd";
            this.gridColumn4.FieldName = "OddKindValue";
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.OptionsColumn.FixedWidth = true;
            this.gridColumn4.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 4;
            // 
            // gridColumn5
            // 
            this.gridColumn5.Caption = "Value";
            this.gridColumn5.FieldName = "OddValue";
            this.gridColumn5.Name = "gridColumn5";
            this.gridColumn5.OptionsColumn.FixedWidth = true;
            this.gridColumn5.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn5.Visible = true;
            this.gridColumn5.VisibleIndex = 5;
            this.gridColumn5.Width = 80;
            // 
            // gridColumn7
            // 
            this.gridColumn7.Caption = "Stake";
            this.gridColumn7.FieldName = "Stake";
            this.gridColumn7.Name = "gridColumn7";
            this.gridColumn7.OptionsColumn.FixedWidth = true;
            this.gridColumn7.UnboundType = DevExpress.Data.UnboundColumnType.String;
            this.gridColumn7.Visible = true;
            this.gridColumn7.VisibleIndex = 6;
            this.gridColumn7.Width = 100;
            // 
            // gridColumn8
            // 
            this.gridColumn8.Caption = "I Allow";
            this.gridColumn8.FieldName = "IBETAllow";
            this.gridColumn8.Name = "gridColumn8";
            this.gridColumn8.OptionsColumn.FixedWidth = true;
            this.gridColumn8.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn8.Visible = true;
            this.gridColumn8.VisibleIndex = 7;
            this.gridColumn8.Width = 50;
            // 
            // gridColumn9
            // 
            this.gridColumn9.Caption = "B Allow";
            this.gridColumn9.FieldName = "SBOBETAllow";
            this.gridColumn9.Name = "gridColumn9";
            this.gridColumn9.OptionsColumn.FixedWidth = true;
            this.gridColumn9.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn9.Visible = true;
            this.gridColumn9.VisibleIndex = 8;
            this.gridColumn9.Width = 50;
            // 
            // gridColumn10
            // 
            this.gridColumn10.Caption = "I Trade";
            this.gridColumn10.FieldName = "IBETTrade";
            this.gridColumn10.Name = "gridColumn10";
            this.gridColumn10.OptionsColumn.FixedWidth = true;
            this.gridColumn10.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn10.Visible = true;
            this.gridColumn10.VisibleIndex = 9;
            this.gridColumn10.Width = 50;
            // 
            // gridColumn11
            // 
            this.gridColumn11.Caption = "B Trade";
            this.gridColumn11.FieldName = "SBOBETTrade";
            this.gridColumn11.Name = "gridColumn11";
            this.gridColumn11.OptionsColumn.FixedWidth = true;
            this.gridColumn11.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn11.Visible = true;
            this.gridColumn11.VisibleIndex = 10;
            this.gridColumn11.Width = 50;
            // 
            // gridColumn12
            // 
            this.gridColumn12.Caption = "B Retrade";
            this.gridColumn12.FieldName = "SBOBETReTrade";
            this.gridColumn12.Name = "gridColumn12";
            this.gridColumn12.OptionsColumn.FixedWidth = true;
            this.gridColumn12.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn12.Visible = true;
            this.gridColumn12.VisibleIndex = 11;
            this.gridColumn12.Width = 50;
            // 
            // gridColumn20
            // 
            this.gridColumn20.Caption = "I Retrade";
            this.gridColumn20.FieldName = "IBETReTrade";
            this.gridColumn20.Name = "gridColumn20";
            this.gridColumn20.OptionsColumn.FixedWidth = true;
            this.gridColumn20.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
            this.gridColumn20.Visible = true;
            this.gridColumn20.VisibleIndex = 12;
            this.gridColumn20.Width = 50;
            // 
            // gridColumn13
            // 
            this.gridColumn13.Caption = "DateTime";
            this.gridColumn13.DisplayFormat.FormatString = "dd/MM/yyyy hh:mm:ss";
            this.gridColumn13.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.gridColumn13.FieldName = "DateTime";
            this.gridColumn13.Name = "gridColumn13";
            this.gridColumn13.OptionsColumn.FixedWidth = true;
            this.gridColumn13.SortMode = DevExpress.XtraGrid.ColumnSortMode.Value;
            this.gridColumn13.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
            new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count)});
            this.gridColumn13.UnboundType = DevExpress.Data.UnboundColumnType.DateTime;
            this.gridColumn13.Visible = true;
            this.gridColumn13.VisibleIndex = 13;
            this.gridColumn13.Width = 130;
            // 
            // panelControl5
            // 
            this.panelControl5.Location = new System.Drawing.Point(0, 0);
            this.panelControl5.Name = "panelControl5";
            this.panelControl5.Size = new System.Drawing.Size(200, 100);
            this.panelControl5.TabIndex = 0;
            // 
            // panelControl4
            // 
            this.panelControl4.Location = new System.Drawing.Point(0, 0);
            this.panelControl4.Name = "panelControl4";
            this.panelControl4.Size = new System.Drawing.Size(200, 100);
            this.panelControl4.TabIndex = 0;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(2, 9);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(50, 13);
            this.label1.TabIndex = 9;
            this.label1.Text = "Address:";
            // 
            // xtraTabPage2
            // 
            this.xtraTabPage2.Name = "xtraTabPage2";
            this.xtraTabPage2.Size = new System.Drawing.Size(0, 0);
            // 
            // panelControl3
            // 
            this.panelControl3.Location = new System.Drawing.Point(0, 0);
            this.panelControl3.Name = "panelControl3";
            this.panelControl3.Size = new System.Drawing.Size(200, 100);
            this.panelControl3.TabIndex = 0;
            // 
            // panelControl2
            // 
            this.panelControl2.Location = new System.Drawing.Point(0, 0);
            this.panelControl2.Name = "panelControl2";
            this.panelControl2.Size = new System.Drawing.Size(200, 100);
            this.panelControl2.TabIndex = 0;
            // 
            // labelControl1
            // 
            this.labelControl1.Location = new System.Drawing.Point(0, 0);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(75, 14);
            this.labelControl1.TabIndex = 0;
            // 
            // labelControl5
            // 
            this.labelControl5.Location = new System.Drawing.Point(5, 9);
            this.labelControl5.Name = "labelControl5";
            this.labelControl5.Size = new System.Drawing.Size(43, 13);
            this.labelControl5.TabIndex = 6;
            this.labelControl5.Text = "Address:";
            // 
            // panelControl9
            // 
            this.panelControl9.Location = new System.Drawing.Point(0, 0);
            this.panelControl9.Name = "panelControl9";
            this.panelControl9.Size = new System.Drawing.Size(200, 100);
            this.panelControl9.TabIndex = 0;
            // 
            // panelControl10
            // 
            this.panelControl10.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.panelControl10.Controls.Add(this.btnIBETGO2);
            this.panelControl10.Controls.Add(this.txtIBETAddress2);
            this.panelControl10.Controls.Add(this.labelControl5);
            this.panelControl10.Location = new System.Drawing.Point(3, 3);
            this.panelControl10.Name = "panelControl10";
            this.panelControl10.Size = new System.Drawing.Size(987, 29);
            this.panelControl10.TabIndex = 2;
            // 
            // btnIBETGO2
            // 
            this.btnIBETGO2.Location = new System.Drawing.Point(0, 0);
            this.btnIBETGO2.Name = "btnIBETGO2";
            this.btnIBETGO2.Size = new System.Drawing.Size(75, 23);
            this.btnIBETGO2.TabIndex = 0;
            // 
            // txtIBETAddress2
            // 
            this.txtIBETAddress2.Location = new System.Drawing.Point(0, 0);
            this.txtIBETAddress2.Name = "txtIBETAddress2";
            this.txtIBETAddress2.Size = new System.Drawing.Size(100, 20);
            this.txtIBETAddress2.TabIndex = 1;
            // 
            // xtraTabPage9
            // 
            this.xtraTabPage9.Controls.Add(this.panelControl9);
            this.xtraTabPage9.Controls.Add(this.panelControl10);
            this.xtraTabPage9.Name = "xtraTabPage9";
            this.xtraTabPage9.Size = new System.Drawing.Size(993, 276);
            this.xtraTabPage9.Text = "ibet Test";
            // 
            // TerminalFormIBETSBO
            // 
            this.ClientSize = new System.Drawing.Size(1130, 678);
            this.Controls.Add(this.splitContainerControl1);
            this.Controls.Add(this.ribbonControl1);
            this.Icon = global::iBet.App.Properties.Resources._2;
            this.Name = "TerminalFormIBETSBO";
            this.Ribbon = this.ribbonControl1;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "IBET vs SBOBET";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TerminalFormIBETSBO_FormClosing);
            ((System.ComponentModel.ISupportInitialize)(this.pmNew)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pmNewR)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
            this.splitContainerControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.xtraTabPageMatches.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.grdSameMatch)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            this.xtraTabPageBetList1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.girdBetList1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl2)).EndInit();
            this.xtraTabControl2.ResumeLayout(false);
            this.xtraTabPage4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
            this.groupControl2.ResumeLayout(false);
            this.groupControl2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit18.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit17.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit4.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit3.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit2.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.spinEdit1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtTransactionTimeSpan.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtMaxTimePerHalf.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chbAllowHalftime.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
            this.groupControl1.ResumeLayout(false);
            this.groupControl1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit15.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit14.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit13.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETUpdateInterval.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETUpdateInterval.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).EndInit();
            this.groupControl5.ResumeLayout(false);
            this.groupControl5.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.chbHighRevenueBoost.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtAddValue.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtLowestOddValue.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtOddValueDifferenet.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit6.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit5.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit7.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit12.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit11.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit10.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit9.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit8.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit4.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.checkEdit3.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).EndInit();
            this.groupControl4.ResumeLayout(false);
            this.groupControl4.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtSBOBETFixedStake.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtStake.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.chbRandomStake.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETFixedStake.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).EndInit();
            this.groupControl6.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.chkListAllowedMatch)).EndInit();
            this.xtraTabPage5.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.grdTransaction)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl10)).EndInit();
            this.panelControl10.ResumeLayout(false);
            this.panelControl10.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtIBETAddress2.Properties)).EndInit();
            this.xtraTabPage9.ResumeLayout(false);
            this.ResumeLayout(false);

        }
 private Control CreateValueControl(string pluginName, object value)
 {
     switch (_type)
     {
         case PropertyTypeEnum.Image:
             PictureEdit peValue = new PictureEdit();
             peValue.Properties.ShowMenu = false;
             peValue.Tag = new PluginResult() { PluginName = pluginName, Value = value };
             peValue.Image = Utilities.ReadImageFromFile(value.ToString());
             if (peValue.Image == null)
             {
                 return null;
             }
             peValue.ToolTip = String.Format("{0}x{1}", peValue.Image.Width, peValue.Image.Height);
             peValue.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom;
             peValue.Height = 200;
             peValue.Dock = DockStyle.Fill;
             peValue.DoubleClick += new EventHandler(data_DoubleClick);
             return peValue;
         case PropertyTypeEnum.Number:
         case PropertyTypeEnum.Date:
         case PropertyTypeEnum.String:
             if (value.ToString().Length > 20)
             {
                 MemoEdit txtValue = new MemoEdit();
                 txtValue.Text = value.ToString();
                 txtValue.Dock = DockStyle.Fill;
                 txtValue.Tag = new PluginResult() { PluginName = pluginName, Value = value };
                 txtValue.DoubleClick += new EventHandler(data_DoubleClick);
                 return txtValue;
             }
             else
             {
                 LabelControl lblValue = new LabelControl();
                 lblValue.Text = value.ToString();
                 lblValue.Tag = new PluginResult() { PluginName = pluginName, Value = value };
                 lblValue.Dock = DockStyle.Fill;
                 lblValue.DoubleClick += new EventHandler(data_DoubleClick);
                 return lblValue;
             }
         case PropertyTypeEnum.List:
             MemoEdit txtList = new MemoEdit();
             foreach (object item in (IEnumerable)value)
             {
                 txtList.Text += item.ToString() + Environment.NewLine;
             }
             txtList.Dock = DockStyle.Fill;
             txtList.Tag = new PluginResult() { PluginName = pluginName, Value = value };
             txtList.DoubleClick += new EventHandler(data_DoubleClick);
             return txtList;
             break;
         default:
             return null;
     }
 }
        /// <summary>
        /// 创建自定义控件
        /// </summary>
        public void CreateDynamicControl()
        {
            if (DynamicMasterTableData.Select("bSystemColumn=0").Length > 0)
            {
                pnlDynamic.Visible = true;

                //每行控件数
                int iControlColumn = Convert.ToInt32(DynamicMasterTableData.Rows[0]["iControlColumn"]);
                //控件间距
                int iControlSpace = Convert.ToInt32(DynamicMasterTableData.Rows[0]["iControlSpace"]);
                //先计算需要生成控件的数据,去除如果在自定义字段权限设置中设置为不可见的数据
                List<DataRow> drs = DynamicMasterTableData.Select("bSystemColumn=0 AND bShowInPanel=1").ToList();

                if (!SecurityCenter.IsAdmin && FormFieldSetting.Rows.Count > 0)
                {
                    for (int i = 0; i < drs.Count; i++)
                    {
                        //取只有是主表/单表的数据
                        foreach (DataRow drField in FormFieldSetting.Select("sTableName='" + MasterTableName + "'"))
                        {
                            if (drs[i]["sFieldName"].ToString() == drField["sFieldName"].ToString() &&
                                !Convert.ToBoolean(drField["bVisiable"]))
                            {
                                drs.Remove(drs[i]);
                            }
                        }
                    }
                }

                //计算控件总共行数
                int iRows = 0;
                if (drs.Count > 0)
                {
                    if (drs.Count % iControlColumn != 0)
                    {
                        iRows = (int)Math.Floor(Convert.ToDecimal(drs.Count / iControlColumn)) + 1;
                    }
                    else
                    {
                        iRows = Convert.ToInt32(drs.Count / iControlColumn);
                    }
                    //设置控件数计数
                    int iControl = 0;
                    for (int j = 0; j < iRows; j++)
                    {
                        for (int i = 0; i < iControlColumn; i++)
                        {
                            //控件类型
                            string sControlType = drs[iControl]["sControlType"].ToString();
                            //创建控件
                            //Lable大小控制为80X21,其他输入控件大小为120X21
                            Label lblControl = new Label();
                            lblControl.AutoSize = false;
                            lblControl.Size = new Size(80, 21);
                            lblControl.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i, ControlY + (21 + 10) * j);
                            //控件命名规则:lbl+字段名
                            lblControl.Name = "lbl" + drs[iControl]["sFieldName"].ToString();
                            lblControl.TextAlign = ContentAlignment.BottomLeft;
                            //当控件类型为复选框\单选\Label标签时不创建Lable控件
                            if (sControlType != "chk" && sControlType != "rad" && sControlType != "lbl")
                            {
                                lblControl.Text = LangCenter.Instance.IsDefaultLanguage ? drs[iControl]["sCaption"].ToString() : drs[iControl]["sCaption"].ToString();
                            }
                            else
                                lblControl.Visible = false;
                            pnlDynamic.Controls.Add(lblControl);
                            switch (sControlType)
                            {
                                case "txt":
                                    {
                                        TextEdit txt = new TextEdit();
                                        txt.Size = new Size(120, 21);
                                        txt.Name = "txt" + drs[iControl]["sFieldName"].ToString();
                                        txt.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        pnlDynamic.Controls.Add(txt);
                                        break;
                                    }
                                case "mtxt":
                                    {
                                        MemoEdit mtxt = new MemoEdit();
                                        mtxt.Size = new Size(120, 21);
                                        mtxt.Name = "mtxt" + drs[iControl]["sFieldName"].ToString();
                                        mtxt.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        pnlDynamic.Controls.Add(mtxt);
                                        break;
                                    }
                                case "btxt":
                                    {
                                        MemoExEdit btxt = new MemoExEdit();
                                        btxt.Size = new Size(120, 21);
                                        btxt.Name = "btxt" + drs[iControl]["sFieldName"].ToString();
                                        btxt.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        pnlDynamic.Controls.Add(btxt);
                                        break;
                                    }
                                case "cbx":
                                    {
                                        ImageComboBoxEdit cbx = new ImageComboBoxEdit();
                                        cbx.Size = new Size(120, 21);
                                        cbx.Name = "cbx" + drs[iControl]["sFieldName"].ToString();
                                        cbx.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        pnlDynamic.Controls.Add(cbx);
                                        break;
                                    }
                                case "chk":
                                    {
                                        CheckEdit chk = new CheckEdit();
                                        chk.Size = new Size(120, 21);
                                        chk.Name = "chk" + drs[iControl]["sFieldName"].ToString();
                                        chk.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        chk.CheckState = CheckState.Unchecked;
                                        chk.Text = LangCenter.Instance.IsDefaultLanguage ? drs[iControl]["sCaption"].ToString() : drs[iControl]["sEngCaption"].ToString();
                                        pnlDynamic.Controls.Add(chk);
                                        break;
                                    }
                                case "det":
                                    {
                                        DateEdit det = new DateEdit();
                                        det.Size = new Size(120, 21);
                                        det.Name = "det" + drs[iControl]["sFieldName"].ToString();
                                        det.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        det.EditValue = null;
                                        pnlDynamic.Controls.Add(det);
                                        break;
                                    }
                                case "dett":
                                    {
                                        DateEdit dett = new DateEdit();
                                        dett.Size = new Size(120, 21);
                                        dett.Name = "dett" + drs[iControl]["sFieldName"].ToString();
                                        dett.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        dett.EditValue = null;
                                        dett.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
                                        dett.Properties.DisplayFormat.FormatString = "g";
                                        dett.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
                                        dett.Properties.EditFormat.FormatString = "g";
                                        dett.Properties.EditMask = "g";
                                        pnlDynamic.Controls.Add(dett);
                                        break;
                                    }
                                case "img":
                                    {
                                        ImageEdit img = new ImageEdit();
                                        img.Size = new Size(120, 21);
                                        img.Name = "img" + drs[iControl]["sFieldName"].ToString();
                                        img.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        pnlDynamic.Controls.Add(img);
                                        break;
                                    }
                                case "lbl":
                                    {
                                        LabelControl lbl = new LabelControl();
                                        lbl.Size = new Size(120, 21);
                                        lbl.Name = "lbl" + drs[iControl]["sFieldName"].ToString() + iControl.ToString();
                                        lbl.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        lbl.Text = LangCenter.Instance.IsDefaultLanguage ? drs[iControl]["sCaption"].ToString() : drs[iControl]["sEngCaption"].ToString();
                                        pnlDynamic.Controls.Add(lbl);
                                        break;
                                    }
                                case "lkp":
                                    {
                                        SunriseLookUp lkp = new SunriseLookUp();
                                        lkp.Size = new Size(120, 21);
                                        lkp.Name = "lkp" + drs[iControl]["sFieldName"].ToString();
                                        lkp.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        pnlDynamic.Controls.Add(lkp);
                                        break;
                                    }
                                case "mlkp":
                                    {
                                        SunriseMLookUp mlkp = new SunriseMLookUp();
                                        mlkp.Size = new Size(120, 21);
                                        mlkp.Name = "mlkp" + drs[iControl]["sFieldName"].ToString();
                                        mlkp.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        pnlDynamic.Controls.Add(mlkp);
                                        break;
                                    }
                                case "rad":
                                    {
                                        RadioGroup rad = new RadioGroup();
                                        rad.Size = new Size(120, 21);
                                        rad.Name = "rad" + drs[iControl]["sFieldName"].ToString();
                                        rad.Location = new Point(ControlX + (80 + 120 + iControlSpace) * i + 80, ControlY + 4 + (21 + 10) * j);
                                        pnlDynamic.Controls.Add(rad);
                                        break;
                                    }
                            }
                            iControl++;
                            //当计数大于等于要创建的控件数量时则退出循环
                            if (iControl >= drs.Count)
                                break;
                        }
                    }
                }
                pnlDynamic.Height = ControlY + iRows * 31;
            }
            //初始化数据绑定
            InitDataBindings();
        }
Example #50
0
        /// <summary>
        /// Bind dynamic controls inside layout control
        /// </summary>
        public void BindControls()
        {
            #region Initialize
            if (Questionnaire == null)
                MessageBox.Show("Questionnaire must be bind with JSON first.", "Seminar Component");
            var answerOpt = Questionnaire.Form.Settings.AnswerOptions[0] as ISeminar;
            if (SeminarScheduleDataSource == null) {
                if (answerOpt != null) {
                    if (answerOpt.SeminarSchedule != null && answerOpt.SeminarSchedule.ScheduleValues.Count > 0)
                        SeminarScheduleDataSource = answerOpt.SeminarSchedule.ScheduleValues;
                    else {
                        MessageBox.Show("\"SeminarScheduleDataSource\" property must be set first.", "Seminar Component");
                        return;
                    }
                } else {
                    MessageBox.Show("\"SeminarScheduleDataSource\" property must be set first.", "Seminar Component");
                    return;
                }

            }
            #endregion

            this.layoutControlGroupQuestion1.Clear();
            Settings oSettings = Questionnaire.Form.Settings;

            // layoutControlGroupQuestion1
            this.layoutControlGroupQuestion1.Name = "layoutControlGroupQuestion" + Guid.NewGuid().ToString();
            this.layoutControlGroupQuestion1.AppearanceGroup.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            this.layoutControlGroupQuestion1.AppearanceGroup.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
            this.layoutControlGroupQuestion1.AppearanceGroup.Options.UseFont = true;
            this.layoutControlGroupQuestion1.ExpandButtonVisible = true;
            //this.layoutControlGroupQuestion1.Location = new System.Drawing.Point(0, 0);
            this.layoutControlGroupQuestion1.Padding = new DevExpress.XtraLayout.Utils.Padding(10, 10, 10, 10);
            this.layoutControlGroupQuestion1.ShowInCustomizationForm = false;
            this.layoutControlGroupQuestion1.Text = oSettings.Label + " " + oSettings.QuestionText;
            this.layoutControlGroupQuestion1.BeginUpdate();

            IList<AnswerOption> answeroptionList = Questionnaire.Form.Settings.AnswerOptions;
            ISeminar answeroption = null;
            int iAnswerOptions = answeroptionList.Count;
            System.Drawing.Size newSize;
            int selectedIndex = 0;
            int idx = 0;
            for (int x = 0; x < iAnswerOptions; ++x) {
                answeroption = answeroptionList[x] as ISeminar;

                #region Seminar List
                // layoutControlItem1
                this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
                //lookUpEdit1
                this.lookUpEdit1 = new LookUpEdit();
                this.lookUpEdit1.Name = "lookUpEdit" + Guid.NewGuid().ToString();
                this.lookUpEdit1.Properties.NullText = "";
                this.lookUpEdit1.Properties.DisplayMember = "Name";
                this.lookUpEdit1.Properties.ValueMember = "Id";
                this.lookUpEdit1.Properties.Columns.Add(new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Seminars"));
                this.lookUpEdit1.Properties.ShowFooter = false;
                this.lookUpEdit1.Properties.ShowHeader = false;
                this.lookUpEdit1.ItemIndex = -1;
                this.lookUpEdit1.Tag = new SeminarData() {
                    PositionIndex = "IndexPosition" + x,
                    ControlContainer = layoutControlItem1
                };
                this.lookUpEdit1.Size = new System.Drawing.Size(155, 20);
                this.lookUpEdit1.StyleController = this.StyleController;
                this.lookUpEdit1.EditValueChanged += new EventHandler(lookUpEdit1_SelectedIndexChanged);
                this.lookUpEdit1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.lookUpEdit1.Properties.DataSource = SeminarScheduleDataSource;

                if (answeroption.SeminarSchedule != null && !string.IsNullOrEmpty(answeroption.SeminarSchedule.SelectedValue)) {
                    this.lookUpEdit1.EditValue = answeroption.SeminarSchedule.SelectedValue;
                } else {
                    selectedIndex = -1;
                }
                this.lookUpEdit1.ItemIndex = selectedIndex;

                // layoutControlItem1
                this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.layoutControlItem1.Control = this.lookUpEdit1;
                int hgt = 28;
                if (answeroption.SeminarSchedule != null && !string.IsNullOrEmpty(answeroption.SeminarSchedule.TextPrefix)) {
                    this.layoutControlItem1.Text = answeroption.SeminarSchedule.TextPrefix;
                    hgt += 20;
                } else {
                    this.layoutControlItem1.TextVisible = false;
                }
                this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Top;
                this.layoutControlItem1.TextSize = new System.Drawing.Size(108, 13);
                this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.layoutControlItem1.MaxSize = new System.Drawing.Size(0, hgt);
                this.layoutControlItem1.MinSize = new System.Drawing.Size(0, hgt);
                this.layoutControlItem1.Size = new System.Drawing.Size(50, 28);
                this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1);

                #endregion

                #region Customer Attendies
                //create our gridcontrol
                //
                // gridColumn1
                //
                this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn1.Caption = "Attending";
                this.gridColumn1.ColumnEdit = this.repositoryItemCheckEdit1;
                this.gridColumn1.FieldName = "Attending";
                this.gridColumn1.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn1.Visible = true;
                this.gridColumn1.VisibleIndex = 0;
                this.gridColumn1.Width = 57;
                //
                // repositoryItemCheckEdit1
                //
                this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
                this.repositoryItemCheckEdit1.AutoHeight = false;
                this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit" + Guid.NewGuid().ToString();
                //
                // gridColumn2
                //
                this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn2.Caption = "Name";
                this.gridColumn2.FieldName = "Name";
                this.gridColumn2.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn2.Visible = true;
                this.gridColumn2.OptionsColumn.AllowEdit = false;
                this.gridColumn2.VisibleIndex = 1;
                this.gridColumn2.Width = 66;
                //
                // gridColumn3
                //
                this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn3.Caption = "Address";
                this.gridColumn3.FieldName = "Address";
                this.gridColumn3.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn3.Visible = true;
                this.gridColumn3.OptionsColumn.AllowEdit = false;
                this.gridColumn3.VisibleIndex = 2;
                this.gridColumn3.Width = 66;
                //
                // gridColumn4
                //
                this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn4.Caption = "City";
                this.gridColumn4.FieldName = "City";
                this.gridColumn4.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn4.Visible = true;
                this.gridColumn4.OptionsColumn.AllowEdit = false;
                this.gridColumn4.VisibleIndex = 3;
                this.gridColumn4.Width = 66;
                //
                // gridColumn5
                //
                this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn5.Caption = "Telephone";
                this.gridColumn5.FieldName = "Telephone";
                this.gridColumn5.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn5.Visible = true;
                this.gridColumn5.OptionsColumn.AllowEdit = false;
                this.gridColumn5.VisibleIndex = 4;
                this.gridColumn5.Width = 66;
                //
                // gridColumn6
                //
                this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn6.Caption = "Email";
                this.gridColumn6.FieldName = "Email";
                this.gridColumn6.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn6.Visible = true;
                this.gridColumn6.OptionsColumn.AllowEdit = false;
                this.gridColumn6.VisibleIndex = 5;
                this.gridColumn6.Width = 70;

                //
                // gridColumn7
                //
                this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn7.Caption = "AccountID";
                this.gridColumn7.FieldName = "AccountID";
                this.gridColumn7.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn7.Visible = false;
                //
                // gridColumn8
                //
                this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
                this.gridColumn8.Caption = "ContactID";
                this.gridColumn8.FieldName = "ContactID";
                this.gridColumn8.Name = "gridColumn" + Guid.NewGuid().ToString();
                this.gridColumn8.Visible = false;

                //
                // gridView1
                //
                this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
                this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
                this.gridColumn1,
                this.gridColumn2,
                this.gridColumn3,
                this.gridColumn4,
                this.gridColumn5,
                this.gridColumn6,
                this.gridColumn7,
                this.gridColumn8});
                this.gridView1.GridControl = this.gridControl1;
                this.gridView1.Name = "gridView" + Guid.NewGuid().ToString();
                this.gridView1.OptionsFind.AlwaysVisible = true;
                this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
                this.gridView1.OptionsView.ShowGroupPanel = false;
                this.gridView1.OptionsView.ColumnAutoWidth = false;
                this.gridView1.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(gridView1_CellValueChanging);
                //
                // gridControl1
                //
                this.gridControl1 = new DevExpress.XtraGrid.GridControl();
                this.gridControl1.LookAndFeel.UseDefaultLookAndFeel = false;
                this.gridControl1.MainView = this.gridView1;
                this.gridControl1.Name = "gridControl" + Guid.NewGuid().ToString();
                this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
                this.repositoryItemCheckEdit1});
                this.gridControl1.Size = new System.Drawing.Size(412, 74);
                this.gridControl1.TabIndex = 11;
                this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
                this.gridView1});
                BindAttendiesDatasource();
                //
                // layoutControlItem2
                //
                this.layoutControlItem2 = new LayoutControlItem();
                this.layoutControlItem2.Control = this.gridControl1;
                this.layoutControlItem2.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.layoutControlItem2.Text = answeroption.AttendiesLabel;
                this.layoutControlItem2.TextLocation = DevExpress.Utils.Locations.Top;
                this.layoutControlItem2.TextSize = new System.Drawing.Size(108, 13);
                this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.layoutControlItem2.MaxSize = new System.Drawing.Size(0, 200);
                this.layoutControlItem2.MinSize = new System.Drawing.Size(0, 200);
                this.layoutControlItem2.Size = new System.Drawing.Size(200, 200);
                this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem2);
                //
                // simpleButton1
                //
                this.simpleButton1 = new SimpleButton();
                this.simpleButton1.Name = "simpleButton" + Guid.NewGuid().ToString();
                this.simpleButton1.Size = new System.Drawing.Size(130, 22);
                this.simpleButton1.StyleController = this.StyleController;
                this.simpleButton1.Text = answeroption.AddContactButtonLabel;
                this.simpleButton1.Click += new EventHandler(simpleButton1_Click);

                // layoutControlItem2
                this.layoutControlItem2 = new LayoutControlItem();
                this.layoutControlItem2.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.layoutControlItem2.Control = this.simpleButton1;
                this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.layoutControlItem2.MaxSize = new System.Drawing.Size(150, 24);
                this.layoutControlItem2.MinSize = new System.Drawing.Size(80, 24);
                this.layoutControlItem2.Size = new System.Drawing.Size(80, 24);
                this.layoutControlItem2.TextVisible = false;
                this.layoutControlItem2.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem2);

                //
                // simpleButton1
                //
                this.simpleButton1 = new SimpleButton();
                this.simpleButton1.Name = "simpleButton" + Guid.NewGuid().ToString();
                this.simpleButton1.Size = new System.Drawing.Size(130, 22);
                this.simpleButton1.StyleController = this.StyleController;
                this.simpleButton1.Text = "Refresh";
                this.simpleButton1.Click += new EventHandler(simpleButton1Refresh_Click);

                // layoutControlItem1
                this.layoutControlItem1 = new LayoutControlItem();
                this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                this.layoutControlItem1.Control = this.simpleButton1;
                this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.layoutControlItem1.MaxSize = new System.Drawing.Size(80, 24);
                this.layoutControlItem1.MinSize = new System.Drawing.Size(80, 24);
                this.layoutControlItem1.Size = new System.Drawing.Size(80, 24);
                this.layoutControlItem1.TextVisible = false;
                this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1, this.layoutControlItem2, DevExpress.XtraLayout.Utils.InsertType.Right);

                // emptySpaceItem1
                this.emptySpaceItem1 = new EmptySpaceItem();
                this.emptySpaceItem1.Name = "emptySpaceItem" + Guid.NewGuid().ToString();
                this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
                this.emptySpaceItem1.MaxSize = new System.Drawing.Size(0, 20);
                this.emptySpaceItem1.MinSize = new System.Drawing.Size(0, 20);
                this.emptySpaceItem1.Size = new System.Drawing.Size(200, 20);
                this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
                this.emptySpaceItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.layoutControlGroupQuestion1.AddItem(this.emptySpaceItem1, this.layoutControlItem1, DevExpress.XtraLayout.Utils.InsertType.Right);
                #endregion

                #region Other Choices
                idx = 0;

                EmptySpaceItem esitem = new EmptySpaceItem();
                esitem.Size = new Size(100, 20);
                this.layoutControlGroupQuestion1.AddItem(esitem);
                foreach (OtherChoice oChoice in answeroption.OtherChoices) {
                    if (oChoice.Enabled) {
                        if (!string.IsNullOrEmpty(oChoice.TextPrefix)) {
                            // simpleLabelItem1
                            this.simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem();

                            this.simpleLabelItem1.Name = "simpleLabelItem" + Guid.NewGuid().ToString();
                            //this.simpleLabelItem1.ShowInCustomizationForm = false;
                            //this.simpleLabelItem1.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
                            this.simpleLabelItem1.Text = oChoice.TextPrefix;
                            //newSize = new System.Drawing.Size(100, 20);
                            newSize = new System.Drawing.Size(20, 20);
                            this.simpleLabelItem1.SizeConstraintsType = SizeConstraintsType.Custom;
                            this.simpleLabelItem1.MaxSize = new Size(0, 0);
                            this.simpleLabelItem1.MinSize = newSize;
                            this.simpleLabelItem1.Size = newSize;
                            this.simpleLabelItem1.AppearanceItemCaption.BackColor = System.Drawing.Color.Transparent;
                            this.simpleLabelItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                            this.layoutControlGroupQuestion1.AddItem(this.simpleLabelItem1);
                        } else {
                            this.simpleLabelItem1 = null;
                        }
                        // layoutControlItem1
                        this.layoutControlItem1 = new LayoutControlItem();
                        //add textEdit1 to layout
                        this.memoEdit1 = new MemoEdit();
                        this.memoEdit1.Tag = new SeminarData() {
                            ParentPositionIndex = "IndexPosition" + x.ToString(),
                            PositionIndex = "IndexPosition" + idx.ToString(),
                            ControlContainer = layoutControlItem1
                        };
                        this.memoEdit1.Name = "textEdit" + Guid.NewGuid().ToString();
                        this.memoEdit1.Properties.ScrollBars = System.Windows.Forms.ScrollBars.None;
                        this.memoEdit1.StyleController = this.StyleController;

                        memoEdit1.TextChanged += new EventHandler(memoEdit1_TextChanged);
                        memoEdit1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                        if (string.IsNullOrEmpty(oChoice.InputValue)) {
                            if (!string.IsNullOrEmpty(oChoice.DefaultInputValue)) {
                                this.memoEdit1.Text = oChoice.DefaultInputValue.Trim();
                                memoEdit1_TextChanged(this.memoEdit1, null);
                            }
                        } else {
                            this.memoEdit1.Text = oChoice.InputValue.Trim();
                            memoEdit1_TextChanged(this.memoEdit1, null);
                        }
                        this.layoutControlItem1.Name = "layoutControlItem" + Guid.NewGuid().ToString();
                        this.layoutControlItem1.Control = this.memoEdit1;
                        //int width = 0, height = 100;
                        //if (!string.IsNullOrEmpty(oChoice.TextboxMaxWidth)) {
                        //    int.TryParse(oChoice.TextboxMaxWidth, out width);
                        //}
                        //if (!string.IsNullOrEmpty(oChoice.TextboxMaxHeight)) {
                        //    int.TryParse(oChoice.TextboxMaxHeight, out height);
                        //}

                        //newSize = new System.Drawing.Size(width, height);
                        //this.layoutControlItem1.Size = new Size(200, 50);
                        //this.layoutControlItem1.MaxSize = new Size(400, 50);
                        //this.layoutControlItem1.MinSize = new Size(300, 50);
                        this.layoutControlItem1.SizeConstraintsType = SizeConstraintsType.Custom;
                        this.layoutControlItem1.MinSize = new Size(0, 60);
                        //this.layoutControlItem1.Text = oChoice.TextPrefix;
                        this.layoutControlItem1.TextVisible = false;
                        this.layoutControlItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                        //if (this.simpleLabelItem1 != null) {
                        //    this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1,this.simpleLabelItem1, DevExpress.XtraLayout.Utils.InsertType.Right);
                        //} else {
                        this.layoutControlGroupQuestion1.AddItem(this.layoutControlItem1);
                        //}
                        idx++;
                    }
                }
                #endregion
            }

            #region Footer
            string prioText = oSettings.Priority;
            if (oSettings.CustomerOwnership && oSettings.BVOwnership) {
                prioText += "(Cust+BV)";
            } else if (oSettings.CustomerOwnership) {
                prioText += "(Cust)";
            } else if (oSettings.BVOwnership) {
                prioText += "(BV)";
            }
            if (oSettings.PlotDoneStatus.Trim().ToLower() == "done") {
                prioText += " Done";
            }

            // simpleLabelItem1 status
            this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
            this.emptySpaceItem1.Name = "simpleLabelItem" + Guid.NewGuid().ToString();
            this.emptySpaceItem1.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
            this.emptySpaceItem1.AppearanceItemCaption.Options.UseTextOptions = true;
            this.emptySpaceItem1.ShowInCustomizationForm = false;
            this.emptySpaceItem1.SizeConstraintsType = SizeConstraintsType.Custom;
            this.emptySpaceItem1.Text = prioText;
            this.emptySpaceItem1.TextVisible = true;
            this.emptySpaceItem1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            this.layoutControlGroupQuestion1.AddItem(this.emptySpaceItem1);

            if (!string.IsNullOrEmpty(oSettings.QuestionHelp)) {
                this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
                this.emptySpaceItem2.Name = "simpleLabelItem" + Guid.NewGuid().ToString();
                this.emptySpaceItem2.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
                this.emptySpaceItem2.AppearanceItemCaption.Options.UseTextOptions = true;
                this.emptySpaceItem2.ShowInCustomizationForm = false;
                this.emptySpaceItem2.Text = "Help";
                this.emptySpaceItem2.OptionsToolTip.ToolTip = oSettings.QuestionHelp.Trim();

                //apply tooltip controller from parent
                //if (this.ToolTipController != null && this.ToolTipController.DefaultController != null) {
                //    this.emptySpaceItem2.OptionsToolTip.ToolTipController = ToolTipController.DefaultController;
                //}

                this.emptySpaceItem2.TextVisible = true;
                this.emptySpaceItem2.Size = new Size(50, 20);
                this.emptySpaceItem2.MaxSize = new Size(50, 20);
                this.emptySpaceItem2.MinSize = new Size(50, 20);
                this.emptySpaceItem2.SizeConstraintsType = SizeConstraintsType.Custom;
                this.emptySpaceItem2.Click += new EventHandler(layoutControlGroupQuestion1_Click);
                this.emptySpaceItem2.AppearanceItemCaption.TextOptions.HAlignment = HorzAlignment.Far;
                this.layoutControlGroupQuestion1.AddItem(this.emptySpaceItem2, this.emptySpaceItem1, DevExpress.XtraLayout.Utils.InsertType.Right);
            }
            #endregion

            this.layoutControlGroupQuestion1.Click += new EventHandler(layoutControlGroupQuestion1_Click);
            this.layoutControlGroupQuestion1.EndUpdate();
            Image bg = BGImage(this);
            if (bg != null) {
                this.layoutControlGroupQuestion1.BackgroundImage = bg;
                this.layoutControlGroupQuestion1.BackgroundImageVisible = true;
            }
            this.ControlGroup = this.layoutControlGroupQuestion1;
            this.ControlGroup.Tag = this;
        }