/*Lấy ra dòng dữ liệu và gán vào các hộp text*/ public void SelectCoDK(DChuyenBay DCB, TextEdit txtMaCB, ComboBoxEdit cbMaDB, ComboBoxEdit cbMaMB , TimeEdit dtGioBay, TextEdit txtDiemDi, ComboBoxEdit cbDiemDen , DateTimePicker dtNgayDi, DateTimePicker dtNgayDen, TextEdit txtVeL1, TextEdit txtVeL2, TextEdit txtGhiChu) { try { string path = string.Format("Select * From ChuyenBay Where MaChuyenBay='{0}'", DCB.MCB); DataTable dtt = DA.TbView(path); txtMaCB.EditValue = dtt.Rows[0]["MaChuyenBay"].ToString().Trim(); cbMaDB.EditValue = dtt.Rows[0]["MaDuongBay"].ToString().Trim(); cbMaMB.EditValue = dtt.Rows[0]["MaMayBay"].ToString().Trim(); dtGioBay.Text = dtt.Rows[0]["GioBay"].ToString().Trim(); txtDiemDi.EditValue = dtt.Rows[0]["DiemDi"].ToString().Trim(); cbDiemDen.EditValue = dtt.Rows[0]["DiemDen"].ToString().Trim(); dtNgayDi.Text = dtt.Rows[0]["NgayDi"].ToString().Trim(); dtNgayDen.Text = dtt.Rows[0]["NgayDen"].ToString().Trim(); txtVeL1.EditValue = dtt.Rows[0]["SLV_Loai1"].ToString().Trim(); txtVeL2.EditValue = dtt.Rows[0]["SLV_Loai2"].ToString().Trim(); txtGhiChu.EditValue = dtt.Rows[0]["GhiChu"].ToString().Trim(); //return dt.TbView(path); } catch { XtraMessageBox.Show("Vui lòng kích vào lưới thông tin chọn thông tin cần sửa !", "Chú ý !", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public ActionResult Edit(int id, TimeEdit model) { if (!ModelState.IsValid) { return(View(model)); } if (model.ShowId != id) { ModelState.AddModelError("", "Id Mismatch"); return(View(model)); } var service = CreateShowService(); if (service.UpdateShow(model)) { TempData["SaveResult"] = "Your Show was updated."; return(RedirectToAction("Index")); } ModelState.AddModelError("", "Your Show could not be updated."); return(View(model)); }
/// <summary> /// 根据用户控件的所有项的值设置获取报告卡实体 /// </summary> /// <param name="_ZymosisReportEntity"></param> /// <returns></returns> private ZymosisReportEntity GetEntityUI() { ZymosisReportEntity _ZymosisReportEntity = new ZymosisReportEntity(); UCReportCard myCard = xtraTabPageCardInfo.Controls[0] as UCReportCard;//panelControl2.Controls[0] as UCReportCard; edit by cyq 2012-10-30 #region new code #region 取到用户控件中更改后的值赋给实体 //报告卡类型 1、初次报告 2、订正报告 CheckEdit cheReporTtype1 = myCard.Controls["chkReportType1"] as CheckEdit; CheckEdit cheReporTtype2 = myCard.Controls["chkReportType2"] as CheckEdit; if (cheReporTtype1.Checked) { _ZymosisReportEntity.ReportType = "1"; } else if (cheReporTtype2.Checked) { _ZymosisReportEntity.ReportType = "2"; } //患者姓名 TextEdit txtName = myCard.Controls["txtName"] as TextEdit; string txtname = txtName.EditValue.ToString(); _ZymosisReportEntity.Name = txtname; //家长姓名 TextEdit txtParentName = myCard.Controls["txtParentname"] as TextEdit; string txtparentname = txtParentName.EditValue.ToString(); _ZymosisReportEntity.Parentname = txtparentname; //身份证号码 TextEdit txtIdNo = myCard.Controls["txtIdno"] as TextEdit; string txtidno = txtIdNo.EditValue.ToString(); _ZymosisReportEntity.Idno = txtidno; //患者性别 CheckEdit chksex1 = myCard.Controls["chkSex1"] as CheckEdit; CheckEdit chksex2 = myCard.Controls["chkSex2"] as CheckEdit; if (chksex1.Checked) { _ZymosisReportEntity.Sex = "1"; } else if (chksex2.Checked) { _ZymosisReportEntity.Sex = "2"; } //出生日期 DateEdit dateBrith = myCard.Controls["dateBirth"] as DateEdit; if (!(dateBrith.DateTime.CompareTo(DateTime.MinValue) == 0)) { _ZymosisReportEntity.Birth = dateBrith.DateTime.ToString("yyyy-MM-dd"); } //实足年龄 TextEdit txtAge = myCard.Controls["txtAge"] as TextEdit; string txtage = txtAge.EditValue.ToString(); _ZymosisReportEntity.Age = txtage; //实足年龄单位 CheckEdit chkAgeUnit1 = myCard.Controls["chkAgeUnit1"] as CheckEdit; CheckEdit chkAgeUnit2 = myCard.Controls["chkAgeUnit2"] as CheckEdit; CheckEdit chkAgeUnit3 = myCard.Controls["chkAgeUnit3"] as CheckEdit; if (chkAgeUnit1.Checked) { _ZymosisReportEntity.AgeUnit = "1"; } else if (chkAgeUnit2.Checked) { _ZymosisReportEntity.AgeUnit = "2"; } else if (chkAgeUnit3.Checked) { _ZymosisReportEntity.AgeUnit = "3"; } //工作单位 TextEdit txtOrganization = myCard.Controls["txtOrganization"] as TextEdit; string txtorganization = txtOrganization.EditValue.ToString(); _ZymosisReportEntity.Organization = txtorganization; //单位电话 TextEdit txtOfficetel = myCard.Controls["txtOfficetel"] as TextEdit; string txtofficetel = txtOfficetel.EditValue.ToString(); _ZymosisReportEntity.Officetel = txtofficetel; //病人属于地区 CheckEdit chkAddresstype1 = myCard.Controls["chkAddresstype1"] as CheckEdit; CheckEdit chkAddresstype2 = myCard.Controls["chkAddresstype2"] as CheckEdit; CheckEdit chkAddresstype3 = myCard.Controls["chkAddresstype3"] as CheckEdit; CheckEdit chkAddresstype4 = myCard.Controls["chkAddresstype4"] as CheckEdit; CheckEdit chkAddresstype5 = myCard.Controls["chkAddresstype5"] as CheckEdit; CheckEdit chkAddresstype6 = myCard.Controls["chkAddresstype6"] as CheckEdit; if (chkAddresstype1.Checked) { _ZymosisReportEntity.Addresstype = "1"; } else if (chkAddresstype2.Checked) { _ZymosisReportEntity.Addresstype = "2"; } else if (chkAddresstype3.Checked) { _ZymosisReportEntity.Addresstype = "3"; } else if (chkAddresstype4.Checked) { _ZymosisReportEntity.Addresstype = "4"; } else if (chkAddresstype5.Checked) { _ZymosisReportEntity.Addresstype = "5"; } else if (chkAddresstype6.Checked) { _ZymosisReportEntity.Addresstype = "6"; } //详细地址 【村,街道,门牌号】 TextEdit txtaddress = myCard.Controls["txtAddress"] as TextEdit; string address = txtaddress.EditValue.ToString(); _ZymosisReportEntity.Address = address; //职业代码 CheckEdit chkJobid1 = myCard.Controls["chkJobid1"] as CheckEdit; CheckEdit chkJobid2 = myCard.Controls["chkJobid2"] as CheckEdit; CheckEdit chkJobid3 = myCard.Controls["chkJobid3"] as CheckEdit; CheckEdit chkJobid4 = myCard.Controls["chkJobid4"] as CheckEdit; CheckEdit chkJobid5 = myCard.Controls["chkJobid5"] as CheckEdit; CheckEdit chkJobid6 = myCard.Controls["chkJobid6"] as CheckEdit; CheckEdit chkJobid7 = myCard.Controls["chkJobid7"] as CheckEdit; CheckEdit chkJobid8 = myCard.Controls["chkJobid8"] as CheckEdit; CheckEdit chkJobid9 = myCard.Controls["chkJobid9"] as CheckEdit; CheckEdit chkJobid10 = myCard.Controls["chkJobid10"] as CheckEdit; CheckEdit chkJobid11 = myCard.Controls["chkJobid11"] as CheckEdit; CheckEdit chkJobid12 = myCard.Controls["chkJobid12"] as CheckEdit; CheckEdit chkJobid13 = myCard.Controls["chkJobid13"] as CheckEdit; CheckEdit chkJobid14 = myCard.Controls["chkJobid14"] as CheckEdit; CheckEdit chkJobid15 = myCard.Controls["chkJobid15"] as CheckEdit; CheckEdit chkJobid16 = myCard.Controls["chkJobid16"] as CheckEdit; CheckEdit chkJobid17 = myCard.Controls["chkJobid17"] as CheckEdit; CheckEdit chkJobid18 = myCard.Controls["chkJobid18"] as CheckEdit; if (chkJobid1.Checked) { _ZymosisReportEntity.Jobid = "1"; } else if (chkJobid2.Checked) { _ZymosisReportEntity.Jobid = "2"; } else if (chkJobid3.Checked) { _ZymosisReportEntity.Jobid = "3"; } else if (chkJobid4.Checked) { _ZymosisReportEntity.Jobid = "4"; } else if (chkJobid5.Checked) { _ZymosisReportEntity.Jobid = "5"; } else if (chkJobid6.Checked) { _ZymosisReportEntity.Jobid = "6"; } else if (chkJobid7.Checked) { _ZymosisReportEntity.Jobid = "7"; } else if (chkJobid8.Checked) { _ZymosisReportEntity.Jobid = "8"; } else if (chkJobid9.Checked) { _ZymosisReportEntity.Jobid = "9"; } else if (chkJobid10.Checked) { _ZymosisReportEntity.Jobid = "10"; } else if (chkJobid11.Checked) { _ZymosisReportEntity.Jobid = "11"; } else if (chkJobid12.Checked) { _ZymosisReportEntity.Jobid = "12"; } else if (chkJobid13.Checked) { _ZymosisReportEntity.Jobid = "13"; } else if (chkJobid14.Checked) { _ZymosisReportEntity.Jobid = "14"; } else if (chkJobid15.Checked) { _ZymosisReportEntity.Jobid = "15"; } else if (chkJobid16.Checked) { _ZymosisReportEntity.Jobid = "16"; } else if (chkJobid17.Checked) { _ZymosisReportEntity.Jobid = "17"; } else if (chkJobid18.Checked) { _ZymosisReportEntity.Jobid = "18"; } //病历分类 1、疑似病历 2、临床诊断病历 3、实验室确诊病历 CheckEdit chkRecordtype11 = myCard.Controls["chkRecordtype11"] as CheckEdit; CheckEdit chkRecordtype12 = myCard.Controls["chkRecordtype12"] as CheckEdit; CheckEdit chkRecordtype13 = myCard.Controls["chkRecordtype13"] as CheckEdit; if (chkRecordtype11.Checked) { _ZymosisReportEntity.Recordtype1 = "1"; } else if (chkRecordtype12.Checked) { _ZymosisReportEntity.Recordtype1 = "2"; } else if (chkRecordtype13.Checked) { _ZymosisReportEntity.Recordtype1 = "3"; } //病历分类(乙型肝炎、血吸虫病填写) 1、急性 2、慢性 CheckEdit chkRecordtype21 = myCard.Controls["chkRecordtype21"] as CheckEdit; CheckEdit chkRecordtype22 = myCard.Controls["chkRecordtype22"] as CheckEdit; CheckEdit chkRecordtype23 = myCard.Controls["chkRecordtype23"] as CheckEdit; if (chkRecordtype21.Checked) { _ZymosisReportEntity.Recordtype2 = "1"; } else if (chkRecordtype22.Checked) { _ZymosisReportEntity.Recordtype2 = "2"; } else if (chkRecordtype23.Checked) { _ZymosisReportEntity.Recordtype2 = "3"; } //发病日期(病原携带者填初检日期或就诊日期) DateEdit dateAttackdate = myCard.Controls["dateAttackdate"] as DateEdit; if (!(dateAttackdate.DateTime.CompareTo(DateTime.MinValue) == 0)) { _ZymosisReportEntity.Attackdate = dateAttackdate.DateTime.ToString("yyyy-MM-dd"); } //诊断日期 DateEdit dateDiagdate = myCard.Controls["dateDiagdate"] as DateEdit; TimeEdit timeDiagdate = myCard.Controls["timeDiagdate"] as TimeEdit; if (!(dateDiagdate.DateTime.CompareTo(DateTime.MinValue) == 0)) { _ZymosisReportEntity.Diagdate = dateDiagdate.DateTime.ToString("yyyy-MM-dd") + " " + timeDiagdate.Time.ToString("HH:mm:ss"); } //死亡日期 DateEdit Diedate = myCard.Controls["Diedate"] as DateEdit; if (!(Diedate.DateTime.CompareTo(DateTime.MinValue) == 0)) { _ZymosisReportEntity.Diedate = Diedate.DateTime.ToString("yyyy-MM-dd"); } //传染病病种(对应传染病诊断库) LookUpEditor lookUpEditorZymosis = myCard.Controls["lookUpEditorZymosis"] as LookUpEditor; _ZymosisReportEntity.Diagicd10 = lookUpEditorZymosis.CodeValue; //传染病病种名称 _ZymosisReportEntity.Diagname = lookUpEditorZymosis.DisplayValue; //订正病名 TextEdit textCorrectName = myCard.Controls["textCorrectName"] as TextEdit; string textcorrectName = textCorrectName.EditValue.ToString(); _ZymosisReportEntity.CorrectName = textcorrectName; //退卡原因 TextEdit txtCancelReason = myCard.Controls["txtCancelReason"] as TextEdit; string txtcancelReason = txtCancelReason.EditValue.ToString(); _ZymosisReportEntity.CancelReason = txtcancelReason; //报告科室编号 LookUpEditor lookUpEditorDept = myCard.Controls["lookUpEditorDept"] as LookUpEditor; _ZymosisReportEntity.Reportdeptcode = lookUpEditorDept.CodeValue; //报告科室名称 _ZymosisReportEntity.Reportdeptname = lookUpEditorDept.DisplayValue; //_ZymosisReportEntity.Reportdeptname = lookUpEditorDept.SelectedText; //报告医生联系电话 TextEdit txtDoctortel = myCard.Controls["txtDoctortel"] as TextEdit; string txtdoctortel = txtDoctortel.EditValue.ToString(); _ZymosisReportEntity.Doctortel = txtdoctortel; //报告医生编号 LookUpEditor lookUpEditorDoc = myCard.Controls["lookUpEditorDoc"] as LookUpEditor; _ZymosisReportEntity.Reportdoccode = lookUpEditorDoc.CodeValue; //报告医生姓名 _ZymosisReportEntity.Reportdocname = lookUpEditorDoc.DisplayValue; //填卡时间 DateEdit dateReportDate = myCard.Controls["dateReportDate"] as DateEdit; if (!(dateReportDate.DateTime.CompareTo(DateTime.MinValue) == 0)) { _ZymosisReportEntity.ReportDate = dateReportDate.DateTime.ToString("yyyy-MM-dd"); } //备注 MemoEdit memoMemo = myCard.Controls["memoMemo"] as MemoEdit; _ZymosisReportEntity.Memo = memoMemo.Text; //其他法定管理以及重点监测传染病: MemoEdit memoOtherDiag = myCard.Controls["memoOtherDiag"] as MemoEdit; _ZymosisReportEntity.OtherDiag = memoOtherDiag.Text; //修改时间 _ZymosisReportEntity.ModifyDate = DateTime.Now.ToString("yyyy-MM-dd HH:m:ss"); //修改人科室编号 _ZymosisReportEntity.ModifyDeptcode = m_App.User.CurrentDeptId; //修改人科室名称 _ZymosisReportEntity.ModifyDeptname = m_App.User.CurrentDeptName; //修改人编号 _ZymosisReportEntity.ModifyUsercode = m_App.User.Id; //修改人姓名 _ZymosisReportEntity.ModifyUsername = m_App.User.Name; #endregion #endregion return(_ZymosisReportEntity); }
/// <summary> /// 初始化界面如果遇到非法的创建控件则跳过此空间不创建 /// </summary> /// <param name="Name"></param> /// <param name="Value"></param> /// <param name="ControlType"></param> /// <param name="DicNo"></param> private void InitControls(Int32 Id, string Name, string Value, ControlType Controltype, Int32 DicNo, Int32 Numlen) { xscControls.SuspendLayout(); // 是否成功创建控件 bool _createControl = true; LabelControl lc = new LabelControl(); TextEdit te = null; ComboBoxEdit cbb = null; CheckedComboBoxEdit ccbb = null; CheckEdit ck = null; DateEdit de = null; TimeEdit time = null; try { lc.Width = Const.LabelControlWidth; lc.Height = Const.LabelControlHeight; lc.Text = Name + Const.Colon; lc.Left = _currPosition_X; lc.Top = _currPosition_Y; lc.AutoSizeMode = LabelAutoSizeMode.None; lc.Appearance.TextOptions.HAlignment = HorzAlignment.Far; lc.Name = string.Format("lbl{0}", Id); _currPosition_X = _currPosition_X + lc.Width + Const.ControlInterval; switch (Controltype) { case ControlType.文本框: #region 文本控件 te = new TextEdit(); ((System.ComponentModel.ISupportInitialize)(te.Properties)).BeginInit(); te.Width = Const.TextEditWidth; te.Height = Const.TextEditHeight; te.Text = Value; te.Left = _currPosition_X; te.Top = _currPosition_Y + Const.Num_Three; te.Tag = Name; // 控件的tag 保存其中文名 te.TabIndex = Id; // 控件的TabIndex 保存其数据库中的ID te.Name = string.Format("ctl{0}", Id); te.Enter += (sender, e) => { _beforeStr = (sender as TextEdit).Text; }; te.Leave += (sender, e) => { var c = sender as TextEdit; if (c == null) { return; } string currStr = c.Text; // 此文本框有修改 if (!string.Equals(currStr, _beforeStr)) { if (MeEvent != null) { MeEvent(string.Format("系统参数[{0}]-{1} 修改前:{2} → 修改后:{3}", c.TabIndex, c.Tag, _beforeStr, currStr)); } _beforeStr = string.Empty; } SetInfo(c.TabIndex, _SysId, currStr); }; ((System.ComponentModel.ISupportInitialize)(te.Properties)).EndInit(); #endregion break; case ControlType.整数框: #region 整数控件 te = new TextEdit(); ((System.ComponentModel.ISupportInitialize)(te.Properties)).BeginInit(); te.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; te.Properties.Mask.EditMask = "[0-9]*"; te.Properties.Mask.UseMaskAsDisplayFormat = true; te.Width = Const.TextEditWidth; te.Height = Const.TextEditHeight; te.Text = Value; te.Left = _currPosition_X; te.Top = _currPosition_Y + Const.Num_Three; te.Tag = Name; // 控件的tag 保存其中文名 te.TabIndex = Id; // 控件的TabIndex 保存其数据库中的ID te.Name = string.Format("ctl{0}", Id); if (Numlen > 0) { te.Properties.MaxLength = Numlen; } te.Enter += (sender, e) => { _beforeStr = (sender as TextEdit).Text; }; te.Leave += (sender, e) => { var c = sender as TextEdit; if (c == null) { return; } string currStr = c.Text; // 此文本框有修改 if (!string.Equals(currStr, _beforeStr)) { if (MeEvent != null) { MeEvent(string.Format("系统参数[{0}]-{1} 修改前:{2} → 修改后:{3}", c.TabIndex, c.Tag, _beforeStr, currStr)); } _beforeStr = string.Empty; } SetInfo(c.TabIndex, _SysId, currStr); }; ((System.ComponentModel.ISupportInitialize)(te.Properties)).EndInit(); #endregion break; case ControlType.拉单选框: #region 单选下拉框 cbb = new ComboBoxEdit(); ((System.ComponentModel.ISupportInitialize)(cbb.Properties)).BeginInit(); cbb.Width = Const.TextEditWidth; cbb.Height = Const.TextEditHeight; cbb.Name = string.Format("ctl{0}", Id); cbb.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); cbb.BindDictItems(DicNo); if (!string.IsNullOrEmpty(Value)) { cbb.SetComboBoxItem(Convert.ToInt32(Value)); } cbb.Left = _currPosition_X; cbb.Top = _currPosition_Y + Const.Num_Three; cbb.Tag = Name; cbb.TabIndex = Id; cbb.Enter += (sender, e) => { _beforeStr = (sender as ComboBoxEdit).GetComboBoxIntValue().ToString(); }; cbb.Leave += (sender, e) => { var c = sender as ComboBoxEdit; if (c == null) { return; } string currStr = c.GetComboBoxIntValue().ToString(); if (currStr == Const.NoSeletValue.ToString()) { currStr = string.Empty; } // 此文本框有修改 if (!string.Equals(currStr, _beforeStr)) { if (MeEvent != null) { MeEvent(string.Format("系统参数[{0}]-{1} 修改前:{2} → 修改后:{3}", c.TabIndex, c.Tag, _beforeStr, currStr)); } _beforeStr = string.Empty; } SetInfo(c.TabIndex, _SysId, currStr); }; ((System.ComponentModel.ISupportInitialize)(cbb.Properties)).EndInit(); #endregion break; case ControlType.拉多选框: #region 多选下拉框 ccbb = new CheckedComboBoxEdit(); ((System.ComponentModel.ISupportInitialize)(ccbb.Properties)).BeginInit(); ccbb.Width = Const.TextEditWidth; ccbb.Height = Const.TextEditHeight; ccbb.Name = string.Format("ctl{0}", Id); ccbb.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); ccbb.BindDictItems(DicNo); ccbb.SetComboBoxItem(Value); ccbb.Left = _currPosition_X; ccbb.Top = _currPosition_Y + Const.Num_Three; ccbb.Tag = Name; ccbb.TabIndex = Id; ccbb.Enter += (sender, e) => { _beforeStr = (sender as CheckedComboBoxEdit).GetCheckedComboBoxValue(); }; ccbb.Leave += (sender, e) => { var c = sender as CheckedComboBoxEdit; if (c == null) { return; } string currStr = c.GetCheckedComboBoxValue(); if (currStr == Const.NoSeletValue.ToString()) { currStr = string.Empty; } // 此文本框有修改 if (!string.Equals(currStr, _beforeStr)) { if (MeEvent != null) { MeEvent(string.Format("系统参数[{0}]-{1} 修改前:{2} → 修改后:{3}", c.TabIndex, c.Tag, _beforeStr, currStr)); } _beforeStr = string.Empty; } SetInfo(c.TabIndex, _SysId, currStr); }; ((System.ComponentModel.ISupportInitialize)(ccbb.Properties)).EndInit(); #endregion break; case ControlType.勾选框: #region 勾选框 ck = new CheckEdit(); ((System.ComponentModel.ISupportInitialize)(ck.Properties)).BeginInit(); ck.Width = Const.TextEditWidth; ck.Height = Const.TextEditHeight; ck.Checked = Value == Convert.ToString(Const.Num_One) ? true : false; ck.Left = _currPosition_X; ck.Top = _currPosition_Y + Const.Num_Three; ck.Tag = Name; // 控件的tag 保存其中文名 ck.TabIndex = Id; // 控件的TabIndex 保存其数据库中的ID ck.Name = string.Format("ctl{0}", Id); ck.Text = string.Empty; ck.EditValueChanging += (sender, e) => { _beforeStr = (sender as CheckEdit).Checked ? "1" : "0"; }; ck.EditValueChanged += (sender, e) => { var c = sender as CheckEdit; if (c == null) { return; } string currStr = (sender as CheckEdit).Checked ? "1" : "0"; // 此文本框有修改 if (!string.Equals(currStr, _beforeStr)) { if (MeEvent != null) { MeEvent(string.Format("系统参数[{0}]-{1} 修改前:{2} → 修改后:{3}", c.TabIndex, c.Tag, _beforeStr, currStr)); } _beforeStr = string.Empty; } SetInfo(c.TabIndex, _SysId, currStr); }; ((System.ComponentModel.ISupportInitialize)(ck.Properties)).EndInit(); #endregion break; case ControlType.日期: #region 日期 de = new DateEdit(); ((System.ComponentModel.ISupportInitialize)(de.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(de.Properties)).BeginInit(); de.Width = Const.TextEditWidth; de.Height = Const.TextEditHeight; if (!string.IsNullOrEmpty(Value)) { de.SetDateTime(Convert.ToDateTime(Value)); } de.Left = _currPosition_X; de.Top = _currPosition_Y + Const.Num_Three; de.Tag = Name; // 控件的tag 保存其中文名 de.TabIndex = Id; // 控件的TabIndex 保存其数据库中的ID de.Name = string.Format("ctl{0}", Id); de.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); de.Properties.CalendarTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); de.Properties.DisplayFormat.FormatString = Const.DateformatString; de.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; de.Properties.EditFormat.FormatString = Const.DateformatString; de.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; de.Properties.Mask.EditMask = Const.DateformatString; de.EditValueChanging += (sender, e) => { _beforeStr = (sender as DateEdit).GetDateTimeString(); }; de.EditValueChanged += (sender, e) => { var c = sender as DateEdit; if (c == null) { return; } string currStr = (sender as DateEdit).GetDateTimeString(); // 此文本框有修改 if (!string.Equals(currStr, _beforeStr)) { if (MeEvent != null) { MeEvent(string.Format("系统参数[{0}]-{1} 修改前:{2} → 修改后:{3}", c.TabIndex, c.Tag, _beforeStr, currStr)); } _beforeStr = string.Empty; } SetInfo(c.TabIndex, _SysId, currStr); }; ((System.ComponentModel.ISupportInitialize)(de.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(de.Properties)).EndInit(); #endregion break; case ControlType.密码: #region 密码 te = new TextEdit(); ((System.ComponentModel.ISupportInitialize)(te.Properties)).BeginInit(); te.Width = Const.TextEditWidth; te.Height = Const.TextEditHeight; te.Text = Value; te.Left = _currPosition_X; te.Top = _currPosition_Y + Const.Num_Three; te.Tag = Name; // 控件的tag 保存其中文名 te.TabIndex = Id; // 控件的TabIndex 保存其数据库中的ID te.Properties.PasswordChar = '*'; te.Name = string.Format("ctl{0}", Id); te.Enter += (sender, e) => { _beforeStr = (sender as TextEdit).Text; }; te.Leave += (sender, e) => { var c = sender as TextEdit; if (c == null) { return; } string currStr = c.Text; // 此文本框有修改 if (!string.Equals(currStr, _beforeStr)) { if (MeEvent != null) { MeEvent(string.Format("系统参数[{0}]-{1} 修改前:{2} → 修改后:{3}", c.TabIndex, c.Tag, _beforeStr, currStr)); } _beforeStr = string.Empty; } SetInfo(c.TabIndex, _SysId, currStr); }; ((System.ComponentModel.ISupportInitialize)(te.Properties)).EndInit(); #endregion break; case ControlType.小数框: #region 小数框 te = new TextEdit(); ((System.ComponentModel.ISupportInitialize)(te.Properties)).BeginInit(); te.Properties.Mask.EditMask = string.Format("f{0}", Numlen); te.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; te.Width = Const.TextEditWidth; te.Height = Const.TextEditHeight; te.Text = Value; te.Left = _currPosition_X; te.Top = _currPosition_Y + Const.Num_Three; te.Tag = Name; // 控件的tag 保存其中文名 te.TabIndex = Id; // 控件的TabIndex 保存其数据库中的ID te.Name = string.Format("ctl{0}", Id); te.Enter += (sender, e) => { _beforeStr = (sender as TextEdit).Text; }; te.Leave += (sender, e) => { var c = sender as TextEdit; if (c == null) { return; } string currStr = c.Text; // 此文本框有修改 if (!string.Equals(currStr, _beforeStr)) { if (MeEvent != null) { MeEvent(string.Format("系统参数[{0}]-{1} 修改前:{2} → 修改后:{3}", c.TabIndex, c.Tag, _beforeStr, currStr)); } _beforeStr = string.Empty; } SetInfo(c.TabIndex, _SysId, currStr); }; ((System.ComponentModel.ISupportInitialize)(te.Properties)).EndInit(); #endregion break; case ControlType.时间框: #region 时间框 time = new TimeEdit(); ((System.ComponentModel.ISupportInitialize)(time.Properties)).BeginInit(); time.Width = Const.TextEditWidth; time.Height = Const.TextEditHeight; if (!string.IsNullOrEmpty(Value)) { time.SetTime(Convert.ToDateTime(Value)); } time.Left = _currPosition_X; time.Top = _currPosition_Y + Const.Num_Three; time.Tag = Name; // 控件的tag 保存其中文名 time.TabIndex = Id; // 控件的TabIndex 保存其数据库中的ID time.Name = string.Format("ctl{0}", Id); time.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); time.Enter += (sender, e) => { _beforeStr = (sender as TimeEdit).GetTimeString(); }; time.Leave += (sender, e) => { var c = sender as TimeEdit; if (c == null) { return; } string currStr = c.GetTimeString(); // 此文本框有修改 if (!string.Equals(currStr, _beforeStr)) { if (MeEvent != null) { MeEvent(string.Format("系统参数[{0}]-{1} 修改前:{2} → 修改后:{3}", c.TabIndex, c.Tag, _beforeStr, currStr)); } _beforeStr = string.Empty; } SetInfo(c.TabIndex, _SysId, currStr); }; ((System.ComponentModel.ISupportInitialize)(time.Properties)).EndInit(); #endregion break; } _currPosition_X = _currPosition_X + Const.TextEditWidth + Const.InfoInterval; // 如果屏幕宽度不够则换到下一行 if (System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width - 200 < _currPosition_X + Const.TextEditWidth + Const.InfoInterval) { _currPosition_X = 0; _currPosition_Y = _currPosition_Y + Const.Position_Y; } } catch (Exception ex) { LogHelper.WriteLog(LogLevel.LOG_LEVEL_CRIT, ex, typeof(FrmSysparameter)); _createControl = false; _currPosition_X = _currPosition_X - lc.Width - Const.ControlInterval; } if (te == null && cbb == null && ccbb == null && ck == null && de == null && time == null) { _createControl = false; } if (_createControl) { xscControls.Controls.Add(lc); if (te != null) { xscControls.Controls.Add(te); } if (cbb != null) { xscControls.Controls.Add(cbb); } if (ccbb != null) { xscControls.Controls.Add(ccbb); } if (ck != null) { xscControls.Controls.Add(ck); } if (de != null) { xscControls.Controls.Add(de); } if (time != null) { xscControls.Controls.Add(time); } } xscControls.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.tbc_Date = new DevExpress.XtraEditors.TrackBarControl(); this.tbc_Time = new DevExpress.XtraEditors.TrackBarControl(); this.spe_Int = new DevExpress.XtraEditors.SpinEdit(); this.cmb_simu = new DevExpress.XtraEditors.ComboBoxEdit(); this.tbc_colorAlpha = new DevExpress.XtraEditors.TrackBarControl(); this.ce_color = new DevExpress.XtraEditors.ColorPickEdit(); this.cbeLunarHolDay = new DevExpress.XtraEditors.ComboBoxEdit(); this.te_time = new DevExpress.XtraEditors.TimeEdit(); this.de_data = new DevExpress.XtraEditors.DateEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.bci_Play = new DevExpress.XtraBars.BarButtonItem(); this.bci_Pause = new DevExpress.XtraBars.BarButtonItem(); this.bci_Stop = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbc_Date)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbc_Date.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbc_Time)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbc_Time.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spe_Int.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_simu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbc_colorAlpha)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbc_colorAlpha.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ce_color.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbeLunarHolDay.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.te_time.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.de_data.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.de_data.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.tbc_Date); this.layoutControl1.Controls.Add(this.tbc_Time); this.layoutControl1.Controls.Add(this.spe_Int); this.layoutControl1.Controls.Add(this.cmb_simu); this.layoutControl1.Controls.Add(this.tbc_colorAlpha); this.layoutControl1.Controls.Add(this.ce_color); this.layoutControl1.Controls.Add(this.cbeLunarHolDay); this.layoutControl1.Controls.Add(this.te_time); this.layoutControl1.Controls.Add(this.de_data); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 31); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(253, 444); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // tbc_Date // this.tbc_Date.EditValue = null; this.tbc_Date.Location = new System.Drawing.Point(77, 332); this.tbc_Date.Name = "tbc_Date"; this.tbc_Date.Properties.LabelAppearance.Options.UseTextOptions = true; this.tbc_Date.Properties.LabelAppearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.tbc_Date.Properties.LargeChange = 30; this.tbc_Date.Properties.Maximum = 366; this.tbc_Date.Properties.TickFrequency = 15; this.tbc_Date.Size = new System.Drawing.Size(162, 45); this.tbc_Date.StyleController = this.layoutControl1; this.tbc_Date.TabIndex = 15; this.tbc_Date.EditValueChanged += new System.EventHandler(this.tbc_Date_EditValueChanged); // // tbc_Time // this.tbc_Time.EditValue = null; this.tbc_Time.Location = new System.Drawing.Point(77, 283); this.tbc_Time.Name = "tbc_Time"; this.tbc_Time.Properties.LabelAppearance.Options.UseTextOptions = true; this.tbc_Time.Properties.LabelAppearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.tbc_Time.Properties.LargeChange = 60; this.tbc_Time.Properties.Maximum = 1440; this.tbc_Time.Properties.TickFrequency = 60; this.tbc_Time.Size = new System.Drawing.Size(162, 45); this.tbc_Time.StyleController = this.layoutControl1; this.tbc_Time.TabIndex = 14; this.tbc_Time.EditValueChanged += new System.EventHandler(this.tbc_Time_EditValueChanged); // // spe_Int // this.spe_Int.EditValue = new decimal(new int[] { 10, 0, 0, 0 }); this.spe_Int.Location = new System.Drawing.Point(77, 257); this.spe_Int.Name = "spe_Int"; this.spe_Int.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.spe_Int.Properties.IsFloatValue = false; this.spe_Int.Properties.Mask.EditMask = "N00"; this.spe_Int.Properties.MaxValue = new decimal(new int[] { 60, 0, 0, 0 }); this.spe_Int.Properties.MinValue = new decimal(new int[] { 1, 0, 0, 0 }); this.spe_Int.Size = new System.Drawing.Size(162, 22); this.spe_Int.StyleController = this.layoutControl1; this.spe_Int.TabIndex = 13; // // cmb_simu // this.cmb_simu.EditValue = "按时间(分钟)"; this.cmb_simu.Location = new System.Drawing.Point(77, 231); this.cmb_simu.Name = "cmb_simu"; this.cmb_simu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cmb_simu.Size = new System.Drawing.Size(162, 22); this.cmb_simu.StyleController = this.layoutControl1; this.cmb_simu.TabIndex = 12; // // tbc_colorAlpha // this.tbc_colorAlpha.EditValue = 255; this.tbc_colorAlpha.Location = new System.Drawing.Point(77, 138); this.tbc_colorAlpha.Name = "tbc_colorAlpha"; this.tbc_colorAlpha.Properties.LabelAppearance.Options.UseTextOptions = true; this.tbc_colorAlpha.Properties.LabelAppearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.tbc_colorAlpha.Properties.Maximum = 255; this.tbc_colorAlpha.Properties.TickFrequency = 5; this.tbc_colorAlpha.Size = new System.Drawing.Size(162, 45); this.tbc_colorAlpha.StyleController = this.layoutControl1; this.tbc_colorAlpha.TabIndex = 11; this.tbc_colorAlpha.Value = 255; this.tbc_colorAlpha.EditValueChanged += new System.EventHandler(this.tbc_colorAlpha_EditValueChanged); // // ce_color // this.ce_color.EditValue = System.Drawing.Color.Black; this.ce_color.Location = new System.Drawing.Point(77, 112); this.ce_color.Name = "ce_color"; this.ce_color.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.ce_color.Size = new System.Drawing.Size(162, 22); this.ce_color.StyleController = this.layoutControl1; this.ce_color.TabIndex = 10; this.ce_color.EditValueChanged += new System.EventHandler(this.ce_color_EditValueChanged); // // cbeLunarHolDay // this.cbeLunarHolDay.Location = new System.Drawing.Point(77, 86); this.cbeLunarHolDay.Name = "cbeLunarHolDay"; this.cbeLunarHolDay.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cbeLunarHolDay.Size = new System.Drawing.Size(162, 22); this.cbeLunarHolDay.StyleController = this.layoutControl1; this.cbeLunarHolDay.TabIndex = 9; // // te_time // this.te_time.EditValue = new System.DateTime(2018, 1, 5, 0, 0, 0, 0); this.te_time.Location = new System.Drawing.Point(77, 60); this.te_time.Name = "te_time"; this.te_time.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.te_time.Size = new System.Drawing.Size(162, 22); this.te_time.StyleController = this.layoutControl1; this.te_time.TabIndex = 8; this.te_time.EditValueChanging += new DevExpress.XtraEditors.Controls.ChangingEventHandler(this.te_time_EditValueChanging); // // de_data // this.de_data.EditValue = null; this.de_data.Location = new System.Drawing.Point(77, 34); this.de_data.Name = "de_data"; this.de_data.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.de_data.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.de_data.Size = new System.Drawing.Size(162, 22); this.de_data.StyleController = this.layoutControl1; this.de_data.TabIndex = 7; this.de_data.EditValueChanged += new System.EventHandler(this.de_data_EditValueChanged); // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup2, this.layoutControlGroup3, this.emptySpaceItem4 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup1.Size = new System.Drawing.Size(253, 444); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlGroup2 // this.layoutControlGroup2.CustomizationFormText = "基本设置"; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem6, this.layoutControlItem7, this.layoutControlItem8 }); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup2.Name = "layoutControlGroup2"; this.layoutControlGroup2.Size = new System.Drawing.Size(253, 197); this.layoutControlGroup2.Text = "基本设置"; // // layoutControlItem4 // this.layoutControlItem4.Control = this.de_data; this.layoutControlItem4.CustomizationFormText = "layoutControlItem4"; this.layoutControlItem4.Location = new System.Drawing.Point(0, 0); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(229, 26); this.layoutControlItem4.Text = "当前日期:"; this.layoutControlItem4.TextSize = new System.Drawing.Size(60, 14); // // layoutControlItem5 // this.layoutControlItem5.Control = this.te_time; this.layoutControlItem5.CustomizationFormText = "时间:"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 26); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(229, 26); this.layoutControlItem5.Text = "当前时间:"; this.layoutControlItem5.TextSize = new System.Drawing.Size(60, 14); // // layoutControlItem6 // this.layoutControlItem6.Control = this.cbeLunarHolDay; this.layoutControlItem6.CustomizationFormText = "节气:"; this.layoutControlItem6.Location = new System.Drawing.Point(0, 52); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(229, 26); this.layoutControlItem6.Text = "节气:"; this.layoutControlItem6.TextSize = new System.Drawing.Size(60, 14); // // layoutControlItem7 // this.layoutControlItem7.Control = this.ce_color; this.layoutControlItem7.CustomizationFormText = "阴影颜色:"; this.layoutControlItem7.Location = new System.Drawing.Point(0, 78); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(229, 26); this.layoutControlItem7.Text = "阴影颜色:"; this.layoutControlItem7.TextSize = new System.Drawing.Size(60, 14); // // layoutControlItem8 // this.layoutControlItem8.Control = this.tbc_colorAlpha; this.layoutControlItem8.CustomizationFormText = "不透明度:"; this.layoutControlItem8.Location = new System.Drawing.Point(0, 104); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.Size = new System.Drawing.Size(229, 49); this.layoutControlItem8.Text = "不透明度:"; this.layoutControlItem8.TextSize = new System.Drawing.Size(60, 14); // // layoutControlGroup3 // this.layoutControlGroup3.CustomizationFormText = "动态模拟"; this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem9, this.layoutControlItem10, this.layoutControlItem11, this.layoutControlItem12 }); this.layoutControlGroup3.Location = new System.Drawing.Point(0, 197); this.layoutControlGroup3.Name = "layoutControlGroup3"; this.layoutControlGroup3.Size = new System.Drawing.Size(253, 194); this.layoutControlGroup3.Text = "动态模拟"; // // layoutControlItem9 // this.layoutControlItem9.Control = this.cmb_simu; this.layoutControlItem9.CustomizationFormText = "模拟方式:"; this.layoutControlItem9.Location = new System.Drawing.Point(0, 0); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.Size = new System.Drawing.Size(229, 26); this.layoutControlItem9.Text = "模拟方式:"; this.layoutControlItem9.TextSize = new System.Drawing.Size(60, 14); // // layoutControlItem10 // this.layoutControlItem10.Control = this.spe_Int; this.layoutControlItem10.CustomizationFormText = "时间间隔:"; this.layoutControlItem10.Location = new System.Drawing.Point(0, 26); this.layoutControlItem10.Name = "layoutControlItem10"; this.layoutControlItem10.Size = new System.Drawing.Size(229, 26); this.layoutControlItem10.Text = "时间间隔:"; this.layoutControlItem10.TextSize = new System.Drawing.Size(60, 14); // // layoutControlItem11 // this.layoutControlItem11.Control = this.tbc_Time; this.layoutControlItem11.CustomizationFormText = "时间:"; this.layoutControlItem11.Location = new System.Drawing.Point(0, 52); this.layoutControlItem11.Name = "layoutControlItem11"; this.layoutControlItem11.Size = new System.Drawing.Size(229, 49); this.layoutControlItem11.Text = "时间:"; this.layoutControlItem11.TextSize = new System.Drawing.Size(60, 14); // // layoutControlItem12 // this.layoutControlItem12.Control = this.tbc_Date; this.layoutControlItem12.CustomizationFormText = "日期:"; this.layoutControlItem12.Location = new System.Drawing.Point(0, 101); this.layoutControlItem12.Name = "layoutControlItem12"; this.layoutControlItem12.Size = new System.Drawing.Size(229, 49); this.layoutControlItem12.Text = "日期:"; this.layoutControlItem12.TextSize = new System.Drawing.Size(60, 14); // // emptySpaceItem4 // this.emptySpaceItem4.AllowHotTrack = false; this.emptySpaceItem4.CustomizationFormText = "emptySpaceItem4"; this.emptySpaceItem4.Location = new System.Drawing.Point(0, 391); this.emptySpaceItem4.Name = "emptySpaceItem4"; this.emptySpaceItem4.Size = new System.Drawing.Size(253, 53); this.emptySpaceItem4.Text = "emptySpaceItem4"; this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1 }); 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.bci_Play, this.bci_Pause, this.bci_Stop }); this.barManager1.MaxItemId = 3; // // bar1 // this.bar1.BarName = "Tools"; this.bar1.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.bci_Play), new DevExpress.XtraBars.LinkPersistInfo(this.bci_Pause), new DevExpress.XtraBars.LinkPersistInfo(this.bci_Stop) }); this.bar1.OptionsBar.DrawDragBorder = false; this.bar1.Text = "Tools"; // // bci_Play // this.bci_Play.Caption = "播放"; this.bci_Play.Id = 0; this.bci_Play.Name = "bci_Play"; this.bci_Play.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bci_Play_ItemClick); // // bci_Pause // this.bci_Pause.Caption = "暂停"; this.bci_Pause.Id = 1; this.bci_Pause.Name = "bci_Pause"; this.bci_Pause.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bci_Pause_ItemClick); // // bci_Stop // this.bci_Stop.Caption = "停止"; this.bci_Stop.Id = 2; this.bci_Stop.Name = "bci_Stop"; this.bci_Stop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bci_Stop_ItemClick); // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(253, 31); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 475); this.barDockControlBottom.Size = new System.Drawing.Size(253, 0); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 31); this.barDockControlLeft.Size = new System.Drawing.Size(0, 444); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(253, 31); this.barDockControlRight.Size = new System.Drawing.Size(0, 444); // // UCSunSimulation // this.Controls.Add(this.layoutControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "UCSunSimulation"; this.Size = new System.Drawing.Size(253, 475); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tbc_Date.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbc_Date)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbc_Time.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbc_Time)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spe_Int.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_simu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbc_colorAlpha.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbc_colorAlpha)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ce_color.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbeLunarHolDay.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.te_time.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.de_data.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.de_data.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Get all tasks from the course IDs list it is given /// </summary> /// <param name="courseIDs">Course IDs it should get the task for</param> /// <returns>Task for the course ids</returns> private async Task <List <TimeEdit> > GetTasks(List <string> courseIDs, string test = "") { //TimeEditList to return List <TimeEdit> timeEdits = new List <TimeEdit>(); //#### Get the Tasks from TimeEdit #### foreach (var courseID in courseIDs) { string url = ""; if (test != "") { //test url to check url = test + courseID; } else { //Url to check to check. url = baseUrlGetTasks + courseID; } //Make a http client so we can get the html from it. var client = new HttpClient(); var html = await client.GetStringAsync(url); //Get the json from the root. var root = JObject.Parse(html); //Get out the properties for col, info and res. var col = root.Property("columnheaders"); var info = root.Property("info"); var res = root.Property("reservations"); //Make a TimeEdit var to save it in TimeEdit te = new TimeEdit(); //Column foreach (var var in col.Value) { //Take the object and make it to a string string s = var.ToObject <string>(); //check if it is not null if (s != null) { //Add it to the right list te.Columnheaders.Add(s); } } //Info foreach (var var in info.Value) { //Take the object and make it to a string int s = var.ToObject <int>(); //Add it to the right list te.Info.Add(s); } //Reservation foreach (var var in res.Value) { //Bool to check if it should add the task. bool toAdd = true; //Take the object of res and make it to a TimeEditReservation object TimeEdit.ReservationTimeEdit s = var.ToObject <TimeEdit.ReservationTimeEdit>(); //TODO Make a better checker. //Check if the task is equal to a holiday foreach (var day in StaticDataModel.Holidays) { //Trim and set it to only lower case for more right checking. var tempTrim = s.columns[0].Replace(" ", "").ToLower(); //Check if the task is equal a holiday if (tempTrim.Contains(day)) { //If it is then stop it and set the task not to add. toAdd = false; break; } } //Check if it is to add it. if (toAdd) { //Add it to the right list and convert the to the normal reservation object te.Reservations.Add(s.convertToTask()); } } //Adds the TimeEdit model to the list of TimeEdit models timeEdits.Add(te); } //return Ok(timeEdits); return(timeEdits); }
private void CreateDetail(Type EntityType, String Name = null, object Value = null) { #region ==================================== Labels + textboxs ==================================== splitContainerControl.Panel2.Controls.Clear(); var EntityProperties = EntityType.GetProperties(); int index = 0; for (int i = 0; i < EntityProperties.Count(); i++) { var Pro = EntityProperties[i]; var DisplayName = Pro.GetName(); if (Pro.PropertyType.IsGenericType || Pro.Name.Substring(0, 2) == "FK") { } else { var DataBindingsType = "Text"; var label = new LabelControl(); label.Location = new Point(20, 50 + 30 * index + 3); label.Text = DisplayName; label.Font = new Font(label.Font, CurrentMDI.IsKey(Pro.Name) ? FontStyle.Underline | FontStyle.Bold : FontStyle.Regular); BaseEdit textbox = new TextEdit(); if(EntityType.IsForeignKey(Pro.Name)) { var ForeignInfo = Pro.GetForeignKeyTargetName(); var TableName = ForeignInfo.Substring(0, ForeignInfo.IndexOf("_")); var KeyName = ForeignInfo.Substring(ForeignInfo.IndexOf("_") + 1); var x = Global.GetType(TableName); var aList = x.Equals(typeof(DataContext.Menu)) ? GetMenuList() : (x.Equals(typeof(Quyen)) ? GetQuyenList() : Table.GetList(x, null, null, false)); if (aList != null) { var Ri = new LookUpEdit(); Ri.Properties.NullText = "Không có giá trị"; Ri.Properties.DataSource = aList; Ri.Properties.ValueMember = KeyName; Ri.Properties.BestFitMode = BestFitMode.BestFitResizePopup; Ri.BindingContextChanged += new EventHandler(delegate(object sender, EventArgs e) { var Lookup = (sender as LookUpEdit); Lookup.Properties.PopulateColumns(); Lookup.Properties.BestFit(); Lookup.Properties.AllowNullInput = DefaultBoolean.True; if (Lookup.Properties.Columns.Count == 0) return; var ci = 0; foreach (var Column in x.GetProperties()) { if (Column.PropertyType.IsGenericType) { Lookup.Properties.Columns[ci].Visible = false; } else { Lookup.Properties.Columns[ci].Caption = Column.GetName(); if (Column.PropertyType == typeof(DateTime)) { if (Column.Name.Substring(0, 3) == "Gio") Lookup.Properties.Columns[ci].FormatString = "HH:mm tt"; else Lookup.Properties.Columns[ci].FormatString = "dd/MM/yyy"; } } ci++; } }); textbox = Ri; DataBindingsType = "EditValue"; } } else if (Pro.PropertyType == typeof(DateTime)) { var rDate = new DateEdit(); var rTime = new TimeEdit(); rDate.Properties.MinValue = new DateTime(1753, 1, 1); // SQL min value if (Pro.Name.Substring(0, 3) == "Gio") textbox = rTime; else textbox = rDate; DataBindingsType = "EditValue"; } else if (Pro.PropertyType == typeof(bool)) { textbox = new CheckEdit(); DataBindingsType = "EditValue"; } else if (Pro.PropertyType == typeof(int) || Pro.PropertyType == typeof(decimal) || Pro.PropertyType == typeof(double)) { textbox = new CalcEdit(); DataBindingsType = "EditValue"; } textbox.Location = new Point(120, 50 + 30 * index); textbox.Width = 200; textbox.TabIndex = index; textbox.DataBindings.Add(DataBindingsType, gridView.DataSource, Pro.Name); textbox.Properties.ReadOnly = true; textbox.Name = Pro.Name; splitContainerControl.Panel2.Controls.AddRange(new Control[] { label, textbox }); index++; } } #endregion #region ==================================== Buttons ==================================== int bWidth = 60; int bX = 0; var btnEdit = new SimpleButton() { Text = "Chỉnh sửa", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = bWidth, Enabled = CurrentMDI.EnabledModify() && CurrentMDI.EnabledEdit() && gridView.SelectedRowsCount > 0 }; var btnCancelEdit = new SimpleButton() { Text = "Dừng sửa", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Visible = false }; bX++; var btnUpdate = new SimpleButton() { Text = "Cập nhật", Location = new Point(5 + 5*bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = false }; bX++; var btnCreateNew = new SimpleButton() { Text = "Tạo mới", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = CurrentMDI.EnabledModify() }; var btnCancelNew = new SimpleButton() { Text = "Dừng thêm", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Visible = false }; bX++; var btnAddNew = new SimpleButton() { Text = "Thêm mới", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = false }; bX++; var btnDelete = new SimpleButton() { Text = "Xoá", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = CurrentMDI.EnabledModify() && gridView.SelectedRowsCount > 0 }; index++; #endregion #region ==================================== Functions ==================================== var Element = EntityType.CreateNew(); Func<string, Control> GetControlByName = delegate(string ControlName) { foreach(Control c in splitContainerControl.Panel2.Controls) if(c.Name == ControlName) return c; return null; }; Func<Exception, bool> ValidateEntity = delegate(Exception e) { dxErrorProvider.ClearErrors(); bool isOk = false; if (e is SqlException) { var dbEx = e as SqlException; foreach (SqlError validationError in dbEx.Errors) { if (validationError.Message.IndexOf("]") > 0) { var PropertyName = validationError.Message.Substring(validationError.Message.IndexOf("[") + 1, validationError.Message.IndexOf("]")-1); var ErrorMessage = validationError.Message.Substring(validationError.Message.IndexOf("]") + 1); if (PropertyName.Equals("_Msg")) { MessageBox.Show(ErrorMessage); isOk = true; } else { dxErrorProvider.SetError(GetControlByName(PropertyName), ErrorMessage, ErrorType.Default); } } } } else { ShowError(e); } return isOk; }; Action<bool> SetReadOnly = delegate(bool IsReadOnly) { foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { (control as BaseEdit).Properties.ReadOnly = IsReadOnly; if (CurrentMDI.IsKey(control.Name) && !IsReadOnly && !btnAddNew.Enabled) { (control as BaseEdit).Properties.ReadOnly = true; } if (control.Tag != null) { (control.Tag as Control).Enabled = !IsReadOnly; } if (control.Name == Name) { (control as BaseEdit).Properties.ReadOnly = true; } if (control is LookUpEdit && (control as BaseEdit).Properties.ReadOnly == false) { if (EntityType.IsFKContained(control.Name)) { var A = EntityType.Name; var MDI = (MasterDetailInfo)(control as LookUpEdit).Properties.DataSource.GetType().GenericTypeArguments[0].CreateNew(); var V = (GetControlByName(CurrentMDI.GetKeyName()) as BaseEdit).EditValue; var aList = Table.GetList(MDI.GetType(), A, V, false); (control as LookUpEdit).Properties.DataSource = aList; } } } } }; Action DefaultButtonDisplay = delegate() { btnEdit.Enabled = CurrentMDI.EnabledEdit() && gridView.SelectedRowsCount > 0; btnEdit.Visible = true; btnCancelEdit.Visible = false; btnUpdate.Enabled = false; btnCreateNew.Enabled = btnCreateNew.Visible = true; btnCancelNew.Visible = false; btnAddNew.Enabled = false; btnDelete.Enabled = gridView.SelectedRowsCount > 0; }; Func<MasterDetailInfo> GetCurrentRecord = delegate() { var AElement = EntityType.CreateNew(); foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { AElement.SetPropertyValue(control.Name, (control as BaseEdit).EditValue); } } return (AElement as MasterDetailInfo); }; #endregion #region ==================================== Button Events ==================================== btnEdit.Click += new EventHandler(delegate(object sender, EventArgs e) { foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { Element.SetPropertyValue(control.Name, (control as BaseEdit).EditValue); } } DefaultButtonDisplay(); btnCancelEdit.Visible = btnUpdate.Enabled = true; btnEdit.Visible = btnCreateNew.Enabled = btnDelete.Enabled = false; SetReadOnly(false); DataGridView.Enabled = false; }); btnCancelEdit.Click += new EventHandler(delegate(object sender, EventArgs e) { foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { (control as BaseEdit).EditValue = Element.GetPropertyValue(control.Name); } } DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; dxErrorProvider.ClearErrors(); }); btnUpdate.Click += new EventHandler(delegate(object sender, EventArgs e) { var NewElement = GetCurrentRecord(); bool isOk = false; try { Table.Update(NewElement); } catch (Exception ex) { isOk = ValidateEntity(ex); } finally { if (isOk) { dxErrorProvider.ClearErrors(); DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; } } }); btnCreateNew.Click += new EventHandler(delegate(object sender, EventArgs e) { gridView.AddNewRow(); if (!string.IsNullOrEmpty(Name)) { var txt = (GetControlByName(Name) as BaseEdit); txt.EditValue = Value; txt.BindingManager.EndCurrentEdit(); } DefaultButtonDisplay(); btnCancelNew.Visible = btnAddNew.Enabled = true; btnCreateNew.Visible = btnEdit.Enabled = btnDelete.Enabled = false; SetReadOnly(false); DataGridView.Enabled = false; }); btnCancelNew.Click += new EventHandler(delegate(object sender, EventArgs e){ gridView.DeleteSelectedRows(); DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; dxErrorProvider.ClearErrors(); }); btnAddNew.Click += new EventHandler(delegate(object sender, EventArgs e) { var NewElement = GetCurrentRecord(); bool isOk = true; try { Table.Insert(NewElement); } catch (Exception ex) { isOk = ValidateEntity(ex); } finally { if (isOk) { dxErrorProvider.ClearErrors(); DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; } } }); btnDelete.Click += new EventHandler(delegate(object sender, EventArgs e) { var AElement = GetCurrentRecord(); try { gridView.DeleteSelectedRows(); Table.Delete(AElement); } catch (System.Exception ex) { ValidateEntity(ex); } }); #endregion splitContainerControl.Panel2.Controls.AddRange(new Control[] { btnEdit, btnCancelEdit, btnUpdate, btnCreateNew, btnCancelNew, btnAddNew, btnDelete }); #region ==================================== Relation ==================================== var Count = CurrentMDI.GetRelationCount(); bX = 0; bWidth = 160; for (int i = 0; i < Count; i++) { var MDI = (MasterDetailInfo)CurrentMDI.GetRelationType(i).CreateNew(); var aName = MDI.GetType().Name; var aButton = new SimpleButton() { Name = "btnRelation_"+ aName, Text = MDI.GetName(), Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = bWidth, Enabled = DSQuyen.Where(m => m.Quyen > 1 && m.Menu.Contains(aName)).Count() > 0 || Username == "admin" }; aButton.Click += new EventHandler(delegate(object sender, EventArgs e) { var TableName = CurrentMDI.GetType().Name; var ColumnName = MDI.GetForeignKeyColumn(TableName); var KeyValue = GetCurrentRecord().GetKeyValue(); UpdateGridView(MDI, ColumnName, KeyValue); //gridView.Columns[0].FilterInfo = new ColumnFilterInfo(gridView.Columns[ColumnName], KeyValue); }); splitContainerControl.Panel2.Controls.Add(aButton); index = bX > 0 ? index + 1 : index; bX = bX > 0 ? 0 : bX + 1; } #endregion }
/// <summary> /// 绑定日期输入控件的数据源 /// </summary> /// <param name="edit">日期输入控件TimeEdit</param> /// <param name="dataSource">数据源</param> /// <param name="bindField">取值字段</param> public static void BindingTextEditDateTime(TimeEdit edit, object dataSource, string bindField) { try { edit.DataBindings.Clear(); //不能绑定日期控件的DateTime属性. 只能为EditValue! Binding b = new Binding("EditValue", dataSource, bindField); b.NullValue = null; b.Parse += new ConvertEventHandler(DataBinder.DateStringToDate); b.Format += new ConvertEventHandler(DataBinder.DateToDateString); edit.DataBindings.Add(b); } catch (Exception ex) { Msg.ShowException(ex); } }
public static string getFilterFromTo(string opLeft, TimeEdit from, TimeEdit to) { string filter = ""; if (from.Text == to.Text) return filter; if (from.Text == "" && to.Text == "") return filter; if (from.Text == "" || from.Text == "00:00") filter = " AND cast(" + opLeft + " as time) <='" + to.Text + "'"; else if (to.Text == "" || from.Text == "00:00") filter = " AND cast(" + opLeft + " as time) >='" + from.Text + "'"; else filter = string.Format(" AND ( cast( {0} as time) BETWEEN '{1}' AND '{2}')", opLeft, from.Text, to.Text); return filter; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> protected void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmBienMucSearchQL)); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.MainBar = new DevExpress.XtraBars.Bar(); this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem(); this.popupMenu2 = new DevExpress.XtraBars.PopupMenu(this.components); this.barButtonItemAddNext = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem(); this.popupMenu3 = new DevExpress.XtraBars.PopupMenu(this.components); this.barButtonItemSuaGiuMB = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barSubItemInNhan = new DevExpress.XtraBars.BarSubItem(); this.barButtonItemInBeatcamTrong = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemInBeatacamNgoai = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem(); this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components); this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem(); this.barCheckItemNangCao = new DevExpress.XtraBars.BarCheckItem(); this.barCheckItemDonGian = new DevExpress.XtraBars.BarCheckItem(); this.barButtonItemClose = new DevExpress.XtraBars.BarButtonItem(); 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.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components); this.dockPanelAdvance = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel2_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.filterControl1 = new DevExpress.XtraEditors.FilterControl(); this.dockPanelSimple = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components); this.ngayNhap = new ProtocolVN.Framework.Win.Trial.PLDateSelection(); this.TapSoDen = new DevExpress.XtraEditors.SpinEdit(); this.TapSoTu = new DevExpress.XtraEditors.SpinEdit(); this.plLabel21 = new DevExpress.XtraEditors.LabelControl(); this.plLabel22 = new DevExpress.XtraEditors.LabelControl(); this.TenTap = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete(); this.SoDKCBHD = new ProtocolVN.Framework.Win.PLMultiCombobox(); this.plLabel20 = new DevExpress.XtraEditors.LabelControl(); this.LoaiLuuTru = new ProtocolVN.Framework.Win.PLMultiCombobox(); this.plLabel19 = new DevExpress.XtraEditors.LabelControl(); this.TimeslotDen = new DevExpress.XtraEditors.TimeEdit(); this.TimeslotTu = new DevExpress.XtraEditors.TimeEdit(); this.SoRunConLaiTu = new DevExpress.XtraEditors.SpinEdit(); this.SoRunDaDungTu = new DevExpress.XtraEditors.SpinEdit(); this.SoRunConLaiDen = new DevExpress.XtraEditors.SpinEdit(); this.SoRunDaDungDen = new DevExpress.XtraEditors.SpinEdit(); this.TongSoRunDen = new DevExpress.XtraEditors.SpinEdit(); this.TongSoRunTu = new DevExpress.XtraEditors.SpinEdit(); this.BQDTTNEndDen = new DevExpress.XtraEditors.DateEdit(); this.BQDTNNEndDen = new DevExpress.XtraEditors.DateEdit(); this.BQDTNNEndTu = new DevExpress.XtraEditors.DateEdit(); this.BQDTTNEndTu = new DevExpress.XtraEditors.DateEdit(); this.PhongBan = new ProtocolVN.Framework.Win.PLDMTreeMultiChoice(); this.NamSXDen = new DevExpress.XtraEditors.SpinEdit(); this.NamSXTu = new DevExpress.XtraEditors.SpinEdit(); this.plLabel11 = new DevExpress.XtraEditors.LabelControl(); this.plLabel17 = new DevExpress.XtraEditors.LabelControl(); this.plLabel16 = new DevExpress.XtraEditors.LabelControl(); this.plLabel15 = new DevExpress.XtraEditors.LabelControl(); this.plLabel9 = new DevExpress.XtraEditors.LabelControl(); this.plLabel3 = new DevExpress.XtraEditors.LabelControl(); this.plLabel2 = new DevExpress.XtraEditors.LabelControl(); this.plLabel10 = new DevExpress.XtraEditors.LabelControl(); this.plLabel8 = new DevExpress.XtraEditors.LabelControl(); this.plLabel14 = new DevExpress.XtraEditors.LabelControl(); this.plLabel13 = new DevExpress.XtraEditors.LabelControl(); this.plLabel12 = new DevExpress.XtraEditors.LabelControl(); this.plLabel7 = new DevExpress.XtraEditors.LabelControl(); this.label34 = new DevExpress.XtraEditors.LabelControl(); this.BanQuyenThuoc = new ProtocolVN.Framework.Win.PLMultiCombobox(); this.DonViCungCap = new ProtocolVN.Framework.Win.PLMultiCombobox(); this.Category = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete(); this.TenGoc = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete(); this.NoiDung = new ProtocolVN.App.VideoLibrary.PLTextEditAutocomplete(); this.QuocGia = new ProtocolVN.Framework.Win.PLMultiCombobox(); this.TietMuc = new ProtocolVN.Framework.Win.PLMultiCombobox(); this.plLabel18 = new DevExpress.XtraEditors.LabelControl(); this.plLabel5 = new DevExpress.XtraEditors.LabelControl(); this.label10 = new DevExpress.XtraEditors.LabelControl(); this.plLabel1 = new DevExpress.XtraEditors.LabelControl(); this.plLabel23 = new DevExpress.XtraEditors.LabelControl(); this.label29 = new DevExpress.XtraEditors.LabelControl(); this.plLabel6 = new DevExpress.XtraEditors.LabelControl(); this.label3 = new DevExpress.XtraEditors.LabelControl(); this.plLabel4 = new DevExpress.XtraEditors.LabelControl(); this.label5 = new DevExpress.XtraEditors.LabelControl(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem(); this.Col_PM_PostMaster = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_ThanhLy = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_LoaiLuu = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_TongTap = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_Ke = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_Ngan = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_Tang = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_PopUp = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_TTDinhKem = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_NgayNhapKho = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_DVDNgayDuyet = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_DVDNgayHoanTat = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_TTHD = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_ThoiLuongChung = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.gridControlMaster = new DevExpress.XtraGrid.GridControl(); this.gridViewMaster = new DevExpress.XtraGrid.Views.BandedGrid.PLBandedGridView(); this.gridBandThongTinChinh = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gridBand5 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.Col_BM_TapSo = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_BM_TenTap = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_BM_SoBang = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_BM_MaBang = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_BM_ThoiLuong = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_BM_ThongSo = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridBand4 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.Col_PM_NoiDungDuyet = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_PM_TraierPost = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_BM_ThanhLy = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridBand3 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.Col_CT_MaCT = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_NgayAWB = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_NgayLap = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_NguoiLap = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_PhongBan = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_Category = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_NoiDung = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_TenGoc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_TietMuc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_DaoDien = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_DienVien = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_TomTat = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_DoiTuongKhanGia = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_KHPL = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_KHXK = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_TinhTrangBang = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_TuKhoa = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_ThanhLy = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_GhiChu = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_Photos = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_Ranking = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_Script = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_TrailerGoc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridBandNguonGoc = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.Col_CT_NamSX = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_Nuoc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_DonViCungCap = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_DonViSoHuu = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_KenhHanCheBan = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_ThongTinBan = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridBand2 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.Col_CT_BanQuyenThuoc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_BanQuyenDIDStart = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_BanQuyenDIDEnd = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_BanQuyenDTNNStart = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_BanQuyenDTNNEnd = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_BanQuyenHTV = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridBandThongTinPhatSong = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.Col_CT_MuaKem = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_PhatSongChinh = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_PhatSongLai = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_PhatSongKhac = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_TongSoRun = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_SoLanPhat = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_SoRunConLai = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_CT_Release = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridBandThongTinBan = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.ThôngtinHD = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.gridBand7 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.Col_BM_SoDKCBHD = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.Col_BM_NoiLuuTru = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); this.gridBand6 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage(); this.gridControlDetail = new DevExpress.XtraGrid.GridControl(); this.gridViewDetail = new DevExpress.XtraGrid.Views.Grid.PLGridView(); this.barButtonItemThongKe = new DevExpress.XtraBars.BarButtonItem(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit(); this.dockPanelAdvance.SuspendLayout(); this.dockPanel2_Container.SuspendLayout(); this.dockPanelSimple.SuspendLayout(); this.dockPanel1_Container.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit(); this.popupControlContainerFilter.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.TapSoDen.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TapSoTu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TenTap.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SoDKCBHD.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LoaiLuuTru.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TimeslotDen.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TimeslotTu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SoRunConLaiTu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SoRunDaDungTu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SoRunConLaiDen.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SoRunDaDungDen.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TongSoRunDen.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TongSoRunTu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTTNEndDen.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTTNEndDen.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTNNEndDen.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTNNEndDen.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTNNEndTu.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTNNEndTu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTTNEndTu.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTTNEndTu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NamSXDen.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NamSXTu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BanQuyenThuoc.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.DonViCungCap.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Category.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TenGoc.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NoiDung.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.QuocGia.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TietMuc.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit(); this.xtraTabControlDetail.SuspendLayout(); this.xtraTabPageDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.MainBar}); 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.DockManager = this.dockManager1; this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItemAdd, this.barButtonItemDelete, this.barButtonItemUpdate, this.barButtonItemPrint, this.barStaticItem1, this.barButtonItem1, this.barButtonItem2, this.barButtonItemCommit, this.barButtonItemNoCommit, this.barSubItem1, this.barButtonItemXem, this.barButtonItemSearch, this.barButtonItemClose, this.barCheckItemFilter, this.barButtonItem3, this.barButtonItem4, this.barButtonItem5, this.barSubItemInNhan, this.barButtonItemInBeatcamTrong, this.barButtonItemInBeatacamNgoai, this.barButtonItemAddNext, this.barButtonItemSuaGiuMB, this.barCheckItemNangCao, this.barCheckItemDonGian, this.barButtonItemThongKe}); this.barManager1.MaxItemId = 44; // // MainBar // this.MainBar.BarName = "MainBar"; this.MainBar.DockCol = 0; this.MainBar.DockRow = 0; this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.MainBar.FloatLocation = new System.Drawing.Point(39, 133); this.MainBar.FloatSize = new System.Drawing.Size(72, 73); this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItemInNhan), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemCommit, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemNoCommit), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemThongKe, true)}); this.MainBar.OptionsBar.AllowQuickCustomization = false; this.MainBar.OptionsBar.DrawDragBorder = false; this.MainBar.OptionsBar.RotateWhenVertical = false; this.MainBar.OptionsBar.UseWholeRow = true; this.MainBar.Text = "Custom 1"; // // barButtonItemAdd // this.barButtonItemAdd.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemAdd.Caption = "Thêm"; this.barButtonItemAdd.DropDownControl = this.popupMenu2; this.barButtonItemAdd.Id = 0; this.barButtonItemAdd.Name = "barButtonItemAdd"; this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenu2 // this.popupMenu2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemAddNext)}); this.popupMenu2.Manager = this.barManager1; this.popupMenu2.Name = "popupMenu2"; // // barButtonItemAddNext // this.barButtonItemAddNext.Caption = "Thêm tậ&p tiếp theo"; this.barButtonItemAddNext.Id = 39; this.barButtonItemAddNext.Name = "barButtonItemAddNext"; this.barButtonItemAddNext.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemAddNext_ItemClick); // // barButtonItemXem // this.barButtonItemXem.Caption = "X&em"; this.barButtonItemXem.Id = 24; this.barButtonItemXem.Name = "barButtonItemXem"; this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemDelete // this.barButtonItemDelete.Caption = "&Xóa"; this.barButtonItemDelete.Id = 1; this.barButtonItemDelete.Name = "barButtonItemDelete"; this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemUpdate // this.barButtonItemUpdate.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemUpdate.Caption = "&Sửa"; this.barButtonItemUpdate.DropDownControl = this.popupMenu3; this.barButtonItemUpdate.Id = 2; this.barButtonItemUpdate.Name = "barButtonItemUpdate"; this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenu3 // this.popupMenu3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSuaGiuMB)}); this.popupMenu3.Manager = this.barManager1; this.popupMenu3.Name = "popupMenu3"; // // barButtonItemSuaGiuMB // this.barButtonItemSuaGiuMB.Caption = "Sửa &vẫn giữ phần số của mã băng"; this.barButtonItemSuaGiuMB.Id = 40; this.barButtonItemSuaGiuMB.Name = "barButtonItemSuaGiuMB"; this.barButtonItemSuaGiuMB.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemSuaGiuMB_ItemClick); // // barButtonItemPrint // this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemPrint.Caption = "&In"; this.barButtonItemPrint.DropDownControl = this.popupMenu1; this.barButtonItemPrint.Id = 3; this.barButtonItemPrint.Name = "barButtonItemPrint"; this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenu1 // this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)}); this.popupMenu1.Manager = this.barManager1; this.popupMenu1.Name = "popupMenu1"; // // barButtonItem4 // this.barButtonItem4.Caption = "Xem t&rước"; this.barButtonItem4.Id = 33; this.barButtonItem4.Name = "barButtonItem4"; // // barSubItemInNhan // this.barSubItemInNhan.Caption = "In n&hãn"; this.barSubItemInNhan.Id = 36; this.barSubItemInNhan.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemInBeatcamTrong), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemInBeatacamNgoai)}); this.barSubItemInNhan.Name = "barSubItemInNhan"; this.barSubItemInNhan.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemInBeatcamTrong // this.barButtonItemInBeatcamTrong.Caption = "In betatcam t&rong"; this.barButtonItemInBeatcamTrong.Id = 37; this.barButtonItemInBeatcamTrong.Name = "barButtonItemInBeatcamTrong"; this.barButtonItemInBeatcamTrong.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItemInBeatcamTrong.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemInBeatcamTrong_ItemClick); // // barButtonItemInBeatacamNgoai // this.barButtonItemInBeatacamNgoai.Caption = "In beatacam n&goài"; this.barButtonItemInBeatacamNgoai.Id = 38; this.barButtonItemInBeatacamNgoai.Name = "barButtonItemInBeatacamNgoai"; this.barButtonItemInBeatacamNgoai.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItemInBeatacamNgoai.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItemInBeatacamNgoai_ItemClick); // // barButtonItemCommit // this.barButtonItemCommit.Caption = "&Duyệt"; this.barButtonItemCommit.Id = 17; this.barButtonItemCommit.Name = "barButtonItemCommit"; this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemNoCommit // this.barButtonItemNoCommit.Caption = "&Không duyệt"; this.barButtonItemNoCommit.Id = 18; this.barButtonItemNoCommit.Name = "barButtonItemNoCommit"; this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barSubItem1 // this.barSubItem1.Caption = "&Nghiệp vụ"; this.barSubItem1.Id = 20; this.barSubItem1.Name = "barSubItem1"; this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemSearch // this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemSearch.Caption = "Tì&m kiếm"; this.barButtonItemSearch.DropDownControl = this.popupMenuFilter; this.barButtonItemSearch.Id = 27; this.barButtonItemSearch.Name = "barButtonItemSearch"; this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenuFilter // this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter), new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemNangCao), new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemDonGian)}); this.popupMenuFilter.Manager = this.barManager1; this.popupMenuFilter.Name = "popupMenuFilter"; // // barCheckItemFilter // this.barCheckItemFilter.Caption = "Điề&u kiện lọc"; this.barCheckItemFilter.Id = 29; this.barCheckItemFilter.Name = "barCheckItemFilter"; this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barCheckItemFilter.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // barCheckItemNangCao // this.barCheckItemNangCao.Caption = "Tìm kiếm nâng cao"; this.barCheckItemNangCao.Id = 41; this.barCheckItemNangCao.Name = "barCheckItemNangCao"; // // barCheckItemDonGian // this.barCheckItemDonGian.Caption = "Tìm kiếm đơn giản"; this.barCheckItemDonGian.Id = 42; this.barCheckItemDonGian.Name = "barCheckItemDonGian"; // // barButtonItemClose // this.barButtonItemClose.Caption = "Đón&g"; this.barButtonItemClose.Id = 28; this.barButtonItemClose.Name = "barButtonItemClose"; this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barDockControlTop // this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(1028, 24); // // barDockControlBottom // this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 734); this.barDockControlBottom.Size = new System.Drawing.Size(1028, 0); // // barDockControlLeft // this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 24); this.barDockControlLeft.Size = new System.Drawing.Size(0, 710); // // barDockControlRight // this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(1028, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 710); // // dockManager1 // this.dockManager1.Form = this; this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.dockPanelAdvance, this.dockPanelSimple}); this.dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl"}); // // dockPanelAdvance // this.dockPanelAdvance.Controls.Add(this.dockPanel2_Container); this.dockPanelAdvance.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; this.dockPanelAdvance.ID = new System.Guid("4dfe076a-bb5a-4480-b941-f391f02697b8"); this.dockPanelAdvance.Location = new System.Drawing.Point(0, 24); this.dockPanelAdvance.Name = "dockPanelAdvance"; this.dockPanelAdvance.OriginalSize = new System.Drawing.Size(200, 200); this.dockPanelAdvance.Size = new System.Drawing.Size(200, 710); this.dockPanelAdvance.Text = "Điều kiện tìm kiếm nâng cao"; // // dockPanel2_Container // this.dockPanel2_Container.Controls.Add(this.filterControl1); this.dockPanel2_Container.Location = new System.Drawing.Point(3, 25); this.dockPanel2_Container.Name = "dockPanel2_Container"; this.dockPanel2_Container.Size = new System.Drawing.Size(194, 682); this.dockPanel2_Container.TabIndex = 0; // // filterControl1 // this.filterControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.filterControl1.Cursor = System.Windows.Forms.Cursors.Arrow; this.filterControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.filterControl1.Location = new System.Drawing.Point(0, 0); this.filterControl1.Name = "filterControl1"; this.filterControl1.Size = new System.Drawing.Size(194, 682); this.filterControl1.TabIndex = 11; this.filterControl1.Text = "filterControl1"; // // dockPanelSimple // this.dockPanelSimple.Controls.Add(this.dockPanel1_Container); this.dockPanelSimple.Dock = DevExpress.XtraBars.Docking.DockingStyle.Top; this.dockPanelSimple.FloatVertical = true; this.dockPanelSimple.ID = new System.Guid("2345a568-0c89-4a76-a607-0aff4b702676"); this.dockPanelSimple.Location = new System.Drawing.Point(200, 24); this.dockPanelSimple.Name = "dockPanelSimple"; this.dockPanelSimple.OriginalSize = new System.Drawing.Size(200, 161); this.dockPanelSimple.Size = new System.Drawing.Size(828, 161); this.dockPanelSimple.Text = "Điều kiện tìm kiếm đơn giản"; // // dockPanel1_Container // this.dockPanel1_Container.Controls.Add(this.popupControlContainerFilter); this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(822, 133); this.dockPanel1_Container.TabIndex = 0; // // popupControlContainerFilter // this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.popupControlContainerFilter.Controls.Add(this.ngayNhap); this.popupControlContainerFilter.Controls.Add(this.TapSoDen); this.popupControlContainerFilter.Controls.Add(this.TapSoTu); this.popupControlContainerFilter.Controls.Add(this.plLabel21); this.popupControlContainerFilter.Controls.Add(this.plLabel22); this.popupControlContainerFilter.Controls.Add(this.TenTap); this.popupControlContainerFilter.Controls.Add(this.SoDKCBHD); this.popupControlContainerFilter.Controls.Add(this.plLabel20); this.popupControlContainerFilter.Controls.Add(this.LoaiLuuTru); this.popupControlContainerFilter.Controls.Add(this.plLabel19); this.popupControlContainerFilter.Controls.Add(this.TimeslotDen); this.popupControlContainerFilter.Controls.Add(this.TimeslotTu); this.popupControlContainerFilter.Controls.Add(this.SoRunConLaiTu); this.popupControlContainerFilter.Controls.Add(this.SoRunDaDungTu); this.popupControlContainerFilter.Controls.Add(this.SoRunConLaiDen); this.popupControlContainerFilter.Controls.Add(this.SoRunDaDungDen); this.popupControlContainerFilter.Controls.Add(this.TongSoRunDen); this.popupControlContainerFilter.Controls.Add(this.TongSoRunTu); this.popupControlContainerFilter.Controls.Add(this.BQDTTNEndDen); this.popupControlContainerFilter.Controls.Add(this.BQDTNNEndDen); this.popupControlContainerFilter.Controls.Add(this.BQDTNNEndTu); this.popupControlContainerFilter.Controls.Add(this.BQDTTNEndTu); this.popupControlContainerFilter.Controls.Add(this.PhongBan); this.popupControlContainerFilter.Controls.Add(this.NamSXDen); this.popupControlContainerFilter.Controls.Add(this.NamSXTu); this.popupControlContainerFilter.Controls.Add(this.plLabel11); this.popupControlContainerFilter.Controls.Add(this.plLabel17); this.popupControlContainerFilter.Controls.Add(this.plLabel16); this.popupControlContainerFilter.Controls.Add(this.plLabel15); this.popupControlContainerFilter.Controls.Add(this.plLabel9); this.popupControlContainerFilter.Controls.Add(this.plLabel3); this.popupControlContainerFilter.Controls.Add(this.plLabel2); this.popupControlContainerFilter.Controls.Add(this.plLabel10); this.popupControlContainerFilter.Controls.Add(this.plLabel8); this.popupControlContainerFilter.Controls.Add(this.plLabel14); this.popupControlContainerFilter.Controls.Add(this.plLabel13); this.popupControlContainerFilter.Controls.Add(this.plLabel12); this.popupControlContainerFilter.Controls.Add(this.plLabel7); this.popupControlContainerFilter.Controls.Add(this.label34); this.popupControlContainerFilter.Controls.Add(this.BanQuyenThuoc); this.popupControlContainerFilter.Controls.Add(this.DonViCungCap); this.popupControlContainerFilter.Controls.Add(this.Category); this.popupControlContainerFilter.Controls.Add(this.TenGoc); this.popupControlContainerFilter.Controls.Add(this.NoiDung); this.popupControlContainerFilter.Controls.Add(this.QuocGia); this.popupControlContainerFilter.Controls.Add(this.TietMuc); this.popupControlContainerFilter.Controls.Add(this.plLabel18); this.popupControlContainerFilter.Controls.Add(this.plLabel5); this.popupControlContainerFilter.Controls.Add(this.label10); this.popupControlContainerFilter.Controls.Add(this.plLabel1); this.popupControlContainerFilter.Controls.Add(this.plLabel23); this.popupControlContainerFilter.Controls.Add(this.label29); this.popupControlContainerFilter.Controls.Add(this.plLabel6); this.popupControlContainerFilter.Controls.Add(this.label3); this.popupControlContainerFilter.Controls.Add(this.plLabel4); this.popupControlContainerFilter.Controls.Add(this.label5); this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Fill; this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 0); this.popupControlContainerFilter.Manager = this.barManager1; this.popupControlContainerFilter.Name = "popupControlContainerFilter"; this.popupControlContainerFilter.Size = new System.Drawing.Size(822, 133); this.popupControlContainerFilter.TabIndex = 12; this.popupControlContainerFilter.Visible = false; // // ngayNhap // this.ngayNhap.Caption = "Từ ngày 25/02/2012 đến ngày 03/03/2012"; this.ngayNhap.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate; this.ngayNhap.FirstFrom = new System.DateTime(2012, 2, 25, 5, 9, 33, 890); this.ngayNhap.FirstTo = new System.DateTime(2012, 3, 3, 5, 9, 33, 890); this.ngayNhap.FromDate = new System.DateTime(2012, 2, 25, 5, 9, 33, 890); this.ngayNhap.Location = new System.Drawing.Point(583, 78); this.ngayNhap.Name = "ngayNhap"; this.ngayNhap.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date; this.ngayNhap.SecondFrom = new System.DateTime(2012, 2, 25, 5, 9, 33, 890); this.ngayNhap.SecondTo = new System.DateTime(2012, 3, 3, 5, 9, 33, 890); this.ngayNhap.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate; this.ngayNhap.Size = new System.Drawing.Size(291, 21); this.ngayNhap.TabIndex = 247; this.ngayNhap.ToDate = new System.DateTime(2012, 3, 3, 5, 9, 33, 890); this.ngayNhap.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear) | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear))); // // TapSoDen // this.TapSoDen.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.TapSoDen.Location = new System.Drawing.Point(687, 106); this.TapSoDen.Name = "TapSoDen"; this.TapSoDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.TapSoDen.Size = new System.Drawing.Size(75, 20); this.TapSoDen.TabIndex = 245; // // TapSoTu // this.TapSoTu.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.TapSoTu.Location = new System.Drawing.Point(585, 105); this.TapSoTu.Name = "TapSoTu"; this.TapSoTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.TapSoTu.Size = new System.Drawing.Size(67, 20); this.TapSoTu.TabIndex = 246; // // plLabel21 // this.plLabel21.Location = new System.Drawing.Point(657, 109); this.plLabel21.Name = "plLabel21"; this.plLabel21.Size = new System.Drawing.Size(18, 13); this.plLabel21.TabIndex = 243; this.plLabel21.Text = "đến"; // // plLabel22 // this.plLabel22.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.plLabel22.Appearance.Options.UseFont = true; this.plLabel22.Location = new System.Drawing.Point(496, 107); this.plLabel22.Name = "plLabel22"; this.plLabel22.Size = new System.Drawing.Size(53, 13); this.plLabel22.TabIndex = 244; this.plLabel22.Text = "Tập số từ"; this.plLabel22.ToolTip = "Tập số (Cấp 3)"; // // TenTap // this.TenTap._DataSource = null; this.TenTap._GetField = null; this.TenTap.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.TenTap.Location = new System.Drawing.Point(844, 106); this.TenTap.Name = "TenTap"; this.TenTap.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None); this.TenTap.Size = new System.Drawing.Size(626, 20); this.TenTap.TabIndex = 242; // // SoDKCBHD // this.SoDKCBHD.DataSource = null; this.SoDKCBHD.DisplayField = null; this.SoDKCBHD.Location = new System.Drawing.Point(333, 103); this.SoDKCBHD.Name = "SoDKCBHD"; this.SoDKCBHD.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.SoDKCBHD.Size = new System.Drawing.Size(150, 20); this.SoDKCBHD.TabIndex = 241; this.SoDKCBHD.ValueField = null; // // plLabel20 // this.plLabel20.Location = new System.Drawing.Point(266, 108); this.plLabel20.Name = "plLabel20"; this.plLabel20.Size = new System.Drawing.Size(59, 13); this.plLabel20.TabIndex = 240; this.plLabel20.Text = "Số ĐKCB HD"; this.plLabel20.ToolTip = "Số ĐKCB HD (Cấp 2)"; // // LoaiLuuTru // this.LoaiLuuTru.DataSource = null; this.LoaiLuuTru.DisplayField = null; this.LoaiLuuTru.Location = new System.Drawing.Point(75, 105); this.LoaiLuuTru.Name = "LoaiLuuTru"; this.LoaiLuuTru.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.LoaiLuuTru.Size = new System.Drawing.Size(185, 20); this.LoaiLuuTru.TabIndex = 241; this.LoaiLuuTru.ValueField = null; // // plLabel19 // this.plLabel19.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.plLabel19.Appearance.Options.UseFont = true; this.plLabel19.Location = new System.Drawing.Point(4, 108); this.plLabel19.Name = "plLabel19"; this.plLabel19.Size = new System.Drawing.Size(65, 13); this.plLabel19.TabIndex = 240; this.plLabel19.Text = "Loại lưu trữ"; this.plLabel19.ToolTip = "Loại lưu trữ (cấp 2)"; // // TimeslotDen // this.TimeslotDen.EditValue = new System.DateTime(2011, 12, 15, 0, 0, 0, 0); this.TimeslotDen.Location = new System.Drawing.Point(174, 79); this.TimeslotDen.Name = "TimeslotDen"; this.TimeslotDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.TimeslotDen.Properties.Mask.EditMask = "HH:mm"; this.TimeslotDen.Size = new System.Drawing.Size(86, 20); this.TimeslotDen.TabIndex = 239; // // TimeslotTu // this.TimeslotTu.EditValue = new System.DateTime(2011, 12, 15, 0, 0, 0, 0); this.TimeslotTu.Location = new System.Drawing.Point(48, 79); this.TimeslotTu.MenuManager = this.barManager1; this.TimeslotTu.Name = "TimeslotTu"; this.TimeslotTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.TimeslotTu.Properties.Mask.EditMask = "HH:mm"; this.TimeslotTu.Size = new System.Drawing.Size(78, 20); this.TimeslotTu.TabIndex = 239; // // SoRunConLaiTu // this.SoRunConLaiTu.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.SoRunConLaiTu.Location = new System.Drawing.Point(844, 55); this.SoRunConLaiTu.Name = "SoRunConLaiTu"; this.SoRunConLaiTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.SoRunConLaiTu.Size = new System.Drawing.Size(67, 20); this.SoRunConLaiTu.TabIndex = 238; // // SoRunDaDungTu // this.SoRunDaDungTu.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.SoRunDaDungTu.Location = new System.Drawing.Point(844, 32); this.SoRunDaDungTu.Name = "SoRunDaDungTu"; this.SoRunDaDungTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.SoRunDaDungTu.Size = new System.Drawing.Size(67, 20); this.SoRunDaDungTu.TabIndex = 238; // // SoRunConLaiDen // this.SoRunConLaiDen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.SoRunConLaiDen.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.SoRunConLaiDen.Location = new System.Drawing.Point(934, 53); this.SoRunConLaiDen.Name = "SoRunConLaiDen"; this.SoRunConLaiDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.SoRunConLaiDen.Size = new System.Drawing.Size(626, 20); this.SoRunConLaiDen.TabIndex = 238; // // SoRunDaDungDen // this.SoRunDaDungDen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.SoRunDaDungDen.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.SoRunDaDungDen.Location = new System.Drawing.Point(934, 31); this.SoRunDaDungDen.Name = "SoRunDaDungDen"; this.SoRunDaDungDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.SoRunDaDungDen.Size = new System.Drawing.Size(626, 20); this.SoRunDaDungDen.TabIndex = 238; // // TongSoRunDen // this.TongSoRunDen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.TongSoRunDen.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.TongSoRunDen.Location = new System.Drawing.Point(934, 7); this.TongSoRunDen.Name = "TongSoRunDen"; this.TongSoRunDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.TongSoRunDen.Size = new System.Drawing.Size(626, 20); this.TongSoRunDen.TabIndex = 238; // // TongSoRunTu // this.TongSoRunTu.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.TongSoRunTu.Location = new System.Drawing.Point(843, 8); this.TongSoRunTu.Name = "TongSoRunTu"; this.TongSoRunTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.TongSoRunTu.Size = new System.Drawing.Size(67, 20); this.TongSoRunTu.TabIndex = 238; // // BQDTTNEndDen // this.BQDTTNEndDen.EditValue = null; this.BQDTTNEndDen.Location = new System.Drawing.Point(687, 31); this.BQDTTNEndDen.Name = "BQDTTNEndDen"; this.BQDTTNEndDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.BQDTTNEndDen.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.BQDTTNEndDen.Size = new System.Drawing.Size(75, 20); this.BQDTTNEndDen.TabIndex = 237; // // BQDTNNEndDen // this.BQDTNNEndDen.EditValue = null; this.BQDTNNEndDen.Location = new System.Drawing.Point(687, 53); this.BQDTNNEndDen.Name = "BQDTNNEndDen"; this.BQDTNNEndDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.BQDTNNEndDen.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.BQDTNNEndDen.Size = new System.Drawing.Size(75, 20); this.BQDTNNEndDen.TabIndex = 237; // // BQDTNNEndTu // this.BQDTNNEndTu.EditValue = null; this.BQDTNNEndTu.Location = new System.Drawing.Point(583, 53); this.BQDTNNEndTu.Name = "BQDTNNEndTu"; this.BQDTNNEndTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.BQDTNNEndTu.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.BQDTNNEndTu.Size = new System.Drawing.Size(74, 20); this.BQDTNNEndTu.TabIndex = 237; // // BQDTTNEndTu // this.BQDTTNEndTu.EditValue = null; this.BQDTTNEndTu.Location = new System.Drawing.Point(583, 30); this.BQDTTNEndTu.MenuManager = this.barManager1; this.BQDTTNEndTu.Name = "BQDTTNEndTu"; this.BQDTTNEndTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.BQDTTNEndTu.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.BQDTTNEndTu.Size = new System.Drawing.Size(73, 20); this.BQDTTNEndTu.TabIndex = 237; // // PhongBan // this.PhongBan.Location = new System.Drawing.Point(333, 79); this.PhongBan.Name = "PhongBan"; this.PhongBan.Size = new System.Drawing.Size(150, 20); this.PhongBan.TabIndex = 10; // // NamSXDen // this.NamSXDen.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.NamSXDen.Location = new System.Drawing.Point(430, 32); this.NamSXDen.Name = "NamSXDen"; this.NamSXDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.NamSXDen.Size = new System.Drawing.Size(55, 20); this.NamSXDen.TabIndex = 234; // // NamSXTu // this.NamSXTu.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.NamSXTu.Location = new System.Drawing.Point(333, 32); this.NamSXTu.MenuManager = this.barManager1; this.NamSXTu.Name = "NamSXTu"; this.NamSXTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.NamSXTu.Size = new System.Drawing.Size(69, 20); this.NamSXTu.TabIndex = 235; // // plLabel11 // this.plLabel11.Location = new System.Drawing.Point(663, 57); this.plLabel11.Name = "plLabel11"; this.plLabel11.Size = new System.Drawing.Size(18, 13); this.plLabel11.TabIndex = 231; this.plLabel11.Text = "đến"; // // plLabel17 // this.plLabel17.Location = new System.Drawing.Point(914, 60); this.plLabel17.Name = "plLabel17"; this.plLabel17.Size = new System.Drawing.Size(18, 13); this.plLabel17.TabIndex = 231; this.plLabel17.Text = "đến"; // // plLabel16 // this.plLabel16.Location = new System.Drawing.Point(914, 36); this.plLabel16.Name = "plLabel16"; this.plLabel16.Size = new System.Drawing.Size(18, 13); this.plLabel16.TabIndex = 231; this.plLabel16.Text = "đến"; // // plLabel15 // this.plLabel15.Location = new System.Drawing.Point(914, 11); this.plLabel15.Name = "plLabel15"; this.plLabel15.Size = new System.Drawing.Size(18, 13); this.plLabel15.TabIndex = 231; this.plLabel15.Text = "đến"; // // plLabel9 // this.plLabel9.Location = new System.Drawing.Point(663, 34); this.plLabel9.Name = "plLabel9"; this.plLabel9.Size = new System.Drawing.Size(18, 13); this.plLabel9.TabIndex = 231; this.plLabel9.Text = "đến"; // // plLabel3 // this.plLabel3.Location = new System.Drawing.Point(407, 36); this.plLabel3.Name = "plLabel3"; this.plLabel3.Size = new System.Drawing.Size(18, 13); this.plLabel3.TabIndex = 231; this.plLabel3.Text = "đến"; // // plLabel2 // this.plLabel2.Location = new System.Drawing.Point(267, 35); this.plLabel2.Name = "plLabel2"; this.plLabel2.Size = new System.Drawing.Size(50, 13); this.plLabel2.TabIndex = 229; this.plLabel2.Text = "Năm SX từ"; this.plLabel2.ToolTip = "Năm sản xuất chương trình (Câp 1)"; // // plLabel10 // this.plLabel10.Location = new System.Drawing.Point(496, 57); this.plLabel10.Name = "plLabel10"; this.plLabel10.Size = new System.Drawing.Size(79, 13); this.plLabel10.TabIndex = 232; this.plLabel10.Text = "BQ DTNN End từ"; this.plLabel10.ToolTip = "Bản quyền đối với đối tác nước ngoài End (Cấp 1)"; // // plLabel8 // this.plLabel8.Location = new System.Drawing.Point(495, 34); this.plLabel8.Name = "plLabel8"; this.plLabel8.Size = new System.Drawing.Size(78, 13); this.plLabel8.TabIndex = 232; this.plLabel8.Text = "BQ DTTN End từ"; this.plLabel8.ToolTip = "Bản quyền đối với đối tác trong nước End (Cấp 1)"; // // plLabel14 // this.plLabel14.Location = new System.Drawing.Point(768, 57); this.plLabel14.Name = "plLabel14"; this.plLabel14.Size = new System.Drawing.Size(64, 13); this.plLabel14.TabIndex = 232; this.plLabel14.Text = "Số run còn lại"; this.plLabel14.ToolTip = "Số run còn lại (Cấp 1)"; // // plLabel13 // this.plLabel13.Location = new System.Drawing.Point(768, 34); this.plLabel13.Name = "plLabel13"; this.plLabel13.Size = new System.Drawing.Size(73, 13); this.plLabel13.TabIndex = 232; this.plLabel13.Text = "Số run đã dùng"; this.plLabel13.ToolTip = "Số run đã dùng (Cấp 1)"; // // plLabel12 // this.plLabel12.Location = new System.Drawing.Point(768, 14); this.plLabel12.Name = "plLabel12"; this.plLabel12.Size = new System.Drawing.Size(57, 13); this.plLabel12.TabIndex = 232; this.plLabel12.Text = "Tổng số run"; this.plLabel12.ToolTip = "Tổng số run (Cấp 1)"; // // plLabel7 // this.plLabel7.Location = new System.Drawing.Point(496, 12); this.plLabel7.Name = "plLabel7"; this.plLabel7.Size = new System.Drawing.Size(81, 13); this.plLabel7.TabIndex = 232; this.plLabel7.Text = "Bản quyền thuộc"; this.plLabel7.ToolTip = "Bản quyền thuộc (Cấp 1)"; // // label34 // this.label34.Location = new System.Drawing.Point(267, 58); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(60, 13); this.label34.TabIndex = 232; this.label34.Text = "ĐV cung cấp"; this.label34.ToolTip = "Đơn vị cung cấp (Cấp 1)"; // // BanQuyenThuoc // this.BanQuyenThuoc.DataSource = null; this.BanQuyenThuoc.DisplayField = null; this.BanQuyenThuoc.Location = new System.Drawing.Point(583, 8); this.BanQuyenThuoc.Name = "BanQuyenThuoc"; this.BanQuyenThuoc.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.BanQuyenThuoc.Size = new System.Drawing.Size(179, 20); this.BanQuyenThuoc.TabIndex = 227; this.BanQuyenThuoc.ValueField = null; // // DonViCungCap // this.DonViCungCap.DataSource = null; this.DonViCungCap.DisplayField = null; this.DonViCungCap.Location = new System.Drawing.Point(333, 55); this.DonViCungCap.Name = "DonViCungCap"; this.DonViCungCap.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.DonViCungCap.Size = new System.Drawing.Size(150, 20); this.DonViCungCap.TabIndex = 227; this.DonViCungCap.ValueField = null; // // Category // this.Category._DataSource = null; this.Category._GetField = null; this.Category.Location = new System.Drawing.Point(174, 54); this.Category.Name = "Category"; this.Category.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None); this.Category.Size = new System.Drawing.Size(87, 20); this.Category.TabIndex = 1; // // TenGoc // this.TenGoc._DataSource = null; this.TenGoc._GetField = null; this.TenGoc.Location = new System.Drawing.Point(47, 31); this.TenGoc.Name = "TenGoc"; this.TenGoc.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None); this.TenGoc.Size = new System.Drawing.Size(214, 20); this.TenGoc.TabIndex = 1; // // NoiDung // this.NoiDung._DataSource = null; this.NoiDung._GetField = null; this.NoiDung.Location = new System.Drawing.Point(48, 8); this.NoiDung.Name = "NoiDung"; this.NoiDung.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None); this.NoiDung.Size = new System.Drawing.Size(213, 20); this.NoiDung.TabIndex = 0; // // QuocGia // this.QuocGia.DataSource = null; this.QuocGia.DisplayField = null; this.QuocGia.Location = new System.Drawing.Point(333, 8); this.QuocGia.Name = "QuocGia"; this.QuocGia.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.QuocGia.Size = new System.Drawing.Size(152, 20); this.QuocGia.TabIndex = 220; this.QuocGia.ValueField = null; // // TietMuc // this.TietMuc.DataSource = null; this.TietMuc.DisplayField = null; this.TietMuc.Location = new System.Drawing.Point(48, 54); this.TietMuc.Name = "TietMuc"; this.TietMuc.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.TietMuc.Size = new System.Drawing.Size(78, 20); this.TietMuc.TabIndex = 2; this.TietMuc.ValueField = null; // // plLabel18 // this.plLabel18.Location = new System.Drawing.Point(133, 83); this.plLabel18.Name = "plLabel18"; this.plLabel18.Size = new System.Drawing.Size(20, 13); this.plLabel18.TabIndex = 213; this.plLabel18.Text = "Đến"; this.plLabel18.ToolTip = "Nước sản xuất"; // // plLabel5 // this.plLabel5.Location = new System.Drawing.Point(128, 57); this.plLabel5.Name = "plLabel5"; this.plLabel5.Size = new System.Drawing.Size(45, 13); this.plLabel5.TabIndex = 213; this.plLabel5.Text = "Category"; this.plLabel5.ToolTip = "Category (Cấp 1)"; // // label10 // this.label10.Location = new System.Drawing.Point(267, 12); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(40, 13); this.label10.TabIndex = 213; this.label10.Text = "Nước SX"; this.label10.ToolTip = "Nước sản xuất (Cấp 1)"; // // plLabel1 // this.plLabel1.Location = new System.Drawing.Point(266, 83); this.plLabel1.Name = "plLabel1"; this.plLabel1.Size = new System.Drawing.Size(51, 13); this.plLabel1.TabIndex = 217; this.plLabel1.Text = "Phòng ban"; this.plLabel1.ToolTip = "Phòng ban (Cấp 1)"; // // plLabel23 // this.plLabel23.Location = new System.Drawing.Point(768, 110); this.plLabel23.Name = "plLabel23"; this.plLabel23.Size = new System.Drawing.Size(37, 13); this.plLabel23.TabIndex = 217; this.plLabel23.Text = "Tên tập"; this.plLabel23.ToolTip = "Tên tập (Cấp 3)"; // // label29 // this.label29.Location = new System.Drawing.Point(495, 83); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(52, 13); this.label29.TabIndex = 217; this.label29.Text = "Ngày nhập"; this.label29.ToolTip = "Ngày nhập thông tin chương trình (Cấp 1)"; // // plLabel6 // this.plLabel6.Location = new System.Drawing.Point(4, 34); this.plLabel6.Name = "plLabel6"; this.plLabel6.Size = new System.Drawing.Size(38, 13); this.plLabel6.TabIndex = 218; this.plLabel6.Text = "Tên gốc"; this.plLabel6.ToolTip = "Tên chương trình gốc (cấp 1)"; // // label3 // this.label3.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.label3.Appearance.Options.UseFont = true; this.label3.Location = new System.Drawing.Point(3, 11); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(38, 13); this.label3.TabIndex = 218; this.label3.Text = "Tên CT"; this.label3.ToolTip = "Tên chương trình (Cấp 1)"; // // plLabel4 // this.plLabel4.Location = new System.Drawing.Point(3, 83); this.plLabel4.Name = "plLabel4"; this.plLabel4.Size = new System.Drawing.Size(39, 13); this.plLabel4.TabIndex = 219; this.plLabel4.Text = "Timeslot"; this.plLabel4.ToolTip = "Timeslot (Cấp 1)"; // // label5 // this.label5.Location = new System.Drawing.Point(2, 57); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(40, 13); this.label5.TabIndex = 219; this.label5.Text = "Tiết mục"; this.label5.ToolTip = "Tiết mục (Cấp 1)"; // // barStaticItem1 // this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.barStaticItem1.Id = 13; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem1.Width = 100; // // barButtonItem1 // this.barButtonItem1.Caption = "barButtonItem1"; this.barButtonItem1.Id = 14; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 15; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem3 // this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItem3.Caption = "In"; this.barButtonItem3.Id = 30; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItem5 // this.barButtonItem5.Caption = "barButtonItem5"; this.barButtonItem5.Id = 34; this.barButtonItem5.Name = "barButtonItem5"; // // Col_PM_PostMaster // this.Col_PM_PostMaster.Caption = "Post/Master"; this.Col_PM_PostMaster.Name = "Col_PM_PostMaster"; this.Col_PM_PostMaster.Visible = true; this.Col_PM_PostMaster.Width = 70; // // Col_PM_ThanhLy // this.Col_PM_ThanhLy.Caption = "Thanh lý (Cấp 2)"; this.Col_PM_ThanhLy.Name = "Col_PM_ThanhLy"; this.Col_PM_ThanhLy.Visible = true; this.Col_PM_ThanhLy.Width = 92; // // Col_PM_LoaiLuu // this.Col_PM_LoaiLuu.Caption = "Loại lưu trữ"; this.Col_PM_LoaiLuu.Name = "Col_PM_LoaiLuu"; this.Col_PM_LoaiLuu.Visible = true; this.Col_PM_LoaiLuu.Width = 67; // // Col_PM_TongTap // this.Col_PM_TongTap.Caption = "Số tập gốc/cắt"; this.Col_PM_TongTap.Name = "Col_PM_TongTap"; this.Col_PM_TongTap.Visible = true; this.Col_PM_TongTap.Width = 82; // // Col_PM_Ke // this.Col_PM_Ke.Caption = "Kệ"; this.Col_PM_Ke.Name = "Col_PM_Ke"; this.Col_PM_Ke.Visible = true; this.Col_PM_Ke.Width = 24; // // Col_PM_Ngan // this.Col_PM_Ngan.Caption = "Ngăn"; this.Col_PM_Ngan.Name = "Col_PM_Ngan"; this.Col_PM_Ngan.Visible = true; this.Col_PM_Ngan.Width = 37; // // Col_PM_Tang // this.Col_PM_Tang.Caption = "Tầng"; this.Col_PM_Tang.Name = "Col_PM_Tang"; this.Col_PM_Tang.Visible = true; this.Col_PM_Tang.Width = 36; // // Col_PM_PopUp // this.Col_PM_PopUp.Caption = "Pop Up"; this.Col_PM_PopUp.Name = "Col_PM_PopUp"; this.Col_PM_PopUp.Visible = true; this.Col_PM_PopUp.Width = 46; // // Col_PM_TTDinhKem // this.Col_PM_TTDinhKem.Caption = "TT Đính kèm"; this.Col_PM_TTDinhKem.Name = "Col_PM_TTDinhKem"; this.Col_PM_TTDinhKem.Visible = true; this.Col_PM_TTDinhKem.Width = 71; // // Col_PM_NgayNhapKho // this.Col_PM_NgayNhapKho.Caption = "Ngày nhập kho"; this.Col_PM_NgayNhapKho.Name = "Col_PM_NgayNhapKho"; this.Col_PM_NgayNhapKho.Visible = true; this.Col_PM_NgayNhapKho.Width = 84; // // Col_PM_DVDNgayDuyet // this.Col_PM_DVDNgayDuyet.Caption = "DVD ngày duyệt"; this.Col_PM_DVDNgayDuyet.Name = "Col_PM_DVDNgayDuyet"; this.Col_PM_DVDNgayDuyet.Visible = true; this.Col_PM_DVDNgayDuyet.Width = 90; // // Col_PM_DVDNgayHoanTat // this.Col_PM_DVDNgayHoanTat.Caption = "DVD Ngày hoàn tất"; this.Col_PM_DVDNgayHoanTat.Name = "Col_PM_DVDNgayHoanTat"; this.Col_PM_DVDNgayHoanTat.Visible = true; this.Col_PM_DVDNgayHoanTat.Width = 104; // // Col_PM_TTHD // this.Col_PM_TTHD.Caption = "Thông tin HD"; this.Col_PM_TTHD.Name = "Col_PM_TTHD"; this.Col_PM_TTHD.Visible = true; this.Col_PM_TTHD.Width = 74; // // Col_PM_ThoiLuongChung // this.Col_PM_ThoiLuongChung.Caption = "Thời lượng chung"; this.Col_PM_ThoiLuongChung.Name = "Col_PM_ThoiLuongChung"; this.Col_PM_ThoiLuongChung.Visible = true; this.Col_PM_ThoiLuongChung.Width = 94; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(200, 185); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.splitContainerControl1.Panel1.AppearanceCaption.Options.UseFont = true; this.splitContainerControl1.Panel1.AppearanceCaption.Options.UseTextOptions = true; this.splitContainerControl1.Panel1.AppearanceCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.splitContainerControl1.Panel1.Controls.Add(this.gridControlMaster); this.splitContainerControl1.Panel1.Text = "Chương trình"; this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left; this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail); this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(828, 549); this.splitContainerControl1.SplitterPosition = 503; this.splitContainerControl1.TabIndex = 5; this.splitContainerControl1.Text = "splitContainerControl1"; // // gridControlMaster // this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage"))); this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlMaster.Location = new System.Drawing.Point(0, 0); this.gridControlMaster.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.UltraFlat; this.gridControlMaster.MainView = this.gridViewMaster; this.gridControlMaster.Name = "gridControlMaster"; this.gridControlMaster.Size = new System.Drawing.Size(828, 503); this.gridControlMaster.TabIndex = 9; this.gridControlMaster.TabStop = false; this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMaster}); // // gridViewMaster // this.gridViewMaster.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Inch); this.gridViewMaster.Appearance.GroupPanel.Options.UseFont = true; this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewMaster.Appearance.ViewCaption.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.gridViewMaster.Appearance.ViewCaption.Options.UseBackColor = true; this.gridViewMaster.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { this.gridBandThongTinChinh, this.gridBandNguonGoc, this.gridBandThongTinPhatSong, this.gridBandThongTinBan, this.ThôngtinHD}); this.gridViewMaster.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn[] { this.Col_CT_MaCT, this.Col_CT_NgayAWB, this.Col_CT_NgayLap, this.Col_CT_NguoiLap, this.Col_CT_PhongBan, this.Col_CT_NoiDung, this.Col_CT_TietMuc, this.Col_CT_TenGoc, this.Col_CT_DaoDien, this.Col_CT_DienVien, this.Col_CT_KHPL, this.Col_CT_DoiTuongKhanGia, this.Col_CT_TuKhoa, this.Col_CT_KHXK, this.Col_CT_TinhTrangBang, this.Col_CT_TomTat, this.Col_CT_ThanhLy, this.Col_CT_GhiChu, this.Col_CT_ThongTinBan, this.Col_CT_NamSX, this.Col_CT_Nuoc, this.Col_CT_DonViCungCap, this.Col_CT_DonViSoHuu, this.Col_CT_KenhHanCheBan, this.Col_CT_PhatSongChinh, this.Col_CT_TongSoRun, this.Col_CT_SoLanPhat, this.Col_CT_SoRunConLai, this.Col_CT_Release, this.Col_CT_Category, this.Col_CT_Ranking, this.Col_CT_Script, this.Col_CT_Photos, this.Col_CT_TrailerGoc, this.Col_CT_BanQuyenThuoc, this.Col_CT_BanQuyenDIDStart, this.Col_CT_BanQuyenDIDEnd, this.Col_CT_BanQuyenDTNNStart, this.Col_CT_BanQuyenDTNNEnd, this.Col_CT_BanQuyenHTV, this.Col_CT_MuaKem, this.Col_CT_PhatSongKhac, this.Col_CT_PhatSongLai, this.Col_PM_PostMaster, this.Col_PM_ThanhLy, this.Col_PM_LoaiLuu, this.Col_PM_TongTap, this.Col_PM_Ke, this.Col_PM_Ngan, this.Col_PM_Tang, this.Col_PM_PopUp, this.Col_PM_TTDinhKem, this.Col_PM_TraierPost, this.Col_PM_NgayNhapKho, this.Col_PM_DVDNgayDuyet, this.Col_PM_DVDNgayHoanTat, this.Col_PM_NoiDungDuyet, this.Col_PM_TTHD, this.Col_PM_ThoiLuongChung, this.Col_BM_ThanhLy, this.Col_BM_MaBang, this.Col_BM_TapSo, this.Col_BM_TenTap, this.Col_BM_SoBang, this.Col_BM_ThongSo, this.Col_BM_ThoiLuong, this.Col_BM_SoDKCBHD, this.Col_BM_NoiLuuTru}); this.gridViewMaster.CustomizationFormBounds = new System.Drawing.Rectangle(747, 292, 215, 205); this.gridViewMaster.GridControl = this.gridControlMaster; this.gridViewMaster.GroupPanelText = "Các chương trình thỏa điều kiện tìm kiếm"; this.gridViewMaster.IndicatorWidth = 40; this.gridViewMaster.Name = "gridViewMaster"; this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false; this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true; this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewMaster.OptionsPrint.UsePrintStyles = true; this.gridViewMaster.OptionsSelection.MultiSelect = true; this.gridViewMaster.OptionsView.ColumnAutoWidth = false; this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true; this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true; this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewMaster.OptionsView.ShowGroupPanel = false; this.gridViewMaster.OptionsView.ShowViewCaption = true; this.gridViewMaster.ViewCaption = "Danh sách biên mục (Cấp 3)"; // // gridBandThongTinChinh // this.gridBandThongTinChinh.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridBandThongTinChinh.AppearanceHeader.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.gridBandThongTinChinh.AppearanceHeader.Options.UseFont = true; this.gridBandThongTinChinh.AppearanceHeader.Options.UseForeColor = true; this.gridBandThongTinChinh.AppearanceHeader.Options.UseTextOptions = true; this.gridBandThongTinChinh.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBandThongTinChinh.Caption = "Thông tin chính"; this.gridBandThongTinChinh.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { this.gridBand5, this.gridBand4, this.gridBand3}); this.gridBandThongTinChinh.Name = "gridBandThongTinChinh"; this.gridBandThongTinChinh.Width = 2750; // // gridBand5 // this.gridBand5.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridBand5.AppearanceHeader.Options.UseFont = true; this.gridBand5.AppearanceHeader.Options.UseTextOptions = true; this.gridBand5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBand5.Caption = "Biên mục (Cấp 3)"; this.gridBand5.Columns.Add(this.Col_BM_TapSo); this.gridBand5.Columns.Add(this.Col_BM_TenTap); this.gridBand5.Columns.Add(this.Col_BM_SoBang); this.gridBand5.Columns.Add(this.Col_BM_MaBang); this.gridBand5.Columns.Add(this.Col_BM_ThoiLuong); this.gridBand5.Columns.Add(this.Col_BM_ThongSo); this.gridBand5.Columns.Add(this.Col_PM_ThanhLy); this.gridBand5.Name = "gridBand5"; this.gridBand5.Width = 407; // // Col_BM_TapSo // this.Col_BM_TapSo.Caption = "Tập số"; this.Col_BM_TapSo.Name = "Col_BM_TapSo"; this.Col_BM_TapSo.Visible = true; this.Col_BM_TapSo.Width = 44; // // Col_BM_TenTap // this.Col_BM_TenTap.Caption = "Tên tập"; this.Col_BM_TenTap.Name = "Col_BM_TenTap"; this.Col_BM_TenTap.Visible = true; this.Col_BM_TenTap.Width = 49; // // Col_BM_SoBang // this.Col_BM_SoBang.Caption = "Số băng"; this.Col_BM_SoBang.Name = "Col_BM_SoBang"; this.Col_BM_SoBang.Visible = true; this.Col_BM_SoBang.Width = 51; // // Col_BM_MaBang // this.Col_BM_MaBang.Caption = "Mã băng"; this.Col_BM_MaBang.Name = "Col_BM_MaBang"; this.Col_BM_MaBang.Visible = true; this.Col_BM_MaBang.Width = 53; // // Col_BM_ThoiLuong // this.Col_BM_ThoiLuong.Caption = "Thời lượng"; this.Col_BM_ThoiLuong.Name = "Col_BM_ThoiLuong"; this.Col_BM_ThoiLuong.Visible = true; this.Col_BM_ThoiLuong.Width = 62; // // Col_BM_ThongSo // this.Col_BM_ThongSo.Caption = "Thông số"; this.Col_BM_ThongSo.Name = "Col_BM_ThongSo"; this.Col_BM_ThongSo.Visible = true; this.Col_BM_ThongSo.Width = 56; // // gridBand4 // this.gridBand4.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridBand4.AppearanceHeader.Options.UseFont = true; this.gridBand4.AppearanceHeader.Options.UseTextOptions = true; this.gridBand4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBand4.Caption = "Post/Master (Cấp 2)"; this.gridBand4.Columns.Add(this.Col_PM_PostMaster); this.gridBand4.Columns.Add(this.Col_PM_LoaiLuu); this.gridBand4.Columns.Add(this.Col_PM_NoiDungDuyet); this.gridBand4.Columns.Add(this.Col_PM_TongTap); this.gridBand4.Columns.Add(this.Col_PM_ThoiLuongChung); this.gridBand4.Columns.Add(this.Col_PM_PopUp); this.gridBand4.Columns.Add(this.Col_PM_TraierPost); this.gridBand4.Columns.Add(this.Col_PM_Ke); this.gridBand4.Columns.Add(this.Col_PM_Ngan); this.gridBand4.Columns.Add(this.Col_PM_Tang); this.gridBand4.Columns.Add(this.Col_PM_TTDinhKem); this.gridBand4.Columns.Add(this.Col_PM_DVDNgayDuyet); this.gridBand4.Columns.Add(this.Col_PM_DVDNgayHoanTat); this.gridBand4.Columns.Add(this.Col_BM_ThanhLy); this.gridBand4.Name = "gridBand4"; this.gridBand4.Width = 964; // // Col_PM_NoiDungDuyet // this.Col_PM_NoiDungDuyet.Caption = "Nội dung duyệt"; this.Col_PM_NoiDungDuyet.Name = "Col_PM_NoiDungDuyet"; this.Col_PM_NoiDungDuyet.Visible = true; this.Col_PM_NoiDungDuyet.Width = 85; // // Col_PM_TraierPost // this.Col_PM_TraierPost.Caption = "Trailer Post"; this.Col_PM_TraierPost.Name = "Col_PM_TraierPost"; this.Col_PM_TraierPost.Visible = true; this.Col_PM_TraierPost.Width = 66; // // Col_BM_ThanhLy // this.Col_BM_ThanhLy.Caption = "Thanh lý (Cấp 3)"; this.Col_BM_ThanhLy.Name = "Col_BM_ThanhLy"; this.Col_BM_ThanhLy.Visible = true; this.Col_BM_ThanhLy.Width = 92; // // gridBand3 // this.gridBand3.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridBand3.AppearanceHeader.Options.UseFont = true; this.gridBand3.AppearanceHeader.Options.UseTextOptions = true; this.gridBand3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBand3.Caption = "Chương trình (Cấp 1)"; this.gridBand3.Columns.Add(this.Col_CT_MaCT); this.gridBand3.Columns.Add(this.Col_CT_NgayAWB); this.gridBand3.Columns.Add(this.Col_CT_NgayLap); this.gridBand3.Columns.Add(this.Col_CT_NguoiLap); this.gridBand3.Columns.Add(this.Col_CT_PhongBan); this.gridBand3.Columns.Add(this.Col_CT_Category); this.gridBand3.Columns.Add(this.Col_CT_NoiDung); this.gridBand3.Columns.Add(this.Col_CT_TenGoc); this.gridBand3.Columns.Add(this.Col_CT_TietMuc); this.gridBand3.Columns.Add(this.Col_CT_DaoDien); this.gridBand3.Columns.Add(this.Col_CT_DienVien); this.gridBand3.Columns.Add(this.Col_CT_TomTat); this.gridBand3.Columns.Add(this.Col_CT_DoiTuongKhanGia); this.gridBand3.Columns.Add(this.Col_CT_KHPL); this.gridBand3.Columns.Add(this.Col_CT_KHXK); this.gridBand3.Columns.Add(this.Col_CT_TinhTrangBang); this.gridBand3.Columns.Add(this.Col_CT_TuKhoa); this.gridBand3.Columns.Add(this.Col_CT_ThanhLy); this.gridBand3.Columns.Add(this.Col_CT_GhiChu); this.gridBand3.Columns.Add(this.Col_CT_Photos); this.gridBand3.Columns.Add(this.Col_CT_Ranking); this.gridBand3.Columns.Add(this.Col_CT_Script); this.gridBand3.Columns.Add(this.Col_CT_TrailerGoc); this.gridBand3.Name = "gridBand3"; this.gridBand3.Width = 1379; // // Col_CT_MaCT // this.Col_CT_MaCT.Caption = "Mã chương trình"; this.Col_CT_MaCT.Name = "Col_CT_MaCT"; this.Col_CT_MaCT.Visible = true; this.Col_CT_MaCT.Width = 90; // // Col_CT_NgayAWB // this.Col_CT_NgayAWB.Caption = "Ngày AWB"; this.Col_CT_NgayAWB.Name = "Col_CT_NgayAWB"; this.Col_CT_NgayAWB.Visible = true; this.Col_CT_NgayAWB.Width = 63; // // Col_CT_NgayLap // this.Col_CT_NgayLap.Caption = "Ngày lập"; this.Col_CT_NgayLap.Name = "Col_CT_NgayLap"; this.Col_CT_NgayLap.Visible = true; this.Col_CT_NgayLap.Width = 54; // // Col_CT_NguoiLap // this.Col_CT_NguoiLap.Caption = "Người lập"; this.Col_CT_NguoiLap.Name = "Col_CT_NguoiLap"; this.Col_CT_NguoiLap.Visible = true; this.Col_CT_NguoiLap.Width = 57; // // Col_CT_PhongBan // this.Col_CT_PhongBan.Caption = "Phòng ban"; this.Col_CT_PhongBan.Name = "Col_CT_PhongBan"; this.Col_CT_PhongBan.Visible = true; this.Col_CT_PhongBan.Width = 63; // // Col_CT_Category // this.Col_CT_Category.Caption = "Category"; this.Col_CT_Category.Name = "Col_CT_Category"; this.Col_CT_Category.Visible = true; this.Col_CT_Category.Width = 57; // // Col_CT_NoiDung // this.Col_CT_NoiDung.Caption = "Tên chương trình"; this.Col_CT_NoiDung.Name = "Col_CT_NoiDung"; this.Col_CT_NoiDung.Visible = true; this.Col_CT_NoiDung.Width = 94; // // Col_CT_TenGoc // this.Col_CT_TenGoc.Caption = "Tên gốc"; this.Col_CT_TenGoc.Name = "Col_CT_TenGoc"; this.Col_CT_TenGoc.Visible = true; this.Col_CT_TenGoc.Width = 50; // // Col_CT_TietMuc // this.Col_CT_TietMuc.Caption = "Tiết mục"; this.Col_CT_TietMuc.Name = "Col_CT_TietMuc"; this.Col_CT_TietMuc.Visible = true; this.Col_CT_TietMuc.Width = 52; // // Col_CT_DaoDien // this.Col_CT_DaoDien.Caption = "Đạo diễn"; this.Col_CT_DaoDien.Name = "Col_CT_DaoDien"; this.Col_CT_DaoDien.Visible = true; this.Col_CT_DaoDien.Width = 55; // // Col_CT_DienVien // this.Col_CT_DienVien.Caption = "Diễn viên"; this.Col_CT_DienVien.Name = "Col_CT_DienVien"; this.Col_CT_DienVien.Visible = true; this.Col_CT_DienVien.Width = 56; // // Col_CT_TomTat // this.Col_CT_TomTat.Caption = "Tóm tắt"; this.Col_CT_TomTat.Name = "Col_CT_TomTat"; this.Col_CT_TomTat.Visible = true; this.Col_CT_TomTat.Width = 49; // // Col_CT_DoiTuongKhanGia // this.Col_CT_DoiTuongKhanGia.Caption = "Đối tượng khán giả"; this.Col_CT_DoiTuongKhanGia.Name = "Col_CT_DoiTuongKhanGia"; this.Col_CT_DoiTuongKhanGia.Visible = true; this.Col_CT_DoiTuongKhanGia.Width = 103; // // Col_CT_KHPL // this.Col_CT_KHPL.Caption = "KHPL"; this.Col_CT_KHPL.Name = "Col_CT_KHPL"; this.Col_CT_KHPL.ToolTip = "Ký hiệu phân loại"; this.Col_CT_KHPL.Visible = true; this.Col_CT_KHPL.Width = 36; // // Col_CT_KHXK // this.Col_CT_KHXK.Caption = "KHXK"; this.Col_CT_KHXK.Name = "Col_CT_KHXK"; this.Col_CT_KHXK.ToolTip = "Ký hiệu xếp kho"; this.Col_CT_KHXK.Visible = true; this.Col_CT_KHXK.Width = 37; // // Col_CT_TinhTrangBang // this.Col_CT_TinhTrangBang.Caption = "Tình trạng CT"; this.Col_CT_TinhTrangBang.Name = "Col_CT_TinhTrangBang"; this.Col_CT_TinhTrangBang.Visible = true; this.Col_CT_TinhTrangBang.Width = 77; // // Col_CT_TuKhoa // this.Col_CT_TuKhoa.Caption = "Từ khóa"; this.Col_CT_TuKhoa.Name = "Col_CT_TuKhoa"; this.Col_CT_TuKhoa.Visible = true; this.Col_CT_TuKhoa.Width = 51; // // Col_CT_ThanhLy // this.Col_CT_ThanhLy.Caption = "Thanh lý (Cấp 1)"; this.Col_CT_ThanhLy.Name = "Col_CT_ThanhLy"; this.Col_CT_ThanhLy.Visible = true; this.Col_CT_ThanhLy.Width = 92; // // Col_CT_GhiChu // this.Col_CT_GhiChu.Caption = "Ghi chú"; this.Col_CT_GhiChu.Name = "Col_CT_GhiChu"; this.Col_CT_GhiChu.Visible = true; this.Col_CT_GhiChu.Width = 47; // // Col_CT_Photos // this.Col_CT_Photos.Caption = "Photos"; this.Col_CT_Photos.Name = "Col_CT_Photos"; this.Col_CT_Photos.Visible = true; this.Col_CT_Photos.Width = 45; // // Col_CT_Ranking // this.Col_CT_Ranking.Caption = "Ranking"; this.Col_CT_Ranking.Name = "Col_CT_Ranking"; this.Col_CT_Ranking.Visible = true; this.Col_CT_Ranking.Width = 50; // // Col_CT_Script // this.Col_CT_Script.Caption = "Script"; this.Col_CT_Script.Name = "Col_CT_Script"; this.Col_CT_Script.Visible = true; this.Col_CT_Script.Width = 39; // // Col_CT_TrailerGoc // this.Col_CT_TrailerGoc.Caption = "Trailer gốc"; this.Col_CT_TrailerGoc.Name = "Col_CT_TrailerGoc"; this.Col_CT_TrailerGoc.Visible = true; this.Col_CT_TrailerGoc.Width = 62; // // gridBandNguonGoc // this.gridBandNguonGoc.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridBandNguonGoc.AppearanceHeader.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.gridBandNguonGoc.AppearanceHeader.Options.UseFont = true; this.gridBandNguonGoc.AppearanceHeader.Options.UseForeColor = true; this.gridBandNguonGoc.AppearanceHeader.Options.UseTextOptions = true; this.gridBandNguonGoc.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBandNguonGoc.Caption = "Nguồn gốc"; this.gridBandNguonGoc.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { this.gridBand1, this.gridBand2}); this.gridBandNguonGoc.Name = "gridBandNguonGoc"; this.gridBandNguonGoc.Width = 1174; // // gridBand1 // this.gridBand1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridBand1.AppearanceHeader.Options.UseFont = true; this.gridBand1.AppearanceHeader.Options.UseTextOptions = true; this.gridBand1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBand1.Caption = "Thông tin sở hữu"; this.gridBand1.Columns.Add(this.Col_CT_NamSX); this.gridBand1.Columns.Add(this.Col_CT_Nuoc); this.gridBand1.Columns.Add(this.Col_CT_DonViCungCap); this.gridBand1.Columns.Add(this.Col_CT_DonViSoHuu); this.gridBand1.Columns.Add(this.Col_CT_KenhHanCheBan); this.gridBand1.Columns.Add(this.Col_CT_ThongTinBan); this.gridBand1.Name = "gridBand1"; this.gridBand1.Width = 444; // // Col_CT_NamSX // this.Col_CT_NamSX.Caption = "Năm SX"; this.Col_CT_NamSX.Name = "Col_CT_NamSX"; this.Col_CT_NamSX.Visible = true; this.Col_CT_NamSX.Width = 48; // // Col_CT_Nuoc // this.Col_CT_Nuoc.Caption = "Nước SX"; this.Col_CT_Nuoc.Name = "Col_CT_Nuoc"; this.Col_CT_Nuoc.ToolTip = "Nước sản xuất"; this.Col_CT_Nuoc.Visible = true; this.Col_CT_Nuoc.Width = 52; // // Col_CT_DonViCungCap // this.Col_CT_DonViCungCap.Caption = "Đơn vị cung cấp"; this.Col_CT_DonViCungCap.Name = "Col_CT_DonViCungCap"; this.Col_CT_DonViCungCap.Visible = true; this.Col_CT_DonViCungCap.Width = 89; // // Col_CT_DonViSoHuu // this.Col_CT_DonViSoHuu.Caption = "Đơn vị sở hữu"; this.Col_CT_DonViSoHuu.Name = "Col_CT_DonViSoHuu"; this.Col_CT_DonViSoHuu.Visible = true; this.Col_CT_DonViSoHuu.Width = 79; // // Col_CT_KenhHanCheBan // this.Col_CT_KenhHanCheBan.Caption = "Kênh hạn chế bán"; this.Col_CT_KenhHanCheBan.Name = "Col_CT_KenhHanCheBan"; this.Col_CT_KenhHanCheBan.Visible = true; this.Col_CT_KenhHanCheBan.Width = 98; // // Col_CT_ThongTinBan // this.Col_CT_ThongTinBan.Caption = "Thông tin bán"; this.Col_CT_ThongTinBan.Name = "Col_CT_ThongTinBan"; this.Col_CT_ThongTinBan.Visible = true; this.Col_CT_ThongTinBan.Width = 78; // // gridBand2 // this.gridBand2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridBand2.AppearanceHeader.Options.UseFont = true; this.gridBand2.AppearanceHeader.Options.UseTextOptions = true; this.gridBand2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBand2.Caption = "Thời hạn bản quyền"; this.gridBand2.Columns.Add(this.Col_PM_NgayNhapKho); this.gridBand2.Columns.Add(this.Col_CT_BanQuyenThuoc); this.gridBand2.Columns.Add(this.Col_CT_BanQuyenDIDStart); this.gridBand2.Columns.Add(this.Col_CT_BanQuyenDIDEnd); this.gridBand2.Columns.Add(this.Col_CT_BanQuyenDTNNStart); this.gridBand2.Columns.Add(this.Col_CT_BanQuyenDTNNEnd); this.gridBand2.Columns.Add(this.Col_CT_BanQuyenHTV); this.gridBand2.Name = "gridBand2"; this.gridBand2.Width = 730; // // Col_CT_BanQuyenThuoc // this.Col_CT_BanQuyenThuoc.Caption = "Bản quyền thuộc"; this.Col_CT_BanQuyenThuoc.Name = "Col_CT_BanQuyenThuoc"; this.Col_CT_BanQuyenThuoc.Visible = true; this.Col_CT_BanQuyenThuoc.Width = 93; // // Col_CT_BanQuyenDIDStart // this.Col_CT_BanQuyenDIDStart.Caption = "Bản quyền DTTN Start"; this.Col_CT_BanQuyenDIDStart.Name = "Col_CT_BanQuyenDIDStart"; this.Col_CT_BanQuyenDIDStart.ToolTip = "Bản quyền đối tác trong nước Start"; this.Col_CT_BanQuyenDIDStart.Visible = true; this.Col_CT_BanQuyenDIDStart.Width = 119; // // Col_CT_BanQuyenDIDEnd // this.Col_CT_BanQuyenDIDEnd.Caption = "Bản quyền DTTN End"; this.Col_CT_BanQuyenDIDEnd.Name = "Col_CT_BanQuyenDIDEnd"; this.Col_CT_BanQuyenDIDEnd.ToolTip = "Bản quyền đối tác trong nước End"; this.Col_CT_BanQuyenDIDEnd.Visible = true; this.Col_CT_BanQuyenDIDEnd.Width = 113; // // Col_CT_BanQuyenDTNNStart // this.Col_CT_BanQuyenDTNNStart.Caption = "Bản quyền ĐTNN Start"; this.Col_CT_BanQuyenDTNNStart.Name = "Col_CT_BanQuyenDTNNStart"; this.Col_CT_BanQuyenDTNNStart.ToolTip = "Bản quyền đối tác nước ngoài Start"; this.Col_CT_BanQuyenDTNNStart.Visible = true; this.Col_CT_BanQuyenDTNNStart.Width = 121; // // Col_CT_BanQuyenDTNNEnd // this.Col_CT_BanQuyenDTNNEnd.Caption = "Bản quyền ĐTNN End"; this.Col_CT_BanQuyenDTNNEnd.Name = "Col_CT_BanQuyenDTNNEnd"; this.Col_CT_BanQuyenDTNNEnd.ToolTip = "Bản quyền đối tác nước ngoài End"; this.Col_CT_BanQuyenDTNNEnd.Visible = true; this.Col_CT_BanQuyenDTNNEnd.Width = 115; // // Col_CT_BanQuyenHTV // this.Col_CT_BanQuyenHTV.Caption = "Bản quyền HTV"; this.Col_CT_BanQuyenHTV.Name = "Col_CT_BanQuyenHTV"; this.Col_CT_BanQuyenHTV.Visible = true; this.Col_CT_BanQuyenHTV.Width = 85; // // gridBandThongTinPhatSong // this.gridBandThongTinPhatSong.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridBandThongTinPhatSong.AppearanceHeader.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.gridBandThongTinPhatSong.AppearanceHeader.Options.UseFont = true; this.gridBandThongTinPhatSong.AppearanceHeader.Options.UseForeColor = true; this.gridBandThongTinPhatSong.AppearanceHeader.Options.UseTextOptions = true; this.gridBandThongTinPhatSong.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBandThongTinPhatSong.Caption = "Thông tin phát sóng"; this.gridBandThongTinPhatSong.Columns.Add(this.Col_CT_MuaKem); this.gridBandThongTinPhatSong.Columns.Add(this.Col_CT_PhatSongChinh); this.gridBandThongTinPhatSong.Columns.Add(this.Col_CT_PhatSongLai); this.gridBandThongTinPhatSong.Columns.Add(this.Col_CT_PhatSongKhac); this.gridBandThongTinPhatSong.Columns.Add(this.Col_CT_TongSoRun); this.gridBandThongTinPhatSong.Columns.Add(this.Col_CT_SoLanPhat); this.gridBandThongTinPhatSong.Columns.Add(this.Col_CT_SoRunConLai); this.gridBandThongTinPhatSong.Columns.Add(this.Col_CT_Release); this.gridBandThongTinPhatSong.Name = "gridBandThongTinPhatSong"; this.gridBandThongTinPhatSong.Width = 794; // // Col_CT_MuaKem // this.Col_CT_MuaKem.Caption = "Mua kèm"; this.Col_CT_MuaKem.Name = "Col_CT_MuaKem"; this.Col_CT_MuaKem.Visible = true; this.Col_CT_MuaKem.Width = 54; // // Col_CT_PhatSongChinh // this.Col_CT_PhatSongChinh.Caption = "Thời gian P/S chính"; this.Col_CT_PhatSongChinh.Name = "Col_CT_PhatSongChinh"; this.Col_CT_PhatSongChinh.ToolTip = "Những ngày phát lần đầu tương ứng trên các đài"; this.Col_CT_PhatSongChinh.Visible = true; this.Col_CT_PhatSongChinh.Width = 102; // // Col_CT_PhatSongLai // this.Col_CT_PhatSongLai.Caption = "Thời gian P/S lại"; this.Col_CT_PhatSongLai.Name = "Col_CT_PhatSongLai"; this.Col_CT_PhatSongLai.ToolTip = "Những ngày phát lần đầu (nhưng phát lại) tương ứng trên các đài"; this.Col_CT_PhatSongLai.Visible = true; this.Col_CT_PhatSongLai.Width = 87; // // Col_CT_PhatSongKhac // this.Col_CT_PhatSongKhac.Caption = "Thời gian P/S trên kênh khác"; this.Col_CT_PhatSongKhac.Name = "Col_CT_PhatSongKhac"; this.Col_CT_PhatSongKhac.ToolTip = "Thời gian phát sóng trên kênh khác"; this.Col_CT_PhatSongKhac.Visible = true; this.Col_CT_PhatSongKhac.Width = 148; // // Col_CT_TongSoRun // this.Col_CT_TongSoRun.Caption = "Tổng số Run"; this.Col_CT_TongSoRun.Name = "Col_CT_TongSoRun"; this.Col_CT_TongSoRun.Visible = true; this.Col_CT_TongSoRun.Width = 72; // // Col_CT_SoLanPhat // this.Col_CT_SoLanPhat.Caption = "Tồng số lần đã phát (đã Run)"; this.Col_CT_SoLanPhat.Name = "Col_CT_SoLanPhat"; this.Col_CT_SoLanPhat.Visible = true; this.Col_CT_SoLanPhat.Width = 152; // // Col_CT_SoRunConLai // this.Col_CT_SoRunConLai.Caption = "Số Run còn lại"; this.Col_CT_SoRunConLai.Name = "Col_CT_SoRunConLai"; this.Col_CT_SoRunConLai.Visible = true; this.Col_CT_SoRunConLai.Width = 79; // // Col_CT_Release // this.Col_CT_Release.Caption = "Release (Số ngày)"; this.Col_CT_Release.Name = "Col_CT_Release"; this.Col_CT_Release.Visible = true; this.Col_CT_Release.Width = 100; // // gridBandThongTinBan // this.gridBandThongTinBan.AppearanceHeader.Options.UseTextOptions = true; this.gridBandThongTinBan.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBandThongTinBan.Caption = "Thông tin bán"; this.gridBandThongTinBan.Name = "gridBandThongTinBan"; this.gridBandThongTinBan.OptionsBand.ShowInCustomizationForm = false; this.gridBandThongTinBan.Visible = false; this.gridBandThongTinBan.Width = 67; // // ThôngtinHD // this.ThôngtinHD.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.ThôngtinHD.AppearanceHeader.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.ThôngtinHD.AppearanceHeader.Options.UseFont = true; this.ThôngtinHD.AppearanceHeader.Options.UseForeColor = true; this.ThôngtinHD.AppearanceHeader.Options.UseTextOptions = true; this.ThôngtinHD.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.ThôngtinHD.Caption = "Thông tin HD"; this.ThôngtinHD.Children.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { this.gridBand7, this.gridBand6}); this.ThôngtinHD.Name = "ThôngtinHD"; this.ThôngtinHD.Width = 286; // // gridBand7 // this.gridBand7.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridBand7.AppearanceHeader.Options.UseFont = true; this.gridBand7.AppearanceHeader.Options.UseTextOptions = true; this.gridBand7.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBand7.Caption = "Biên mục (Cấp 3)"; this.gridBand7.Columns.Add(this.Col_BM_SoDKCBHD); this.gridBand7.Columns.Add(this.Col_BM_NoiLuuTru); this.gridBand7.Name = "gridBand7"; this.gridBand7.Width = 212; // // Col_BM_SoDKCBHD // this.Col_BM_SoDKCBHD.Caption = "Số ĐKCB HD (Cấp 3)"; this.Col_BM_SoDKCBHD.Name = "Col_BM_SoDKCBHD"; this.Col_BM_SoDKCBHD.Visible = true; this.Col_BM_SoDKCBHD.Width = 110; // // Col_BM_NoiLuuTru // this.Col_BM_NoiLuuTru.Caption = "Nơi lưu trữ (Cấp 3)"; this.Col_BM_NoiLuuTru.Name = "Col_BM_NoiLuuTru"; this.Col_BM_NoiLuuTru.Visible = true; this.Col_BM_NoiLuuTru.Width = 102; // // gridBand6 // this.gridBand6.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.gridBand6.AppearanceHeader.Options.UseFont = true; this.gridBand6.AppearanceHeader.Options.UseTextOptions = true; this.gridBand6.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridBand6.Caption = "Post/Master (Cấp 2)"; this.gridBand6.Columns.Add(this.Col_PM_TTHD); this.gridBand6.Name = "gridBand6"; this.gridBand6.Width = 74; // // xtraTabControlDetail // this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0); this.xtraTabControlDetail.Name = "xtraTabControlDetail"; this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail; this.xtraTabControlDetail.Size = new System.Drawing.Size(828, 40); this.xtraTabControlDetail.TabIndex = 11; this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPageDetail}); this.xtraTabControlDetail.Visible = false; // // xtraTabPageDetail // this.xtraTabPageDetail.Controls.Add(this.gridControlDetail); this.xtraTabPageDetail.Name = "xtraTabPageDetail"; this.xtraTabPageDetail.Size = new System.Drawing.Size(821, 11); this.xtraTabPageDetail.Text = "Post/Master"; // // gridControlDetail // this.gridControlDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlDetail.BackgroundImage"))); this.gridControlDetail.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlDetail.Location = new System.Drawing.Point(0, 0); this.gridControlDetail.MainView = this.gridViewDetail; this.gridControlDetail.Name = "gridControlDetail"; this.gridControlDetail.Size = new System.Drawing.Size(821, 11); this.gridControlDetail.TabIndex = 9; this.gridControlDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewDetail}); // // gridViewDetail // this.gridViewDetail.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewDetail.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewDetail.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.gridViewDetail.GridControl = this.gridControlDetail; this.gridViewDetail.IndicatorWidth = 40; this.gridViewDetail.Name = "gridViewDetail"; this.gridViewDetail.OptionsLayout.Columns.AddNewColumns = false; this.gridViewDetail.OptionsNavigation.AutoFocusNewRow = true; this.gridViewDetail.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewDetail.OptionsPrint.UsePrintStyles = true; this.gridViewDetail.OptionsView.EnableAppearanceEvenRow = true; this.gridViewDetail.OptionsView.EnableAppearanceOddRow = true; this.gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewDetail.OptionsView.ShowGroupedColumns = true; this.gridViewDetail.OptionsView.ShowGroupPanel = false; this.gridViewDetail.OptionsView.ShowViewCaption = true; this.gridViewDetail.ViewCaption = "Post/Master (Cấp 2)"; // // barButtonItemThongKe // this.barButtonItemThongKe.Caption = "&Thống kê"; this.barButtonItemThongKe.Id = 43; this.barButtonItemThongKe.Name = "barButtonItemThongKe"; this.barButtonItemThongKe.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // frmBienMucSearchQL // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1028, 734); this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.dockPanelSimple); this.Controls.Add(this.dockPanelAdvance); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "frmBienMucSearchQL"; this.Text = "Tra cứu biên mục"; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit(); this.dockPanelAdvance.ResumeLayout(false); this.dockPanel2_Container.ResumeLayout(false); this.dockPanelSimple.ResumeLayout(false); this.dockPanel1_Container.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit(); this.popupControlContainerFilter.ResumeLayout(false); this.popupControlContainerFilter.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.TapSoDen.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TapSoTu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TenTap.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SoDKCBHD.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LoaiLuuTru.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TimeslotDen.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TimeslotTu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SoRunConLaiTu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SoRunDaDungTu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SoRunConLaiDen.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SoRunDaDungDen.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TongSoRunDen.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TongSoRunTu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTTNEndDen.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTTNEndDen.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTNNEndDen.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTNNEndDen.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTNNEndTu.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTNNEndTu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTTNEndTu.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BQDTTNEndTu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NamSXDen.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NamSXTu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BanQuyenThuoc.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.DonViCungCap.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Category.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TenGoc.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NoiDung.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.QuocGia.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TietMuc.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit(); this.xtraTabControlDetail.ResumeLayout(false); this.xtraTabPageDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewDetail)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.backLabelTitle = new SkinLabel(); this.gpgLabel1 = new GPGLabel(); this.gpgLabel2 = new GPGLabel(); this.tbName = new GPGTextBox(); this.tbDescription = new GPGTextArea(); this.gpgLabel3 = new GPGLabel(); this.gpgLabel4 = new GPGLabel(); this.tbLegal = new GPGTextArea(); this.gpgLabel5 = new GPGLabel(); this.tbWebURL = new GPGTextBox(); this.gpgLabel6 = new GPGLabel(); this.gpgLabel7 = new GPGLabel(); this.gpgLabel8 = new GPGLabel(); this.gpgLabel9 = new GPGLabel(); this.gpgLabel10 = new GPGLabel(); this.gpgLabel11 = new GPGLabel(); this.tbAssistantTDs = new GPGTextBox(); this.skinButtonCancel = new SkinButton(); this.skinButtonOK = new SkinButton(); this.cbType = new GPGDropDownList(); this.cbFaction = new GPGDropDownList(); this.cbNumberOfRounds = new GPGDropDownList(); this.cbRoundLength = new GPGDropDownList(); this.cbMap = new GPGDropDownList(); this.pbFaction = new GPGPictureBox(); this.pbMap = new GPGPictureBox(); this.lSize = new GPGLabel(); this.lMaxPlayers = new GPGLabel(); this.cbDate = new GPGComboBox(); this.cbpCalander = new GPGComboBoxPanel(); this.dTournamentDate = new DateNavigator(); this.tTournamentTime = new TimeEdit(); this.cbRestriction = new GPGDropDownList(); this.gpgLabel12 = new GPGLabel(); ((ISupportInitialize) base.pbBottom).BeginInit(); this.tbName.Properties.BeginInit(); this.tbDescription.Properties.BeginInit(); this.tbLegal.Properties.BeginInit(); this.tbWebURL.Properties.BeginInit(); this.tbAssistantTDs.Properties.BeginInit(); ((ISupportInitialize) this.pbFaction).BeginInit(); ((ISupportInitialize) this.pbMap).BeginInit(); this.cbDate.Properties.BeginInit(); this.cbpCalander.BeginInit(); this.cbpCalander.SuspendLayout(); this.dTournamentDate.BeginInit(); this.tTournamentTime.Properties.BeginInit(); base.SuspendLayout(); base.pbBottom.Size = new Size(0x2ef, 0x39); base.ttDefault.SetSuperTip(base.pbBottom, null); base.ttDefault.DefaultController.AutoPopDelay = 0x3e8; base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop; this.backLabelTitle.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.backLabelTitle.AutoStyle = false; this.backLabelTitle.BackColor = Color.Transparent; this.backLabelTitle.DrawEdges = true; this.backLabelTitle.Font = new Font("Arial", 20f, FontStyle.Bold); this.backLabelTitle.ForeColor = Color.White; this.backLabelTitle.HorizontalScalingMode = ScalingModes.Tile; this.backLabelTitle.IsStyled = false; this.backLabelTitle.Location = new Point(7, 0x3e); this.backLabelTitle.Name = "backLabelTitle"; this.backLabelTitle.Size = new Size(0x31c, 0x3b); this.backLabelTitle.SkinBasePath = @"Controls\Background Label\Tournaments"; base.ttDefault.SetSuperTip(this.backLabelTitle, null); this.backLabelTitle.TabIndex = 8; this.backLabelTitle.Text = "<LOC>Create New Tournament"; this.backLabelTitle.TextAlign = ContentAlignment.MiddleLeft; this.backLabelTitle.TextPadding = new Padding(10, 0, 0, 0); this.gpgLabel1.AutoGrowDirection = GrowDirections.None; this.gpgLabel1.AutoStyle = true; this.gpgLabel1.Font = new Font("Arial", 9.75f); this.gpgLabel1.ForeColor = Color.White; this.gpgLabel1.IgnoreMouseWheel = false; this.gpgLabel1.IsStyled = false; this.gpgLabel1.Location = new Point(7, 0x98); this.gpgLabel1.Name = "gpgLabel1"; this.gpgLabel1.Size = new Size(0xa6, 0x17); base.ttDefault.SetSuperTip(this.gpgLabel1, null); this.gpgLabel1.TabIndex = 9; this.gpgLabel1.Text = "<LOC>Tournament Name"; this.gpgLabel1.TextAlign = ContentAlignment.TopRight; this.gpgLabel1.TextStyle = TextStyles.Default; this.gpgLabel2.AutoGrowDirection = GrowDirections.None; this.gpgLabel2.AutoStyle = true; this.gpgLabel2.Font = new Font("Arial", 9.75f); this.gpgLabel2.ForeColor = Color.White; this.gpgLabel2.IgnoreMouseWheel = false; this.gpgLabel2.IsStyled = false; this.gpgLabel2.Location = new Point(7, 0xb3); this.gpgLabel2.Name = "gpgLabel2"; this.gpgLabel2.Size = new Size(0xa6, 0x10); base.ttDefault.SetSuperTip(this.gpgLabel2, null); this.gpgLabel2.TabIndex = 10; this.gpgLabel2.Text = "<LOC>Description"; this.gpgLabel2.TextAlign = ContentAlignment.TopRight; this.gpgLabel2.TextStyle = TextStyles.Default; this.tbName.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this.tbName.Location = new Point(0xb3, 0x98); this.tbName.Name = "tbName"; this.tbName.Properties.Appearance.BackColor = Color.Black; this.tbName.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190); this.tbName.Properties.Appearance.ForeColor = Color.White; this.tbName.Properties.Appearance.Options.UseBackColor = true; this.tbName.Properties.Appearance.Options.UseBorderColor = true; this.tbName.Properties.Appearance.Options.UseForeColor = true; this.tbName.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f); this.tbName.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0); this.tbName.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.tbName.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal; this.tbName.Properties.AppearanceFocused.Options.UseBackColor = true; this.tbName.Properties.AppearanceFocused.Options.UseBorderColor = true; this.tbName.Properties.BorderStyle = BorderStyles.Simple; this.tbName.Properties.LookAndFeel.SkinName = "London Liquid Sky"; this.tbName.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.tbName.Size = new Size(0x11d, 20); this.tbName.TabIndex = 11; this.tbDescription.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.tbDescription.BorderColor = Color.White; this.tbDescription.Location = new Point(0xb3, 0xb2); this.tbDescription.Name = "tbDescription"; this.tbDescription.Properties.Appearance.BackColor = Color.Black; this.tbDescription.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190); this.tbDescription.Properties.Appearance.ForeColor = Color.White; this.tbDescription.Properties.Appearance.Options.UseBackColor = true; this.tbDescription.Properties.Appearance.Options.UseBorderColor = true; this.tbDescription.Properties.Appearance.Options.UseForeColor = true; this.tbDescription.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f); this.tbDescription.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0); this.tbDescription.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.tbDescription.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal; this.tbDescription.Properties.AppearanceFocused.Options.UseBackColor = true; this.tbDescription.Properties.AppearanceFocused.Options.UseBorderColor = true; this.tbDescription.Properties.BorderStyle = BorderStyles.Simple; this.tbDescription.Properties.LookAndFeel.SkinName = "London Liquid Sky"; this.tbDescription.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.tbDescription.Size = new Size(0x25f, 0x3b); this.tbDescription.TabIndex = 12; this.gpgLabel3.Anchor = AnchorStyles.Right | AnchorStyles.Top; this.gpgLabel3.AutoGrowDirection = GrowDirections.None; this.gpgLabel3.AutoStyle = true; this.gpgLabel3.Font = new Font("Arial", 9.75f); this.gpgLabel3.ForeColor = Color.White; this.gpgLabel3.IgnoreMouseWheel = false; this.gpgLabel3.IsStyled = false; this.gpgLabel3.Location = new Point(470, 0x98); this.gpgLabel3.Name = "gpgLabel3"; this.gpgLabel3.Size = new Size(0xb2, 0x10); base.ttDefault.SetSuperTip(this.gpgLabel3, null); this.gpgLabel3.TabIndex = 13; this.gpgLabel3.Text = "<LOC>Tournament Type"; this.gpgLabel3.TextAlign = ContentAlignment.TopRight; this.gpgLabel3.TextStyle = TextStyles.Default; this.gpgLabel4.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabel4.AutoGrowDirection = GrowDirections.None; this.gpgLabel4.AutoStyle = true; this.gpgLabel4.Font = new Font("Arial", 9.75f); this.gpgLabel4.ForeColor = Color.White; this.gpgLabel4.IgnoreMouseWheel = false; this.gpgLabel4.IsStyled = false; this.gpgLabel4.Location = new Point(7, 0xf4); this.gpgLabel4.Name = "gpgLabel4"; this.gpgLabel4.Size = new Size(0xa6, 0x2e); base.ttDefault.SetSuperTip(this.gpgLabel4, null); this.gpgLabel4.TabIndex = 15; this.gpgLabel4.Text = "<LOC>Legal (use with prizes)"; this.gpgLabel4.TextAlign = ContentAlignment.TopRight; this.gpgLabel4.TextStyle = TextStyles.Default; this.tbLegal.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this.tbLegal.BorderColor = Color.White; this.tbLegal.Location = new Point(0xb3, 0xf4); this.tbLegal.Name = "tbLegal"; this.tbLegal.Properties.Appearance.BackColor = Color.Black; this.tbLegal.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190); this.tbLegal.Properties.Appearance.ForeColor = Color.White; this.tbLegal.Properties.Appearance.Options.UseBackColor = true; this.tbLegal.Properties.Appearance.Options.UseBorderColor = true; this.tbLegal.Properties.Appearance.Options.UseForeColor = true; this.tbLegal.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f); this.tbLegal.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0); this.tbLegal.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.tbLegal.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal; this.tbLegal.Properties.AppearanceFocused.Options.UseBackColor = true; this.tbLegal.Properties.AppearanceFocused.Options.UseBorderColor = true; this.tbLegal.Properties.BorderStyle = BorderStyles.Simple; this.tbLegal.Properties.LookAndFeel.SkinName = "London Liquid Sky"; this.tbLegal.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.tbLegal.Size = new Size(0x25f, 0x3b); this.tbLegal.TabIndex = 0x10; this.gpgLabel5.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabel5.AutoGrowDirection = GrowDirections.None; this.gpgLabel5.AutoStyle = true; this.gpgLabel5.Font = new Font("Arial", 9.75f); this.gpgLabel5.ForeColor = Color.White; this.gpgLabel5.IgnoreMouseWheel = false; this.gpgLabel5.IsStyled = false; this.gpgLabel5.Location = new Point(7, 310); this.gpgLabel5.Name = "gpgLabel5"; this.gpgLabel5.Size = new Size(0xa6, 0x10); base.ttDefault.SetSuperTip(this.gpgLabel5, null); this.gpgLabel5.TabIndex = 0x11; this.gpgLabel5.Text = "<LOC>Website URL"; this.gpgLabel5.TextAlign = ContentAlignment.TopRight; this.gpgLabel5.TextStyle = TextStyles.Default; this.tbWebURL.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this.tbWebURL.Location = new Point(0xb3, 310); this.tbWebURL.Name = "tbWebURL"; this.tbWebURL.Properties.Appearance.BackColor = Color.Black; this.tbWebURL.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190); this.tbWebURL.Properties.Appearance.ForeColor = Color.White; this.tbWebURL.Properties.Appearance.Options.UseBackColor = true; this.tbWebURL.Properties.Appearance.Options.UseBorderColor = true; this.tbWebURL.Properties.Appearance.Options.UseForeColor = true; this.tbWebURL.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f); this.tbWebURL.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0); this.tbWebURL.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.tbWebURL.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal; this.tbWebURL.Properties.AppearanceFocused.Options.UseBackColor = true; this.tbWebURL.Properties.AppearanceFocused.Options.UseBorderColor = true; this.tbWebURL.Properties.BorderStyle = BorderStyles.Simple; this.tbWebURL.Properties.LookAndFeel.SkinName = "London Liquid Sky"; this.tbWebURL.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.tbWebURL.Size = new Size(0x25f, 20); this.tbWebURL.TabIndex = 0x12; this.gpgLabel6.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabel6.AutoGrowDirection = GrowDirections.None; this.gpgLabel6.AutoStyle = true; this.gpgLabel6.Font = new Font("Arial", 9.75f); this.gpgLabel6.ForeColor = Color.White; this.gpgLabel6.IgnoreMouseWheel = false; this.gpgLabel6.IsStyled = false; this.gpgLabel6.Location = new Point(7, 0x150); this.gpgLabel6.Name = "gpgLabel6"; this.gpgLabel6.Size = new Size(0xa6, 0x10); base.ttDefault.SetSuperTip(this.gpgLabel6, null); this.gpgLabel6.TabIndex = 0x1b; this.gpgLabel6.Text = "<LOC>Faction Restriction"; this.gpgLabel6.TextAlign = ContentAlignment.TopRight; this.gpgLabel6.TextStyle = TextStyles.Default; this.gpgLabel7.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabel7.AutoGrowDirection = GrowDirections.None; this.gpgLabel7.AutoStyle = true; this.gpgLabel7.Font = new Font("Arial", 9.75f); this.gpgLabel7.ForeColor = Color.White; this.gpgLabel7.IgnoreMouseWheel = false; this.gpgLabel7.IsStyled = false; this.gpgLabel7.Location = new Point(0x144, 0x150); this.gpgLabel7.Name = "gpgLabel7"; this.gpgLabel7.Size = new Size(0xad, 0x10); base.ttDefault.SetSuperTip(this.gpgLabel7, null); this.gpgLabel7.TabIndex = 0x1c; this.gpgLabel7.Text = "<LOC>Map Restriction"; this.gpgLabel7.TextAlign = ContentAlignment.TopRight; this.gpgLabel7.TextStyle = TextStyles.Default; this.gpgLabel8.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabel8.AutoGrowDirection = GrowDirections.None; this.gpgLabel8.AutoStyle = true; this.gpgLabel8.Font = new Font("Arial", 9.75f); this.gpgLabel8.ForeColor = Color.White; this.gpgLabel8.IgnoreMouseWheel = false; this.gpgLabel8.IsStyled = false; this.gpgLabel8.Location = new Point(7, 0x184); this.gpgLabel8.Name = "gpgLabel8"; this.gpgLabel8.Size = new Size(0xa6, 0x10); base.ttDefault.SetSuperTip(this.gpgLabel8, null); this.gpgLabel8.TabIndex = 0x1d; this.gpgLabel8.Text = "<LOC>Tournament Date"; this.gpgLabel8.TextAlign = ContentAlignment.TopRight; this.gpgLabel8.TextStyle = TextStyles.Default; this.gpgLabel9.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabel9.AutoGrowDirection = GrowDirections.None; this.gpgLabel9.AutoStyle = true; this.gpgLabel9.Font = new Font("Arial", 9.75f); this.gpgLabel9.ForeColor = Color.White; this.gpgLabel9.IgnoreMouseWheel = false; this.gpgLabel9.IsStyled = false; this.gpgLabel9.Location = new Point(15, 440); this.gpgLabel9.Name = "gpgLabel9"; this.gpgLabel9.Size = new Size(0x9b, 0x13); base.ttDefault.SetSuperTip(this.gpgLabel9, null); this.gpgLabel9.TabIndex = 30; this.gpgLabel9.Text = "<LOC>Round Length"; this.gpgLabel9.TextAlign = ContentAlignment.TopRight; this.gpgLabel9.TextStyle = TextStyles.Default; this.gpgLabel10.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabel10.AutoGrowDirection = GrowDirections.None; this.gpgLabel10.AutoStyle = true; this.gpgLabel10.Font = new Font("Arial", 9.75f); this.gpgLabel10.ForeColor = Color.White; this.gpgLabel10.IgnoreMouseWheel = false; this.gpgLabel10.IsStyled = false; this.gpgLabel10.Location = new Point(7, 0x19f); this.gpgLabel10.Name = "gpgLabel10"; this.gpgLabel10.Size = new Size(0xa6, 0x10); base.ttDefault.SetSuperTip(this.gpgLabel10, null); this.gpgLabel10.TabIndex = 0x1f; this.gpgLabel10.Text = "<LOC>Number of Rounds"; this.gpgLabel10.TextAlign = ContentAlignment.TopRight; this.gpgLabel10.TextStyle = TextStyles.Default; this.gpgLabel11.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabel11.AutoGrowDirection = GrowDirections.None; this.gpgLabel11.AutoStyle = true; this.gpgLabel11.Font = new Font("Arial", 9.75f); this.gpgLabel11.ForeColor = Color.White; this.gpgLabel11.IgnoreMouseWheel = false; this.gpgLabel11.IsStyled = false; this.gpgLabel11.Location = new Point(12, 0x1d2); this.gpgLabel11.Name = "gpgLabel11"; this.gpgLabel11.Size = new Size(0xa1, 0x13); base.ttDefault.SetSuperTip(this.gpgLabel11, null); this.gpgLabel11.TabIndex = 0x20; this.gpgLabel11.Text = "<LOC>Assistant TDs"; this.gpgLabel11.TextAlign = ContentAlignment.TopRight; this.gpgLabel11.TextStyle = TextStyles.Default; this.tbAssistantTDs.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this.tbAssistantTDs.Location = new Point(0xb3, 0x1d1); this.tbAssistantTDs.Name = "tbAssistantTDs"; this.tbAssistantTDs.Properties.Appearance.BackColor = Color.Black; this.tbAssistantTDs.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190); this.tbAssistantTDs.Properties.Appearance.ForeColor = Color.White; this.tbAssistantTDs.Properties.Appearance.Options.UseBackColor = true; this.tbAssistantTDs.Properties.Appearance.Options.UseBorderColor = true; this.tbAssistantTDs.Properties.Appearance.Options.UseForeColor = true; this.tbAssistantTDs.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f); this.tbAssistantTDs.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0); this.tbAssistantTDs.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2); this.tbAssistantTDs.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal; this.tbAssistantTDs.Properties.AppearanceFocused.Options.UseBackColor = true; this.tbAssistantTDs.Properties.AppearanceFocused.Options.UseBorderColor = true; this.tbAssistantTDs.Properties.BorderStyle = BorderStyles.Simple; this.tbAssistantTDs.Properties.LookAndFeel.SkinName = "London Liquid Sky"; this.tbAssistantTDs.Properties.LookAndFeel.UseDefaultLookAndFeel = false; this.tbAssistantTDs.Size = new Size(0x194, 20); this.tbAssistantTDs.TabIndex = 0x21; this.tbAssistantTDs.EditValueChanged += new EventHandler(this.gpgTextBox3_EditValueChanged); this.skinButtonCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.skinButtonCancel.AutoStyle = true; this.skinButtonCancel.BackColor = Color.Black; this.skinButtonCancel.ButtonState = 0; this.skinButtonCancel.DialogResult = DialogResult.OK; this.skinButtonCancel.DisabledForecolor = Color.Gray; this.skinButtonCancel.DrawColor = Color.White; this.skinButtonCancel.DrawEdges = true; this.skinButtonCancel.FocusColor = Color.Yellow; this.skinButtonCancel.Font = new Font("Verdana", 8f, FontStyle.Bold); this.skinButtonCancel.ForeColor = Color.White; this.skinButtonCancel.HorizontalScalingMode = ScalingModes.Tile; this.skinButtonCancel.IsStyled = true; this.skinButtonCancel.Location = new Point(0x2b5, 0x1d3); this.skinButtonCancel.Name = "skinButtonCancel"; this.skinButtonCancel.Size = new Size(0x5d, 0x1c); this.skinButtonCancel.SkinBasePath = @"Controls\Button\Round Edge"; base.ttDefault.SetSuperTip(this.skinButtonCancel, null); this.skinButtonCancel.TabIndex = 0x23; this.skinButtonCancel.TabStop = true; this.skinButtonCancel.Text = "<LOC>Cancel"; this.skinButtonCancel.TextAlign = ContentAlignment.MiddleCenter; this.skinButtonCancel.TextPadding = new Padding(0); this.skinButtonCancel.Click += new EventHandler(this.skinButtonCancel_Click); this.skinButtonOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.skinButtonOK.AutoStyle = true; this.skinButtonOK.BackColor = Color.Black; this.skinButtonOK.ButtonState = 0; this.skinButtonOK.DialogResult = DialogResult.OK; this.skinButtonOK.DisabledForecolor = Color.Gray; this.skinButtonOK.DrawColor = Color.White; this.skinButtonOK.DrawEdges = true; this.skinButtonOK.FocusColor = Color.Yellow; this.skinButtonOK.Font = new Font("Verdana", 8f, FontStyle.Bold); this.skinButtonOK.ForeColor = Color.White; this.skinButtonOK.HorizontalScalingMode = ScalingModes.Tile; this.skinButtonOK.IsStyled = true; this.skinButtonOK.Location = new Point(0x253, 0x1d3); this.skinButtonOK.Name = "skinButtonOK"; this.skinButtonOK.Size = new Size(0x5d, 0x1c); this.skinButtonOK.SkinBasePath = @"Controls\Button\Round Edge"; base.ttDefault.SetSuperTip(this.skinButtonOK, null); this.skinButtonOK.TabIndex = 0x22; this.skinButtonOK.TabStop = true; this.skinButtonOK.Text = "<LOC>Create"; this.skinButtonOK.TextAlign = ContentAlignment.MiddleCenter; this.skinButtonOK.TextPadding = new Padding(0); this.skinButtonOK.Click += new EventHandler(this.skinButtonOK_Click); this.cbType.Anchor = AnchorStyles.Right | AnchorStyles.Top; this.cbType.BackColor = Color.Black; this.cbType.BorderColor = Color.White; this.cbType.DoValidate = true; this.cbType.FlatStyle = FlatStyle.Flat; this.cbType.FocusBackColor = Color.Empty; this.cbType.FocusBorderColor = Color.Empty; this.cbType.FormattingEnabled = true; this.cbType.Items.AddRange(new object[] { "Swiss Style", "Manual Brackets" }); this.cbType.Location = new Point(0x28e, 0x98); this.cbType.Name = "cbType"; this.cbType.Size = new Size(0x84, 0x15); base.ttDefault.SetSuperTip(this.cbType, null); this.cbType.TabIndex = 0x25; this.cbFaction.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.cbFaction.BackColor = Color.Black; this.cbFaction.BorderColor = Color.White; this.cbFaction.DoValidate = true; this.cbFaction.FlatStyle = FlatStyle.Flat; this.cbFaction.FocusBackColor = Color.Empty; this.cbFaction.FocusBorderColor = Color.Empty; this.cbFaction.FormattingEnabled = true; this.cbFaction.Items.AddRange(new object[] { "Any Faction", "Random Faction", "Aeon", "Cybran", "UEF" }); this.cbFaction.Location = new Point(0xb3, 0x150); this.cbFaction.Name = "cbFaction"; this.cbFaction.Size = new Size(0x84, 0x15); base.ttDefault.SetSuperTip(this.cbFaction, null); this.cbFaction.TabIndex = 0x26; this.cbFaction.SelectedValueChanged += new EventHandler(this.cbFaction_SelectedValueChanged); this.cbNumberOfRounds.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.cbNumberOfRounds.BackColor = Color.Black; this.cbNumberOfRounds.BorderColor = Color.White; this.cbNumberOfRounds.DoValidate = true; this.cbNumberOfRounds.FlatStyle = FlatStyle.Flat; this.cbNumberOfRounds.FocusBackColor = Color.Empty; this.cbNumberOfRounds.FocusBorderColor = Color.Empty; this.cbNumberOfRounds.FormattingEnabled = true; this.cbNumberOfRounds.Items.AddRange(new object[] { "Automatic", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" }); this.cbNumberOfRounds.Location = new Point(0xb3, 0x19c); this.cbNumberOfRounds.Name = "cbNumberOfRounds"; this.cbNumberOfRounds.Size = new Size(0xb8, 0x15); base.ttDefault.SetSuperTip(this.cbNumberOfRounds, null); this.cbNumberOfRounds.TabIndex = 40; this.cbRoundLength.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.cbRoundLength.BackColor = Color.Black; this.cbRoundLength.BorderColor = Color.White; this.cbRoundLength.DoValidate = true; this.cbRoundLength.FlatStyle = FlatStyle.Flat; this.cbRoundLength.FocusBackColor = Color.Empty; this.cbRoundLength.FocusBorderColor = Color.Empty; this.cbRoundLength.FormattingEnabled = true; this.cbRoundLength.Items.AddRange(new object[] { "Until all games are finished", "60 minutes", "50 minutes", "40 minutes", "30 minutes", "20 minutes", "10 minutes" }); this.cbRoundLength.Location = new Point(0xb3, 0x1b6); this.cbRoundLength.Name = "cbRoundLength"; this.cbRoundLength.Size = new Size(0xb8, 0x15); base.ttDefault.SetSuperTip(this.cbRoundLength, null); this.cbRoundLength.TabIndex = 0x29; this.cbMap.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this.cbMap.BackColor = Color.Black; this.cbMap.BorderColor = Color.White; this.cbMap.DisplayMember = "MapCheckName"; this.cbMap.DoValidate = true; this.cbMap.FlatStyle = FlatStyle.Flat; this.cbMap.FocusBackColor = Color.Empty; this.cbMap.FocusBorderColor = Color.Empty; this.cbMap.FormattingEnabled = true; this.cbMap.Location = new Point(0x1f7, 0x14f); this.cbMap.Name = "cbMap"; this.cbMap.Size = new Size(0xa3, 0x15); base.ttDefault.SetSuperTip(this.cbMap, null); this.cbMap.TabIndex = 0x2a; this.cbMap.Text = "Any Map"; this.cbMap.SelectedValueChanged += new EventHandler(this.cbMap_SelectedValueChanged); this.pbFaction.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.pbFaction.Location = new Point(0x13e, 0x14b); this.pbFaction.Name = "pbFaction"; this.pbFaction.Size = new Size(50, 50); base.ttDefault.SetSuperTip(this.pbFaction, null); this.pbFaction.TabIndex = 0x2b; this.pbFaction.TabStop = false; this.pbMap.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.pbMap.Location = new Point(0x2a0, 0x14f); this.pbMap.MaximumSize = new Size(200, 200); this.pbMap.Name = "pbMap"; this.pbMap.Size = new Size(0x7d, 0x7d); this.pbMap.SizeMode = PictureBoxSizeMode.StretchImage; base.ttDefault.SetSuperTip(this.pbMap, null); this.pbMap.TabIndex = 0x2c; this.pbMap.TabStop = false; this.lSize.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this.lSize.AutoGrowDirection = GrowDirections.None; this.lSize.AutoStyle = true; this.lSize.Font = new Font("Arial", 9.75f); this.lSize.ForeColor = Color.White; this.lSize.IgnoreMouseWheel = false; this.lSize.IsStyled = false; this.lSize.Location = new Point(0x1ed, 0x16d); this.lSize.Name = "lSize"; this.lSize.Size = new Size(0xad, 0x10); base.ttDefault.SetSuperTip(this.lSize, null); this.lSize.TabIndex = 0x2d; this.lSize.Text = "Size: 64, 64"; this.lSize.TextAlign = ContentAlignment.TopRight; this.lSize.TextStyle = TextStyles.Default; this.lMaxPlayers.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this.lMaxPlayers.AutoGrowDirection = GrowDirections.None; this.lMaxPlayers.AutoStyle = true; this.lMaxPlayers.Font = new Font("Arial", 9.75f); this.lMaxPlayers.ForeColor = Color.White; this.lMaxPlayers.IgnoreMouseWheel = false; this.lMaxPlayers.IsStyled = false; this.lMaxPlayers.Location = new Point(0x1ed, 0x17d); this.lMaxPlayers.Name = "lMaxPlayers"; this.lMaxPlayers.Size = new Size(0xad, 0x10); base.ttDefault.SetSuperTip(this.lMaxPlayers, null); this.lMaxPlayers.TabIndex = 0x2e; this.lMaxPlayers.Text = "Max Players: 8"; this.lMaxPlayers.TextAlign = ContentAlignment.TopRight; this.lMaxPlayers.TextStyle = TextStyles.Default; this.cbDate.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.cbDate.BorderColor = Color.White; this.cbDate.Location = new Point(0xb3, 0x182); this.cbDate.Name = "cbDate"; this.cbDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton() }); this.cbDate.Properties.NullText = "None"; this.cbDate.Properties.PopupControl = this.cbpCalander; this.cbDate.Size = new Size(0xb8, 20); this.cbDate.TabIndex = 0x2f; this.cbDate.QueryPopUp += new CancelEventHandler(this.cbDate_QueryPopUp); this.cbpCalander.Appearance.BackColor = Color.Black; this.cbpCalander.Appearance.ForeColor = Color.White; this.cbpCalander.Appearance.Options.UseBackColor = true; this.cbpCalander.Appearance.Options.UseForeColor = true; this.cbpCalander.Controls.Add(this.dTournamentDate); this.cbpCalander.Controls.Add(this.tTournamentTime); this.cbpCalander.Location = new Point(0xb3, 0x19c); this.cbpCalander.LookAndFeel.SkinName = "London Liquid Sky"; this.cbpCalander.LookAndFeel.Style = LookAndFeelStyle.Flat; this.cbpCalander.LookAndFeel.UseDefaultLookAndFeel = false; this.cbpCalander.Name = "cbpCalander"; this.cbpCalander.Size = new Size(0xb8, 0xcc); base.ttDefault.SetSuperTip(this.cbpCalander, null); this.cbpCalander.TabIndex = 0x30; this.cbpCalander.Text = "gpgComboBoxPanel1"; this.dTournamentDate.DateTime = new DateTime(0x7d7, 4, 0x10, 0, 0, 0, 0); this.dTournamentDate.Dock = DockStyle.Fill; this.dTournamentDate.Location = new Point(0, 20); this.dTournamentDate.Name = "dTournamentDate"; this.dTournamentDate.Size = new Size(0xb8, 0xb8); base.ttDefault.SetSuperTip(this.dTournamentDate, null); this.dTournamentDate.TabIndex = 1; this.dTournamentDate.Click += new EventHandler(this.dTournamentDate_Click); this.dTournamentDate.EditDateModified += new EventHandler(this.dTournamentDate_EditDateModified); this.tTournamentTime.Dock = DockStyle.Top; this.tTournamentTime.EditValue = new DateTime(0x7d7, 4, 0x10, 0, 0, 0, 0); this.tTournamentTime.Location = new Point(0, 0); this.tTournamentTime.Name = "tTournamentTime"; this.tTournamentTime.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton() }); this.tTournamentTime.Size = new Size(0xb8, 20); this.tTournamentTime.TabIndex = 0; this.tTournamentTime.EditValueChanged += new EventHandler(this.tTournamentTime_EditValueChanged); this.tTournamentTime.Click += new EventHandler(this.tTournamentTime_Click); this.cbRestriction.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this.cbRestriction.BackColor = Color.Black; this.cbRestriction.BorderColor = Color.White; this.cbRestriction.DoValidate = true; this.cbRestriction.FlatStyle = FlatStyle.Flat; this.cbRestriction.FocusBackColor = Color.Empty; this.cbRestriction.FocusBorderColor = Color.Empty; this.cbRestriction.FormattingEnabled = true; this.cbRestriction.Location = new Point(0x1f7, 0x1af); this.cbRestriction.Name = "cbRestriction"; this.cbRestriction.Size = new Size(0xa3, 0x15); base.ttDefault.SetSuperTip(this.cbRestriction, null); this.cbRestriction.TabIndex = 50; this.cbRestriction.Text = "Any Map"; this.gpgLabel12.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this.gpgLabel12.AutoGrowDirection = GrowDirections.None; this.gpgLabel12.AutoStyle = true; this.gpgLabel12.Font = new Font("Arial", 9.75f); this.gpgLabel12.ForeColor = Color.White; this.gpgLabel12.IgnoreMouseWheel = false; this.gpgLabel12.IsStyled = false; this.gpgLabel12.Location = new Point(0x171, 0x1b0); this.gpgLabel12.Name = "gpgLabel12"; this.gpgLabel12.Size = new Size(0x80, 0x10); base.ttDefault.SetSuperTip(this.gpgLabel12, null); this.gpgLabel12.TabIndex = 0x31; this.gpgLabel12.Text = "<LOC>Custom Restriction"; this.gpgLabel12.TextAlign = ContentAlignment.TopRight; this.gpgLabel12.TextStyle = TextStyles.Default; base.AutoScaleDimensions = new SizeF(7f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(810, 540); base.Controls.Add(this.cbRestriction); base.Controls.Add(this.gpgLabel12); base.Controls.Add(this.cbpCalander); base.Controls.Add(this.cbDate); base.Controls.Add(this.lMaxPlayers); base.Controls.Add(this.lSize); base.Controls.Add(this.pbMap); base.Controls.Add(this.cbMap); base.Controls.Add(this.cbRoundLength); base.Controls.Add(this.cbNumberOfRounds); base.Controls.Add(this.cbFaction); base.Controls.Add(this.cbType); base.Controls.Add(this.skinButtonCancel); base.Controls.Add(this.skinButtonOK); base.Controls.Add(this.tbAssistantTDs); base.Controls.Add(this.gpgLabel10); base.Controls.Add(this.gpgLabel8); base.Controls.Add(this.gpgLabel6); base.Controls.Add(this.tbWebURL); base.Controls.Add(this.gpgLabel5); base.Controls.Add(this.tbLegal); base.Controls.Add(this.gpgLabel4); base.Controls.Add(this.gpgLabel3); base.Controls.Add(this.tbDescription); base.Controls.Add(this.tbName); base.Controls.Add(this.gpgLabel2); base.Controls.Add(this.gpgLabel1); base.Controls.Add(this.backLabelTitle); base.Controls.Add(this.gpgLabel9); base.Controls.Add(this.gpgLabel11); base.Controls.Add(this.pbFaction); base.Controls.Add(this.gpgLabel7); this.Font = new Font("Verdana", 8f); base.Location = new Point(0, 0); this.MinimumSize = new Size(810, 540); base.Name = "DlgTournamentCreation"; base.ttDefault.SetSuperTip(this, null); this.Text = "<LOC>Create New Tournament"; base.Controls.SetChildIndex(this.gpgLabel7, 0); base.Controls.SetChildIndex(this.pbFaction, 0); base.Controls.SetChildIndex(this.gpgLabel11, 0); base.Controls.SetChildIndex(this.gpgLabel9, 0); base.Controls.SetChildIndex(this.backLabelTitle, 0); base.Controls.SetChildIndex(this.gpgLabel1, 0); base.Controls.SetChildIndex(this.gpgLabel2, 0); base.Controls.SetChildIndex(this.tbName, 0); base.Controls.SetChildIndex(this.tbDescription, 0); base.Controls.SetChildIndex(this.gpgLabel3, 0); base.Controls.SetChildIndex(this.gpgLabel4, 0); base.Controls.SetChildIndex(this.tbLegal, 0); base.Controls.SetChildIndex(this.gpgLabel5, 0); base.Controls.SetChildIndex(this.tbWebURL, 0); base.Controls.SetChildIndex(this.gpgLabel6, 0); base.Controls.SetChildIndex(this.gpgLabel8, 0); base.Controls.SetChildIndex(this.gpgLabel10, 0); base.Controls.SetChildIndex(this.tbAssistantTDs, 0); base.Controls.SetChildIndex(this.skinButtonOK, 0); base.Controls.SetChildIndex(this.skinButtonCancel, 0); base.Controls.SetChildIndex(this.cbType, 0); base.Controls.SetChildIndex(this.cbFaction, 0); base.Controls.SetChildIndex(this.cbNumberOfRounds, 0); base.Controls.SetChildIndex(this.cbRoundLength, 0); base.Controls.SetChildIndex(this.cbMap, 0); base.Controls.SetChildIndex(this.pbMap, 0); base.Controls.SetChildIndex(this.lSize, 0); base.Controls.SetChildIndex(this.lMaxPlayers, 0); base.Controls.SetChildIndex(this.cbDate, 0); base.Controls.SetChildIndex(this.cbpCalander, 0); base.Controls.SetChildIndex(this.gpgLabel12, 0); base.Controls.SetChildIndex(this.cbRestriction, 0); ((ISupportInitialize) base.pbBottom).EndInit(); this.tbName.Properties.EndInit(); this.tbDescription.Properties.EndInit(); this.tbLegal.Properties.EndInit(); this.tbWebURL.Properties.EndInit(); this.tbAssistantTDs.Properties.EndInit(); ((ISupportInitialize) this.pbFaction).EndInit(); ((ISupportInitialize) this.pbMap).EndInit(); this.cbDate.Properties.EndInit(); this.cbpCalander.EndInit(); this.cbpCalander.ResumeLayout(false); this.dTournamentDate.EndInit(); this.tTournamentTime.Properties.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
public static void ПроинициализироватьЗначение(TimeEdit редакторВремени, object Значение) { редакторВремени.Time = (DateTime)Значение; }