public static bool SetGridReadOnly(DevExpress.Xpf.Grid.GridControl oGrid, DevExpress.Xpf.Grid.TableView oTblView, bool isReadOnly = false) { try{ if (isReadOnly == true) { oGrid.View.CloseEditor(); oGrid.View.NavigationStyle = DevExpress.Xpf.Grid.GridViewNavigationStyle.Row; oTblView.NewItemRowPosition = DevExpress.Xpf.Grid.NewItemRowPosition.None; } else { oGrid.View.NavigationStyle = DevExpress.Xpf.Grid.GridViewNavigationStyle.Cell; oGrid.View.ShowEditor(); oTblView.NewItemRowPosition = DevExpress.Xpf.Grid.NewItemRowPosition.Bottom; } foreach (var Col in oGrid.Columns) { if (Col.Tag != null && Col.Tag.ToString().Contains("R")) { Col.ReadOnly = true; Col.AllowFocus = false; } else { Col.ReadOnly = isReadOnly; } } } catch { return(false); } return(true); }
/// <summary> /// table生成文档打印 /// </summary> /// <param name="TableView"></param> /// <returns></returns> public static DevExpress.Xpf.Printing.PrintableControlLink GetPrintableLink(DevExpress.Xpf.Grid.TableView TableView) { var link = new DevExpress.Xpf.Printing.PrintableControlLink(TableView) { Margins = new System.Drawing.Printing.Margins(50, 50, 50, 50), PaperKind = System.Drawing.Printing.PaperKind.A4 }; link.CreateDocument(true); return(link); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmmonitor1.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.sodt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodt"))); this.ten = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten"))); this.ten_nv = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_nv"))); this.ghi_chu = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ghi_chu"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmtkbd.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridmy = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridmy"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1"))); this.dngaykt = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaykt"))); this.textBlock2 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2"))); this.dngaybd = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaybd"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/BSC/frmindexskpi.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.btnaddskpi = ((System.Windows.Controls.Button)(this.FindName("btnaddskpi"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.ten_kpo = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_kpo"))); this.ten_kpi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_kpi"))); this.dvt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dvt"))); this.ma_kpi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_kpi"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmduong.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtten = ((DevExpress.Xpf.Editors.TextEdit)(this.FindName("txtten"))); this.cmdXoa = ((System.Windows.Controls.Button)(this.FindName("cmdXoa"))); this.cmdThem = ((System.Windows.Controls.Button)(this.FindName("cmdThem"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.id = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("id"))); this.ten_duong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_duong"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); }
public CRUDHandling(DevExpress.Xpf.Grid.GridControl grid, DevExpress.Xpf.Grid.TableView tblView, DevExpress.Xpf.Grid.GridColumn columnFocus, MTGlobal.MT_ROLE MTROLE, MTGlobal.MT_BUTTONACTION MTButton, String TABLE_NAME, String ID_NAME, String CODE_NAME, String CODE_HEADER, String SQL_LOAD_ALL, String SQL_DELETE) { this.grid = grid; this.tblView = tblView; this.columnFocus = columnFocus; this.MTROLE = MTROLE; this.MTButton = MTButton; this.TABLE_NAME = TABLE_NAME; this.ID_NAME = ID_NAME; this.CODE_NAME = CODE_NAME; this.CODE_HEADER = CODE_HEADER; this.SQL_LOAD_ALL = SQL_LOAD_ALL; this.SQL_DELETE = SQL_DELETE; }
/// <summary> /// Exporta la tabla seleccionada a un formato selccionado. /// </summary> /// <param name="exportTo"></param> /// <param name="view"></param> /// <param name="name"></param> public void exportTo(string exportTo, DevExpress.Xpf.Grid.TableView view, string name) { System.Windows.Forms.FolderBrowserDialog carpeta = new System.Windows.Forms.FolderBrowserDialog(); carpeta.Description = "Seleccione la carpeta destino"; carpeta.ShowDialog(); DateTime thisDay = DateTime.Today; string fecha = thisDay.ToString("D"); string rout = carpeta.SelectedPath; string nombre = name; if (exportTo == ".xsls") { if (!String.IsNullOrEmpty(rout)) { view.ExportToXlsx(rout + @"\Shark_" + nombre + "_" + fecha + ".xlsx"); System.Windows.MessageBoxResult dialogResult = System.Windows.MessageBox.Show("El Reporte se creó satisfactoriamente en la ubicación especificada, ¿Desea Abrir el Archivo? '", "Creación De Reporte", System.Windows.MessageBoxButton.YesNo); if (dialogResult == System.Windows.MessageBoxResult.Yes) { System.Diagnostics.Process.Start(rout + @"\Shark_" + nombre + "_" + fecha + ".xlsx"); } } } else if (exportTo == ".png") { if (!String.IsNullOrEmpty(rout)) { view.ExportToImage(rout + @"\Shark_" + nombre + "_" + fecha + ".png"); System.Windows.MessageBoxResult dialogResult = System.Windows.MessageBox.Show("El Reporte se creó satisfactoriamente en la ubicación especificada, ¿Desea Abrir el Archivo? '", "Creación De Reporte", System.Windows.MessageBoxButton.YesNo); if (dialogResult == System.Windows.MessageBoxResult.Yes) { System.Diagnostics.Process.Start(rout + @"\Shark_" + nombre + "_" + fecha + ".png"); } } } else if (exportTo == ".pdf") { if (!String.IsNullOrEmpty(rout)) { view.ExportToPdf(rout + @"\Shark_" + nombre + "_" + fecha + ".pdf"); System.Windows.MessageBoxResult dialogResult = System.Windows.MessageBox.Show("El Reporte se creó satisfactoriamente en la ubicación especificada, ¿Desea Abrir el Archivo? '", "Creación De Reporte", System.Windows.MessageBoxButton.YesNo); if (dialogResult == System.Windows.MessageBoxResult.Yes) { System.Diagnostics.Process.Start(rout + @"\Shark_" + nombre + "_" + fecha + ".pdf"); } } } }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmdscodinh1.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.makh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makh"))); this.sodt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodt"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.tendb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tendb"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.dataPager1 = ((DevExpress.Xpf.Editors.DataPager.DataPager)(this.FindName("dataPager1"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmapkhom.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.cmbxa = ((DevExpress.Xpf.Editors.ComboBoxEdit)(this.FindName("cmbxa"))); this.cmdXoa = ((System.Windows.Controls.Button)(this.FindName("cmdXoa"))); this.cmdThem = ((System.Windows.Controls.Button)(this.FindName("cmdThem"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.maap = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("maap"))); this.ten_ap = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_ap"))); this.note = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("note"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.label1 = ((System.Windows.Controls.Label)(this.FindName("label1"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmtkdtgandb.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.grid = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("grid"))); this.ma_tuyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_tuyen"))); this.ten_tuyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_tuyen"))); this.thangtruoc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("thangtruoc"))); this.thanghientai = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("thanghientai"))); this.view = ((DevExpress.Xpf.Grid.TableView)(this.FindName("view"))); this.rdnhanvien = ((System.Windows.Controls.RadioButton)(this.FindName("rdnhanvien"))); this.rddiaban = ((System.Windows.Controls.RadioButton)(this.FindName("rddiaban"))); this.XemButton = ((System.Windows.Controls.Button)(this.FindName("XemButton"))); this.label1 = ((System.Windows.Controls.TextBlock)(this.FindName("label1"))); this.thang = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("thang"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmlogusers.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.grid = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("grid"))); this.users = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("users"))); this.ip_address = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ip_address"))); this.thoi_gian = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("thoi_gian"))); this.thanhcong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("thanhcong"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.cmdXoa = ((System.Windows.Controls.Button)(this.FindName("cmdXoa"))); this.txttim = ((DevExpress.Xpf.Editors.TextEdit)(this.FindName("txttim"))); this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.chkall = ((DevExpress.Xpf.Editors.CheckEdit)(this.FindName("chkall"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/Thongke/frmtkptgphone.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.ma_huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen"))); this.makh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makh"))); this.sodt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodt"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.tendb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tendb"))); this.diachitb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitb"))); this.diachidb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb"))); this.tientb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tientb"))); this.tienno = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tienno"))); this.tbdv = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tbdv"))); this.tuyen_tc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tc"))); this.hopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdong"))); this.ngayhopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdong"))); this.ngayld = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayld"))); this.ngay_ngung = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngung"))); this.tt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tt"))); this.pl = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("pl"))); this.camket = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("camket"))); this.village = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("village"))); this.khg_vat = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("khg_vat"))); this.socmnd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("socmnd"))); this.ngaycap = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngaycap"))); this.dt_lh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dt_lh"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1"))); this.dngaykt = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaykt"))); this.textBlock2 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2"))); this.dngaybd = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaybd"))); this.chkngayhd = ((DevExpress.Xpf.Editors.CheckEdit)(this.FindName("chkngayhd"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmmonitor.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.border1 = ((System.Windows.Controls.Border)(this.FindName("border1"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.check = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("check"))); this.sodt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodt"))); this.ten_yc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_yc"))); this.dlu = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dlu"))); this.shell = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("shell"))); this.card = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("card"))); this.port = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("port"))); this.frame = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("frame"))); this.slot = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("slot"))); this.tg_yc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tg_yc"))); this.ma_yc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_yc"))); this.nguoi_yc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("nguoi_yc"))); this.ma_huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen"))); this.ten_dktb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_dktb"))); this.ghi_chu = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ghi_chu"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.TVH = ((System.Windows.Shapes.Ellipse)(this.FindName("TVH"))); this.CLG = ((System.Windows.Shapes.Ellipse)(this.FindName("CLG"))); this.label1 = ((System.Windows.Controls.Label)(this.FindName("label1"))); this.TCN = ((System.Windows.Shapes.Ellipse)(this.FindName("TCN"))); this.CKE = ((System.Windows.Shapes.Ellipse)(this.FindName("CKE"))); this.CTH = ((System.Windows.Shapes.Ellipse)(this.FindName("CTH"))); this.TCU = ((System.Windows.Shapes.Ellipse)(this.FindName("TCU"))); this.CNG = ((System.Windows.Shapes.Ellipse)(this.FindName("CNG"))); this.DHI = ((System.Windows.Shapes.Ellipse)(this.FindName("DHI"))); this.chkall = ((DevExpress.Xpf.Editors.CheckEdit)(this.FindName("chkall"))); this.media = ((System.Windows.Controls.MediaElement)(this.FindName("media"))); this.speaker = ((System.Windows.Controls.Image)(this.FindName("speaker"))); this.CmdExpand = ((System.Windows.Controls.Button)(this.FindName("CmdExpand"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/Thongke/frmtklydocat.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1"))); this.dngaykt = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaykt"))); this.textBlock2 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2"))); this.dngaybd = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaybd"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.ten_dv = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_dv"))); this.ten_ld = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_ld"))); this.ma_ld = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_ld"))); this.slcd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("slcd"))); this.slgp = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("slgp"))); this.slmy = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("slmy"))); this.slint = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("slint"))); this.slftth = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("slftth"))); this.ma_dv = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_dv"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.label1 = ((System.Windows.Controls.Label)(this.FindName("label1"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/Thongke/frmtkckint.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.user_login = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("user_login"))); this.ma_huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen"))); this.makh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makh"))); this.account = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("account"))); this.camket = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("camket"))); this.ngayhopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdong"))); this.ngayld = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayld"))); this.ngay_ngung = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngung"))); this.so_dt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("so_dt"))); this.ma_dv = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_dv"))); this.goicuoc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("goicuoc"))); this.ten_uutien = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_uutien"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.ten_nsd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_nsd"))); this.diachitb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitb"))); this.diachidb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb"))); this.tuyen_tc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tc"))); this.hopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdong"))); this.ht_ld = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ht_ld"))); this.tt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tt"))); this.pl = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("pl"))); this.maxa = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("maxa"))); this.socmnd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("socmnd"))); this.ngaycap = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngaycap"))); this.dt_lh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dt_lh"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1"))); this.dngaykt = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaykt"))); this.textBlock2 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2"))); this.dngaybd = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaybd"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmtimint.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridmy = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridmy"))); this.ma_huyenm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyenm"))); this.ma_tramm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_tramm"))); this.makhm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makhm"))); this.accountm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("accountm"))); this.goicuocm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("goicuocm"))); this.tentbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentbm"))); this.tendbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tendbm"))); this.diachitbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitbm"))); this.diachidbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidbm"))); this.tuyen_tcm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tcm"))); this.hopdongm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdongm"))); this.ngayhopdongm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdongm"))); this.ngayldm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayldm"))); this.ngay_ngungm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngungm"))); this.ttm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ttm"))); this.plm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("plm"))); this.maxam = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("maxam"))); this.socmndm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("socmndm"))); this.ngaycapm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngaycapm"))); this.tableView4 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView4"))); this.gridInt = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridInt"))); this.ma_huyeni = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyeni"))); this.ma_trami = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_trami"))); this.makhi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makhi"))); this.accounti = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("accounti"))); this.ma_dvi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_dvi"))); this.goicuoci = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("goicuoci"))); this.tentbi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentbi"))); this.ten_nsdi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_nsdi"))); this.diachitbi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitbi"))); this.diachidbi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidbi"))); this.tuyen_tci = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tci"))); this.hopdongi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdongi"))); this.ngayhopdongi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdongi"))); this.ngayldi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayldi"))); this.ngay_ngungi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngungi"))); this.tti = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tti"))); this.pli = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("pli"))); this.maxai = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("maxai"))); this.socmndi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("socmndi"))); this.ngaycapi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngaycapi"))); this.tableView3 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView3"))); this.chkInt = ((DevExpress.Xpf.Editors.CheckEdit)(this.FindName("chkInt"))); this.chkMy = ((DevExpress.Xpf.Editors.CheckEdit)(this.FindName("chkMy"))); this.txttim = ((DevExpress.Xpf.Editors.TextEdit)(this.FindName("txttim"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.label1 = ((System.Windows.Controls.Label)(this.FindName("label1"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmbao119.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.border1 = ((System.Windows.Controls.Border)(this.FindName("border1"))); this.textBlock3 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock3"))); this.txtsdt = ((DevExpress.Xpf.Editors.ButtonEdit)(this.FindName("txtsdt"))); this.textBlock5 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock5"))); this.txttentb = ((DevExpress.Xpf.Editors.ButtonEdit)(this.FindName("txttentb"))); this.textBlock6 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock6"))); this.txttendb = ((DevExpress.Xpf.Editors.ButtonEdit)(this.FindName("txttendb"))); this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1"))); this.txtsogoibao = ((DevExpress.Xpf.Editors.TextEdit)(this.FindName("txtsogoibao"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton"))); this.Picturecat = ((System.Windows.Controls.Image)(this.FindName("Picturecat"))); this.Textcat = ((System.Windows.Controls.TextBlock)(this.FindName("Textcat"))); this.grid = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("grid"))); this.so_dt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("so_dt"))); this.user_name = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("user_name"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.diachidb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb"))); this.ma_huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen"))); this.view = ((DevExpress.Xpf.Grid.TableView)(this.FindName("view"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmsuaxong.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.grid = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("grid"))); this.ma_huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen"))); this.sDamagedPhoneNo = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sDamagedPhoneNo"))); this.sStatus = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sStatus"))); this.sCallerNo = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sCallerNo"))); this.user_name = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("user_name"))); this.dtRecvTime = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dtRecvTime"))); this.dtfinished = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dtfinished"))); this.tg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tg"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.diachidb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb"))); this.ten_tram = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_tram"))); this.sohopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sohopdong"))); this.ID = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ID"))); this.view = ((DevExpress.Xpf.Grid.TableView)(this.FindName("view"))); this.chart = ((DevExpress.Xpf.Charts.ChartControl)(this.FindName("chart"))); this.pane = ((DevExpress.Xpf.Charts.Pane)(this.FindName("pane"))); this.Series = ((DevExpress.Xpf.Charts.BarSideBySideSeries2D)(this.FindName("Series"))); this.Series1 = ((DevExpress.Xpf.Charts.BarSideBySideSeries2D)(this.FindName("Series1"))); this.grid1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("grid1"))); this.sStatus1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sStatus1"))); this.sl = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sl"))); this.ID1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ID1"))); this.view1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("view1"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1"))); this.dngaykt = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaykt"))); this.textBlock2 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2"))); this.dngaybd = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaybd"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmtkslgandb.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.grid = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("grid"))); this.ma_huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen"))); this.ma_nv = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_nv"))); this.ten_nv = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_nv"))); this.ma_tuyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_tuyen"))); this.ten_tuyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_tuyen"))); this.soluongcd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("soluongcd"))); this.soluonggp = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("soluonggp"))); this.soluongmy = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("soluongmy"))); this.soluongint = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("soluongint"))); this.soluongftth = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("soluongftth"))); this.soluong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("soluong"))); this.tien = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tien"))); this.tiencd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tiencd"))); this.tiengp = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tiengp"))); this.tienmy = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tienmy"))); this.tienint = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tienint"))); this.tienftth = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tienftth"))); this.view = ((DevExpress.Xpf.Grid.TableView)(this.FindName("view"))); this.in1Item = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("in1Item"))); this.inAllItem = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("inAllItem"))); this.inItem = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("inItem"))); this.rdnhanvien = ((System.Windows.Controls.RadioButton)(this.FindName("rdnhanvien"))); this.rddiaban = ((System.Windows.Controls.RadioButton)(this.FindName("rddiaban"))); this.XemButton = ((System.Windows.Controls.Button)(this.FindName("XemButton"))); this.label1 = ((System.Windows.Controls.TextBlock)(this.FindName("label1"))); this.thang = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("thang"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmlogmstonghop.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.grid = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("grid"))); this.users = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("users"))); this.ip_address = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ip_address"))); this.ngay_tao = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_tao"))); this.mahang = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("mahang"))); this.size = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("size"))); this.hinh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hinh"))); this.tenhang = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tenhang"))); this.dvt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dvt"))); this.packing = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("packing"))); this.tl = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tl"))); this.ngaycan = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngaycan"))); this.day = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("day"))); this.doday = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("doday"))); this.gia = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("gia"))); this.ma_tkh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_tkh"))); this.ghichu = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ghichu"))); this.hinhhd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hinhhd"))); this.maloai = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("maloai"))); this.tenloai = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tenloai"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.cmdXoa = ((System.Windows.Controls.Button)(this.FindName("cmdXoa"))); this.txttim = ((DevExpress.Xpf.Editors.TextEdit)(this.FindName("txttim"))); this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.chkall = ((DevExpress.Xpf.Editors.CheckEdit)(this.FindName("chkall"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/BSC/frmbscnld.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.ten_kpo = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_kpo"))); this.ten_kpi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_kpi"))); this.dvt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dvt"))); this.check = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("check"))); this.ma_kpi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_kpi"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.gridControl2 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl2"))); this.ten_kpo1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_kpo1"))); this.ten_kpi1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_kpi1"))); this.dvt1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dvt1"))); this.trongso = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("trongso"))); this.chitieugiao = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("chitieugiao"))); this.check_bochon = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("check_bochon"))); this.ma_kpi1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_kpi1"))); this.tableView2 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView2"))); this.btnchon = ((System.Windows.Controls.Button)(this.FindName("btnchon"))); this.btnbochon = ((System.Windows.Controls.Button)(this.FindName("btnbochon"))); this.btnsave = ((System.Windows.Controls.Button)(this.FindName("btnsave"))); this.cmbnv = ((DevExpress.Xpf.Editors.ComboBoxEdit)(this.FindName("cmbnv"))); this.thang = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("thang"))); this.giaonhanvien = ((System.Windows.Controls.TextBlock)(this.FindName("giaonhanvien"))); this.cmdview = ((System.Windows.Controls.Button)(this.FindName("cmdview"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmdsbdmytv.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.makh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makh"))); this.account = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("account"))); this.goicuoc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("goicuoc"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.tendb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tendb"))); this.diachitb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitb"))); this.diachidb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb"))); this.tuyen_tc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tc"))); this.ma_tram = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_tram"))); this.hopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdong"))); this.ngayhopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdong"))); this.ngayld = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayld"))); this.ngay_ngung = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngung"))); this.tt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tt"))); this.pl = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("pl"))); this.camket = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("camket"))); this.maxa = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("maxa"))); this.socmnd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("socmnd"))); this.ngaycap = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngaycap"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.dataPager1 = ((DevExpress.Xpf.Editors.DataPager.DataPager)(this.FindName("dataPager1"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.dthangbd = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dthangbd"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmlogmytv.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.grid = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("grid"))); this.user_login = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("user_login"))); this.thoi_gian = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("thoi_gian"))); this.user_name = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("user_name"))); this.goi_cuoc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("goi_cuoc"))); this.ten_dktb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_dktb"))); this.ten_dkdb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_dkdb"))); this.diachi_tb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachi_tb"))); this.dc_tbld = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dc_tbld"))); this.tuyen_tc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tc"))); this.stt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("stt"))); this.pl = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("pl"))); this.may_ngung = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("may_ngung"))); this.ngay_ld = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ld"))); this.village = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("village"))); this.ma_km = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_km"))); this.ma_nghe = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_nghe"))); this.ma_nhom = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_nhom"))); this.ma_kh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_kh"))); this.socmnd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("socmnd"))); this.noi_cap = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("noi_cap"))); this.ngay_cap = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_cap"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.cmdXoa = ((System.Windows.Controls.Button)(this.FindName("cmdXoa"))); this.txttim = ((DevExpress.Xpf.Editors.TextEdit)(this.FindName("txttim"))); this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmdsgandiaban.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.sodt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodt"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.diachidb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb"))); this.ma_nvcs = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_nvcs"))); this.cmbmanvcs = ((DevExpress.Xpf.Editors.Settings.ComboBoxEditSettings)(this.FindName("cmbmanvcs"))); this.ma_nvkt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_nvkt"))); this.cmbmanvkt = ((DevExpress.Xpf.Editors.Settings.ComboBoxEditSettings)(this.FindName("cmbmanvkt"))); this.ten_nv = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_nv"))); this.ten_nvkt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_nvkt"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.Save = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("Save"))); this.Close = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("Close"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmdataviewstop.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridCdGp = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridCdGp"))); this.ma_huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen"))); this.sodt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodt"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.tendb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tendb"))); this.diachitb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitb"))); this.diachidb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb"))); this.tuyen_tc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tc"))); this.hopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdong"))); this.ngayhopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdong"))); this.ngayld = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayld"))); this.ngay_ngung = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngung"))); this.tt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tt"))); this.pl = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("pl"))); this.lydocat = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("lydocat"))); this.thtb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("thtb"))); this.ldthtb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ldthtb"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.gridmyint = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridmyint"))); this.ma_huyenm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyenm"))); this.accountm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("accountm"))); this.goicuocm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("goicuocm"))); this.tentbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentbm"))); this.tendbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tendbm"))); this.diachitbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitbm"))); this.diachidbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidbm"))); this.tuyen_tcm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tcm"))); this.hopdongm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdongm"))); this.ngayhopdongm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdongm"))); this.ngayldm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayldm"))); this.ngay_ngungm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngungm"))); this.ttm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ttm"))); this.plm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("plm"))); this.lydocatm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("lydocatm"))); this.thtbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("thtbm"))); this.ldthtbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ldthtbm"))); this.tableView2 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView2"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmdsgphone.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.makh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makh"))); this.sodt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodt"))); this.sosim = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sosim"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.tendb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tendb"))); this.diachitb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitb"))); this.diachidb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb"))); this.tientb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tientb"))); this.tienno = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tienno"))); this.tbdv = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tbdv"))); this.tuyen_tc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tc"))); this.ma_tram = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_tram"))); this.hopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdong"))); this.ngayhopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdong"))); this.ngayld = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayld"))); this.ngay_ngung = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngung"))); this.tt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tt"))); this.pl = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("pl"))); this.camket = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("camket"))); this.village = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("village"))); this.khg_vat = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("khg_vat"))); this.socmnd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("socmnd"))); this.ngaycap = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngaycap"))); this.dt_lh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dt_lh"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.dataPager1 = ((DevExpress.Xpf.Editors.DataPager.DataPager)(this.FindName("dataPager1"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.cmdSua = ((System.Windows.Controls.Button)(this.FindName("cmdSua"))); this.PictureLuu = ((System.Windows.Controls.Image)(this.FindName("PictureLuu"))); this.TextLuu = ((System.Windows.Controls.TextBlock)(this.FindName("TextLuu"))); this.txttim = ((DevExpress.Xpf.Editors.TextEdit)(this.FindName("txttim"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.cmdCat = ((System.Windows.Controls.Button)(this.FindName("cmdCat"))); this.PictureCat = ((System.Windows.Controls.Image)(this.FindName("PictureCat"))); this.TextCat = ((System.Windows.Controls.TextBlock)(this.FindName("TextCat"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmnhanviencs.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.ma_nvcs = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_nvcs"))); this.ten_nv = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_nv"))); this.phone = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("phone"))); this.kt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("kt"))); this.diaban = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diaban"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.barManager1 = ((DevExpress.Xpf.Bars.BarManager)(this.FindName("barManager1"))); this.brThem = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("brThem"))); this.brSua = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("brSua"))); this.brXoa = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("brXoa"))); this.brDong = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("brDong"))); this.bar1 = ((DevExpress.Xpf.Bars.Bar)(this.FindName("bar1"))); this.statusBar = ((DevExpress.Xpf.Bars.Bar)(this.FindName("statusBar"))); this.grid1 = ((System.Windows.Controls.Grid)(this.FindName("grid1"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmcsmytv.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.sodt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodt"))); this.makh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makh"))); this.ma_tram = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_tram"))); this.cmbtram = ((DevExpress.Xpf.Editors.Settings.ComboBoxEditSettings)(this.FindName("cmbtram"))); this.ma_nvcs = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_nvcs"))); this.cmbtuyen = ((DevExpress.Xpf.Editors.Settings.ComboBoxEditSettings)(this.FindName("cmbtuyen"))); this.diachidb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.tendb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tendb"))); this.diachitb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitb"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.cmdSua = ((System.Windows.Controls.Button)(this.FindName("cmdSua"))); this.txttim = ((DevExpress.Xpf.Editors.TextEdit)(this.FindName("txttim"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.cmbxa = ((DevExpress.Xpf.Editors.ComboBoxEdit)(this.FindName("cmbxa"))); this.XemButton = ((System.Windows.Controls.Button)(this.FindName("XemButton"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmds119.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.grid = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("grid"))); this.ma_huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen"))); this.sDamagedPhoneNo = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sDamagedPhoneNo"))); this.sCallerNo = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sCallerNo"))); this.user_name = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("user_name"))); this.dtRecvTime = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dtRecvTime"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.diachidb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb"))); this.ID = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ID"))); this.phonekd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("phonekd"))); this.phonekt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("phonekt"))); this.view = ((DevExpress.Xpf.Grid.TableView)(this.FindName("view"))); this.SuaXongItem = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("SuaXongItem"))); this.DatabaoItem = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("DatabaoItem"))); this.cmdThem = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("cmdThem"))); this.deleteRowItem = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("deleteRowItem"))); this.sendSMSRowItem = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("sendSMSRowItem"))); this.RefreshDataItem = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("RefreshDataItem"))); this.textBlock2 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2"))); this.grid1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("grid1"))); this.ma_huyen1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen1"))); this.sDamagedPhoneNo1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sDamagedPhoneNo1"))); this.sCallerNo1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sCallerNo1"))); this.user_name1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("user_name1"))); this.dtRecvTime1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dtRecvTime1"))); this.tentb1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb1"))); this.diachidb1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb1"))); this.ID1 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ID1"))); this.view1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("view1"))); this.SuaXongItem1 = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("SuaXongItem1"))); this.cmdThem1 = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("cmdThem1"))); this.deleteRowItem1 = ((DevExpress.Xpf.Bars.BarButtonItem)(this.FindName("deleteRowItem1"))); }
public static void SetFormatGridControl(DevExpress.Xpf.Grid.GridControl oGrid, DevExpress.Xpf.Grid.TableView oTblView, bool isFilterRow = true) { try{ oGrid.View.NavigationStyle = DevExpress.Xpf.Grid.GridViewNavigationStyle.Row; oGrid.View.EnterMoveNextColumn = true; oTblView.ShowAutoFilterRow = isFilterRow; oTblView.FixedLineWidth = 3; oTblView.HeaderPanelMinHeight = 40; oTblView.IndicatorWidth = 35; oTblView.RowMinHeight = 30; oTblView.ShowGroupPanel = false; oTblView.NavigationStyle = DevExpress.Xpf.Grid.GridViewNavigationStyle.Row; oTblView.Cursor = System.Windows.Input.Cursors.Hand; oTblView.EnterMoveNextColumn = true; oTblView.HorizontalScrollbarVisibility = ScrollBarVisibility.Auto; oTblView.MultiSelectMode = DevExpress.Xpf.Grid.TableViewSelectMode.Row; } catch { } }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/Thongke/frmtkcatmo.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.sodt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodt"))); this.ten_yc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_yc"))); this.nguoi_yc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("nguoi_yc"))); this.nguoi_mo = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("nguoi_mo"))); this.tg_yc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tg_yc"))); this.tg_mo = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tg_mo"))); this.dlu = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dlu"))); this.shell = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("shell"))); this.card = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("card"))); this.port = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("port"))); this.frame = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("frame"))); this.slot = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("slot"))); this.ma_yc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_yc"))); this.ma_huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen"))); this.ten_dktb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_dktb"))); this.ghi_chu = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ghi_chu"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.textBlock1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1"))); this.dngaykt = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaykt"))); this.textBlock2 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2"))); this.dngaybd = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dngaybd"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmtkkm.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridCodinh = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridCodinh"))); this.ma_huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen"))); this.ma_tram = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_tram"))); this.makh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makh"))); this.sodt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodt"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.tendb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tendb"))); this.diachitb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitb"))); this.diachidb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidb"))); this.tuyen_tc = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tc"))); this.hopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdong"))); this.ngayhopdong = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdong"))); this.ngayld = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayld"))); this.ngay_ngung = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngung"))); this.tt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tt"))); this.pl = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("pl"))); this.village = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("village"))); this.khg_vat = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("khg_vat"))); this.socmnd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("socmnd"))); this.ngaycap = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngaycap"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.gridGphone = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridGphone"))); this.ma_huyeng = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyeng"))); this.ma_tramg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_tramg"))); this.makhg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makhg"))); this.sodtg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodtg"))); this.tentbg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentbg"))); this.tendbg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tendbg"))); this.diachitbg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitbg"))); this.diachidbg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidbg"))); this.tuyen_tcg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tcg"))); this.hopdongg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdongg"))); this.ngayhopdongg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdongg"))); this.ngayldg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayldg"))); this.ngay_ngungg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngungg"))); this.ttg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ttg"))); this.plg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("plg"))); this.villageg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("villageg"))); this.khg_vatg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("khg_vatg"))); this.socmndg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("socmndg"))); this.ngaycapg = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngaycapg"))); this.tableView2 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView2"))); this.gridInt = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridInt"))); this.ma_huyeni = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyeni"))); this.ma_trami = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_trami"))); this.makhi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makhi"))); this.accounti = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("accounti"))); this.ma_dvi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_dvi"))); this.goicuoci = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("goicuoci"))); this.tentbi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentbi"))); this.ten_nsdi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ten_nsdi"))); this.diachitbi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitbi"))); this.diachidbi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidbi"))); this.tuyen_tci = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tci"))); this.hopdongi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdongi"))); this.ngayhopdongi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdongi"))); this.ngayldi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayldi"))); this.ngay_ngungi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngungi"))); this.tti = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tti"))); this.pli = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("pli"))); this.maxai = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("maxai"))); this.socmndi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("socmndi"))); this.ngaycapi = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngaycapi"))); this.tableView3 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView3"))); this.gridmy = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridmy"))); this.ma_huyenm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyenm"))); this.ma_tramm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_tramm"))); this.makhm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makhm"))); this.accountm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("accountm"))); this.goicuocm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("goicuocm"))); this.tentbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentbm"))); this.tendbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tendbm"))); this.diachitbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitbm"))); this.diachidbm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachidbm"))); this.tuyen_tcm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tuyen_tcm"))); this.hopdongm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hopdongm"))); this.ngayhopdongm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayhopdongm"))); this.ngayldm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngayldm"))); this.ngay_ngungm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngay_ngungm"))); this.ttm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ttm"))); this.plm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("plm"))); this.maxam = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("maxam"))); this.socmndm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("socmndm"))); this.ngaycapm = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ngaycapm"))); this.tableView4 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView4"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.cmbkm = ((DevExpress.Xpf.Editors.ComboBoxEdit)(this.FindName("cmbkm"))); this.rcodinh = ((System.Windows.Controls.RadioButton)(this.FindName("rcodinh"))); this.rgphone = ((System.Windows.Controls.RadioButton)(this.FindName("rgphone"))); this.rmytv = ((System.Windows.Controls.RadioButton)(this.FindName("rmytv"))); this.rint = ((System.Windows.Controls.RadioButton)(this.FindName("rint"))); this.rfib = ((System.Windows.Controls.RadioButton)(this.FindName("rfib"))); this.chkFilter = ((DevExpress.Xpf.Editors.CheckEdit)(this.FindName("chkFilter"))); this.dend = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dend"))); this.dbegin = ((DevExpress.Xpf.Editors.DateEdit)(this.FindName("dbegin"))); this.label1 = ((System.Windows.Controls.Label)(this.FindName("label1"))); this.label2 = ((System.Windows.Controls.Label)(this.FindName("label2"))); }
/// <summary> /// table生成excel xlsx格式 /// </summary> /// <param name="TableView"></param> /// <param name="filOutputType">生成的文件名</param> /// <param name="FilePath">路径</param> /// <param name="IsStart">是否打开文件</param> /// <returns></returns> public static bool CreateTableViewToXlsx(DevExpress.Xpf.Grid.TableView TableView, FileOutputType filOutputType, string FilePath = null, bool IsStart = true) { try { string FileName = GetFileName(filOutputType); if (FilePath == null) { FilePath = System.Environment.CurrentDirectory + "\\输出文件夹"; } if (!Directory.Exists(FilePath)) { Directory.CreateDirectory(FilePath); } SaveFileDialog dialog = new SaveFileDialog(); dialog.Filter = "Excel文件 (*.xlsx)|*.xlsx"; dialog.InitialDirectory = FilePath; dialog.FileName = FileName; dialog.FilterIndex = 1; string saveFileName; if (dialog.ShowDialog() == DialogResult.OK) { saveFileName = dialog.FileName; FileName = Path.GetFileNameWithoutExtension(saveFileName); } else { return(false); } if (File.Exists(saveFileName)) { FileStream fs = null; bool inUse = true; try { fs = new FileStream(saveFileName, FileMode.Open, FileAccess.Read, FileShare.None); inUse = false; } catch { } finally { if (fs != null) { fs.Close(); } } if (inUse) { DevExpress.Xpf.Core.DXMessageBox.Show(filOutputType + "正在被使用,请关闭后重新操作。"); return(false); } } DevExpress.XtraPrinting.XlsxExportOptionsEx option = new DevExpress.XtraPrinting.XlsxExportOptionsEx() { ExportType = DevExpress.Export.ExportType.WYSIWYG, TextExportMode = DevExpress.XtraPrinting.TextExportMode.Text, ShowGridLines = true, }; TableView.ExportToXlsx(saveFileName, option); LOGGER.Info($"生成文件{filOutputType}成功"); if (IsStart) { //保存多个会打开多个文件夹,应让用户自主选择保存位置 //System.Diagnostics.Process.Start("Explorer.exe", filePath); System.Diagnostics.Process.Start(saveFileName); } return(true); } catch (Exception) { LOGGER.Error($"生成{filOutputType}文件失败"); //throw new Exception($"生成{FileName}文件失败"); return(false); } }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmusers.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.grid = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("grid"))); this.lock_usr = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("lock_usr"))); this.huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("huyen"))); this.huyentd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("huyentd"))); this.username = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("username"))); this.hoten = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("hoten"))); this.namsinh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("namsinh"))); this.gioitinh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("gioitinh"))); this.dienthoai = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("dienthoai"))); this.pass = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("pass"))); this.menu = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("menu"))); this.sua = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sua"))); this.email = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("email"))); this.admin = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("admin"))); this.admin119 = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("admin119"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.cmdThem = ((System.Windows.Controls.Button)(this.FindName("cmdThem"))); this.cmdSua = ((System.Windows.Controls.Button)(this.FindName("cmdSua"))); this.cmdXoa = ((System.Windows.Controls.Button)(this.FindName("cmdXoa"))); this.btnReset = ((System.Windows.Controls.Button)(this.FindName("btnReset"))); this.txttim = ((DevExpress.Xpf.Editors.TextEdit)(this.FindName("txttim"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/Forms/frmdsnhom.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridControl1 = ((DevExpress.Xpf.Grid.GridControl)(this.FindName("gridControl1"))); this.makh = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("makh"))); this.sodt = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("sodt"))); this.ma_huyen = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("ma_huyen"))); this.tentb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentb"))); this.diachitb = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitb"))); this.soluu = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("soluu"))); this.tentbkd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("tentbkd"))); this.diachitbkd = ((DevExpress.Xpf.Grid.GridColumn)(this.FindName("diachitbkd"))); this.tableView1 = ((DevExpress.Xpf.Grid.TableView)(this.FindName("tableView1"))); this.dataPager1 = ((DevExpress.Xpf.Editors.DataPager.DataPager)(this.FindName("dataPager1"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.cmdSua = ((System.Windows.Controls.Button)(this.FindName("cmdSua"))); this.PictureLuu = ((System.Windows.Controls.Image)(this.FindName("PictureLuu"))); this.TextLuu = ((System.Windows.Controls.TextBlock)(this.FindName("TextLuu"))); this.cmdCat = ((System.Windows.Controls.Button)(this.FindName("cmdCat"))); this.PictureCat = ((System.Windows.Controls.Image)(this.FindName("PictureCat"))); this.TextCat = ((System.Windows.Controls.TextBlock)(this.FindName("TextCat"))); this.txttim = ((DevExpress.Xpf.Editors.TextEdit)(this.FindName("txttim"))); this.FindButton = ((System.Windows.Controls.Button)(this.FindName("FindButton"))); this.CmdExpand = ((System.Windows.Controls.Button)(this.FindName("CmdExpand"))); }