コード例 #1
0
ファイル: frmBBHuyVaccin.cs プロジェクト: tayduivn/mdebv
 private void Filt_tenbs(string ten, LibList.List list)
 {
     try
     {
         CurrencyManager cm = (CurrencyManager)BindingContext[list.DataSource];
         DataView        dv = (DataView)cm.List;
         dv.RowFilter = "hoten like '%" + ten.Trim() + "%'";
     }
     catch { }
 }
コード例 #2
0
 public void init()
 {
     lan    = new Language();
     m      = new AccessData();
     tv     = new Bogotiengviet();
     listBS = new LibList.List();
     dtbs   = new DataTable();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
 }
コード例 #3
0
ファイル: frmDiungthuoc.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDiungthuoc));
     this.hoten      = new System.Windows.Forms.TextBox();
     this.tuoi       = new System.Windows.Forms.TextBox();
     this.mabn       = new System.Windows.Forms.TextBox();
     this.label3     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.label1     = new System.Windows.Forms.Label();
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.ten        = new System.Windows.Forms.TextBox();
     this.label5     = new System.Windows.Forms.Label();
     this.label4     = new System.Windows.Forms.Label();
     this.diachi     = new System.Windows.Forms.TextBox();
     this.label6     = new System.Windows.Forms.Label();
     this.mucdo      = new System.Windows.Forms.ComboBox();
     this.list       = new LibList.List();
     this.ma         = new System.Windows.Forms.TextBox();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butMoi     = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // hoten
     //
     this.hoten.BackColor = System.Drawing.SystemColors.HighlightText;
     this.hoten.Enabled   = false;
     this.hoten.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.hoten.Location  = new System.Drawing.Point(168, 4);
     this.hoten.Name      = "hoten";
     this.hoten.Size      = new System.Drawing.Size(152, 21);
     this.hoten.TabIndex  = 11;
     //
     // tuoi
     //
     this.tuoi.BackColor = System.Drawing.SystemColors.HighlightText;
     this.tuoi.Enabled   = false;
     this.tuoi.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tuoi.Location  = new System.Drawing.Point(350, 4);
     this.tuoi.Name      = "tuoi";
     this.tuoi.Size      = new System.Drawing.Size(55, 21);
     this.tuoi.TabIndex  = 13;
     //
     // mabn
     //
     this.mabn.BackColor = System.Drawing.SystemColors.HighlightText;
     this.mabn.Enabled   = false;
     this.mabn.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabn.Location  = new System.Drawing.Point(53, 4);
     this.mabn.Name      = "mabn";
     this.mabn.Size      = new System.Drawing.Size(69, 21);
     this.mabn.TabIndex  = 9;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(317, 4);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(35, 23);
     this.label3.TabIndex  = 12;
     this.label3.Text      = "Tuổi :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(120, 4);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(48, 23);
     this.label2.TabIndex  = 10;
     this.label2.Text      = "Họ tên :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(5, 4);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 8;
     this.label1.Text      = "Mã BN :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGrid1.BackColor           = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle         = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor    = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor    = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember          = "";
     this.dataGrid1.FlatMode            = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(6, 12);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(642, 212);
     this.dataGrid1.TabIndex            = 14;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // ten
     //
     this.ten.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.ten.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.ten.Enabled      = false;
     this.ten.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location     = new System.Drawing.Point(70, 232);
     this.ten.Name         = "ten";
     this.ten.Size         = new System.Drawing.Size(386, 21);
     this.ten.TabIndex     = 15;
     this.ten.TextChanged += new System.EventHandler(this.ten_TextChanged);
     this.ten.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // label5
     //
     this.label5.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label5.Location  = new System.Drawing.Point(-4, 232);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(68, 23);
     this.label5.TabIndex  = 16;
     this.label5.Text      = "Hoạt chất :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(406, 4);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(46, 23);
     this.label4.TabIndex  = 17;
     this.label4.Text      = "Địa chỉ :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // diachi
     //
     this.diachi.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.diachi.BackColor = System.Drawing.SystemColors.HighlightText;
     this.diachi.Enabled   = false;
     this.diachi.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.diachi.Location  = new System.Drawing.Point(453, 4);
     this.diachi.Name      = "diachi";
     this.diachi.Size      = new System.Drawing.Size(201, 21);
     this.diachi.TabIndex  = 18;
     //
     // label6
     //
     this.label6.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label6.Location  = new System.Drawing.Point(444, 232);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(64, 23);
     this.label6.TabIndex  = 19;
     this.label6.Text      = "Mức độ :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mucdo
     //
     this.mucdo.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.mucdo.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.mucdo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.mucdo.Enabled       = false;
     this.mucdo.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mucdo.Location      = new System.Drawing.Point(512, 232);
     this.mucdo.Name          = "mucdo";
     this.mucdo.Size          = new System.Drawing.Size(136, 21);
     this.mucdo.TabIndex      = 20;
     this.mucdo.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.mucdo_KeyDown);
     //
     // list
     //
     this.list.BackColor          = System.Drawing.SystemColors.Info;
     this.list.ColumnCount        = 0;
     this.list.Location           = new System.Drawing.Point(527, 320);
     this.list.MatchBufferTimeOut = 1000;
     this.list.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.list.Name       = "list";
     this.list.Size       = new System.Drawing.Size(75, 17);
     this.list.TabIndex   = 21;
     this.list.TextIndex  = -1;
     this.list.TextMember = null;
     this.list.ValueIndex = -1;
     this.list.Visible    = false;
     //
     // ma
     //
     this.ma.BackColor = System.Drawing.SystemColors.HighlightText;
     this.ma.Enabled   = false;
     this.ma.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ma.Location  = new System.Drawing.Point(240, 176);
     this.ma.Name      = "ma";
     this.ma.Size      = new System.Drawing.Size(40, 21);
     this.ma.TabIndex  = 22;
     //
     // butKetthuc
     //
     this.butKetthuc.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(480, 264);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 28;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // butHuy
     //
     this.butHuy.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(410, 264);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 27;
     this.butHuy.Text       = "     &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // butBoqua
     //
     this.butBoqua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(340, 264);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 24;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butLuu
     //
     this.butLuu.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(270, 264);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 23;
     this.butLuu.Text       = "     &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butSua
     //
     this.butSua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(200, 264);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 25);
     this.butSua.TabIndex   = 26;
     this.butSua.Text       = "     &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butMoi
     //
     this.butMoi.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(130, 264);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 25;
     this.butMoi.Text       = "     &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // frmDiungthuoc
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(658, 351);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.list);
     this.Controls.Add(this.mucdo);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.diachi);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.hoten);
     this.Controls.Add(this.tuoi);
     this.Controls.Add(this.mabn);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.ma);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmDiungthuoc";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Dị ứng thuốc";
     this.Load           += new System.EventHandler(this.frmDiungthuoc_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
0
ファイル: frmTheodoitsu.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTheodoitsu));
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
     this.noidung       = new System.Windows.Forms.CheckedListBox();
     this.label1        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.label3        = new System.Windows.Forms.Label();
     this.label4        = new System.Windows.Forms.Label();
     this.mabn          = new System.Windows.Forms.TextBox();
     this.hoten         = new System.Windows.Forms.TextBox();
     this.namsinh       = new System.Windows.Forms.TextBox();
     this.phai          = new System.Windows.Forms.TextBox();
     this.butOk         = new System.Windows.Forms.Button();
     this.butCancel     = new System.Windows.Forms.Button();
     this.ten           = new System.Windows.Forms.TextBox();
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.ngay          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.stt           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tiensu        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.maicd         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.label5        = new System.Windows.Forms.Label();
     this.txtngay       = new System.Windows.Forms.MaskedTextBox();
     this.label6        = new System.Windows.Forms.Label();
     this.icd_chinh     = new System.Windows.Forms.TextBox();
     this.cd_chinh      = new System.Windows.Forms.TextBox();
     this.listICD       = new LibList.List();
     this.butxoa        = new System.Windows.Forms.Button();
     this.butmoi        = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // noidung
     //
     this.noidung.CheckOnClick = true;
     this.noidung.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.noidung.Location     = new System.Drawing.Point(52, 32);
     this.noidung.Name         = "noidung";
     this.noidung.Size         = new System.Drawing.Size(463, 276);
     this.noidung.TabIndex     = 0;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(4, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 16);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Mã BN :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(112, 11);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(48, 16);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Họ tên :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(299, 11);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(60, 16);
     this.label3.TabIndex  = 3;
     this.label3.Text      = "Năm sinh :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(395, 11);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(60, 16);
     this.label4.TabIndex  = 4;
     this.label4.Text      = "Giới tính :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mabn
     //
     this.mabn.BackColor = System.Drawing.SystemColors.HighlightText;
     this.mabn.Enabled   = false;
     this.mabn.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabn.Location  = new System.Drawing.Point(52, 8);
     this.mabn.Name      = "mabn";
     this.mabn.Size      = new System.Drawing.Size(64, 21);
     this.mabn.TabIndex  = 5;
     //
     // hoten
     //
     this.hoten.BackColor = System.Drawing.SystemColors.HighlightText;
     this.hoten.Enabled   = false;
     this.hoten.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.hoten.Location  = new System.Drawing.Point(164, 8);
     this.hoten.Name      = "hoten";
     this.hoten.Size      = new System.Drawing.Size(140, 21);
     this.hoten.TabIndex  = 6;
     //
     // namsinh
     //
     this.namsinh.BackColor = System.Drawing.SystemColors.HighlightText;
     this.namsinh.Enabled   = false;
     this.namsinh.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.namsinh.Location  = new System.Drawing.Point(363, 8);
     this.namsinh.Name      = "namsinh";
     this.namsinh.Size      = new System.Drawing.Size(40, 21);
     this.namsinh.TabIndex  = 7;
     //
     // phai
     //
     this.phai.BackColor = System.Drawing.SystemColors.HighlightText;
     this.phai.Enabled   = false;
     this.phai.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.phai.Location  = new System.Drawing.Point(451, 8);
     this.phai.Name      = "phai";
     this.phai.Size      = new System.Drawing.Size(64, 21);
     this.phai.TabIndex  = 8;
     //
     // butOk
     //
     this.butOk.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOk.Image      = ((System.Drawing.Image)(resources.GetObject("butOk.Image")));
     this.butOk.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butOk.Location   = new System.Drawing.Point(299, 379);
     this.butOk.Name       = "butOk";
     this.butOk.Size       = new System.Drawing.Size(70, 25);
     this.butOk.TabIndex   = 2;
     this.butOk.Text       = "     &Lưu";
     this.butOk.Click     += new System.EventHandler(this.butOk_Click);
     //
     // butCancel
     //
     this.butCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butCancel.Image        = ((System.Drawing.Image)(resources.GetObject("butCancel.Image")));
     this.butCancel.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butCancel.Location     = new System.Drawing.Point(445, 379);
     this.butCancel.Name         = "butCancel";
     this.butCancel.Size         = new System.Drawing.Size(70, 25);
     this.butCancel.TabIndex     = 2;
     this.butCancel.Text         = "&Kết thúc";
     this.butCancel.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     this.butCancel.Click       += new System.EventHandler(this.butCancel_Click);
     //
     // ten
     //
     this.ten.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                              | System.Windows.Forms.AnchorStyles.Left)
                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.ten.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.ten.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location   = new System.Drawing.Point(52, 32);
     this.ten.Multiline  = true;
     this.ten.Name       = "ten";
     this.ten.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.ten.Size       = new System.Drawing.Size(463, 279);
     this.ten.TabIndex   = 0;
     //
     // dataGridView1
     //
     this.dataGridView1.AllowUserToAddRows = false;
     this.dataGridView1.Anchor             = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGridView1.AutoSizeColumnsMode           = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dataGridView1.BackgroundColor               = System.Drawing.Color.Honeydew;
     dataGridViewCellStyle5.Alignment                 = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle5.BackColor                 = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle5.Font                      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle5.ForeColor                 = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle5.SelectionBackColor        = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle5.SelectionForeColor        = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle5.WrapMode                  = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
     this.dataGridView1.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.ngay,
         this.stt,
         this.tiensu,
         this.maicd
     });
     dataGridViewCellStyle6.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle6.BackColor          = System.Drawing.SystemColors.Info;
     dataGridViewCellStyle6.Font               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle6.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle6.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dataGridView1.DefaultCellStyle       = dataGridViewCellStyle6;
     this.dataGridView1.GridColor              = System.Drawing.SystemColors.Control;
     this.dataGridView1.Location               = new System.Drawing.Point(52, 32);
     this.dataGridView1.Name                = "dataGridView1";
     this.dataGridView1.ReadOnly            = true;
     this.dataGridView1.RowHeadersVisible   = false;
     this.dataGridView1.SelectionMode       = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridView1.Size                = new System.Drawing.Size(463, 279);
     this.dataGridView1.TabIndex            = 9;
     this.dataGridView1.CurrentCellChanged += new System.EventHandler(this.dataGridView1_CurrentCellChanged);
     //
     // ngay
     //
     this.ngay.DataPropertyName = "ngay";
     this.ngay.FillWeight       = 65.10722F;
     this.ngay.HeaderText       = "Ngày";
     this.ngay.Name             = "ngay";
     this.ngay.ReadOnly         = true;
     //
     // stt
     //
     this.stt.DataPropertyName = "sott";
     this.stt.FillWeight       = 45.68528F;
     this.stt.HeaderText       = "Số TT";
     this.stt.Name             = "stt";
     this.stt.ReadOnly         = true;
     //
     // tiensu
     //
     this.tiensu.DataPropertyName = "tiensu";
     this.tiensu.FillWeight       = 189.2075F;
     this.tiensu.HeaderText       = "Tiền sử";
     this.tiensu.Name             = "tiensu";
     this.tiensu.ReadOnly         = true;
     //
     // maicd
     //
     this.maicd.DataPropertyName = "maicd";
     this.maicd.HeaderText       = "CICD10";
     this.maicd.Name             = "maicd";
     this.maicd.ReadOnly         = true;
     //
     // label5
     //
     this.label5.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(4, 330);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(38, 13);
     this.label5.TabIndex = 10;
     this.label5.Text     = "Ngày :";
     //
     // txtngay
     //
     this.txtngay.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.txtngay.Location       = new System.Drawing.Point(45, 327);
     this.txtngay.Mask           = "00/00/0000";
     this.txtngay.Name           = "txtngay";
     this.txtngay.Size           = new System.Drawing.Size(71, 20);
     this.txtngay.TabIndex       = 11;
     this.txtngay.ValidatingType = typeof(System.DateTime);
     //
     // label6
     //
     this.label6.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(122, 330);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(38, 13);
     this.label6.TabIndex = 12;
     this.label6.Text     = "Bệnh :";
     //
     // icd_chinh
     //
     this.icd_chinh.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.icd_chinh.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.icd_chinh.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.icd_chinh.Location     = new System.Drawing.Point(164, 326);
     this.icd_chinh.Name         = "icd_chinh";
     this.icd_chinh.Size         = new System.Drawing.Size(39, 21);
     this.icd_chinh.TabIndex     = 0;
     this.icd_chinh.TextChanged += new System.EventHandler(this.icd_chinh_TextChanged);
     this.icd_chinh.Validated   += new System.EventHandler(this.icd_chinh_Validated);
     this.icd_chinh.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.icd_chinh_KeyDown);
     //
     // cd_chinh
     //
     this.cd_chinh.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.cd_chinh.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.cd_chinh.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cd_chinh.Location     = new System.Drawing.Point(205, 326);
     this.cd_chinh.Name         = "cd_chinh";
     this.cd_chinh.Size         = new System.Drawing.Size(310, 21);
     this.cd_chinh.TabIndex     = 1;
     this.cd_chinh.TextChanged += new System.EventHandler(this.cd_chinh_TextChanged);
     this.cd_chinh.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.cd_chinh_KeyDown);
     //
     // listICD
     //
     this.listICD.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.listICD.BackColor          = System.Drawing.SystemColors.Info;
     this.listICD.ColumnCount        = 0;
     this.listICD.Location           = new System.Drawing.Point(440, 387);
     this.listICD.MatchBufferTimeOut = 1000;
     this.listICD.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listICD.Name       = "listICD";
     this.listICD.Size       = new System.Drawing.Size(75, 17);
     this.listICD.TabIndex   = 217;
     this.listICD.TextIndex  = -1;
     this.listICD.TextMember = null;
     this.listICD.ValueIndex = -1;
     this.listICD.Visible    = false;
     //
     // butxoa
     //
     this.butxoa.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butxoa.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butxoa.Image        = ((System.Drawing.Image)(resources.GetObject("butxoa.Image")));
     this.butxoa.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butxoa.Location     = new System.Drawing.Point(372, 379);
     this.butxoa.Name         = "butxoa";
     this.butxoa.Size         = new System.Drawing.Size(70, 25);
     this.butxoa.TabIndex     = 218;
     this.butxoa.Text         = "&Xóa";
     this.butxoa.Click       += new System.EventHandler(this.butxoa_Click);
     //
     // butmoi
     //
     this.butmoi.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butmoi.Image      = ((System.Drawing.Image)(resources.GetObject("butmoi.Image")));
     this.butmoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butmoi.Location   = new System.Drawing.Point(226, 379);
     this.butmoi.Name       = "butmoi";
     this.butmoi.Size       = new System.Drawing.Size(70, 25);
     this.butmoi.TabIndex   = 219;
     this.butmoi.Text       = "&Mới";
     this.butmoi.Click     += new System.EventHandler(this.butmoi_Click);
     //
     // frmTheodoitsu
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.butCancel;
     this.ClientSize        = new System.Drawing.Size(520, 416);
     this.Controls.Add(this.butmoi);
     this.Controls.Add(this.butxoa);
     this.Controls.Add(this.butCancel);
     this.Controls.Add(this.butOk);
     this.Controls.Add(this.listICD);
     this.Controls.Add(this.cd_chinh);
     this.Controls.Add(this.icd_chinh);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.txtngay);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.dataGridView1);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.phai);
     this.Controls.Add(this.namsinh);
     this.Controls.Add(this.hoten);
     this.Controls.Add(this.mabn);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.noidung);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frmTheodoitsu";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Theo dõi tiểu sử bệnh tật";
     this.Load           += new System.EventHandler(this.frmTheodoitsu_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDonthuoc_bacsy));
     this.butXoa      = new System.Windows.Forms.Button();
     this.butKetthuc  = new System.Windows.Forms.Button();
     this.dataGrid1   = new System.Windows.Forms.DataGrid();
     this.label4      = new System.Windows.Forms.Label();
     this.tim         = new System.Windows.Forms.TextBox();
     this.butLuu      = new System.Windows.Forms.Button();
     this.dataGrid2   = new System.Windows.Forms.DataGrid();
     this.label1      = new System.Windows.Forms.Label();
     this.mabs        = new System.Windows.Forms.TextBox();
     this.tenbs       = new System.Windows.Forms.ComboBox();
     this.ma          = new MaskedTextBox.MaskedTextBox();
     this.ten         = new System.Windows.Forms.TextBox();
     this.label2      = new System.Windows.Forms.Label();
     this.lmabs       = new System.Windows.Forms.ComboBox();
     this.lmaicd      = new System.Windows.Forms.ComboBox();
     this.butBoqua    = new System.Windows.Forms.Button();
     this.butTiep     = new System.Windows.Forms.Button();
     this.butHuy      = new System.Windows.Forms.Button();
     this.butSua      = new System.Windows.Forms.Button();
     this.listICD     = new LibList.List();
     this.butThem     = new System.Windows.Forms.Button();
     this.butTuongtac = new System.Windows.Forms.Button();
     this.ghichu      = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid2)).BeginInit();
     this.SuspendLayout();
     //
     // butXoa
     //
     this.butXoa.Enabled    = false;
     this.butXoa.Image      = ((System.Drawing.Image)(resources.GetObject("butXoa.Image")));
     this.butXoa.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butXoa.Location   = new System.Drawing.Point(410, 500);
     this.butXoa.Name       = "butXoa";
     this.butXoa.Size       = new System.Drawing.Size(70, 25);
     this.butXoa.TabIndex   = 10;
     this.butXoa.Text       = "     &Xóa";
     this.butXoa.Click     += new System.EventHandler(this.butXoa_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(649, 500);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 16;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // dataGrid1
     //
     this.dataGrid1.BackgroundColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle         = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor    = System.Drawing.SystemColors.Control;
     this.dataGrid1.DataMember          = "";
     this.dataGrid1.FlatMode            = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.HeaderForeColor     = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location            = new System.Drawing.Point(6, 275);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.RowHeaderWidth      = 5;
     this.dataGrid1.Size                = new System.Drawing.Size(783, 196);
     this.dataGrid1.TabIndex            = 7;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     this.dataGrid1.Click              += new System.EventHandler(this.dataGrid1_Click);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(-9, 26);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(69, 23);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Diễn giải :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tim
     //
     this.tim.Enabled      = false;
     this.tim.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tim.ForeColor    = System.Drawing.Color.Red;
     this.tim.Location     = new System.Drawing.Point(5, 476);
     this.tim.Name         = "tim";
     this.tim.Size         = new System.Drawing.Size(784, 21);
     this.tim.TabIndex     = 7;
     this.tim.Text         = "Tìm kiếm";
     this.tim.TextAlign    = System.Windows.Forms.HorizontalAlignment.Center;
     this.tim.Enter       += new System.EventHandler(this.tim_Enter);
     this.tim.TextChanged += new System.EventHandler(this.tim_TextChanged);
     this.tim.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tim_KeyDown);
     //
     // butLuu
     //
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(200, 500);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 11;
     this.butLuu.Text       = "     &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // dataGrid2
     //
     this.dataGrid2.BackgroundColor  = System.Drawing.SystemColors.Control;
     this.dataGrid2.BorderStyle      = System.Windows.Forms.BorderStyle.None;
     this.dataGrid2.CaptionBackColor = System.Drawing.SystemColors.Control;
     this.dataGrid2.DataMember       = "";
     this.dataGrid2.FlatMode         = true;
     this.dataGrid2.Font             = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid2.HeaderForeColor  = System.Drawing.SystemColors.ControlText;
     this.dataGrid2.Location         = new System.Drawing.Point(5, 30);
     this.dataGrid2.Name             = "dataGrid2";
     this.dataGrid2.RowHeaderWidth   = 3;
     this.dataGrid2.Size             = new System.Drawing.Size(784, 258);
     this.dataGrid2.TabIndex         = 8;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(-1, 4);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(60, 23);
     this.label1.TabIndex  = 27;
     this.label1.Text      = "Bác sỹ :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mabs
     //
     this.mabs.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.mabs.Enabled    = false;
     this.mabs.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabs.Location   = new System.Drawing.Point(58, 3);
     this.mabs.Name       = "mabs";
     this.mabs.Size       = new System.Drawing.Size(38, 21);
     this.mabs.TabIndex   = 2;
     this.mabs.Validated += new System.EventHandler(this.mabs_Validated);
     this.mabs.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // tenbs
     //
     this.tenbs.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.tenbs.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.tenbs.Enabled       = false;
     this.tenbs.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenbs.Location      = new System.Drawing.Point(97, 3);
     this.tenbs.Name          = "tenbs";
     this.tenbs.Size          = new System.Drawing.Size(191, 21);
     this.tenbs.TabIndex      = 3;
     this.tenbs.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.tenbs_KeyDown);
     //
     // ma
     //
     this.ma.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.ma.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.ma.Enabled         = false;
     this.ma.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ma.Location        = new System.Drawing.Point(356, 3);
     this.ma.Masked          = MaskedTextBox.MaskedTextBox.Mask.ICD10;
     this.ma.MaxLength       = 9;
     this.ma.Name            = "ma";
     this.ma.Size            = new System.Drawing.Size(48, 21);
     this.ma.TabIndex        = 4;
     this.ma.Validated      += new System.EventHandler(this.ma_Validated);
     //
     // ten
     //
     this.ten.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.ten.Enabled      = false;
     this.ten.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location     = new System.Drawing.Point(406, 3);
     this.ten.Name         = "ten";
     this.ten.Size         = new System.Drawing.Size(380, 21);
     this.ten.TabIndex     = 5;
     this.ten.TextChanged += new System.EventHandler(this.ten_TextChanged);
     this.ten.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(278, 4);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(75, 23);
     this.label2.TabIndex  = 31;
     this.label2.Text      = "Tên bệnh :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lmabs
     //
     this.lmabs.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.lmabs.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.lmabs.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lmabs.Location              = new System.Drawing.Point(58, 3);
     this.lmabs.Name                  = "lmabs";
     this.lmabs.Size                  = new System.Drawing.Size(230, 21);
     this.lmabs.TabIndex              = 0;
     this.lmabs.SelectedIndexChanged += new System.EventHandler(this.lmabs_SelectedIndexChanged);
     this.lmabs.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.lmabs_KeyDown);
     //
     // lmaicd
     //
     this.lmaicd.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.lmaicd.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.lmaicd.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lmaicd.Location              = new System.Drawing.Point(356, 3);
     this.lmaicd.Name                  = "lmaicd";
     this.lmaicd.Size                  = new System.Drawing.Size(430, 21);
     this.lmaicd.TabIndex              = 1;
     this.lmaicd.SelectedIndexChanged += new System.EventHandler(this.lmaicd_SelectedIndexChanged);
     this.lmaicd.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.lmaicd_KeyDown);
     //
     // butBoqua
     //
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(270, 500);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 12;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butTiep
     //
     this.butTiep.Image      = ((System.Drawing.Image)(resources.GetObject("butTiep.Image")));
     this.butTiep.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butTiep.Location   = new System.Drawing.Point(60, 500);
     this.butTiep.Name       = "butTiep";
     this.butTiep.Size       = new System.Drawing.Size(70, 25);
     this.butTiep.TabIndex   = 13;
     this.butTiep.Text       = "     &Tiếp";
     this.butTiep.Click     += new System.EventHandler(this.butTiep_Click);
     //
     // butHuy
     //
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(579, 500);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 15;
     this.butHuy.Text       = "     &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // butSua
     //
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(130, 500);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 25);
     this.butSua.TabIndex   = 14;
     this.butSua.Text       = "     &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // listICD
     //
     this.listICD.BackColor          = System.Drawing.SystemColors.Info;
     this.listICD.ColumnCount        = 0;
     this.listICD.Location           = new System.Drawing.Point(632, 548);
     this.listICD.MatchBufferTimeOut = 1000;
     this.listICD.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listICD.Name       = "listICD";
     this.listICD.Size       = new System.Drawing.Size(75, 17);
     this.listICD.TabIndex   = 40;
     this.listICD.TextIndex  = -1;
     this.listICD.TextMember = null;
     this.listICD.ValueIndex = -1;
     this.listICD.Visible    = false;
     //
     // butThem
     //
     this.butThem.Enabled    = false;
     this.butThem.Image      = ((System.Drawing.Image)(resources.GetObject("butThem.Image")));
     this.butThem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butThem.Location   = new System.Drawing.Point(340, 500);
     this.butThem.Name       = "butThem";
     this.butThem.Size       = new System.Drawing.Size(70, 25);
     this.butThem.TabIndex   = 9;
     this.butThem.Text       = "     &Thêm";
     this.butThem.Click     += new System.EventHandler(this.butThem_Click);
     //
     // butTuongtac
     //
     this.butTuongtac.Image      = ((System.Drawing.Image)(resources.GetObject("butTuongtac.Image")));
     this.butTuongtac.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butTuongtac.Location   = new System.Drawing.Point(480, 500);
     this.butTuongtac.Name       = "butTuongtac";
     this.butTuongtac.Size       = new System.Drawing.Size(99, 25);
     this.butTuongtac.TabIndex   = 270;
     this.butTuongtac.Text       = "Tương tác";
     this.butTuongtac.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butTuongtac.Click     += new System.EventHandler(this.butTuongtac_Click);
     //
     // ghichu
     //
     this.ghichu.Enabled   = false;
     this.ghichu.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ghichu.ForeColor = System.Drawing.Color.Black;
     this.ghichu.Location  = new System.Drawing.Point(58, 26);
     this.ghichu.Name      = "ghichu";
     this.ghichu.Size      = new System.Drawing.Size(728, 21);
     this.ghichu.TabIndex  = 6;
     this.ghichu.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.ghichu_KeyDown);
     //
     // frmDonthuoc_bacsy
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(794, 575);
     this.Controls.Add(this.ghichu);
     this.Controls.Add(this.butTuongtac);
     this.Controls.Add(this.butThem);
     this.Controls.Add(this.lmabs);
     this.Controls.Add(this.listICD);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butTiep);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.lmaicd);
     this.Controls.Add(this.tenbs);
     this.Controls.Add(this.ma);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.mabs);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.tim);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butXoa);
     this.Controls.Add(this.dataGrid2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmDonthuoc_bacsy";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Đơn thuốc theo bác sỹ & tên bệnh";
     this.WindowState     = System.Windows.Forms.FormWindowState.Maximized;
     this.Load           += new System.EventHandler(this.frmDonthuoc_bacsy_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid2)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #6
0
ファイル: frmBsnghi.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmBsnghi));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label2     = new System.Windows.Forms.Label();
     this.ghichu     = new System.Windows.Forms.TextBox();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.label5     = new System.Windows.Forms.Label();
     this.tenbs      = new System.Windows.Forms.TextBox();
     this.listBS     = new LibList.List();
     this.mabs       = new System.Windows.Forms.TextBox();
     this.label49    = new System.Windows.Forms.Label();
     this.label1     = new System.Windows.Forms.Label();
     this.label3     = new System.Windows.Forms.Label();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.tenbsc     = new System.Windows.Forms.TextBox();
     this.mabsc      = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGrid1.BackColor           = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle         = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor    = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor    = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember          = "";
     this.dataGrid1.FlatMode            = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(7, -16);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(646, 379);
     this.dataGrid1.TabIndex            = 19;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // butKetthuc
     //
     this.butKetthuc.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(464, 463);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 12;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.Location  = new System.Drawing.Point(17, 412);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(50, 23);
     this.label2.TabIndex  = 23;
     this.label2.Text      = "Ghi chú :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ghichu
     //
     this.ghichu.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.ghichu.BackColor = System.Drawing.SystemColors.HighlightText;
     this.ghichu.Enabled   = false;
     this.ghichu.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ghichu.Location  = new System.Drawing.Point(67, 412);
     this.ghichu.Name      = "ghichu";
     this.ghichu.Size      = new System.Drawing.Size(586, 21);
     this.ghichu.TabIndex  = 4;
     this.ghichu.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // butMoi
     //
     this.butMoi.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(114, 463);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 9;
     this.butMoi.Text       = "     &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butSua
     //
     this.butSua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(184, 463);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 25);
     this.butSua.TabIndex   = 10;
     this.butSua.Text       = "     &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butLuu
     //
     this.butLuu.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(254, 463);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 7;
     this.butLuu.Text       = "     &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(324, 463);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 8;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(394, 463);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 11;
     this.butHuy.Text       = "     &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // label5
     //
     this.label5.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label5.Location  = new System.Drawing.Point(-5, 436);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(72, 23);
     this.label5.TabIndex  = 43;
     this.label5.Text      = "Bác sỹ thay :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tenbs
     //
     this.tenbs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.tenbs.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tenbs.Enabled      = false;
     this.tenbs.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenbs.Location     = new System.Drawing.Point(101, 366);
     this.tenbs.Name         = "tenbs";
     this.tenbs.Size         = new System.Drawing.Size(552, 21);
     this.tenbs.TabIndex     = 1;
     this.tenbs.TextChanged += new System.EventHandler(this.tenbs_TextChanged);
     this.tenbs.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tenbs_KeyDown);
     //
     // listBS
     //
     this.listBS.BackColor          = System.Drawing.SystemColors.Info;
     this.listBS.ColumnCount        = 0;
     this.listBS.Location           = new System.Drawing.Point(542, 538);
     this.listBS.MatchBufferTimeOut = 1000;
     this.listBS.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listBS.Name       = "listBS";
     this.listBS.Size       = new System.Drawing.Size(75, 17);
     this.listBS.TabIndex   = 229;
     this.listBS.TextIndex  = -1;
     this.listBS.TextMember = null;
     this.listBS.ValueIndex = -1;
     this.listBS.Visible    = false;
     //
     // mabs
     //
     this.mabs.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.mabs.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.mabs.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.mabs.Enabled         = false;
     this.mabs.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabs.Location        = new System.Drawing.Point(67, 366);
     this.mabs.Name            = "mabs";
     this.mabs.Size            = new System.Drawing.Size(32, 21);
     this.mabs.TabIndex        = 0;
     this.mabs.Validated      += new System.EventHandler(this.mabs_Validated);
     this.mabs.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // label49
     //
     this.label49.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label49.BackColor = System.Drawing.SystemColors.Control;
     this.label49.ForeColor = System.Drawing.SystemColors.WindowText;
     this.label49.Location  = new System.Drawing.Point(3, 366);
     this.label49.Name      = "label49";
     this.label49.Size      = new System.Drawing.Size(64, 23);
     this.label49.TabIndex  = 228;
     this.label49.Text      = "Bác sỹ :";
     this.label49.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.BackColor = System.Drawing.SystemColors.Control;
     this.label1.ForeColor = System.Drawing.SystemColors.WindowText;
     this.label1.Location  = new System.Drawing.Point(3, 389);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(64, 23);
     this.label1.TabIndex  = 230;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label3.BackColor = System.Drawing.SystemColors.Control;
     this.label3.ForeColor = System.Drawing.SystemColors.WindowText;
     this.label3.Location  = new System.Drawing.Point(274, 389);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 23);
     this.label3.TabIndex  = 231;
     this.label3.Text      = "đến ngày :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.tu.CustomFormat = "dd/MM/yyyy hh:mm";
     this.tu.Enabled      = false;
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(67, 389);
     this.tu.Name         = "tu";
     this.tu.Size         = new System.Drawing.Size(120, 21);
     this.tu.TabIndex     = 2;
     this.tu.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // den
     //
     this.den.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.den.CustomFormat = "dd/MM/yyyy hh:mm";
     this.den.Enabled      = false;
     this.den.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(344, 389);
     this.den.Name         = "den";
     this.den.Size         = new System.Drawing.Size(120, 21);
     this.den.TabIndex     = 3;
     this.den.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // tenbsc
     //
     this.tenbsc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.tenbsc.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tenbsc.Enabled      = false;
     this.tenbsc.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenbsc.Location     = new System.Drawing.Point(101, 436);
     this.tenbsc.Name         = "tenbsc";
     this.tenbsc.Size         = new System.Drawing.Size(552, 21);
     this.tenbsc.TabIndex     = 6;
     this.tenbsc.TextChanged += new System.EventHandler(this.tenbsc_TextChanged);
     this.tenbsc.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tenbs_KeyDown);
     //
     // mabsc
     //
     this.mabsc.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.mabsc.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.mabsc.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.mabsc.Enabled         = false;
     this.mabsc.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabsc.Location        = new System.Drawing.Point(67, 436);
     this.mabsc.Name            = "mabsc";
     this.mabsc.Size            = new System.Drawing.Size(32, 21);
     this.mabsc.TabIndex        = 5;
     this.mabsc.Validated      += new System.EventHandler(this.mabsc_Validated);
     this.mabsc.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // frmBsnghi
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(660, 499);
     this.Controls.Add(this.tenbsc);
     this.Controls.Add(this.mabsc);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.tenbs);
     this.Controls.Add(this.listBS);
     this.Controls.Add(this.mabs);
     this.Controls.Add(this.label49);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.ghichu);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmBsnghi";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Lịch bác sỹ nghỉ";
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmBsnghi_KeyDown);
     this.Load         += new System.EventHandler(this.frmBsnghi_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmChidinh_k));
     this.label1     = new System.Windows.Forms.Label();
     this.mabn       = new System.Windows.Forms.TextBox();
     this.label2     = new System.Windows.Forms.Label();
     this.hoten      = new System.Windows.Forms.TextBox();
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.list       = new LibList.List();
     this.label4     = new System.Windows.Forms.Label();
     this.madoituong = new System.Windows.Forms.ComboBox();
     this.label5     = new System.Windows.Forms.Label();
     this.ten        = new System.Windows.Forms.TextBox();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.ma         = new System.Windows.Forms.TextBox();
     this.listHoten  = new LibList.List();
     this.label3     = new System.Windows.Forms.Label();
     this.sothe      = new System.Windows.Forms.TextBox();
     this.label6     = new System.Windows.Forms.Label();
     this.namsinh    = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(16, 289);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 18;
     this.label1.Text      = "Mã BN :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mabn
     //
     this.mabn.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.mabn.Enabled    = false;
     this.mabn.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabn.Location   = new System.Drawing.Point(64, 289);
     this.mabn.Name       = "mabn";
     this.mabn.Size       = new System.Drawing.Size(96, 21);
     this.mabn.TabIndex   = 0;
     this.mabn.Validated += new System.EventHandler(this.mabn_Validated);
     this.mabn.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.mabn_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(166, 289);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(96, 23);
     this.label2.TabIndex  = 20;
     this.label2.Text      = "Họ tên :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // hoten
     //
     this.hoten.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.hoten.Enabled      = false;
     this.hoten.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.hoten.Location     = new System.Drawing.Point(261, 289);
     this.hoten.Name         = "hoten";
     this.hoten.Size         = new System.Drawing.Size(163, 21);
     this.hoten.TabIndex     = 1;
     this.hoten.TextChanged += new System.EventHandler(this.hoten_TextChanged);
     this.hoten.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.hoten_KeyDown);
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor      = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor     = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember           = "";
     this.dataGrid1.FlatMode             = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(9, -14);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(696, 294);
     this.dataGrid1.TabIndex            = 19;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // list
     //
     this.list.BackColor          = System.Drawing.SystemColors.Info;
     this.list.ColumnCount        = 0;
     this.list.Location           = new System.Drawing.Point(416, 416);
     this.list.MatchBufferTimeOut = 1000;
     this.list.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.list.Name       = "list";
     this.list.Size       = new System.Drawing.Size(75, 17);
     this.list.TabIndex   = 30;
     this.list.TextIndex  = -1;
     this.list.TextMember = null;
     this.list.ValueIndex = -1;
     this.list.Visible    = false;
     this.list.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.list_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(0, 310);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(64, 23);
     this.label4.TabIndex  = 27;
     this.label4.Text      = "Đối tượng :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // madoituong
     //
     this.madoituong.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.madoituong.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.madoituong.Enabled       = false;
     this.madoituong.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madoituong.Location      = new System.Drawing.Point(64, 313);
     this.madoituong.Name          = "madoituong";
     this.madoituong.Size          = new System.Drawing.Size(119, 21);
     this.madoituong.TabIndex      = 2;
     this.madoituong.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.madoituong_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(184, 312);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(78, 23);
     this.label5.TabIndex  = 28;
     this.label5.Text      = "Khám :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ten
     //
     this.ten.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.ten.Enabled      = false;
     this.ten.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location     = new System.Drawing.Point(301, 313);
     this.ten.Name         = "ten";
     this.ten.Size         = new System.Drawing.Size(403, 21);
     this.ten.TabIndex     = 4;
     this.ten.TextChanged += new System.EventHandler(this.ten_TextChanged);
     this.ten.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // butMoi
     //
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(170, 345);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(60, 25);
     this.butMoi.TabIndex   = 7;
     this.butMoi.Text       = "    &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butSua
     //
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(231, 345);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(60, 25);
     this.butSua.TabIndex   = 8;
     this.butSua.Text       = "    &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butLuu
     //
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(292, 345);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(60, 25);
     this.butLuu.TabIndex   = 5;
     this.butLuu.Text       = "    &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(353, 345);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(60, 25);
     this.butBoqua.TabIndex   = 6;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(414, 345);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(60, 25);
     this.butHuy.TabIndex   = 9;
     this.butHuy.Text       = "    &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(475, 345);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 11;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // ma
     //
     this.ma.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.ma.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.ma.Enabled         = false;
     this.ma.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ma.Location        = new System.Drawing.Point(261, 313);
     this.ma.Name            = "ma";
     this.ma.Size            = new System.Drawing.Size(37, 21);
     this.ma.TabIndex        = 3;
     this.ma.Validated      += new System.EventHandler(this.mavp_Validated);
     this.ma.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ma_KeyDown);
     //
     // listHoten
     //
     this.listHoten.BackColor          = System.Drawing.SystemColors.Info;
     this.listHoten.ColumnCount        = 0;
     this.listHoten.Location           = new System.Drawing.Point(336, 416);
     this.listHoten.MatchBufferTimeOut = 1000;
     this.listHoten.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listHoten.Name       = "listHoten";
     this.listHoten.Size       = new System.Drawing.Size(75, 17);
     this.listHoten.TabIndex   = 31;
     this.listHoten.TextIndex  = -1;
     this.listHoten.TextMember = null;
     this.listHoten.ValueIndex = -1;
     this.listHoten.Visible    = false;
     this.listHoten.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.listHoten_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(512, 289);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(47, 23);
     this.label3.TabIndex  = 74;
     this.label3.Text      = "Số thẻ :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // sothe
     //
     this.sothe.BackColor = System.Drawing.SystemColors.HighlightText;
     this.sothe.Enabled   = false;
     this.sothe.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sothe.Location  = new System.Drawing.Point(560, 289);
     this.sothe.Name      = "sothe";
     this.sothe.Size      = new System.Drawing.Size(144, 21);
     this.sothe.TabIndex  = 73;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(415, 288);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(64, 23);
     this.label6.TabIndex  = 75;
     this.label6.Text      = "Năm sinh :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // namsinh
     //
     this.namsinh.BackColor = System.Drawing.SystemColors.HighlightText;
     this.namsinh.Enabled   = false;
     this.namsinh.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.namsinh.Location  = new System.Drawing.Point(478, 288);
     this.namsinh.Name      = "namsinh";
     this.namsinh.Size      = new System.Drawing.Size(39, 21);
     this.namsinh.TabIndex  = 76;
     //
     // frmChidinh_k
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(714, 447);
     this.Controls.Add(this.hoten);
     this.Controls.Add(this.sothe);
     this.Controls.Add(this.namsinh);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.listHoten);
     this.Controls.Add(this.ma);
     this.Controls.Add(this.madoituong);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.list);
     this.Controls.Add(this.mabn);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.dataGrid1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview      = true;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmChidinh_k";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Chỉ định khám";
     this.Load           += new System.EventHandler(this.frmChidinh_k_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVpkhoa_th));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.list       = new LibList.List();
     this.label4     = new System.Windows.Forms.Label();
     this.madoituong = new System.Windows.Forms.ComboBox();
     this.label5     = new System.Windows.Forms.Label();
     this.ten        = new System.Windows.Forms.TextBox();
     this.label6     = new System.Windows.Forms.Label();
     this.soluong    = new MaskedTextBox.MaskedTextBox();
     this.mavp       = new System.Windows.Forms.TextBox();
     this.butLietke  = new System.Windows.Forms.Button();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor      = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor     = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember           = "";
     this.dataGrid1.FlatMode             = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(9, -16);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(648, 312);
     this.dataGrid1.TabIndex            = 7;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // list
     //
     this.list.BackColor          = System.Drawing.SystemColors.Info;
     this.list.ColumnCount        = 0;
     this.list.Location           = new System.Drawing.Point(541, 410);
     this.list.MatchBufferTimeOut = 1000;
     this.list.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.list.Name       = "list";
     this.list.Size       = new System.Drawing.Size(75, 17);
     this.list.TabIndex   = 20;
     this.list.TextIndex  = -1;
     this.list.TextMember = null;
     this.list.ValueIndex = -1;
     this.list.Visible    = false;
     this.list.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.list_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(-8, 301);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(64, 23);
     this.label4.TabIndex  = 9;
     this.label4.Text      = "Đối tượng :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // madoituong
     //
     this.madoituong.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.madoituong.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.madoituong.Enabled               = false;
     this.madoituong.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madoituong.Location              = new System.Drawing.Point(56, 301);
     this.madoituong.Name                  = "madoituong";
     this.madoituong.Size                  = new System.Drawing.Size(80, 21);
     this.madoituong.TabIndex              = 0;
     this.madoituong.SelectedIndexChanged += new System.EventHandler(this.madoituong_SelectedIndexChanged);
     this.madoituong.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.madoituong_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(126, 301);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(58, 23);
     this.label5.TabIndex  = 11;
     this.label5.Text      = "Dịch vụ :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ten
     //
     this.ten.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.ten.Enabled      = false;
     this.ten.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location     = new System.Drawing.Point(184, 301);
     this.ten.Name         = "ten";
     this.ten.Size         = new System.Drawing.Size(352, 21);
     this.ten.TabIndex     = 1;
     this.ten.TextChanged += new System.EventHandler(this.ten_TextChanged);
     this.ten.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(527, 301);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(67, 23);
     this.label6.TabIndex  = 13;
     this.label6.Text      = "Số lượng :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // soluong
     //
     this.soluong.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.soluong.Enabled    = false;
     this.soluong.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.soluong.Location   = new System.Drawing.Point(592, 301);
     this.soluong.Masked     = MaskedTextBox.MaskedTextBox.Mask.Decimal;
     this.soluong.Name       = "soluong";
     this.soluong.Size       = new System.Drawing.Size(64, 21);
     this.soluong.TabIndex   = 2;
     this.soluong.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.soluong.Validated += new System.EventHandler(this.soluong_Validated);
     //
     // mavp
     //
     this.mavp.Enabled  = false;
     this.mavp.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mavp.Location = new System.Drawing.Point(104, 224);
     this.mavp.Name     = "mavp";
     this.mavp.Size     = new System.Drawing.Size(24, 21);
     this.mavp.TabIndex = 17;
     //
     // butLietke
     //
     this.butLietke.Image      = ((System.Drawing.Image)(resources.GetObject("butLietke.Image")));
     this.butLietke.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLietke.Location   = new System.Drawing.Point(99, 333);
     this.butLietke.Name       = "butLietke";
     this.butLietke.Size       = new System.Drawing.Size(70, 25);
     this.butLietke.TabIndex   = 9;
     this.butLietke.Text       = "Liệt kê";
     this.butLietke.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butLietke.Click     += new System.EventHandler(this.butLietke_Click);
     //
     // butMoi
     //
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(169, 333);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 5;
     this.butMoi.Text       = "     &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butSua
     //
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(239, 333);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 25);
     this.butSua.TabIndex   = 6;
     this.butSua.Text       = "     &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butLuu
     //
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(309, 333);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 3;
     this.butLuu.Text       = "    &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(379, 333);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 4;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(449, 333);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 7;
     this.butHuy.Text       = "    &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(519, 333);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 8;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // frmVpkhoa_th
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(666, 439);
     this.Controls.Add(this.madoituong);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.butLietke);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.soluong);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.list);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.mavp);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview      = true;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmVpkhoa_th";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Viện phí tại khoa";
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.frmVpkhoa_th_KeyDown);
     this.Load           += new System.EventHandler(this.frmVpkhoa_th_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDmbhyt));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.label1     = new System.Windows.Forms.Label();
     this.ma         = new System.Windows.Forms.TextBox();
     this.label2     = new System.Windows.Forms.Label();
     this.sothe      = new System.Windows.Forms.TextBox();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.tungay     = new MaskedBox.MaskedBox();
     this.label35    = new System.Windows.Forms.Label();
     this.denngay    = new MaskedBox.MaskedBox();
     this.label25    = new System.Windows.Forms.Label();
     this.tenbv      = new System.Windows.Forms.TextBox();
     this.mabv       = new MaskedTextBox.MaskedTextBox();
     this.label8     = new System.Windows.Forms.Label();
     this.list       = new LibList.List();
     this.butKetthuc = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor      = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor     = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember           = "";
     this.dataGrid1.FlatMode             = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(8, -14);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(568, 414);
     this.dataGrid1.TabIndex            = 12;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(1, 406);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(75, 23);
     this.label1.TabIndex  = 21;
     this.label1.Text      = "Mã tắt :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ma
     //
     this.ma.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.ma.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.ma.Enabled         = false;
     this.ma.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ma.Location        = new System.Drawing.Point(75, 406);
     this.ma.MaxLength       = 10;
     this.ma.Name            = "ma";
     this.ma.Size            = new System.Drawing.Size(86, 21);
     this.ma.TabIndex        = 0;
     this.ma.Validated      += new System.EventHandler(this.ma_Validated);
     this.ma.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ma_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(156, 406);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(47, 23);
     this.label2.TabIndex  = 23;
     this.label2.Text      = "Số thẻ :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // sothe
     //
     this.sothe.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.sothe.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.sothe.Enabled         = false;
     this.sothe.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sothe.Location        = new System.Drawing.Point(203, 406);
     this.sothe.MaxLength       = 20;
     this.sothe.Name            = "sothe";
     this.sothe.Size            = new System.Drawing.Size(145, 21);
     this.sothe.TabIndex        = 1;
     this.sothe.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ma_KeyDown);
     //
     // butMoi
     //
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(91, 457);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 8;
     this.butMoi.Text       = "     &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butSua
     //
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(161, 457);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 25);
     this.butSua.TabIndex   = 9;
     this.butSua.Text       = "     &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butLuu
     //
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(231, 457);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 6;
     this.butLuu.Text       = "     &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(301, 457);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 7;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(371, 457);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 10;
     this.butHuy.Text       = "     &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // tungay
     //
     this.tungay.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.tungay.Enabled    = false;
     this.tungay.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tungay.Location   = new System.Drawing.Point(409, 405);
     this.tungay.Mask       = "##/##/####";
     this.tungay.Name       = "tungay";
     this.tungay.Size       = new System.Drawing.Size(72, 21);
     this.tungay.TabIndex   = 2;
     this.tungay.Text       = "  /  /    ";
     this.tungay.Validated += new System.EventHandler(this.tungay_Validated);
     //
     // label35
     //
     this.label35.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label35.Location  = new System.Drawing.Point(343, 405);
     this.label35.Name      = "label35";
     this.label35.Size      = new System.Drawing.Size(65, 23);
     this.label35.TabIndex  = 253;
     this.label35.Text      = "Từ :";
     this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // denngay
     //
     this.denngay.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.denngay.Enabled      = false;
     this.denngay.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.denngay.Location     = new System.Drawing.Point(513, 405);
     this.denngay.Mask         = "##/##/####";
     this.denngay.Name         = "denngay";
     this.denngay.Size         = new System.Drawing.Size(72, 21);
     this.denngay.TabIndex     = 3;
     this.denngay.Text         = "  /  /    ";
     this.denngay.Validated   += new System.EventHandler(this.denngay_Validated);
     this.denngay.TextChanged += new System.EventHandler(this.denngay_TextChanged);
     //
     // label25
     //
     this.label25.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label25.Location  = new System.Drawing.Point(449, 405);
     this.label25.Name      = "label25";
     this.label25.Size      = new System.Drawing.Size(64, 23);
     this.label25.TabIndex  = 252;
     this.label25.Text      = "Đến :";
     this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tenbv
     //
     this.tenbv.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tenbv.Enabled      = false;
     this.tenbv.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenbv.Location     = new System.Drawing.Point(133, 430);
     this.tenbv.Name         = "tenbv";
     this.tenbv.Size         = new System.Drawing.Size(452, 21);
     this.tenbv.TabIndex     = 5;
     this.tenbv.TextChanged += new System.EventHandler(this.tenbv_TextChanged);
     this.tenbv.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tenbv_KeyDown);
     //
     // mabv
     //
     this.mabv.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.mabv.Enabled    = false;
     this.mabv.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabv.Location   = new System.Drawing.Point(75, 430);
     this.mabv.Masked     = MaskedTextBox.MaskedTextBox.Mask.MABV;
     this.mabv.MaxLength  = 8;
     this.mabv.Name       = "mabv";
     this.mabv.Size       = new System.Drawing.Size(57, 21);
     this.mabv.TabIndex   = 4;
     this.mabv.Validated += new System.EventHandler(this.mabv_Validated);
     //
     // label8
     //
     this.label8.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label8.Location  = new System.Drawing.Point(-6, 429);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(84, 23);
     this.label8.TabIndex  = 256;
     this.label8.Text      = "ĐKKCB :";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // list
     //
     this.list.BackColor          = System.Drawing.SystemColors.Info;
     this.list.ColumnCount        = 0;
     this.list.Location           = new System.Drawing.Point(8, 496);
     this.list.MatchBufferTimeOut = 1000;
     this.list.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.list.Name       = "list";
     this.list.Size       = new System.Drawing.Size(75, 17);
     this.list.TabIndex   = 257;
     this.list.TextIndex  = -1;
     this.list.TextMember = null;
     this.list.ValueIndex = -1;
     this.list.Visible    = false;
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(441, 457);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 258;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // frmDmbhyt
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(588, 509);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.list);
     this.Controls.Add(this.denngay);
     this.Controls.Add(this.tenbv);
     this.Controls.Add(this.mabv);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.sothe);
     this.Controls.Add(this.tungay);
     this.Controls.Add(this.label35);
     this.Controls.Add(this.label25);
     this.Controls.Add(this.ma);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview    = true;
     this.Name          = "frmDmbhyt";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục số thẻ bảo hiểm";
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmDmbhyt_KeyDown);
     this.Load         += new System.EventHandler(this.frmDmbhyt_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #10
0
ファイル: frmChuyenkhoa.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmChuyenkhoa));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.label3     = new System.Windows.Forms.Label();
     this.label4     = new System.Windows.Forms.Label();
     this.label5     = new System.Windows.Forms.Label();
     this.label6     = new System.Windows.Forms.Label();
     this.label7     = new System.Windows.Forms.Label();
     this.mabn       = new System.Windows.Forms.TextBox();
     this.hoten      = new System.Windows.Forms.TextBox();
     this.namsinh    = new System.Windows.Forms.TextBox();
     this.makp       = new System.Windows.Forms.TextBox();
     this.khoaden    = new System.Windows.Forms.TextBox();
     this.tenkp      = new System.Windows.Forms.ComboBox();
     this.tenkhoaden = new System.Windows.Forms.ComboBox();
     this.ngay       = new System.Windows.Forms.DateTimePicker();
     this.maicd      = new MaskedTextBox.MaskedTextBox();
     this.chandoan   = new System.Windows.Forms.TextBox();
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.listICD    = new LibList.List();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(58, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Mã BN :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(192, 11);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(56, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "Họ tên :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(440, 11);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(72, 23);
     this.label3.TabIndex  = 2;
     this.label3.Text      = "Năm sinh :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(18, 35);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(88, 23);
     this.label4.TabIndex  = 3;
     this.label4.Text      = "Khoa chuyển đi :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(248, 35);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(96, 23);
     this.label5.TabIndex  = 5;
     this.label5.Text      = "Ngày giờ chuyển :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(448, 35);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(64, 23);
     this.label6.TabIndex  = 5;
     this.label6.Text      = "Khoa đến :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(-10, 59);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(116, 23);
     this.label7.TabIndex  = 6;
     this.label7.Text      = "Chẩn đoán chuyển :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mabn
     //
     this.mabn.BackColor = System.Drawing.SystemColors.HighlightText;
     this.mabn.Enabled   = false;
     this.mabn.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabn.Location  = new System.Drawing.Point(103, 11);
     this.mabn.Name      = "mabn";
     this.mabn.Size      = new System.Drawing.Size(73, 21);
     this.mabn.TabIndex  = 0;
     //
     // hoten
     //
     this.hoten.BackColor = System.Drawing.SystemColors.HighlightText;
     this.hoten.Enabled   = false;
     this.hoten.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.hoten.Location  = new System.Drawing.Point(248, 11);
     this.hoten.Name      = "hoten";
     this.hoten.Size      = new System.Drawing.Size(168, 21);
     this.hoten.TabIndex  = 1;
     //
     // namsinh
     //
     this.namsinh.BackColor = System.Drawing.SystemColors.HighlightText;
     this.namsinh.Enabled   = false;
     this.namsinh.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.namsinh.Location  = new System.Drawing.Point(512, 11);
     this.namsinh.Name      = "namsinh";
     this.namsinh.Size      = new System.Drawing.Size(40, 21);
     this.namsinh.TabIndex  = 2;
     //
     // makp
     //
     this.makp.BackColor = System.Drawing.SystemColors.HighlightText;
     this.makp.Enabled   = false;
     this.makp.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makp.Location  = new System.Drawing.Point(103, 35);
     this.makp.Name      = "makp";
     this.makp.Size      = new System.Drawing.Size(24, 21);
     this.makp.TabIndex  = 3;
     //
     // khoaden
     //
     this.khoaden.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.khoaden.Enabled    = false;
     this.khoaden.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.khoaden.Location   = new System.Drawing.Point(512, 35);
     this.khoaden.Name       = "khoaden";
     this.khoaden.Size       = new System.Drawing.Size(24, 21);
     this.khoaden.TabIndex   = 7;
     this.khoaden.Validated += new System.EventHandler(this.khoaden_Validated);
     this.khoaden.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.khoaden_KeyDown);
     //
     // tenkp
     //
     this.tenkp.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.tenkp.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.tenkp.Enabled               = false;
     this.tenkp.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenkp.Location              = new System.Drawing.Point(129, 35);
     this.tenkp.Name                  = "tenkp";
     this.tenkp.Size                  = new System.Drawing.Size(121, 21);
     this.tenkp.TabIndex              = 4;
     this.tenkp.SelectedIndexChanged += new System.EventHandler(this.tenkp_SelectedIndexChanged);
     //
     // tenkhoaden
     //
     this.tenkhoaden.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.tenkhoaden.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.tenkhoaden.Enabled               = false;
     this.tenkhoaden.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenkhoaden.Location              = new System.Drawing.Point(538, 35);
     this.tenkhoaden.Name                  = "tenkhoaden";
     this.tenkhoaden.Size                  = new System.Drawing.Size(121, 21);
     this.tenkhoaden.TabIndex              = 8;
     this.tenkhoaden.SelectedIndexChanged += new System.EventHandler(this.tenkhoaden_SelectedIndexChanged);
     this.tenkhoaden.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.tenkhoaden_KeyDown);
     //
     // ngay
     //
     this.ngay.CustomFormat = "dd/MM/yyyy HH:mm";
     this.ngay.Enabled      = false;
     this.ngay.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ngay.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.ngay.Location     = new System.Drawing.Point(341, 35);
     this.ngay.Name         = "ngay";
     this.ngay.Size         = new System.Drawing.Size(112, 21);
     this.ngay.TabIndex     = 6;
     this.ngay.Validated   += new System.EventHandler(this.ngay_Validated);
     this.ngay.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // maicd
     //
     this.maicd.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.maicd.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.maicd.Enabled         = false;
     this.maicd.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maicd.Location        = new System.Drawing.Point(103, 59);
     this.maicd.Masked          = MaskedTextBox.MaskedTextBox.Mask.ICD10;
     this.maicd.MaxLength       = 9;
     this.maicd.Name            = "maicd";
     this.maicd.Size            = new System.Drawing.Size(57, 21);
     this.maicd.TabIndex        = 9;
     this.maicd.Validated      += new System.EventHandler(this.maicd_Validated);
     //
     // chandoan
     //
     this.chandoan.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.chandoan.Enabled      = false;
     this.chandoan.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chandoan.Location     = new System.Drawing.Point(162, 59);
     this.chandoan.Name         = "chandoan";
     this.chandoan.Size         = new System.Drawing.Size(496, 21);
     this.chandoan.TabIndex     = 10;
     this.chandoan.Validated   += new System.EventHandler(this.chandoan_Validated);
     this.chandoan.TextChanged += new System.EventHandler(this.chandoan_TextChanged);
     this.chandoan.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.chandoan_KeyDown);
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor      = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor     = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember           = "";
     this.dataGrid1.FlatMode             = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(8, 72);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(648, 232);
     this.dataGrid1.TabIndex            = 17;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // butMoi
     //
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(175, 312);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 13;
     this.butMoi.Text       = "     &Thêm";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butSua
     //
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(572, 312);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(79, 25);
     this.butSua.TabIndex   = 14;
     this.butSua.Text       = "&Sửa";
     this.butSua.Visible    = false;
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butLuu
     //
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(245, 312);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 11;
     this.butLuu.Text       = "    &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(315, 312);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 12;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(385, 312);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 15;
     this.butHuy.Text       = "    &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = global::Medisoft.Properties.Resources.exit1;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(455, 312);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 16;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // listICD
     //
     this.listICD.BackColor          = System.Drawing.SystemColors.Info;
     this.listICD.ColumnCount        = 0;
     this.listICD.Location           = new System.Drawing.Point(-7, 328);
     this.listICD.MatchBufferTimeOut = 1000;
     this.listICD.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listICD.Name       = "listICD";
     this.listICD.Size       = new System.Drawing.Size(75, 17);
     this.listICD.TabIndex   = 222;
     this.listICD.TextIndex  = -1;
     this.listICD.TextMember = null;
     this.listICD.ValueIndex = -1;
     this.listICD.Visible    = false;
     //
     // frmChuyenkhoa
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(664, 357);
     this.ControlBox        = false;
     this.Controls.Add(this.listICD);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.chandoan);
     this.Controls.Add(this.maicd);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.ngay);
     this.Controls.Add(this.tenkhoaden);
     this.Controls.Add(this.tenkp);
     this.Controls.Add(this.khoaden);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.namsinh);
     this.Controls.Add(this.hoten);
     this.Controls.Add(this.mabn);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmChuyenkhoa";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Thông tin chuyển khoa";
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.frmChuyenkhoa_KeyDown);
     this.Load           += new System.EventHandler(this.frmChuyenkhoa_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPttt_bs));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.ten        = new System.Windows.Forms.TextBox();
     this.label5     = new System.Windows.Forms.Label();
     this.label6     = new System.Windows.Forms.Label();
     this.loai       = new System.Windows.Forms.ComboBox();
     this.list       = new LibList.List();
     this.mabs       = new System.Windows.Forms.TextBox();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butMoi     = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor      = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor     = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember           = "";
     this.dataGrid1.FlatMode             = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(6, -14);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(546, 238);
     this.dataGrid1.TabIndex            = 14;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // ten
     //
     this.ten.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.ten.Enabled      = false;
     this.ten.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location     = new System.Drawing.Point(281, 232);
     this.ten.Name         = "ten";
     this.ten.Size         = new System.Drawing.Size(271, 21);
     this.ten.TabIndex     = 4;
     this.ten.TextChanged += new System.EventHandler(this.ten_TextChanged);
     this.ten.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(176, 232);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(56, 23);
     this.label5.TabIndex  = 2;
     this.label5.Text      = "Y Bác sỹ :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(0, 232);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(40, 23);
     this.label6.TabIndex  = 0;
     this.label6.Text      = "Loại :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // loai
     //
     this.loai.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.loai.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.loai.Enabled       = false;
     this.loai.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loai.Location      = new System.Drawing.Point(40, 232);
     this.loai.Name          = "loai";
     this.loai.Size          = new System.Drawing.Size(136, 21);
     this.loai.TabIndex      = 1;
     this.loai.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.loai_KeyDown);
     //
     // list
     //
     this.list.BackColor          = System.Drawing.SystemColors.Info;
     this.list.ColumnCount        = 0;
     this.list.Location           = new System.Drawing.Point(264, 328);
     this.list.MatchBufferTimeOut = 1000;
     this.list.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.list.Name       = "list";
     this.list.Size       = new System.Drawing.Size(75, 17);
     this.list.TabIndex   = 21;
     this.list.TextIndex  = -1;
     this.list.TextMember = null;
     this.list.ValueIndex = -1;
     this.list.Visible    = false;
     //
     // mabs
     //
     this.mabs.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.mabs.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.mabs.Enabled         = false;
     this.mabs.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabs.Location        = new System.Drawing.Point(232, 232);
     this.mabs.MaxLength       = 4;
     this.mabs.Name            = "mabs";
     this.mabs.Size            = new System.Drawing.Size(48, 21);
     this.mabs.TabIndex        = 3;
     this.mabs.Validated      += new System.EventHandler(this.mabs_Validated);
     this.mabs.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(444, 264);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 10;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // butHuy
     //
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(374, 264);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 9;
     this.butHuy.Text       = "    &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // butBoqua
     //
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(304, 264);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 6;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butLuu
     //
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(234, 264);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 5;
     this.butLuu.Text       = "     &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butSua
     //
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(164, 264);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 25);
     this.butSua.TabIndex   = 8;
     this.butSua.Text       = "     &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butMoi
     //
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(94, 264);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 7;
     this.butMoi.Text       = "    &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // frmPttt_bs
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(562, 351);
     this.Controls.Add(this.mabs);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.list);
     this.Controls.Add(this.loai);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.dataGrid1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmPttt_bs";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Danh sách phẫu thủ thuật";
     this.Load           += new System.EventHandler(this.frmDiungthuoc_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInkqthau));
     this.label3     = new System.Windows.Forms.Label();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.tendv      = new System.Windows.Forms.TextBox();
     this.c1         = new MaskedTextBox.MaskedTextBox();
     this.c2         = new MaskedTextBox.MaskedTextBox();
     this.c3         = new MaskedTextBox.MaskedTextBox();
     this.c4         = new MaskedTextBox.MaskedTextBox();
     this.c5         = new MaskedTextBox.MaskedTextBox();
     this.c6         = new MaskedTextBox.MaskedTextBox();
     this.label4     = new System.Windows.Forms.Label();
     this.label5     = new System.Windows.Forms.Label();
     this.label6     = new System.Windows.Forms.Label();
     this.label7     = new System.Windows.Forms.Label();
     this.label8     = new System.Windows.Forms.Label();
     this.label9     = new System.Windows.Forms.Label();
     this.c16        = new MaskedTextBox.MaskedTextBox();
     this.c15        = new MaskedTextBox.MaskedTextBox();
     this.c14        = new MaskedTextBox.MaskedTextBox();
     this.c13        = new MaskedTextBox.MaskedTextBox();
     this.c12        = new MaskedTextBox.MaskedTextBox();
     this.c11        = new MaskedTextBox.MaskedTextBox();
     this.madv       = new System.Windows.Forms.TextBox();
     this.listNX     = new LibList.List();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.label10    = new System.Windows.Forms.Label();
     this.THANG      = new System.Windows.Forms.TextBox();
     this.QUY        = new System.Windows.Forms.TextBox();
     this.NAM        = new System.Windows.Forms.TextBox();
     this.butXem     = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(-3, 16);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(55, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Đơn vị :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butIn
     //
     this.butIn.Image      = global::Duoc.Properties.Resources.Print1;
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(210, 232);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 17;
     this.butIn.Text       = "     &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = global::Duoc.Properties.Resources.close_r;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(280, 232);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 18;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // tendv
     //
     this.tendv.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tendv.Location     = new System.Drawing.Point(112, 16);
     this.tendv.Name         = "tendv";
     this.tendv.Size         = new System.Drawing.Size(368, 21);
     this.tendv.TabIndex     = 1;
     this.tendv.Validated   += new System.EventHandler(this.tendv_Validated);
     this.tendv.TextChanged += new System.EventHandler(this.tendv_TextChanged);
     this.tendv.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tendv_KeyDown);
     //
     // c1
     //
     this.c1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c1.Location = new System.Drawing.Point(52, 40);
     this.c1.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c1.Name     = "c1";
     this.c1.Size     = new System.Drawing.Size(192, 21);
     this.c1.TabIndex = 2;
     //
     // c2
     //
     this.c2.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c2.Location = new System.Drawing.Point(52, 64);
     this.c2.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c2.Name     = "c2";
     this.c2.Size     = new System.Drawing.Size(192, 21);
     this.c2.TabIndex = 4;
     //
     // c3
     //
     this.c3.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c3.Location = new System.Drawing.Point(52, 88);
     this.c3.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c3.Name     = "c3";
     this.c3.Size     = new System.Drawing.Size(192, 21);
     this.c3.TabIndex = 6;
     //
     // c4
     //
     this.c4.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c4.Location = new System.Drawing.Point(52, 112);
     this.c4.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c4.Name     = "c4";
     this.c4.Size     = new System.Drawing.Size(192, 21);
     this.c4.TabIndex = 8;
     //
     // c5
     //
     this.c5.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c5.Location = new System.Drawing.Point(52, 136);
     this.c5.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c5.Name     = "c5";
     this.c5.Size     = new System.Drawing.Size(192, 21);
     this.c5.TabIndex = 10;
     //
     // c6
     //
     this.c6.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c6.Location = new System.Drawing.Point(52, 160);
     this.c6.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c6.Name     = "c6";
     this.c6.Size     = new System.Drawing.Size(192, 21);
     this.c6.TabIndex = 12;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(-3, 40);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(55, 23);
     this.label4.TabIndex  = 13;
     this.label4.Text      = "1. ";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(-3, 64);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(55, 23);
     this.label5.TabIndex  = 14;
     this.label5.Text      = "2. ";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(-3, 88);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(55, 23);
     this.label6.TabIndex  = 15;
     this.label6.Text      = "3. ";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(-3, 112);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(55, 23);
     this.label7.TabIndex  = 16;
     this.label7.Text      = "4. ";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(-3, 136);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(55, 23);
     this.label8.TabIndex  = 17;
     this.label8.Text      = "5. ";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label9
     //
     this.label9.Location  = new System.Drawing.Point(-3, 160);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(55, 23);
     this.label9.TabIndex  = 18;
     this.label9.Text      = "6. ";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // c16
     //
     this.c16.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c16.Location = new System.Drawing.Point(246, 160);
     this.c16.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c16.Name     = "c16";
     this.c16.Size     = new System.Drawing.Size(234, 21);
     this.c16.TabIndex = 13;
     this.c16.Text     = "Kế toán - Ủy viên";
     //
     // c15
     //
     this.c15.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c15.Location = new System.Drawing.Point(246, 136);
     this.c15.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c15.Name     = "c15";
     this.c15.Size     = new System.Drawing.Size(234, 21);
     this.c15.TabIndex = 11;
     this.c15.Text     = "Phụ trách phỏng TCKT - Ủy viên";
     //
     // c14
     //
     this.c14.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c14.Location = new System.Drawing.Point(246, 112);
     this.c14.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c14.Name     = "c14";
     this.c14.Size     = new System.Drawing.Size(234, 21);
     this.c14.TabIndex = 9;
     this.c14.Text     = "Phụ trách khoa dược - Ủy viên";
     //
     // c13
     //
     this.c13.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c13.Location = new System.Drawing.Point(246, 88);
     this.c13.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c13.Name     = "c13";
     this.c13.Size     = new System.Drawing.Size(234, 21);
     this.c13.TabIndex = 7;
     this.c13.Text     = "Phó CN kho - Phụ trách kho - Ủy viên";
     //
     // c12
     //
     this.c12.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c12.Location = new System.Drawing.Point(246, 64);
     this.c12.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c12.Name     = "c12";
     this.c12.Size     = new System.Drawing.Size(234, 21);
     this.c12.TabIndex = 5;
     this.c12.Text     = "Trưởng phòng KHTH - Ủy viên";
     //
     // c11
     //
     this.c11.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c11.Location = new System.Drawing.Point(246, 40);
     this.c11.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c11.Name     = "c11";
     this.c11.Size     = new System.Drawing.Size(234, 21);
     this.c11.TabIndex = 3;
     this.c11.Text     = "Chủ tịch hội đồng";
     //
     // madv
     //
     this.madv.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.madv.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madv.Location        = new System.Drawing.Point(52, 16);
     this.madv.Name            = "madv";
     this.madv.Size            = new System.Drawing.Size(58, 21);
     this.madv.TabIndex        = 0;
     this.madv.Validated      += new System.EventHandler(this.madv_Validated);
     this.madv.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.madv_KeyDown);
     //
     // listNX
     //
     this.listNX.ColumnCount        = 0;
     this.listNX.Location           = new System.Drawing.Point(400, 248);
     this.listNX.MatchBufferTimeOut = 1000;
     this.listNX.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listNX.Name       = "listNX";
     this.listNX.Size       = new System.Drawing.Size(75, 17);
     this.listNX.TabIndex   = 26;
     this.listNX.TextIndex  = -1;
     this.listNX.TextMember = null;
     this.listNX.ValueIndex = -1;
     this.listNX.Visible    = false;
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(208, 184);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(40, 24);
     this.label1.TabIndex  = 27;
     this.label1.Text      = "QUÝ";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(368, 184);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(88, 24);
     this.label2.TabIndex  = 28;
     this.label2.Text      = "NĂM";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label10
     //
     this.label10.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.Location  = new System.Drawing.Point(53, 184);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(88, 24);
     this.label10.TabIndex  = 29;
     this.label10.Text      = "THÁNG";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // THANG
     //
     this.THANG.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.THANG.Location = new System.Drawing.Point(112, 184);
     this.THANG.Name     = "THANG";
     this.THANG.Size     = new System.Drawing.Size(56, 22);
     this.THANG.TabIndex = 14;
     this.THANG.KeyDown += new System.Windows.Forms.KeyEventHandler(this.madv_KeyDown);
     //
     // QUY
     //
     this.QUY.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.QUY.Location = new System.Drawing.Point(248, 184);
     this.QUY.Name     = "QUY";
     this.QUY.Size     = new System.Drawing.Size(56, 22);
     this.QUY.TabIndex = 15;
     this.QUY.KeyDown += new System.Windows.Forms.KeyEventHandler(this.madv_KeyDown);
     //
     // NAM
     //
     this.NAM.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.NAM.Location = new System.Drawing.Point(408, 184);
     this.NAM.Name     = "NAM";
     this.NAM.Size     = new System.Drawing.Size(72, 22);
     this.NAM.TabIndex = 16;
     this.NAM.KeyDown += new System.Windows.Forms.KeyEventHandler(this.madv_KeyDown);
     //
     // butXem
     //
     this.butXem.Image      = global::Duoc.Properties.Resources.Export;
     this.butXem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butXem.Location   = new System.Drawing.Point(140, 232);
     this.butXem.Name       = "butXem";
     this.butXem.Size       = new System.Drawing.Size(70, 25);
     this.butXem.TabIndex   = 85;
     this.butXem.Text       = "     &Excel";
     this.butXem.Click     += new System.EventHandler(this.butXem_Click);
     //
     // frmInkqthau
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(498, 287);
     this.Controls.Add(this.butXem);
     this.Controls.Add(this.NAM);
     this.Controls.Add(this.QUY);
     this.Controls.Add(this.THANG);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.listNX);
     this.Controls.Add(this.madv);
     this.Controls.Add(this.c16);
     this.Controls.Add(this.c15);
     this.Controls.Add(this.c14);
     this.Controls.Add(this.c13);
     this.Controls.Add(this.c12);
     this.Controls.Add(this.c11);
     this.Controls.Add(this.c6);
     this.Controls.Add(this.c5);
     this.Controls.Add(this.c4);
     this.Controls.Add(this.c3);
     this.Controls.Add(this.c2);
     this.Controls.Add(this.c1);
     this.Controls.Add(this.tendv);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.label3);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmInkqthau";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Kết quả thầu vật tư, sản phẩm, hàng hóa";
     this.Load           += new System.EventHandler(this.rptBbknhap_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #13
0
ファイル: rptThpnhap.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(rptThpnhap));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.label3     = new System.Windows.Forms.Label();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.tendv      = new System.Windows.Forms.TextBox();
     this.diachi     = new MaskedTextBox.MaskedTextBox();
     this.masothue   = new MaskedTextBox.MaskedTextBox();
     this.sotk       = new MaskedTextBox.MaskedTextBox();
     this.sophieu    = new MaskedTextBox.MaskedTextBox();
     this.no         = new MaskedTextBox.MaskedTextBox();
     this.co         = new MaskedTextBox.MaskedTextBox();
     this.label4     = new System.Windows.Forms.Label();
     this.label5     = new System.Windows.Forms.Label();
     this.label6     = new System.Windows.Forms.Label();
     this.label7     = new System.Windows.Forms.Label();
     this.label8     = new System.Windows.Forms.Label();
     this.label9     = new System.Windows.Forms.Label();
     this.kho        = new System.Windows.Forms.ComboBox();
     this.label12    = new System.Windows.Forms.Label();
     this.madv       = new System.Windows.Forms.TextBox();
     this.listNX     = new LibList.List();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(-3, 10);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(55, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(130, 10);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(34, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "đến :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(52, 10);
     this.tu.Name         = "tu";
     this.tu.Size         = new System.Drawing.Size(80, 21);
     this.tu.TabIndex     = 0;
     this.tu.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // den
     //
     this.den.CustomFormat = "dd/MM/yyyy";
     this.den.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(165, 10);
     this.den.Name         = "den";
     this.den.Size         = new System.Drawing.Size(80, 21);
     this.den.TabIndex     = 1;
     this.den.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(-3, 34);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(55, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Đơn vị :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butIn
     //
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(178, 164);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 11;
     this.butIn.Text       = "&In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(250, 164);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 12;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // tendv
     //
     this.tendv.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tendv.Location     = new System.Drawing.Point(112, 34);
     this.tendv.Name         = "tendv";
     this.tendv.Size         = new System.Drawing.Size(368, 21);
     this.tendv.TabIndex     = 4;
     this.tendv.Validated   += new System.EventHandler(this.tendv_Validated);
     this.tendv.TextChanged += new System.EventHandler(this.tendv_TextChanged);
     this.tendv.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tendv_KeyDown);
     //
     // diachi
     //
     this.diachi.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.diachi.Location = new System.Drawing.Point(52, 58);
     this.diachi.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.diachi.Name     = "diachi";
     this.diachi.Size     = new System.Drawing.Size(428, 21);
     this.diachi.TabIndex = 5;
     //
     // masothue
     //
     this.masothue.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.masothue.Location = new System.Drawing.Point(64, 81);
     this.masothue.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.masothue.Name     = "masothue";
     this.masothue.Size     = new System.Drawing.Size(136, 21);
     this.masothue.TabIndex = 6;
     //
     // sotk
     //
     this.sotk.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sotk.Location = new System.Drawing.Point(272, 80);
     this.sotk.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.sotk.Name     = "sotk";
     this.sotk.Size     = new System.Drawing.Size(208, 21);
     this.sotk.TabIndex = 7;
     //
     // sophieu
     //
     this.sophieu.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.sophieu.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sophieu.Location        = new System.Drawing.Point(112, 104);
     this.sophieu.Masked          = MaskedTextBox.MaskedTextBox.Mask.None;
     this.sophieu.Name            = "sophieu";
     this.sophieu.Size            = new System.Drawing.Size(368, 21);
     this.sophieu.TabIndex        = 8;
     //
     // no
     //
     this.no.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.no.Location = new System.Drawing.Point(56, 128);
     this.no.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.no.Name     = "no";
     this.no.Size     = new System.Drawing.Size(272, 21);
     this.no.TabIndex = 9;
     //
     // co
     //
     this.co.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.co.Location = new System.Drawing.Point(360, 128);
     this.co.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.co.Name     = "co";
     this.co.Size     = new System.Drawing.Size(120, 21);
     this.co.TabIndex = 10;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(-3, 56);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(55, 23);
     this.label4.TabIndex  = 13;
     this.label4.Text      = "Địa chỉ :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(0, 80);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(67, 23);
     this.label5.TabIndex  = 14;
     this.label5.Text      = "Mã số thuế :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(200, 80);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(75, 23);
     this.label6.TabIndex  = 15;
     this.label6.Text      = "Số tài khoản :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(-4, 103);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(115, 23);
     this.label7.TabIndex  = 16;
     this.label7.Text      = "Theo phiếu nhập số :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(24, 128);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(32, 23);
     this.label8.TabIndex  = 17;
     this.label8.Text      = "Nợ :";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label9
     //
     this.label9.Location  = new System.Drawing.Point(328, 128);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(32, 23);
     this.label9.TabIndex  = 18;
     this.label9.Text      = "Có :";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // kho
     //
     this.kho.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kho.Location = new System.Drawing.Point(272, 10);
     this.kho.Name     = "kho";
     this.kho.Size     = new System.Drawing.Size(208, 21);
     this.kho.TabIndex = 2;
     this.kho.KeyDown += new System.Windows.Forms.KeyEventHandler(this.kho_KeyDown);
     //
     // label12
     //
     this.label12.Location  = new System.Drawing.Point(243, 10);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(32, 23);
     this.label12.TabIndex  = 22;
     this.label12.Text      = "Kho :";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // madv
     //
     this.madv.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.madv.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madv.Location        = new System.Drawing.Point(52, 34);
     this.madv.Name            = "madv";
     this.madv.Size            = new System.Drawing.Size(58, 21);
     this.madv.TabIndex        = 3;
     this.madv.Validated      += new System.EventHandler(this.madv_Validated);
     this.madv.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.madv_KeyDown);
     //
     // listNX
     //
     this.listNX.BackColor          = System.Drawing.SystemColors.Info;
     this.listNX.ColumnCount        = 0;
     this.listNX.Location           = new System.Drawing.Point(408, 160);
     this.listNX.MatchBufferTimeOut = 1000;
     this.listNX.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listNX.Name       = "listNX";
     this.listNX.Size       = new System.Drawing.Size(75, 17);
     this.listNX.TabIndex   = 26;
     this.listNX.TextIndex  = -1;
     this.listNX.TextMember = null;
     this.listNX.ValueIndex = -1;
     this.listNX.Visible    = false;
     this.listNX.Validated += new System.EventHandler(this.listNX_Validated);
     //
     // rptThpnhap
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(498, 207);
     this.Controls.Add(this.den);
     this.Controls.Add(this.listNX);
     this.Controls.Add(this.madv);
     this.Controls.Add(this.kho);
     this.Controls.Add(this.label12);
     this.Controls.Add(this.co);
     this.Controls.Add(this.no);
     this.Controls.Add(this.sophieu);
     this.Controls.Add(this.sotk);
     this.Controls.Add(this.masothue);
     this.Controls.Add(this.diachi);
     this.Controls.Add(this.tendv);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "rptThpnhap";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Tổng hợp phiếu nhập kho";
     this.MouseMove      += new System.Windows.Forms.MouseEventHandler(this.rptThpnhap_MouseMove);
     this.Load           += new System.EventHandler(this.rptThpnhap_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDenghict));
     this.label1    = new System.Windows.Forms.Label();
     this.ngay      = new System.Windows.Forms.DateTimePicker();
     this.label2    = new System.Windows.Forms.Label();
     this.kinhgui   = new System.Windows.Forms.TextBox();
     this.label3    = new System.Windows.Forms.Label();
     this.bophan    = new System.Windows.Forms.TextBox();
     this.label4    = new System.Windows.Forms.Label();
     this.denghi    = new System.Windows.Forms.TextBox();
     this.label5    = new System.Windows.Forms.Label();
     this.noidung   = new System.Windows.Forms.TextBox();
     this.ketoan    = new System.Windows.Forms.TextBox();
     this.giamdoc   = new System.Windows.Forms.TextBox();
     this.label6    = new System.Windows.Forms.Label();
     this.label7    = new System.Windows.Forms.Label();
     this.butOk     = new System.Windows.Forms.Button();
     this.butCancel = new System.Windows.Forms.Button();
     this.label8    = new System.Windows.Forms.Label();
     this.label9    = new System.Windows.Forms.Label();
     this.tu        = new System.Windows.Forms.DateTimePicker();
     this.den       = new System.Windows.Forms.DateTimePicker();
     this.tendv     = new System.Windows.Forms.TextBox();
     this.madv      = new System.Windows.Forms.TextBox();
     this.label10   = new System.Windows.Forms.Label();
     this.listNX    = new LibList.List();
     this.sohd      = new System.Windows.Forms.CheckedListBox();
     this.butLoc    = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(41, 7);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(40, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ngay
     //
     this.ngay.CalendarFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ngay.CustomFormat = "dd/MM/yyyy";
     this.ngay.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ngay.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.ngay.Location     = new System.Drawing.Point(80, 8);
     this.ngay.Name         = "ngay";
     this.ngay.Size         = new System.Drawing.Size(80, 21);
     this.ngay.TabIndex     = 1;
     this.ngay.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(160, 7);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(59, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Kính gửi :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // kinhgui
     //
     this.kinhgui.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.kinhgui.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.kinhgui.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kinhgui.Location        = new System.Drawing.Point(212, 8);
     this.kinhgui.Name            = "kinhgui";
     this.kinhgui.Size            = new System.Drawing.Size(356, 21);
     this.kinhgui.TabIndex        = 3;
     this.kinhgui.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(366, 32);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(59, 23);
     this.label3.TabIndex  = 6;
     this.label3.Text      = "Bộ phận :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // bophan
     //
     this.bophan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.bophan.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bophan.Location = new System.Drawing.Point(416, 31);
     this.bophan.Name     = "bophan";
     this.bophan.Size     = new System.Drawing.Size(152, 21);
     this.bophan.TabIndex = 7;
     this.bophan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(22, 54);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(59, 23);
     this.label4.TabIndex  = 8;
     this.label4.Text      = "Nội dung :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // denghi
     //
     this.denghi.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.denghi.Location = new System.Drawing.Point(135, 31);
     this.denghi.Name     = "denghi";
     this.denghi.Size     = new System.Drawing.Size(185, 21);
     this.denghi.TabIndex = 5;
     this.denghi.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(3, 32);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(176, 23);
     this.label5.TabIndex  = 4;
     this.label5.Text      = "Người đề nghị thanh toán :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // noidung
     //
     this.noidung.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.noidung.Location = new System.Drawing.Point(80, 54);
     this.noidung.Name     = "noidung";
     this.noidung.Size     = new System.Drawing.Size(240, 21);
     this.noidung.TabIndex = 9;
     this.noidung.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // ketoan
     //
     this.ketoan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.ketoan.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ketoan.Location = new System.Drawing.Point(416, 54);
     this.ketoan.Name     = "ketoan";
     this.ketoan.Size     = new System.Drawing.Size(152, 21);
     this.ketoan.TabIndex = 11;
     this.ketoan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // giamdoc
     //
     this.giamdoc.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.giamdoc.Location = new System.Drawing.Point(80, 77);
     this.giamdoc.Name     = "giamdoc";
     this.giamdoc.Size     = new System.Drawing.Size(240, 21);
     this.giamdoc.TabIndex = 13;
     this.giamdoc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(304, 56);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(115, 23);
     this.label6.TabIndex  = 10;
     this.label6.Text      = "Phụ trách kế toán :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(-23, 77);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(104, 23);
     this.label7.TabIndex  = 12;
     this.label7.Text      = "Người duyệt :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butOk
     //
     this.butOk.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butOk.Image      = ((System.Drawing.Image)(resources.GetObject("butOk.Image")));
     this.butOk.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butOk.Location   = new System.Drawing.Point(263, 341);
     this.butOk.Name       = "butOk";
     this.butOk.Size       = new System.Drawing.Size(70, 25);
     this.butOk.TabIndex   = 22;
     this.butOk.Text       = "     In";
     this.butOk.Click     += new System.EventHandler(this.butOk_Click);
     //
     // butCancel
     //
     this.butCancel.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butCancel.Image      = ((System.Drawing.Image)(resources.GetObject("butCancel.Image")));
     this.butCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butCancel.Location   = new System.Drawing.Point(333, 341);
     this.butCancel.Name       = "butCancel";
     this.butCancel.Size       = new System.Drawing.Size(70, 25);
     this.butCancel.TabIndex   = 23;
     this.butCancel.Text       = "&Kết thúc";
     this.butCancel.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butCancel.Click     += new System.EventHandler(this.butCancel_Click);
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(312, 77);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(56, 23);
     this.label8.TabIndex  = 14;
     this.label8.Text      = "Từ ngày :";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label9
     //
     this.label9.Location  = new System.Drawing.Point(448, 77);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(35, 23);
     this.label9.TabIndex  = 16;
     this.label9.Text      = "đến :";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.CalendarFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(368, 77);
     this.tu.Name         = "tu";
     this.tu.Size         = new System.Drawing.Size(80, 21);
     this.tu.TabIndex     = 15;
     this.tu.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // den
     //
     this.den.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.den.CalendarFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.CustomFormat = "dd/MM/yyyy";
     this.den.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(488, 77);
     this.den.Name         = "den";
     this.den.Size         = new System.Drawing.Size(80, 21);
     this.den.TabIndex     = 17;
     this.den.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // tendv
     //
     this.tendv.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.tendv.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tendv.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tendv.Location     = new System.Drawing.Point(146, 101);
     this.tendv.Name         = "tendv";
     this.tendv.Size         = new System.Drawing.Size(422, 21);
     this.tendv.TabIndex     = 20;
     this.tendv.Validated   += new System.EventHandler(this.tendv_Validated);
     this.tendv.TextChanged += new System.EventHandler(this.tendv_TextChanged);
     this.tendv.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tendv_KeyDown);
     //
     // madv
     //
     this.madv.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.madv.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.madv.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madv.Location        = new System.Drawing.Point(80, 101);
     this.madv.Name            = "madv";
     this.madv.Size            = new System.Drawing.Size(64, 21);
     this.madv.TabIndex        = 19;
     this.madv.Validated      += new System.EventHandler(this.madv_Validated);
     this.madv.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // label10
     //
     this.label10.Location  = new System.Drawing.Point(-20, 99);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(102, 23);
     this.label10.TabIndex  = 18;
     this.label10.Text      = "Nhà cung cấp :";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // listNX
     //
     this.listNX.BackColor          = System.Drawing.SystemColors.Info;
     this.listNX.ColumnCount        = 0;
     this.listNX.Location           = new System.Drawing.Point(496, 359);
     this.listNX.MatchBufferTimeOut = 1000;
     this.listNX.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listNX.Name       = "listNX";
     this.listNX.Size       = new System.Drawing.Size(75, 17);
     this.listNX.TabIndex   = 26;
     this.listNX.TextIndex  = -1;
     this.listNX.TextMember = null;
     this.listNX.ValueIndex = -1;
     this.listNX.Visible    = false;
     //
     // sohd
     //
     this.sohd.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                               | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.sohd.BackColor    = System.Drawing.SystemColors.Info;
     this.sohd.CheckOnClick = true;
     this.sohd.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sohd.Location     = new System.Drawing.Point(80, 124);
     this.sohd.Name         = "sohd";
     this.sohd.Size         = new System.Drawing.Size(488, 212);
     this.sohd.TabIndex     = 25;
     this.sohd.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // butLoc
     //
     this.butLoc.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butLoc.Image      = ((System.Drawing.Image)(resources.GetObject("butLoc.Image")));
     this.butLoc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLoc.Location   = new System.Drawing.Point(193, 341);
     this.butLoc.Name       = "butLoc";
     this.butLoc.Size       = new System.Drawing.Size(70, 25);
     this.butLoc.TabIndex   = 21;
     this.butLoc.Text       = "    &Tìm";
     this.butLoc.Click     += new System.EventHandler(this.butLoc_Click);
     //
     // frmDenghict
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(578, 381);
     this.Controls.Add(this.butLoc);
     this.Controls.Add(this.sohd);
     this.Controls.Add(this.listNX);
     this.Controls.Add(this.tendv);
     this.Controls.Add(this.madv);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.giamdoc);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.noidung);
     this.Controls.Add(this.butCancel);
     this.Controls.Add(this.butOk);
     this.Controls.Add(this.ketoan);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.denghi);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.bophan);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.kinhgui);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.ngay);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frmDenghict";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Đề nghị thanh toán";
     this.Load           += new System.EventHandler(this.frmDenghict_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTruyvan));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.manhom     = new System.Windows.Forms.CheckedListBox();
     this.maloai     = new System.Windows.Forms.CheckedListBox();
     this.butTonghop = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.dang       = new MaskedBox.MaskedBox();
     this.mabd       = new System.Windows.Forms.TextBox();
     this.tenbd      = new System.Windows.Forms.TextBox();
     this.listDMBD   = new LibList.List();
     this.label3     = new System.Windows.Forms.Label();
     this.label4     = new System.Windows.Forms.Label();
     this.theo       = new System.Windows.Forms.ComboBox();
     this.nhapxuat   = new System.Windows.Forms.GroupBox();
     this.rb3        = new System.Windows.Forms.RadioButton();
     this.rb2        = new System.Windows.Forms.RadioButton();
     this.rb1        = new System.Windows.Forms.RadioButton();
     this.tenhc      = new System.Windows.Forms.TextBox();
     this.label5     = new System.Windows.Forms.Label();
     this.mm         = new System.Windows.Forms.NumericUpDown();
     this.yyyy       = new System.Windows.Forms.NumericUpDown();
     this.label6     = new System.Windows.Forms.Label();
     this.bieudo     = new System.Windows.Forms.CheckBox();
     //this.dothi = new AQuangChartControl.AQuangChartControl();
     ((System.ComponentModel.ISupportInitialize)(this.mm)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(-3, 5);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(129, 5);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(32, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "đến :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(52, 5);
     this.tu.Name         = "tu";
     this.tu.Size         = new System.Drawing.Size(80, 21);
     this.tu.TabIndex     = 1;
     //
     // den
     //
     this.den.CustomFormat = "dd/MM/yyyy";
     this.den.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(161, 5);
     this.den.Name         = "den";
     this.den.Size         = new System.Drawing.Size(80, 21);
     this.den.TabIndex     = 3;
     //
     // manhom
     //
     this.manhom.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Left)));
     this.manhom.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.manhom.CheckOnClick = true;
     this.manhom.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.manhom.Location     = new System.Drawing.Point(5, 50);
     this.manhom.Name         = "manhom";
     this.manhom.Size         = new System.Drawing.Size(203, 452);
     this.manhom.TabIndex     = 12;
     //
     // maloai
     //
     this.maloai.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.maloai.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.maloai.CheckOnClick = true;
     this.maloai.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maloai.Location     = new System.Drawing.Point(5, 519);
     this.maloai.Name         = "maloai";
     this.maloai.Size         = new System.Drawing.Size(203, 196);
     this.maloai.TabIndex     = 13;
     //
     // butTonghop
     //
     this.butTonghop.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butTonghop.Image      = global::Duoc.Properties.Resources.ok;
     this.butTonghop.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butTonghop.Location   = new System.Drawing.Point(366, 719);
     this.butTonghop.Name       = "butTonghop";
     this.butTonghop.Size       = new System.Drawing.Size(76, 25);
     this.butTonghop.TabIndex   = 14;
     this.butTonghop.Text       = "&Tổng hợp";
     this.butTonghop.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butKetthuc
     //
     this.butKetthuc.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butKetthuc.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butKetthuc.Image        = global::Duoc.Properties.Resources.close_r;
     this.butKetthuc.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location     = new System.Drawing.Point(512, 719);
     this.butKetthuc.Name         = "butKetthuc";
     this.butKetthuc.Size         = new System.Drawing.Size(68, 25);
     this.butKetthuc.TabIndex     = 16;
     this.butKetthuc.Text         = "&Kết thúc";
     this.butKetthuc.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     //
     // dang
     //
     this.dang.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.dang.BackColor = System.Drawing.SystemColors.HighlightText;
     this.dang.Enabled   = false;
     this.dang.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dang.Location  = new System.Drawing.Point(1295, 27);
     this.dang.Mask      = "";
     this.dang.MaxLength = 10;
     this.dang.Name      = "dang";
     this.dang.Size      = new System.Drawing.Size(48, 21);
     this.dang.TabIndex  = 11;
     //
     // mabd
     //
     this.mabd.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.mabd.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.mabd.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabd.Location        = new System.Drawing.Point(52, 27);
     this.mabd.Name            = "mabd";
     this.mabd.Size            = new System.Drawing.Size(52, 21);
     this.mabd.TabIndex        = 8;
     //
     // tenbd
     //
     this.tenbd.BackColor = System.Drawing.SystemColors.HighlightText;
     this.tenbd.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenbd.Location  = new System.Drawing.Point(106, 27);
     this.tenbd.Name      = "tenbd";
     this.tenbd.Size      = new System.Drawing.Size(320, 21);
     this.tenbd.TabIndex  = 9;
     //
     // listDMBD
     //
     this.listDMBD.BackColor          = System.Drawing.SystemColors.Info;
     this.listDMBD.ColumnCount        = 0;
     this.listDMBD.Location           = new System.Drawing.Point(224, 536);
     this.listDMBD.MatchBufferTimeOut = 1000;
     this.listDMBD.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listDMBD.Name       = "listDMBD";
     this.listDMBD.Size       = new System.Drawing.Size(75, 17);
     this.listDMBD.TabIndex   = 32;
     this.listDMBD.TextIndex  = -1;
     this.listDMBD.TextMember = null;
     this.listDMBD.ValueIndex = -1;
     this.listDMBD.Visible    = false;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(240, 5);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(56, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Đánh giá :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(-11, 27);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(64, 23);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Thuốc :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // theo
     //
     this.theo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.theo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.theo.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.theo.Items.AddRange(new object[] {
         "Tỷ lệ thuốc cấp cứu,thiết yếu,bổ sung",
         "Danh sách mặt hàng cao nhất",
         "Danh sách thành tiền theo nhóm",
         "Tình hình cung cấp theo nhà sản xuất",
         "Tình hình cung cấp theo nhà cung cấp",
         "Quàn lý số đăng ký",
         "Quản lý giá",
         "Quản lý hạn dùng",
         "Quản lý thuốc nội-ngoại",
         "Sử dụng theo khoa/phòng"
     });
     this.theo.Location = new System.Drawing.Point(296, 5);
     this.theo.Name     = "theo";
     this.theo.Size     = new System.Drawing.Size(554, 21);
     this.theo.TabIndex = 5;
     //
     // nhapxuat
     //
     this.nhapxuat.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.nhapxuat.Location = new System.Drawing.Point(6, 713);
     this.nhapxuat.Name     = "nhapxuat";
     this.nhapxuat.Size     = new System.Drawing.Size(202, 34);
     this.nhapxuat.TabIndex = 33;
     this.nhapxuat.TabStop  = false;
     //
     // rb3
     //
     this.rb3.Checked  = true;
     this.rb3.Location = new System.Drawing.Point(112, 12);
     this.rb3.Name     = "rb3";
     this.rb3.Size     = new System.Drawing.Size(80, 16);
     this.rb3.TabIndex = 2;
     this.rb3.TabStop  = true;
     this.rb3.Text     = "Nhập-xuất";
     //
     // rb2
     //
     this.rb2.Location = new System.Drawing.Point(64, 12);
     this.rb2.Name     = "rb2";
     this.rb2.Size     = new System.Drawing.Size(48, 18);
     this.rb2.TabIndex = 1;
     this.rb2.Text     = "Xuất";
     //
     // rb1
     //
     this.rb1.Location = new System.Drawing.Point(8, 12);
     this.rb1.Name     = "rb1";
     this.rb1.Size     = new System.Drawing.Size(56, 16);
     this.rb1.TabIndex = 0;
     this.rb1.Text     = "Nhập";
     //
     // tenhc
     //
     this.tenhc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.tenhc.BackColor = System.Drawing.SystemColors.HighlightText;
     this.tenhc.Enabled   = false;
     this.tenhc.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenhc.Location  = new System.Drawing.Point(428, 27);
     this.tenhc.Name      = "tenhc";
     this.tenhc.Size      = new System.Drawing.Size(422, 21);
     this.tenhc.TabIndex  = 10;
     //
     // label5
     //
     this.label5.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label5.Location  = new System.Drawing.Point(1212, 5);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(44, 23);
     this.label5.TabIndex  = 35;
     this.label5.Text      = "tháng :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mm
     //
     this.mm.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.mm.BackColor = System.Drawing.SystemColors.HighlightText;
     this.mm.Enabled   = false;
     this.mm.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mm.Location  = new System.Drawing.Point(1253, 5);
     this.mm.Maximum   = new decimal(new int[] {
         12,
         0,
         0,
         0
     });
     this.mm.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.Name     = "mm";
     this.mm.Size     = new System.Drawing.Size(34, 21);
     this.mm.TabIndex = 6;
     this.mm.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     //
     // yyyy
     //
     this.yyyy.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.yyyy.BackColor = System.Drawing.SystemColors.HighlightText;
     this.yyyy.Enabled   = false;
     this.yyyy.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.yyyy.Location  = new System.Drawing.Point(1295, 5);
     this.yyyy.Maximum   = new decimal(new int[] {
         3000,
         0,
         0,
         0
     });
     this.yyyy.Minimum = new decimal(new int[] {
         2000,
         0,
         0,
         0
     });
     this.yyyy.Name     = "yyyy";
     this.yyyy.Size     = new System.Drawing.Size(48, 21);
     this.yyyy.TabIndex = 7;
     this.yyyy.Value    = new decimal(new int[] {
         2000,
         0,
         0,
         0
     });
     //
     // label6
     //
     this.label6.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label6.Location  = new System.Drawing.Point(1281, 2);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(16, 23);
     this.label6.TabIndex  = 38;
     this.label6.Text      = "/";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // bieudo
     //
     this.bieudo.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.bieudo.Appearance = System.Windows.Forms.Appearance.Button;
     this.bieudo.Image      = global::Duoc.Properties.Resources.Export;
     this.bieudo.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.bieudo.Location   = new System.Drawing.Point(443, 719);
     this.bieudo.Name       = "bieudo";
     this.bieudo.Size       = new System.Drawing.Size(68, 25);
     this.bieudo.TabIndex   = 15;
     this.bieudo.Text       = "Biểu đồ";
     this.bieudo.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // dothi
     //
     //this.dothi.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     //            | System.Windows.Forms.AnchorStyles.Left)
     //            | System.Windows.Forms.AnchorStyles.Right)));
     //this.dothi.AngleColor = 20F;
     //this.dothi.BGround1 = System.Drawing.Color.Red;
     //this.dothi.BGround2 = System.Drawing.Color.Blue;
     //this.dothi.isVisibleX = true;
     //this.dothi.isVisibleY1 = true;
     //this.dothi.isVisibleY2 = true;
     //this.dothi.Location = new System.Drawing.Point(208, 52);
     //this.dothi.Name = "dothi";
     //this.dothi.Size = new System.Drawing.Size(642, 442);
     //this.dothi.TabIndex = 39;
     //this.dothi.TileChia = 1000;
     //this.dothi.Title = "Tiêu đề của biểu đồ";
     //this.dothi.Visible = false;
     //this.dothi.XAxis_max = 500;
     //this.dothi.XAxis_min = 0;
     //this.dothi.XAxis_Title = "Đơn vị theo trục x";
     //this.dothi.Y2Axis_max = 500;
     //this.dothi.Y2Axis_min = 0;
     //this.dothi.Y2Axis_Title = "Số tiền ( ĐVT : 1000 đ)";
     //this.dothi.YAxis_max = 500;
     //this.dothi.YAxis_min = 0;
     //this.dothi.YAxis_Title = "Số tiền ( ĐVT : 1000 đ)";
     //
     // frmTruyvan
     //
     this.ClientSize = new System.Drawing.Size(851, 496);
     this.Controls.Add(this.tenbd);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.den);
     this.Controls.Add(this.manhom);
     this.Controls.Add(this.maloai);
     this.Controls.Add(this.butTonghop);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.dang);
     this.Controls.Add(this.mabd);
     this.Controls.Add(this.listDMBD);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.theo);
     this.Controls.Add(this.nhapxuat);
     this.Controls.Add(this.rb3);
     this.Controls.Add(this.rb2);
     this.Controls.Add(this.rb1);
     this.Controls.Add(this.tenhc);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.mm);
     this.Controls.Add(this.yyyy);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.bieudo);
     //this.Controls.Add(this.dothi);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name  = "frmTruyvan";
     this.Load += new System.EventHandler(this.frmTruyvan_Load);
     ((System.ComponentModel.ISupportInitialize)(this.mm)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #16
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmUser));
     this.label1     = new System.Windows.Forms.Label();
     this.hoten      = new System.Windows.Forms.TextBox();
     this.userid     = new System.Windows.Forms.TextBox();
     this.label2     = new System.Windows.Forms.Label();
     this.password   = new System.Windows.Forms.TextBox();
     this.label3     = new System.Windows.Forms.Label();
     this.label4     = new System.Windows.Forms.Label();
     this.nhom       = new System.Windows.Forms.ComboBox();
     this.butOk      = new System.Windows.Forms.Button();
     this.butCancel  = new System.Windows.Forms.Button();
     this.makp       = new System.Windows.Forms.CheckedListBox();
     this.madoituong = new System.Windows.Forms.CheckedListBox();
     this.nhomkho    = new System.Windows.Forms.CheckedListBox();
     this.tenbs      = new System.Windows.Forms.TextBox();
     this.mabs       = new System.Windows.Forms.TextBox();
     this.label5     = new System.Windows.Forms.Label();
     this.listBS     = new LibList.List();
     this.khudt      = new System.Windows.Forms.CheckedListBox();
     this.cbocn      = new System.Windows.Forms.ComboBox();
     this.label6     = new System.Windows.Forms.Label();
     this.chkduyetcv = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(-5, 10);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(64, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Họ tên :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // hoten
     //
     this.hoten.BackColor = System.Drawing.SystemColors.HighlightText;
     this.hoten.Font      = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.hoten.Location  = new System.Drawing.Point(59, 10);
     this.hoten.MaxLength = 50;
     this.hoten.Name      = "hoten";
     this.hoten.Size      = new System.Drawing.Size(197, 23);
     this.hoten.TabIndex  = 1;
     this.hoten.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.hoten_KeyDown);
     //
     // userid
     //
     this.userid.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.userid.Font       = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.userid.Location   = new System.Drawing.Point(59, 35);
     this.userid.MaxLength  = 10;
     this.userid.Name       = "userid";
     this.userid.Size       = new System.Drawing.Size(197, 23);
     this.userid.TabIndex   = 3;
     this.userid.Validated += new System.EventHandler(this.userid_Validated);
     this.userid.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.userid_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(-5, 35);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(64, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Tên Login :"******"Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.password.Location     = new System.Drawing.Point(59, 60);
     this.password.MaxLength    = 10;
     this.password.Name         = "password";
     this.password.PasswordChar = '*';
     this.password.Size         = new System.Drawing.Size(197, 23);
     this.password.TabIndex     = 5;
     this.password.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.password_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(-5, 60);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Password :"******"label4";
     this.label4.Size      = new System.Drawing.Size(64, 23);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Nhóm :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // nhom
     //
     this.nhom.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.nhom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.nhom.Font          = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nhom.Items.AddRange(new object[] {
         "Quản trị hệ thống",
         "Quản trị khoa/Phòng",
         "Người dùng",
         "Nhập liệu khoa/phòng"
     });
     this.nhom.Location              = new System.Drawing.Point(59, 85);
     this.nhom.Name                  = "nhom";
     this.nhom.Size                  = new System.Drawing.Size(197, 24);
     this.nhom.TabIndex              = 7;
     this.nhom.SelectedIndexChanged += new System.EventHandler(this.nhom_SelectedIndexChanged);
     this.nhom.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.nhom_KeyDown);
     //
     // butOk
     //
     this.butOk.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butOk.Image        = ((System.Drawing.Image)(resources.GetObject("butOk.Image")));
     this.butOk.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butOk.Location     = new System.Drawing.Point(110, 280);
     this.butOk.Name         = "butOk";
     this.butOk.Size         = new System.Drawing.Size(70, 25);
     this.butOk.TabIndex     = 10;
     this.butOk.Text         = "     &Lưu";
     this.butOk.Click       += new System.EventHandler(this.butOk_Click);
     //
     // butCancel
     //
     this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butCancel.Image        = ((System.Drawing.Image)(resources.GetObject("butCancel.Image")));
     this.butCancel.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butCancel.Location     = new System.Drawing.Point(181, 280);
     this.butCancel.Name         = "butCancel";
     this.butCancel.Size         = new System.Drawing.Size(70, 25);
     this.butCancel.TabIndex     = 11;
     this.butCancel.Text         = "&Kết thúc";
     this.butCancel.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     this.butCancel.Click       += new System.EventHandler(this.butCancel_Click);
     //
     // makp
     //
     this.makp.CheckOnClick = true;
     this.makp.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makp.Location     = new System.Drawing.Point(259, 9);
     this.makp.Name         = "makp";
     this.makp.Size         = new System.Drawing.Size(202, 308);
     this.makp.TabIndex     = 12;
     this.makp.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.makp_KeyDown);
     //
     // madoituong
     //
     this.madoituong.CheckOnClick = true;
     this.madoituong.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madoituong.Location     = new System.Drawing.Point(59, 161);
     this.madoituong.Name         = "madoituong";
     this.madoituong.Size         = new System.Drawing.Size(197, 116);
     this.madoituong.TabIndex     = 13;
     this.madoituong.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.makp_KeyDown);
     //
     // nhomkho
     //
     this.nhomkho.CheckOnClick = true;
     this.nhomkho.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nhomkho.Location     = new System.Drawing.Point(463, 10);
     this.nhomkho.Name         = "nhomkho";
     this.nhomkho.Size         = new System.Drawing.Size(161, 180);
     this.nhomkho.TabIndex     = 14;
     //
     // tenbs
     //
     this.tenbs.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tenbs.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenbs.Location     = new System.Drawing.Point(98, 111);
     this.tenbs.Name         = "tenbs";
     this.tenbs.Size         = new System.Drawing.Size(158, 21);
     this.tenbs.TabIndex     = 9;
     this.tenbs.TextChanged += new System.EventHandler(this.tenbs_TextChanged);
     this.tenbs.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tenbs_KeyDown);
     //
     // mabs
     //
     this.mabs.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.mabs.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.mabs.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabs.Location        = new System.Drawing.Point(59, 111);
     this.mabs.Name            = "mabs";
     this.mabs.Size            = new System.Drawing.Size(38, 21);
     this.mabs.TabIndex        = 8;
     this.mabs.Validated      += new System.EventHandler(this.mabs_Validated);
     this.mabs.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(-5, 110);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(64, 23);
     this.label5.TabIndex  = 30;
     this.label5.Text      = "Y Bác sỹ :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // listBS
     //
     this.listBS.BackColor          = System.Drawing.SystemColors.Info;
     this.listBS.ColumnCount        = 0;
     this.listBS.Location           = new System.Drawing.Point(8, 285);
     this.listBS.MatchBufferTimeOut = 1000;
     this.listBS.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listBS.Name       = "listBS";
     this.listBS.Size       = new System.Drawing.Size(75, 17);
     this.listBS.TabIndex   = 226;
     this.listBS.TextIndex  = -1;
     this.listBS.TextMember = null;
     this.listBS.ValueIndex = -1;
     this.listBS.Visible    = false;
     //
     // khudt
     //
     this.khudt.CheckOnClick = true;
     this.khudt.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.khudt.Location     = new System.Drawing.Point(463, 200);
     this.khudt.Name         = "khudt";
     this.khudt.Size         = new System.Drawing.Size(161, 116);
     this.khudt.TabIndex     = 227;
     //
     // cbocn
     //
     this.cbocn.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.cbocn.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbocn.Font          = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbocn.Items.AddRange(new object[] {
         "Quản trị hệ thống",
         "Quản trị khoa/Phòng",
         "Người dùng",
         "Nhập liệu khoa/phòng"
     });
     this.cbocn.Location              = new System.Drawing.Point(59, 134);
     this.cbocn.Name                  = "cbocn";
     this.cbocn.Size                  = new System.Drawing.Size(197, 24);
     this.cbocn.TabIndex              = 229;
     this.cbocn.SelectedIndexChanged += new System.EventHandler(this.cbocn_SelectedIndexChanged);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(-5, 134);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(64, 23);
     this.label6.TabIndex  = 228;
     this.label6.Text      = "Chọn CN :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chkduyetcv
     //
     this.chkduyetcv.AutoSize = true;
     this.chkduyetcv.Location = new System.Drawing.Point(4, 305);
     this.chkduyetcv.Name     = "chkduyetcv";
     this.chkduyetcv.Size     = new System.Drawing.Size(115, 17);
     this.chkduyetcv.TabIndex = 230;
     this.chkduyetcv.Text     = "Duyệt chuyển viện";
     this.chkduyetcv.UseVisualStyleBackColor = true;
     //
     // frmUser
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(626, 325);
     this.Controls.Add(this.chkduyetcv);
     this.Controls.Add(this.cbocn);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.khudt);
     this.Controls.Add(this.listBS);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.tenbs);
     this.Controls.Add(this.mabs);
     this.Controls.Add(this.nhomkho);
     this.Controls.Add(this.madoituong);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.butCancel);
     this.Controls.Add(this.butOk);
     this.Controls.Add(this.nhom);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.password);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.userid);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.hoten);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmUser";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Thêm người dùng";
     this.Load           += new System.EventHandler(this.frmUser_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmdmchinhanh));
     this.dataGrid1       = new System.Windows.Forms.DataGrid();
     this.butKetthuc      = new System.Windows.Forms.Button();
     this.label1          = new System.Windows.Forms.Label();
     this.butMoi          = new System.Windows.Forms.Button();
     this.butLuu          = new System.Windows.Forms.Button();
     this.butBoqua        = new System.Windows.Forms.Button();
     this.butHuy          = new System.Windows.Forms.Button();
     this.butSua          = new System.Windows.Forms.Button();
     this.txtid           = new System.Windows.Forms.TextBox();
     this.txtten          = new System.Windows.Forms.TextBox();
     this.label2          = new System.Windows.Forms.Label();
     this.txtip           = new System.Windows.Forms.TextBox();
     this.label3          = new System.Windows.Forms.Label();
     this.txtdatabaselink = new System.Windows.Forms.TextBox();
     this.label4          = new System.Windows.Forms.Label();
     this.txtviettat      = new System.Windows.Forms.TextBox();
     this.label5          = new System.Windows.Forms.Label();
     this.chkserver       = new System.Windows.Forms.CheckBox();
     this.label6          = new System.Windows.Forms.Label();
     this.mabv            = new MaskedTextBox.MaskedTextBox();
     this.label7          = new System.Windows.Forms.Label();
     this.txtDatabase     = new System.Windows.Forms.TextBox();
     this.label8          = new System.Windows.Forms.Label();
     this.txtTenvien      = new System.Windows.Forms.TextBox();
     this.txtPort         = new System.Windows.Forms.MaskedTextBox();
     this.listTenvien     = new LibList.List();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGrid1.BackColor           = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle         = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor    = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor    = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember          = "";
     this.dataGrid1.FlatMode            = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(8, -15);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(624, 332);
     this.dataGrid1.TabIndex            = 9;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // butKetthuc
     //
     this.butKetthuc.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(562, 415);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 26);
     this.butKetthuc.TabIndex   = 15;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.Location  = new System.Drawing.Point(18, 320);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(61, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Mã số:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butMoi
     //
     this.butMoi.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(217, 415);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(64, 26);
     this.butMoi.TabIndex   = 12;
     this.butMoi.Text       = "   &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butLuu
     //
     this.butLuu.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(352, 415);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 26);
     this.butLuu.TabIndex   = 10;
     this.butLuu.Text       = "    &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(422, 415);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 26);
     this.butBoqua.TabIndex   = 11;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(492, 415);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 26);
     this.butHuy.TabIndex   = 13;
     this.butHuy.Text       = "     &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // butSua
     //
     this.butSua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(282, 415);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 26);
     this.butSua.TabIndex   = 14;
     this.butSua.Text       = "   &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // txtid
     //
     this.txtid.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.txtid.BackColor = System.Drawing.Color.White;
     this.txtid.Enabled   = false;
     this.txtid.Location  = new System.Drawing.Point(79, 323);
     this.txtid.Name      = "txtid";
     this.txtid.Size      = new System.Drawing.Size(51, 20);
     this.txtid.TabIndex  = 0;
     this.txtid.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.tenbv_KeyDown);
     //
     // txtten
     //
     this.txtten.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.txtten.BackColor = System.Drawing.Color.White;
     this.txtten.Enabled   = false;
     this.txtten.Location  = new System.Drawing.Point(181, 323);
     this.txtten.Name      = "txtten";
     this.txtten.Size      = new System.Drawing.Size(451, 20);
     this.txtten.TabIndex  = 1;
     this.txtten.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.tenbv_KeyDown);
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.Location  = new System.Drawing.Point(146, 320);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(32, 23);
     this.label2.TabIndex  = 12;
     this.label2.Text      = "Tên:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtip
     //
     this.txtip.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.txtip.BackColor = System.Drawing.Color.White;
     this.txtip.Enabled   = false;
     this.txtip.Location  = new System.Drawing.Point(467, 367);
     this.txtip.Name      = "txtip";
     this.txtip.Size      = new System.Drawing.Size(165, 20);
     this.txtip.TabIndex  = 5;
     this.txtip.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.tenbv_KeyDown);
     //
     // label3
     //
     this.label3.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.Location  = new System.Drawing.Point(434, 365);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(32, 23);
     this.label3.TabIndex  = 16;
     this.label3.Text      = "IP :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtdatabaselink
     //
     this.txtdatabaselink.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.txtdatabaselink.BackColor = System.Drawing.Color.White;
     this.txtdatabaselink.Enabled   = false;
     this.txtdatabaselink.Location  = new System.Drawing.Point(79, 367);
     this.txtdatabaselink.Name      = "txtdatabaselink";
     this.txtdatabaselink.Size      = new System.Drawing.Size(354, 20);
     this.txtdatabaselink.TabIndex  = 4;
     this.txtdatabaselink.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.tenbv_KeyDown);
     //
     // label4
     //
     this.label4.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label4.Location  = new System.Drawing.Point(-6, 365);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(85, 23);
     this.label4.TabIndex  = 14;
     this.label4.Text      = "Database link:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtviettat
     //
     this.txtviettat.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.txtviettat.BackColor       = System.Drawing.Color.White;
     this.txtviettat.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtviettat.Enabled         = false;
     this.txtviettat.Location        = new System.Drawing.Point(79, 389);
     this.txtviettat.Name            = "txtviettat";
     this.txtviettat.Size            = new System.Drawing.Size(51, 20);
     this.txtviettat.TabIndex        = 6;
     this.txtviettat.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.tenbv_KeyDown);
     //
     // label5
     //
     this.label5.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label5.Location  = new System.Drawing.Point(14, 387);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(64, 23);
     this.label5.TabIndex  = 18;
     this.label5.Text      = "Viết tắt:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chkserver
     //
     this.chkserver.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.chkserver.AutoSize = true;
     this.chkserver.Location = new System.Drawing.Point(528, 391);
     this.chkserver.Name     = "chkserver";
     this.chkserver.Size     = new System.Drawing.Size(104, 17);
     this.chkserver.TabIndex = 9;
     this.chkserver.Text     = "Server trung tâm";
     this.chkserver.UseVisualStyleBackColor = true;
     this.chkserver.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tenbv_KeyDown);
     //
     // label6
     //
     this.label6.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label6.Location  = new System.Drawing.Point(5, 344);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(80, 21);
     this.label6.TabIndex  = 19;
     this.label6.Text      = "Mã chi nhánh:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // mabv
     //
     this.mabv.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.mabv.BackColor  = System.Drawing.Color.White;
     this.mabv.Enabled    = false;
     this.mabv.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabv.Location   = new System.Drawing.Point(79, 345);
     this.mabv.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.mabv.MaxLength  = 8;
     this.mabv.Name       = "mabv";
     this.mabv.Size       = new System.Drawing.Size(97, 21);
     this.mabv.TabIndex   = 2;
     this.mabv.Validated += new System.EventHandler(this.mabv_Validated);
     this.mabv.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.tenbv_KeyDown);
     //
     // label7
     //
     this.label7.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.label7.Location  = new System.Drawing.Point(434, 388);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(32, 20);
     this.label7.TabIndex  = 77;
     this.label7.Text      = "Port:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtDatabase
     //
     this.txtDatabase.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtDatabase.BackColor = System.Drawing.Color.White;
     this.txtDatabase.Enabled   = false;
     this.txtDatabase.Location  = new System.Drawing.Point(181, 389);
     this.txtDatabase.Name      = "txtDatabase";
     this.txtDatabase.Size      = new System.Drawing.Size(252, 20);
     this.txtDatabase.TabIndex  = 7;
     this.txtDatabase.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.tenbv_KeyDown);
     //
     // label8
     //
     this.label8.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label8.Location  = new System.Drawing.Point(128, 387);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(57, 23);
     this.label8.TabIndex  = 80;
     this.label8.Text      = "Database:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtTenvien
     //
     this.txtTenvien.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.txtTenvien.BackColor    = System.Drawing.Color.White;
     this.txtTenvien.Enabled      = false;
     this.txtTenvien.Location     = new System.Drawing.Point(181, 345);
     this.txtTenvien.Name         = "txtTenvien";
     this.txtTenvien.Size         = new System.Drawing.Size(451, 20);
     this.txtTenvien.TabIndex     = 3;
     this.txtTenvien.TextChanged += new System.EventHandler(this.txtTenvien_TextChanged);
     this.txtTenvien.Validated   += new System.EventHandler(this.txtTenvien_Validated);
     this.txtTenvien.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.txtTenvien_KeyDown);
     //
     // txtPort
     //
     this.txtPort.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.txtPort.BackColor  = System.Drawing.Color.White;
     this.txtPort.Enabled    = false;
     this.txtPort.Location   = new System.Drawing.Point(467, 388);
     this.txtPort.Mask       = "0000";
     this.txtPort.Name       = "txtPort";
     this.txtPort.PromptChar = ' ';
     this.txtPort.Size       = new System.Drawing.Size(55, 20);
     this.txtPort.TabIndex   = 8;
     this.txtPort.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.tenbv_KeyDown);
     //
     // listTenvien
     //
     this.listTenvien.BackColor          = System.Drawing.SystemColors.Info;
     this.listTenvien.ColumnCount        = 0;
     this.listTenvien.FormattingEnabled  = true;
     this.listTenvien.Location           = new System.Drawing.Point(89, 414);
     this.listTenvien.MatchBufferTimeOut = 1000;
     this.listTenvien.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listTenvien.Name       = "listTenvien";
     this.listTenvien.Size       = new System.Drawing.Size(75, 17);
     this.listTenvien.TabIndex   = 82;
     this.listTenvien.TextIndex  = -1;
     this.listTenvien.TextMember = null;
     this.listTenvien.ValueIndex = -1;
     this.listTenvien.Visible    = false;
     //
     // frmdmchinhanh
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(644, 443);
     this.Controls.Add(this.txtPort);
     this.Controls.Add(this.listTenvien);
     this.Controls.Add(this.txtTenvien);
     this.Controls.Add(this.txtviettat);
     this.Controls.Add(this.txtDatabase);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.mabv);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.chkserver);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.txtip);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.txtdatabaselink);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.txtten);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.txtid);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview    = true;
     this.Name          = "frmdmchinhanh";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục chi nhánh";
     this.Load         += new System.EventHandler(this.frmdmchinhanh_Load);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmdmchinhanh_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #18
0
ファイル: frmCdkemtheo.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCdkemtheo));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.cd_chinh   = new System.Windows.Forms.TextBox();
     this.icd_chinh  = new MaskedTextBox.MaskedTextBox();
     this.listICD    = new LibList.List();
     this.butThem    = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.stt        = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor      = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor     = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember           = "";
     this.dataGrid1.FlatMode             = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(8, -15);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(656, 236);
     this.dataGrid1.TabIndex            = 20;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // cd_chinh
     //
     this.cd_chinh.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.cd_chinh.Enabled      = false;
     this.cd_chinh.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cd_chinh.Location     = new System.Drawing.Point(65, 228);
     this.cd_chinh.Name         = "cd_chinh";
     this.cd_chinh.Size         = new System.Drawing.Size(599, 21);
     this.cd_chinh.TabIndex     = 1;
     this.cd_chinh.TextChanged += new System.EventHandler(this.cd_chinh_TextChanged);
     this.cd_chinh.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.cd_chinh_KeyDown);
     //
     // icd_chinh
     //
     this.icd_chinh.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.icd_chinh.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.icd_chinh.Enabled         = false;
     this.icd_chinh.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.icd_chinh.Location        = new System.Drawing.Point(5, 228);
     this.icd_chinh.Masked          = MaskedTextBox.MaskedTextBox.Mask.ICD10;
     this.icd_chinh.MaxLength       = 9;
     this.icd_chinh.Name            = "icd_chinh";
     this.icd_chinh.Size            = new System.Drawing.Size(59, 21);
     this.icd_chinh.TabIndex        = 0;
     this.icd_chinh.Validated      += new System.EventHandler(this.icd_chinh_Validated);
     //
     // listICD
     //
     this.listICD.BackColor          = System.Drawing.SystemColors.Info;
     this.listICD.ColumnCount        = 0;
     this.listICD.Location           = new System.Drawing.Point(400, 328);
     this.listICD.MatchBufferTimeOut = 1000;
     this.listICD.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listICD.Name       = "listICD";
     this.listICD.Size       = new System.Drawing.Size(75, 17);
     this.listICD.TabIndex   = 8;
     this.listICD.TextIndex  = -1;
     this.listICD.TextMember = null;
     this.listICD.ValueIndex = -1;
     this.listICD.Visible    = false;
     //
     // butThem
     //
     this.butThem.Image      = global::Duoc.Properties.Resources.add;
     this.butThem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butThem.Location   = new System.Drawing.Point(141, 264);
     this.butThem.Name       = "butThem";
     this.butThem.Size       = new System.Drawing.Size(70, 25);
     this.butThem.TabIndex   = 4;
     this.butThem.Text       = "&Thêm";
     this.butThem.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butThem.Click     += new System.EventHandler(this.butThem_Click);
     //
     // butSua
     //
     this.butSua.Image      = global::Duoc.Properties.Resources.quick_edit;
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(211, 264);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 25);
     this.butSua.TabIndex   = 5;
     this.butSua.Text       = "     &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butLuu
     //
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = global::Duoc.Properties.Resources.save;
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(281, 264);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 2;
     this.butLuu.Text       = "    &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = global::Duoc.Properties.Resources.undo_ok;
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(351, 264);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 3;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Image      = global::Duoc.Properties.Resources.delete_enabled;
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(421, 264);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 6;
     this.butHuy.Text       = "    &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = global::Duoc.Properties.Resources.close_r;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(491, 264);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 7;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // stt
     //
     this.stt.Location = new System.Drawing.Point(32, 160);
     this.stt.Name     = "stt";
     this.stt.Size     = new System.Drawing.Size(24, 20);
     this.stt.TabIndex = 9;
     //
     // frmCdkemtheo
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(672, 349);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butThem);
     this.Controls.Add(this.listICD);
     this.Controls.Add(this.cd_chinh);
     this.Controls.Add(this.icd_chinh);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.stt);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frmCdkemtheo";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Bệnh kèm theo";
     this.Load           += new System.EventHandler(this.frmCdkemtheo_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #19
0
ファイル: frmCosotutruc.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCosotutruc));
     this.label9     = new System.Windows.Forms.Label();
     this.label10    = new System.Windows.Forms.Label();
     this.listDMBD   = new LibList.List();
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.label13    = new System.Windows.Forms.Label();
     this.lTen       = new System.Windows.Forms.Label();
     this.ldvt       = new System.Windows.Forms.Label();
     this.label16    = new System.Windows.Forms.Label();
     this.tenbd      = new System.Windows.Forms.TextBox();
     this.mabd       = new System.Windows.Forms.TextBox();
     this.dang       = new MaskedBox.MaskedBox();
     this.soluong    = new MaskedTextBox.MaskedTextBox();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butTim     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.stt        = new System.Windows.Forms.TextBox();
     this.tenhc      = new System.Windows.Forms.TextBox();
     this.lTenhc     = new System.Windows.Forms.Label();
     this.tenhang    = new System.Windows.Forms.TextBox();
     this.tennuoc    = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label9.Location  = new System.Drawing.Point(120, 475);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(48, 23);
     this.label9.TabIndex  = 8;
     this.label9.Text      = "Hãng :";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label10
     //
     this.label10.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label10.Location  = new System.Drawing.Point(457, 477);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(48, 23);
     this.label10.TabIndex  = 9;
     this.label10.Text      = "Nước :";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // listDMBD
     //
     this.listDMBD.BackColor          = System.Drawing.SystemColors.Info;
     this.listDMBD.ColumnCount        = 0;
     this.listDMBD.Location           = new System.Drawing.Point(376, 544);
     this.listDMBD.MatchBufferTimeOut = 1000;
     this.listDMBD.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listDMBD.Name       = "listDMBD";
     this.listDMBD.Size       = new System.Drawing.Size(75, 17);
     this.listDMBD.TabIndex   = 26;
     this.listDMBD.TextIndex  = -1;
     this.listDMBD.TextMember = null;
     this.listDMBD.ValueIndex = -1;
     this.listDMBD.Visible    = false;
     this.listDMBD.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.listDMBD_KeyDown);
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGrid1.BackColor           = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle         = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor    = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor    = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember          = "";
     this.dataGrid1.FlatMode            = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(8, -16);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(776, 464);
     this.dataGrid1.TabIndex            = 0;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // label13
     //
     this.label13.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label13.Location  = new System.Drawing.Point(18, 452);
     this.label13.Name      = "label13";
     this.label13.Size      = new System.Drawing.Size(32, 23);
     this.label13.TabIndex  = 28;
     this.label13.Text      = "Mã :";
     this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lTen
     //
     this.lTen.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lTen.Location  = new System.Drawing.Point(112, 452);
     this.lTen.Name      = "lTen";
     this.lTen.Size      = new System.Drawing.Size(56, 23);
     this.lTen.TabIndex  = 29;
     this.lTen.Text      = "Tên :";
     this.lTen.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ldvt
     //
     this.ldvt.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.ldvt.Location  = new System.Drawing.Point(16, 475);
     this.ldvt.Name      = "ldvt";
     this.ldvt.Size      = new System.Drawing.Size(34, 23);
     this.ldvt.TabIndex  = 30;
     this.ldvt.Text      = "ĐVT :";
     this.ldvt.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label16
     //
     this.label16.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label16.Location  = new System.Drawing.Point(656, 475);
     this.label16.Name      = "label16";
     this.label16.Size      = new System.Drawing.Size(56, 23);
     this.label16.TabIndex  = 31;
     this.label16.Text      = "Số lượng :";
     this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tenbd
     //
     this.tenbd.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.tenbd.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tenbd.Enabled      = false;
     this.tenbd.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenbd.Location     = new System.Drawing.Point(168, 452);
     this.tenbd.Name         = "tenbd";
     this.tenbd.Size         = new System.Drawing.Size(272, 21);
     this.tenbd.TabIndex     = 2;
     this.tenbd.Validated   += new System.EventHandler(this.tenbd_Validated);
     this.tenbd.TextChanged += new System.EventHandler(this.tenbd_TextChanged);
     this.tenbd.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tenbd_KeyDown);
     //
     // mabd
     //
     this.mabd.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.mabd.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.mabd.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.mabd.Enabled         = false;
     this.mabd.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabd.Location        = new System.Drawing.Point(50, 452);
     this.mabd.Name            = "mabd";
     this.mabd.Size            = new System.Drawing.Size(71, 21);
     this.mabd.TabIndex        = 1;
     this.mabd.Validated      += new System.EventHandler(this.mabd_Validated);
     this.mabd.TextChanged    += new System.EventHandler(this.mabd_TextChanged);
     this.mabd.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.tenbd_KeyDown);
     //
     // dang
     //
     this.dang.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.dang.BackColor = System.Drawing.SystemColors.HighlightText;
     this.dang.Enabled   = false;
     this.dang.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dang.Location  = new System.Drawing.Point(50, 475);
     this.dang.Mask      = "";
     this.dang.MaxLength = 10;
     this.dang.Name      = "dang";
     this.dang.Size      = new System.Drawing.Size(71, 21);
     this.dang.TabIndex  = 4;
     //
     // soluong
     //
     this.soluong.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.soluong.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.soluong.Enabled    = false;
     this.soluong.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.soluong.Location   = new System.Drawing.Point(714, 475);
     this.soluong.Masked     = MaskedTextBox.MaskedTextBox.Mask.Decimal;
     this.soluong.Name       = "soluong";
     this.soluong.Size       = new System.Drawing.Size(71, 21);
     this.soluong.TabIndex   = 7;
     this.soluong.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.soluong.Validated += new System.EventHandler(this.soluong_Validated);
     //
     // butMoi
     //
     this.butMoi.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butMoi.Image      = global::Duoc.Properties.Resources.add;
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(139, 506);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 14;
     this.butMoi.Text       = "    &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butSua
     //
     this.butSua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butSua.Image      = global::Duoc.Properties.Resources.quick_edit;
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(209, 506);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 25);
     this.butSua.TabIndex   = 15;
     this.butSua.Text       = "     &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butLuu
     //
     this.butLuu.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = global::Duoc.Properties.Resources.save;
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(279, 506);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 12;
     this.butLuu.Text       = "     &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butTim
     //
     this.butTim.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butTim.Image      = global::Duoc.Properties.Resources.search;
     this.butTim.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butTim.Location   = new System.Drawing.Point(349, 506);
     this.butTim.Name       = "butTim";
     this.butTim.Size       = new System.Drawing.Size(70, 25);
     this.butTim.TabIndex   = 16;
     this.butTim.Text       = "    &Tìm";
     this.butTim.Click     += new System.EventHandler(this.butTim_Click);
     //
     // butBoqua
     //
     this.butBoqua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = global::Duoc.Properties.Resources.undo_ok;
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(419, 506);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 13;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butHuy.Image      = global::Duoc.Properties.Resources.delete_enabled;
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(489, 506);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 17;
     this.butHuy.Text       = "     &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // butIn
     //
     this.butIn.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butIn.Image      = global::Duoc.Properties.Resources.Print1;
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(559, 506);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 18;
     this.butIn.Text       = "    &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butKetthuc.Image      = global::Duoc.Properties.Resources.close_r;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(629, 506);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 19;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // stt
     //
     this.stt.Enabled  = false;
     this.stt.Location = new System.Drawing.Point(64, 352);
     this.stt.Name     = "stt";
     this.stt.Size     = new System.Drawing.Size(40, 20);
     this.stt.TabIndex = 60;
     //
     // tenhc
     //
     this.tenhc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.tenhc.BackColor = System.Drawing.SystemColors.HighlightText;
     this.tenhc.Enabled   = false;
     this.tenhc.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenhc.Location  = new System.Drawing.Point(505, 452);
     this.tenhc.Name      = "tenhc";
     this.tenhc.Size      = new System.Drawing.Size(280, 21);
     this.tenhc.TabIndex  = 3;
     //
     // lTenhc
     //
     this.lTenhc.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lTenhc.Location  = new System.Drawing.Point(431, 451);
     this.lTenhc.Name      = "lTenhc";
     this.lTenhc.Size      = new System.Drawing.Size(74, 23);
     this.lTenhc.TabIndex  = 64;
     this.lTenhc.Text      = "Hoạt chất :";
     this.lTenhc.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tenhang
     //
     this.tenhang.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.tenhang.BackColor = System.Drawing.SystemColors.HighlightText;
     this.tenhang.Enabled   = false;
     this.tenhang.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenhang.Location  = new System.Drawing.Point(168, 475);
     this.tenhang.Name      = "tenhang";
     this.tenhang.Size      = new System.Drawing.Size(272, 21);
     this.tenhang.TabIndex  = 65;
     //
     // tennuoc
     //
     this.tennuoc.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.tennuoc.BackColor = System.Drawing.SystemColors.HighlightText;
     this.tennuoc.Enabled   = false;
     this.tennuoc.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tennuoc.Location  = new System.Drawing.Point(505, 475);
     this.tennuoc.Name      = "tennuoc";
     this.tennuoc.Size      = new System.Drawing.Size(152, 21);
     this.tennuoc.TabIndex  = 66;
     //
     // frmCosotutruc
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 573);
     this.Controls.Add(this.tennuoc);
     this.Controls.Add(this.tenhang);
     this.Controls.Add(this.mabd);
     this.Controls.Add(this.tenbd);
     this.Controls.Add(this.tenhc);
     this.Controls.Add(this.lTenhc);
     this.Controls.Add(this.dang);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butTim);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.soluong);
     this.Controls.Add(this.label16);
     this.Controls.Add(this.ldvt);
     this.Controls.Add(this.lTen);
     this.Controls.Add(this.label13);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.listDMBD);
     this.Controls.Add(this.stt);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmCosotutruc";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Cơ số tủ trực";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Load         += new System.EventHandler(this.frmCosotutruc_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #20
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInbaoan));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.label3     = new System.Windows.Forms.Label();
     this.label6     = new System.Windows.Forms.Label();
     this.makp       = new System.Windows.Forms.ComboBox();
     this.phieu      = new System.Windows.Forms.CheckedListBox();
     this.label7     = new System.Windows.Forms.Label();
     this.tennv      = new System.Windows.Forms.TextBox();
     this.manv       = new MaskedTextBox.MaskedTextBox();
     this.listNv     = new LibList.List();
     this.label8     = new System.Windows.Forms.Label();
     this.madoituong = new System.Windows.Forms.ComboBox();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.chkxml     = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 5);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(144, 5);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(32, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "đến :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(64, 5);
     this.tu.Name         = "tu";
     this.tu.Size         = new System.Drawing.Size(80, 21);
     this.tu.TabIndex     = 1;
     this.tu.Validated   += new System.EventHandler(this.tu_Validated);
     this.tu.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // den
     //
     this.den.CustomFormat = "dd/MM/yyyy";
     this.den.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(176, 5);
     this.den.Name         = "den";
     this.den.Size         = new System.Drawing.Size(80, 21);
     this.den.TabIndex     = 3;
     this.den.Validated   += new System.EventHandler(this.den_Validated);
     this.den.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.den_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(8, 28);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(56, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Khoa :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(8, 92);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(56, 23);
     this.label6.TabIndex  = 11;
     this.label6.Text      = "Phiếu :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // makp
     //
     this.makp.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.makp.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makp.Location      = new System.Drawing.Point(64, 27);
     this.makp.Name          = "makp";
     this.makp.Size          = new System.Drawing.Size(192, 21);
     this.makp.TabIndex      = 5;
     this.makp.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.makp_KeyDown);
     //
     // phieu
     //
     this.phieu.CheckOnClick = true;
     this.phieu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.phieu.Location     = new System.Drawing.Point(64, 96);
     this.phieu.Name         = "phieu";
     this.phieu.Size         = new System.Drawing.Size(192, 100);
     this.phieu.TabIndex     = 12;
     this.phieu.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(-3, 72);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(67, 23);
     this.label7.TabIndex  = 8;
     this.label7.Text      = "Y tá (ĐDV) :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tennv
     //
     this.tennv.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tennv.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tennv.Location     = new System.Drawing.Point(102, 73);
     this.tennv.Name         = "tennv";
     this.tennv.Size         = new System.Drawing.Size(154, 21);
     this.tennv.TabIndex     = 10;
     this.tennv.TextChanged += new System.EventHandler(this.tennv_TextChanged);
     this.tennv.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tennv_KeyDown);
     //
     // manv
     //
     this.manv.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.manv.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.manv.ForeColor  = System.Drawing.SystemColors.WindowText;
     this.manv.Location   = new System.Drawing.Point(64, 73);
     this.manv.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.manv.Name       = "manv";
     this.manv.Size       = new System.Drawing.Size(36, 21);
     this.manv.TabIndex   = 9;
     this.manv.Validated += new System.EventHandler(this.manv_Validated);
     //
     // listNv
     //
     this.listNv.BackColor          = System.Drawing.SystemColors.Info;
     this.listNv.ColumnCount        = 0;
     this.listNv.Location           = new System.Drawing.Point(-17, 118);
     this.listNv.MatchBufferTimeOut = 1000;
     this.listNv.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listNv.Name       = "listNv";
     this.listNv.Size       = new System.Drawing.Size(75, 17);
     this.listNv.TabIndex   = 23;
     this.listNv.TextIndex  = -1;
     this.listNv.TextMember = null;
     this.listNv.ValueIndex = -1;
     this.listNv.Visible    = false;
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(6, 49);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(61, 23);
     this.label8.TabIndex  = 6;
     this.label8.Text      = "Đối tượng :";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // madoituong
     //
     this.madoituong.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madoituong.Location = new System.Drawing.Point(64, 50);
     this.madoituong.Name     = "madoituong";
     this.madoituong.Size     = new System.Drawing.Size(192, 21);
     this.madoituong.TabIndex = 7;
     this.madoituong.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // butIn
     //
     this.butIn.Image      = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(62, 207);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 13;
     this.butIn.Text       = "     &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = global::Medisoft.Properties.Resources.exit1;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(133, 207);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 14;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // chkxml
     //
     this.chkxml.AutoSize = true;
     this.chkxml.Location = new System.Drawing.Point(222, 200);
     this.chkxml.Name     = "chkxml";
     this.chkxml.Size     = new System.Drawing.Size(48, 17);
     this.chkxml.TabIndex = 24;
     this.chkxml.Text     = "XML";
     this.chkxml.UseVisualStyleBackColor = true;
     //
     // frmInbaoan
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(264, 243);
     this.Controls.Add(this.chkxml);
     this.Controls.Add(this.madoituong);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.listNv);
     this.Controls.Add(this.tennv);
     this.Controls.Add(this.manv);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.phieu);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmInbaoan";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "In phiếu báo ăn";
     this.Load           += new System.EventHandler(this.frmInbaoan_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #21
0
ファイル: frmSDThuoc.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSDThuoc));
     this.den       = new System.Windows.Forms.DateTimePicker();
     this.tu        = new System.Windows.Forms.DateTimePicker();
     this.label2    = new System.Windows.Forms.Label();
     this.label1    = new System.Windows.Forms.Label();
     this.makp      = new System.Windows.Forms.ComboBox();
     this.label3    = new System.Windows.Forms.Label();
     this.label4    = new System.Windows.Forms.Label();
     this.dataGrid1 = new System.Windows.Forms.DataGrid();
     this.butExit   = new System.Windows.Forms.Button();
     this.butOk     = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.rb3       = new System.Windows.Forms.RadioButton();
     this.rb2       = new System.Windows.Forms.RadioButton();
     this.rb1       = new System.Windows.Forms.RadioButton();
     this.lbl1      = new System.Windows.Forms.Label();
     this.lbl2      = new System.Windows.Forms.Label();
     this.mabd      = new System.Windows.Forms.TextBox();
     this.tenbd     = new System.Windows.Forms.TextBox();
     this.listDMBD  = new LibList.List();
     this.dang      = new MaskedBox.MaskedBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // den
     //
     this.den.CustomFormat = "dd/MM/yyyy";
     this.den.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(168, 5);
     this.den.Name         = "den";
     this.den.Size         = new System.Drawing.Size(80, 21);
     this.den.TabIndex     = 3;
     this.den.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // tu
     //
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(56, 5);
     this.tu.Name         = "tu";
     this.tu.Size         = new System.Drawing.Size(80, 21);
     this.tu.TabIndex     = 1;
     this.tu.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(136, 6);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(32, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "đến :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(0, 6);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // makp
     //
     this.makp.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makp.Location = new System.Drawing.Point(288, 5);
     this.makp.Name     = "makp";
     this.makp.Size     = new System.Drawing.Size(144, 21);
     this.makp.TabIndex = 5;
     this.makp.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(248, 6);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(40, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Khoa :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(428, 6);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(64, 23);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Tên thuốc :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor      = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor     = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember           = "";
     this.dataGrid1.FlatMode             = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(12, 11);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(768, 445);
     this.dataGrid1.TabIndex            = 14;
     //
     // butExit
     //
     this.butExit.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butExit.Image        = global::Medisoft.Properties.Resources.exit1;
     this.butExit.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butExit.Location     = new System.Drawing.Point(398, 496);
     this.butExit.Name         = "butExit";
     this.butExit.Size         = new System.Drawing.Size(94, 25);
     this.butExit.TabIndex     = 13;
     this.butExit.Text         = "&Kết thúc";
     this.butExit.Click       += new System.EventHandler(this.butExit_Click);
     //
     // butOk
     //
     this.butOk.Image      = ((System.Drawing.Image)(resources.GetObject("butOk.Image")));
     this.butOk.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butOk.Location   = new System.Drawing.Point(310, 496);
     this.butOk.Name       = "butOk";
     this.butOk.Size       = new System.Drawing.Size(85, 25);
     this.butOk.TabIndex   = 12;
     this.butOk.Text       = "&Tổng hợp";
     this.butOk.Click     += new System.EventHandler(this.butOk_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.rb3);
     this.groupBox1.Controls.Add(this.rb2);
     this.groupBox1.Controls.Add(this.rb1);
     this.groupBox1.Location = new System.Drawing.Point(257, 456);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(273, 34);
     this.groupBox1.TabIndex = 15;
     this.groupBox1.TabStop  = false;
     //
     // rb3
     //
     this.rb3.Location = new System.Drawing.Point(190, 11);
     this.rb3.Name     = "rb3";
     this.rb3.Size     = new System.Drawing.Size(79, 18);
     this.rb3.TabIndex = 2;
     this.rb3.Text     = "Ra viện";
     //
     // rb2
     //
     this.rb2.Location = new System.Drawing.Point(78, 12);
     this.rb2.Name     = "rb2";
     this.rb2.Size     = new System.Drawing.Size(108, 18);
     this.rb2.TabIndex = 1;
     this.rb2.Text     = "Đang điều trị";
     //
     // rb1
     //
     this.rb1.Checked  = true;
     this.rb1.Location = new System.Drawing.Point(6, 11);
     this.rb1.Name     = "rb1";
     this.rb1.Size     = new System.Drawing.Size(56, 18);
     this.rb1.TabIndex = 0;
     this.rb1.TabStop  = true;
     this.rb1.Text     = "Cả hai";
     //
     // lbl1
     //
     this.lbl1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lbl1.ForeColor = System.Drawing.Color.Red;
     this.lbl1.Location  = new System.Drawing.Point(12, 458);
     this.lbl1.Name      = "lbl1";
     this.lbl1.Size      = new System.Drawing.Size(164, 16);
     this.lbl1.TabIndex  = 19;
     this.lbl1.Text      = "Số ca :";
     this.lbl1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbl2
     //
     this.lbl2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lbl2.ForeColor = System.Drawing.Color.Red;
     this.lbl2.Location  = new System.Drawing.Point(12, 480);
     this.lbl2.Name      = "lbl2";
     this.lbl2.Size      = new System.Drawing.Size(172, 16);
     this.lbl2.TabIndex  = 20;
     this.lbl2.Text      = "Số lượng :";
     this.lbl2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // mabd
     //
     this.mabd.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.mabd.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.mabd.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabd.Location        = new System.Drawing.Point(488, 5);
     this.mabd.Name            = "mabd";
     this.mabd.Size            = new System.Drawing.Size(48, 21);
     this.mabd.TabIndex        = 7;
     this.mabd.TextChanged    += new System.EventHandler(this.mabd_TextChanged);
     this.mabd.Validated      += new System.EventHandler(this.mabd_Validated);
     this.mabd.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.tenbd_KeyDown);
     //
     // tenbd
     //
     this.tenbd.BackColor = System.Drawing.SystemColors.HighlightText;
     this.tenbd.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenbd.Location  = new System.Drawing.Point(539, 5);
     this.tenbd.Name      = "tenbd";
     this.tenbd.Size      = new System.Drawing.Size(195, 21);
     this.tenbd.TabIndex  = 8;
     this.tenbd.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.tenbd_KeyDown);
     //
     // listDMBD
     //
     this.listDMBD.BackColor          = System.Drawing.SystemColors.Info;
     this.listDMBD.ColumnCount        = 0;
     this.listDMBD.Location           = new System.Drawing.Point(576, 520);
     this.listDMBD.MatchBufferTimeOut = 1000;
     this.listDMBD.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listDMBD.Name       = "listDMBD";
     this.listDMBD.Size       = new System.Drawing.Size(75, 17);
     this.listDMBD.TabIndex   = 27;
     this.listDMBD.TextIndex  = -1;
     this.listDMBD.TextMember = null;
     this.listDMBD.ValueIndex = -1;
     this.listDMBD.Visible    = false;
     this.listDMBD.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.listDMBD_KeyDown);
     //
     // dang
     //
     this.dang.BackColor = System.Drawing.SystemColors.HighlightText;
     this.dang.Enabled   = false;
     this.dang.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dang.Location  = new System.Drawing.Point(736, 5);
     this.dang.Mask      = "";
     this.dang.MaxLength = 10;
     this.dang.Name      = "dang";
     this.dang.Size      = new System.Drawing.Size(47, 21);
     this.dang.TabIndex  = 28;
     //
     // frmSDThuoc
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.butExit;
     this.ClientSize        = new System.Drawing.Size(792, 572);
     this.Controls.Add(this.dang);
     this.Controls.Add(this.listDMBD);
     this.Controls.Add(this.mabd);
     this.Controls.Add(this.tenbd);
     this.Controls.Add(this.lbl2);
     this.Controls.Add(this.lbl1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.butExit);
     this.Controls.Add(this.butOk);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmSDThuoc";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh sách người bệnh sử dụng 1 loại thuốc";
     this.Load         += new System.EventHandler(this.frmSDThuoc_Load);
     this.MouseMove    += new System.Windows.Forms.MouseEventHandler(this.frmSDThuoc_MouseMove);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #22
0
ファイル: frmTkchuyenvien.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTkchuyenvien));
     this.den        = new MaskedBox.MaskedBox();
     this.tu         = new MaskedBox.MaskedBox();
     this.label2     = new System.Windows.Forms.Label();
     this.label1     = new System.Windows.Forms.Label();
     this.matuyen    = new System.Windows.Forms.ComboBox();
     this.matt       = new System.Windows.Forms.ComboBox();
     this.label6     = new System.Windows.Forms.Label();
     this.label3     = new System.Windows.Forms.Label();
     this.listdstt   = new LibList.List();
     this.madstt     = new MaskedTextBox.MaskedTextBox();
     this.tendstt    = new System.Windows.Forms.TextBox();
     this.label9     = new System.Windows.Forms.Label();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.solieu     = new System.Windows.Forms.ComboBox();
     this.label4     = new System.Windows.Forms.Label();
     this.chkXML     = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // den
     //
     this.den.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Location   = new System.Drawing.Point(240, 7);
     this.den.Mask       = "##/##/####";
     this.den.Name       = "den";
     this.den.Size       = new System.Drawing.Size(64, 21);
     this.den.TabIndex   = 3;
     this.den.Text       = "  /  /    ";
     this.den.Validated += new System.EventHandler(this.den_Validated);
     //
     // tu
     //
     this.tu.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Location   = new System.Drawing.Point(88, 7);
     this.tu.Mask       = "##/##/####";
     this.tu.Name       = "tu";
     this.tu.Size       = new System.Drawing.Size(64, 21);
     this.tu.TabIndex   = 1;
     this.tu.Text       = "  /  /    ";
     this.tu.Validated += new System.EventHandler(this.tu_Validated);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(168, 7);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(72, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "đến ngày :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(32, 7);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // matuyen
     //
     this.matuyen.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.matuyen.Location = new System.Drawing.Point(88, 51);
     this.matuyen.Name     = "matuyen";
     this.matuyen.Size     = new System.Drawing.Size(216, 21);
     this.matuyen.TabIndex = 7;
     this.matuyen.KeyDown += new System.Windows.Forms.KeyEventHandler(this.matuyen_KeyDown);
     //
     // matt
     //
     this.matt.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.matt.Location = new System.Drawing.Point(88, 29);
     this.matt.Name     = "matt";
     this.matt.Size     = new System.Drawing.Size(216, 21);
     this.matt.TabIndex = 5;
     this.matt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.matt_KeyDown);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(40, 51);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(48, 23);
     this.label6.TabIndex  = 6;
     this.label6.Text      = "Tuyến :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(-8, 29);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(96, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Tỉnh/thành phố :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // listdstt
     //
     this.listdstt.BackColor          = System.Drawing.SystemColors.Info;
     this.listdstt.ColumnCount        = 0;
     this.listdstt.Location           = new System.Drawing.Point(232, 145);
     this.listdstt.MatchBufferTimeOut = 1000;
     this.listdstt.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listdstt.Name       = "listdstt";
     this.listdstt.Size       = new System.Drawing.Size(75, 17);
     this.listdstt.TabIndex   = 13;
     this.listdstt.TextIndex  = -1;
     this.listdstt.TextMember = null;
     this.listdstt.ValueIndex = -1;
     this.listdstt.Visible    = false;
     this.listdstt.Validated += new System.EventHandler(this.listdstt_Validated);
     //
     // madstt
     //
     this.madstt.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.madstt.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madstt.Location   = new System.Drawing.Point(88, 73);
     this.madstt.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.madstt.MaxLength  = 8;
     this.madstt.Name       = "madstt";
     this.madstt.Size       = new System.Drawing.Size(55, 21);
     this.madstt.TabIndex   = 9;
     this.madstt.Validated += new System.EventHandler(this.madstt_Validated);
     //
     // tendstt
     //
     this.tendstt.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tendstt.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tendstt.Location     = new System.Drawing.Point(144, 73);
     this.tendstt.Name         = "tendstt";
     this.tendstt.Size         = new System.Drawing.Size(160, 21);
     this.tendstt.TabIndex     = 10;
     this.tendstt.Validated   += new System.EventHandler(this.tendstt_Validated);
     this.tendstt.TextChanged += new System.EventHandler(this.tendstt_TextChanged);
     this.tendstt.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tendstt_KeyDown);
     //
     // label9
     //
     this.label9.ForeColor = System.Drawing.SystemColors.WindowText;
     this.label9.Location  = new System.Drawing.Point(2, 73);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(88, 23);
     this.label9.TabIndex  = 8;
     this.label9.Text      = "Chuyển viện :";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butIn
     //
     this.butIn.Image      = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(85, 143);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 13;
     this.butIn.Text       = "      &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(157, 143);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 14;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // solieu
     //
     this.solieu.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.solieu.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.solieu.Items.AddRange(new object[] {
         "Nội trú",
         "Ngoại trú",
         "Phòng lưu",
         "Phòng khám"
     });
     this.solieu.Location = new System.Drawing.Point(88, 95);
     this.solieu.Name     = "solieu";
     this.solieu.Size     = new System.Drawing.Size(216, 21);
     this.solieu.TabIndex = 12;
     this.solieu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.solieu_KeyDown);
     //
     // label4
     //
     this.label4.ForeColor = System.Drawing.SystemColors.WindowText;
     this.label4.Location  = new System.Drawing.Point(18, 95);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(72, 23);
     this.label4.TabIndex  = 11;
     this.label4.Text      = "Số liệu :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chkXML
     //
     this.chkXML.AutoSize = true;
     this.chkXML.Location = new System.Drawing.Point(88, 121);
     this.chkXML.Name     = "chkXML";
     this.chkXML.Size     = new System.Drawing.Size(85, 17);
     this.chkXML.TabIndex = 15;
     this.chkXML.Text     = "Xuất ra XML";
     this.chkXML.UseVisualStyleBackColor = true;
     //
     // frmTkchuyenvien
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(312, 182);
     this.Controls.Add(this.chkXML);
     this.Controls.Add(this.solieu);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.listdstt);
     this.Controls.Add(this.madstt);
     this.Controls.Add(this.tendstt);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.matuyen);
     this.Controls.Add(this.matt);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmTkchuyenvien";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Chuyển viện";
     this.MouseMove    += new System.Windows.Forms.MouseEventHandler(this.frmTkchuyenden_MouseMove);
     this.Load         += new System.EventHandler(this.frmTkchuyenvien_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #23
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDmhuyet));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.ten        = new System.Windows.Forms.TextBox();
     this.label3     = new System.Windows.Forms.Label();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.listICD    = new LibList.List();
     this.maicd      = new MaskedTextBox.MaskedTextBox();
     this.tenicd     = new System.Windows.Forms.TextBox();
     this.label5     = new System.Windows.Forms.Label();
     this.tenbs      = new System.Windows.Forms.TextBox();
     this.listBS     = new LibList.List();
     this.mabs       = new System.Windows.Forms.TextBox();
     this.label49    = new System.Windows.Forms.Label();
     this.stt        = new System.Windows.Forms.NumericUpDown();
     this.noidung    = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.stt)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGrid1.BackColor           = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle         = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor    = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor    = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember          = "";
     this.dataGrid1.FlatMode            = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(7, -16);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(594, 333);
     this.dataGrid1.TabIndex            = 19;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // butKetthuc
     //
     this.butKetthuc.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(424, 480);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 12;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.Location  = new System.Drawing.Point(26, 323);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(32, 23);
     this.label1.TabIndex  = 21;
     this.label1.Text      = "Stt :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.Location  = new System.Drawing.Point(97, 323);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(50, 23);
     this.label2.TabIndex  = 23;
     this.label2.Text      = "Tên :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ten
     //
     this.ten.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.ten.BackColor = System.Drawing.SystemColors.HighlightText;
     this.ten.Enabled   = false;
     this.ten.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location  = new System.Drawing.Point(149, 323);
     this.ten.Name      = "ten";
     this.ten.Size      = new System.Drawing.Size(451, 21);
     this.ten.TabIndex  = 1;
     this.ten.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // label3
     //
     this.label3.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label3.Location  = new System.Drawing.Point(-8, 392);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(66, 23);
     this.label3.TabIndex  = 25;
     this.label3.Text      = "Nội dung :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butMoi
     //
     this.butMoi.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(114, 480);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(60, 25);
     this.butMoi.TabIndex   = 9;
     this.butMoi.Text       = "     &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butSua
     //
     this.butSua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(176, 480);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(60, 25);
     this.butSua.TabIndex   = 10;
     this.butSua.Text       = "     &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butLuu
     //
     this.butLuu.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(238, 480);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(60, 25);
     this.butLuu.TabIndex   = 7;
     this.butLuu.Text       = "     &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(300, 480);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(60, 25);
     this.butBoqua.TabIndex   = 8;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(362, 480);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(60, 25);
     this.butHuy.TabIndex   = 11;
     this.butHuy.Text       = "     &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // listICD
     //
     this.listICD.BackColor          = System.Drawing.SystemColors.Info;
     this.listICD.ColumnCount        = 0;
     this.listICD.Location           = new System.Drawing.Point(467, 500);
     this.listICD.MatchBufferTimeOut = 1000;
     this.listICD.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listICD.Name       = "listICD";
     this.listICD.Size       = new System.Drawing.Size(75, 17);
     this.listICD.TabIndex   = 44;
     this.listICD.TextIndex  = -1;
     this.listICD.TextMember = null;
     this.listICD.ValueIndex = -1;
     this.listICD.Visible    = false;
     //
     // maicd
     //
     this.maicd.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.maicd.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.maicd.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.maicd.Enabled         = false;
     this.maicd.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maicd.Location        = new System.Drawing.Point(59, 369);
     this.maicd.Masked          = MaskedTextBox.MaskedTextBox.Mask.ICD10;
     this.maicd.MaxLength       = 9;
     this.maicd.Name            = "maicd";
     this.maicd.Size            = new System.Drawing.Size(48, 21);
     this.maicd.TabIndex        = 4;
     this.maicd.Validated      += new System.EventHandler(this.ma_Validated);
     //
     // tenicd
     //
     this.tenicd.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.tenicd.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tenicd.Enabled      = false;
     this.tenicd.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenicd.Location     = new System.Drawing.Point(109, 369);
     this.tenicd.Name         = "tenicd";
     this.tenicd.Size         = new System.Drawing.Size(492, 21);
     this.tenicd.TabIndex     = 5;
     this.tenicd.TextChanged += new System.EventHandler(this.ten_TextChanged);
     this.tenicd.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // label5
     //
     this.label5.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label5.Location  = new System.Drawing.Point(-6, 369);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(64, 23);
     this.label5.TabIndex  = 43;
     this.label5.Text      = "Tên bệnh :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tenbs
     //
     this.tenbs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.tenbs.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tenbs.Enabled      = false;
     this.tenbs.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenbs.Location     = new System.Drawing.Point(94, 346);
     this.tenbs.Name         = "tenbs";
     this.tenbs.Size         = new System.Drawing.Size(506, 21);
     this.tenbs.TabIndex     = 3;
     this.tenbs.TextChanged += new System.EventHandler(this.tenbs_TextChanged);
     this.tenbs.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tenbs_KeyDown);
     //
     // listBS
     //
     this.listBS.BackColor          = System.Drawing.SystemColors.Info;
     this.listBS.ColumnCount        = 0;
     this.listBS.Location           = new System.Drawing.Point(542, 538);
     this.listBS.MatchBufferTimeOut = 1000;
     this.listBS.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listBS.Name       = "listBS";
     this.listBS.Size       = new System.Drawing.Size(75, 17);
     this.listBS.TabIndex   = 229;
     this.listBS.TextIndex  = -1;
     this.listBS.TextMember = null;
     this.listBS.ValueIndex = -1;
     this.listBS.Visible    = false;
     //
     // mabs
     //
     this.mabs.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.mabs.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.mabs.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.mabs.Enabled         = false;
     this.mabs.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabs.Location        = new System.Drawing.Point(59, 346);
     this.mabs.Name            = "mabs";
     this.mabs.Size            = new System.Drawing.Size(32, 21);
     this.mabs.TabIndex        = 2;
     this.mabs.Validated      += new System.EventHandler(this.mabs_Validated);
     this.mabs.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // label49
     //
     this.label49.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label49.BackColor = System.Drawing.SystemColors.Control;
     this.label49.ForeColor = System.Drawing.SystemColors.WindowText;
     this.label49.Location  = new System.Drawing.Point(-6, 346);
     this.label49.Name      = "label49";
     this.label49.Size      = new System.Drawing.Size(64, 23);
     this.label49.TabIndex  = 228;
     this.label49.Text      = "Bác sỹ :";
     this.label49.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // stt
     //
     this.stt.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.stt.Enabled  = false;
     this.stt.Location = new System.Drawing.Point(59, 324);
     this.stt.Name     = "stt";
     this.stt.Size     = new System.Drawing.Size(53, 20);
     this.stt.TabIndex = 0;
     this.stt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // noidung
     //
     this.noidung.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.noidung.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.noidung.Enabled    = false;
     this.noidung.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.noidung.Location   = new System.Drawing.Point(59, 393);
     this.noidung.Multiline  = true;
     this.noidung.Name       = "noidung";
     this.noidung.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.noidung.Size       = new System.Drawing.Size(541, 81);
     this.noidung.TabIndex   = 6;
     //
     // frmDmhuyet
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(608, 516);
     this.Controls.Add(this.noidung);
     this.Controls.Add(this.stt);
     this.Controls.Add(this.tenbs);
     this.Controls.Add(this.listBS);
     this.Controls.Add(this.mabs);
     this.Controls.Add(this.label49);
     this.Controls.Add(this.listICD);
     this.Controls.Add(this.maicd);
     this.Controls.Add(this.tenicd);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmDmhuyet";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục huyệt";
     this.Load         += new System.EventHandler(this.frmDmhuyet_Load);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmDmhuyet_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.stt)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #24
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmChonkp));
     this.makp      = new System.Windows.Forms.ComboBox();
     this.label2    = new System.Windows.Forms.Label();
     this.label1    = new System.Windows.Forms.Label();
     this.phong     = new System.Windows.Forms.ComboBox();
     this.label5    = new System.Windows.Forms.Label();
     this.tenbs     = new System.Windows.Forms.TextBox();
     this.mabs      = new System.Windows.Forms.TextBox();
     this.listBS    = new LibList.List();
     this.butCancel = new System.Windows.Forms.Button();
     this.butOk     = new System.Windows.Forms.Button();
     this.tenba     = new System.Windows.Forms.ComboBox();
     this.label3    = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // makp
     //
     this.makp.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.makp.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makp.Location              = new System.Drawing.Point(48, 8);
     this.makp.Name                  = "makp";
     this.makp.Size                  = new System.Drawing.Size(200, 21);
     this.makp.TabIndex              = 0;
     this.makp.SelectedIndexChanged += new System.EventHandler(this.makp_SelectedIndexChanged);
     this.makp.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(15, 8);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(40, 24);
     this.label2.TabIndex  = 3;
     this.label2.Text      = "Khoa :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(7, 55);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 24);
     this.label1.TabIndex  = 5;
     this.label1.Text      = "Phòng :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // phong
     //
     this.phong.BackColor = System.Drawing.SystemColors.HighlightText;
     this.phong.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.phong.Location  = new System.Drawing.Point(48, 55);
     this.phong.Name      = "phong";
     this.phong.Size      = new System.Drawing.Size(200, 21);
     this.phong.TabIndex  = 2;
     this.phong.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(-9, 79);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(64, 23);
     this.label5.TabIndex  = 33;
     this.label5.Text      = "Y Bác sĩ :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tenbs
     //
     this.tenbs.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tenbs.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenbs.Location     = new System.Drawing.Point(88, 79);
     this.tenbs.Name         = "tenbs";
     this.tenbs.Size         = new System.Drawing.Size(160, 21);
     this.tenbs.TabIndex     = 4;
     this.tenbs.TextChanged += new System.EventHandler(this.tenbs_TextChanged);
     this.tenbs.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tenbs_KeyDown);
     //
     // mabs
     //
     this.mabs.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.mabs.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.mabs.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabs.Location        = new System.Drawing.Point(48, 79);
     this.mabs.Name            = "mabs";
     this.mabs.Size            = new System.Drawing.Size(38, 21);
     this.mabs.TabIndex        = 3;
     this.mabs.Validated      += new System.EventHandler(this.mabs_Validated);
     this.mabs.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // listBS
     //
     this.listBS.BackColor          = System.Drawing.SystemColors.Info;
     this.listBS.ColumnCount        = 0;
     this.listBS.Location           = new System.Drawing.Point(168, 156);
     this.listBS.MatchBufferTimeOut = 1000;
     this.listBS.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listBS.Name       = "listBS";
     this.listBS.Size       = new System.Drawing.Size(75, 17);
     this.listBS.TabIndex   = 227;
     this.listBS.TextIndex  = -1;
     this.listBS.TextMember = null;
     this.listBS.ValueIndex = -1;
     this.listBS.Visible    = false;
     //
     // butCancel
     //
     this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butCancel.Image        = global::Medisoft.Properties.Resources.exit1;
     this.butCancel.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butCancel.Location     = new System.Drawing.Point(130, 108);
     this.butCancel.Name         = "butCancel";
     this.butCancel.Size         = new System.Drawing.Size(74, 28);
     this.butCancel.TabIndex     = 6;
     this.butCancel.Text         = "&Kết thúc";
     this.butCancel.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     this.butCancel.Click       += new System.EventHandler(this.butCancel_Click);
     //
     // butOk
     //
     this.butOk.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butOk.Image        = ((System.Drawing.Image)(resources.GetObject("butOk.Image")));
     this.butOk.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butOk.Location     = new System.Drawing.Point(54, 108);
     this.butOk.Name         = "butOk";
     this.butOk.Size         = new System.Drawing.Size(72, 28);
     this.butOk.TabIndex     = 5;
     this.butOk.Text         = "&Đồng ý";
     this.butOk.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     this.butOk.Click       += new System.EventHandler(this.butOk_Click);
     //
     // tenba
     //
     this.tenba.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.tenba.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.tenba.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenba.Location      = new System.Drawing.Point(48, 32);
     this.tenba.Name          = "tenba";
     this.tenba.Size          = new System.Drawing.Size(200, 21);
     this.tenba.TabIndex      = 1;
     this.tenba.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.mabs_KeyDown);
     //
     // label3
     //
     this.label3.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.SystemColors.WindowText;
     this.label3.Location  = new System.Drawing.Point(-1, 32);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(56, 23);
     this.label3.TabIndex  = 229;
     this.label3.Text      = "Bệnh án :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // frmChonkp
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(258, 191);
     this.Controls.Add(this.tenba);
     this.Controls.Add(this.butCancel);
     this.Controls.Add(this.butOk);
     this.Controls.Add(this.listBS);
     this.Controls.Add(this.tenbs);
     this.Controls.Add(this.mabs);
     this.Controls.Add(this.phong);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frmChonkp";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Chọn thông tin";
     this.Load           += new System.EventHandler(this.frmChonkp_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #25
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmChonvpk));
     this.label1     = new System.Windows.Forms.Label();
     this.mabn       = new System.Windows.Forms.TextBox();
     this.label2     = new System.Windows.Forms.Label();
     this.hoten      = new System.Windows.Forms.TextBox();
     this.label3     = new System.Windows.Forms.Label();
     this.tuoi       = new System.Windows.Forms.TextBox();
     this.treeView1  = new System.Windows.Forms.TreeView();
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.list       = new LibList.List();
     this.label4     = new System.Windows.Forms.Label();
     this.madoituong = new System.Windows.Forms.ComboBox();
     this.label5     = new System.Windows.Forms.Label();
     this.ten        = new System.Windows.Forms.TextBox();
     this.label6     = new System.Windows.Forms.Label();
     this.soluong    = new MaskedTextBox.MaskedTextBox();
     this.label7     = new System.Windows.Forms.Label();
     this.tenkp      = new System.Windows.Forms.TextBox();
     this.mavp       = new System.Windows.Forms.TextBox();
     this.butLietke  = new System.Windows.Forms.Button();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label8     = new System.Windows.Forms.Label();
     this.sothe      = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Mã BN :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mabn
     //
     this.mabn.BackColor = System.Drawing.SystemColors.HighlightText;
     this.mabn.Enabled   = false;
     this.mabn.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabn.Location  = new System.Drawing.Point(56, 8);
     this.mabn.Name      = "mabn";
     this.mabn.Size      = new System.Drawing.Size(56, 21);
     this.mabn.TabIndex  = 1;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(108, 8);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(48, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Họ tên :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // hoten
     //
     this.hoten.BackColor = System.Drawing.SystemColors.HighlightText;
     this.hoten.Enabled   = false;
     this.hoten.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.hoten.Location  = new System.Drawing.Point(156, 8);
     this.hoten.Name      = "hoten";
     this.hoten.Size      = new System.Drawing.Size(152, 21);
     this.hoten.TabIndex  = 3;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(306, 8);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(35, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Tuổi :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tuoi
     //
     this.tuoi.BackColor = System.Drawing.SystemColors.HighlightText;
     this.tuoi.Enabled   = false;
     this.tuoi.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tuoi.Location  = new System.Drawing.Point(340, 8);
     this.tuoi.Name      = "tuoi";
     this.tuoi.Size      = new System.Drawing.Size(48, 21);
     this.tuoi.TabIndex  = 5;
     //
     // treeView1
     //
     this.treeView1.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.treeView1.Location     = new System.Drawing.Point(645, 32);
     this.treeView1.Name         = "treeView1";
     this.treeView1.Size         = new System.Drawing.Size(121, 256);
     this.treeView1.TabIndex     = 6;
     this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor      = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor     = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember           = "";
     this.dataGrid1.FlatMode             = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(8, 16);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(632, 272);
     this.dataGrid1.TabIndex            = 7;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // list
     //
     this.list.BackColor          = System.Drawing.SystemColors.Info;
     this.list.ColumnCount        = 0;
     this.list.Location           = new System.Drawing.Point(572, 394);
     this.list.MatchBufferTimeOut = 1000;
     this.list.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.list.Name       = "list";
     this.list.Size       = new System.Drawing.Size(75, 17);
     this.list.TabIndex   = 8;
     this.list.TextIndex  = -1;
     this.list.TextMember = null;
     this.list.ValueIndex = -1;
     this.list.Visible    = false;
     this.list.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.list_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(3, 294);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(64, 23);
     this.label4.TabIndex  = 9;
     this.label4.Text      = "Đối tượng :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // madoituong
     //
     this.madoituong.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.madoituong.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.madoituong.Enabled       = false;
     this.madoituong.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madoituong.Location      = new System.Drawing.Point(64, 296);
     this.madoituong.Name          = "madoituong";
     this.madoituong.Size          = new System.Drawing.Size(96, 21);
     this.madoituong.TabIndex      = 0;
     this.madoituong.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.madoituong_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(156, 296);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(53, 23);
     this.label5.TabIndex  = 11;
     this.label5.Text      = "Dịch vụ :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ten
     //
     this.ten.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.ten.Enabled      = false;
     this.ten.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location     = new System.Drawing.Point(208, 296);
     this.ten.Name         = "ten";
     this.ten.Size         = new System.Drawing.Size(448, 21);
     this.ten.TabIndex     = 1;
     this.ten.TextChanged += new System.EventHandler(this.ten_TextChanged);
     this.ten.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(643, 296);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(67, 23);
     this.label6.TabIndex  = 13;
     this.label6.Text      = "Số lượng :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // soluong
     //
     this.soluong.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.soluong.Enabled    = false;
     this.soluong.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.soluong.Location   = new System.Drawing.Point(710, 296);
     this.soluong.Masked     = MaskedTextBox.MaskedTextBox.Mask.Decimal;
     this.soluong.Name       = "soluong";
     this.soluong.Size       = new System.Drawing.Size(56, 21);
     this.soluong.TabIndex   = 2;
     this.soluong.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.soluong.Validated += new System.EventHandler(this.soluong_Validated);
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(371, 8);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(89, 23);
     this.label7.TabIndex  = 15;
     this.label7.Text      = "Khoa/phòng :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tenkp
     //
     this.tenkp.BackColor = System.Drawing.SystemColors.HighlightText;
     this.tenkp.Enabled   = false;
     this.tenkp.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenkp.Location  = new System.Drawing.Point(460, 8);
     this.tenkp.Name      = "tenkp";
     this.tenkp.Size      = new System.Drawing.Size(140, 21);
     this.tenkp.TabIndex  = 16;
     //
     // mavp
     //
     this.mavp.Enabled  = false;
     this.mavp.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mavp.Location = new System.Drawing.Point(104, 224);
     this.mavp.Name     = "mavp";
     this.mavp.Size     = new System.Drawing.Size(24, 21);
     this.mavp.TabIndex = 17;
     //
     // butLietke
     //
     this.butLietke.Image      = ((System.Drawing.Image)(resources.GetObject("butLietke.Image")));
     this.butLietke.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLietke.Location   = new System.Drawing.Point(139, 328);
     this.butLietke.Name       = "butLietke";
     this.butLietke.Size       = new System.Drawing.Size(70, 25);
     this.butLietke.TabIndex   = 5;
     this.butLietke.Text       = "Liệt kê";
     this.butLietke.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butLietke.Click     += new System.EventHandler(this.butLietke_Click);
     //
     // butMoi
     //
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(209, 328);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 6;
     this.butMoi.Text       = "    &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butSua
     //
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(279, 328);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 25);
     this.butSua.TabIndex   = 7;
     this.butSua.Text       = "    &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butLuu
     //
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(349, 328);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 3;
     this.butLuu.Text       = "    &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(419, 328);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 4;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(489, 328);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 8;
     this.butHuy.Text       = "    &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(559, 328);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 9;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(600, 8);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(47, 23);
     this.label8.TabIndex  = 74;
     this.label8.Text      = "Số thẻ :";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // sothe
     //
     this.sothe.BackColor = System.Drawing.SystemColors.HighlightText;
     this.sothe.Enabled   = false;
     this.sothe.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sothe.Location  = new System.Drawing.Point(645, 8);
     this.sothe.Name      = "sothe";
     this.sothe.Size      = new System.Drawing.Size(120, 21);
     this.sothe.TabIndex  = 73;
     //
     // frmChonvpk
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(770, 423);
     this.Controls.Add(this.madoituong);
     this.Controls.Add(this.tuoi);
     this.Controls.Add(this.tenkp);
     this.Controls.Add(this.sothe);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.butLietke);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.soluong);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.list);
     this.Controls.Add(this.hoten);
     this.Controls.Add(this.mabn);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.treeView1);
     this.Controls.Add(this.mavp);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmChonvpk";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Viện phí tại khoa";
     this.Load           += new System.EventHandler(this.frmChonvpk_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #26
0
ファイル: frmTuvong.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTuvong));
     this.hoten      = new System.Windows.Forms.TextBox();
     this.mabn       = new System.Windows.Forms.TextBox();
     this.label2     = new System.Windows.Forms.Label();
     this.label1     = new System.Windows.Forms.Label();
     this.tuoi       = new System.Windows.Forms.TextBox();
     this.label3     = new System.Windows.Forms.Label();
     this.ngay       = new System.Windows.Forms.TextBox();
     this.label4     = new System.Windows.Forms.Label();
     this.songaydt   = new System.Windows.Forms.TextBox();
     this.label5     = new System.Windows.Forms.Label();
     this.chandoan   = new System.Windows.Forms.TextBox();
     this.maicd      = new MaskedTextBox.MaskedTextBox();
     this.label7     = new System.Windows.Forms.Label();
     this.label6     = new System.Windows.Forms.Label();
     this.label8     = new System.Windows.Forms.Label();
     this.label9     = new System.Windows.Forms.Label();
     this.label10    = new System.Windows.Forms.Label();
     this.label11    = new System.Windows.Forms.Label();
     this.nguyennhan = new System.Windows.Forms.ComboBox();
     this.giaiphau   = new System.Windows.Forms.ComboBox();
     this.khamtuthi  = new System.Windows.Forms.ComboBox();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.ngaynhan   = new MaskedBox.MaskedBox();
     this.ngaymo     = new MaskedBox.MaskedBox();
     this.listICD    = new LibList.List();
     this.ghichu     = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // hoten
     //
     this.hoten.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.hoten.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.hoten.Enabled         = false;
     this.hoten.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.hoten.Location        = new System.Drawing.Point(257, 6);
     this.hoten.Name            = "hoten";
     this.hoten.Size            = new System.Drawing.Size(152, 21);
     this.hoten.TabIndex        = 3;
     //
     // mabn
     //
     this.mabn.BackColor = System.Drawing.SystemColors.HighlightText;
     this.mabn.Enabled   = false;
     this.mabn.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabn.Location  = new System.Drawing.Point(136, 6);
     this.mabn.Name      = "mabn";
     this.mabn.Size      = new System.Drawing.Size(73, 21);
     this.mabn.TabIndex  = 1;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(199, 6);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(56, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Họ tên :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 6);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(128, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Mã BN :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tuoi
     //
     this.tuoi.BackColor = System.Drawing.SystemColors.HighlightText;
     this.tuoi.Enabled   = false;
     this.tuoi.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tuoi.Location  = new System.Drawing.Point(457, 6);
     this.tuoi.Name      = "tuoi";
     this.tuoi.Size      = new System.Drawing.Size(54, 21);
     this.tuoi.TabIndex  = 5;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(416, 6);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(40, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Tuổi :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ngay
     //
     this.ngay.BackColor = System.Drawing.SystemColors.HighlightText;
     this.ngay.Enabled   = false;
     this.ngay.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ngay.Location  = new System.Drawing.Point(136, 29);
     this.ngay.Name      = "ngay";
     this.ngay.Size      = new System.Drawing.Size(96, 21);
     this.ngay.TabIndex  = 7;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(8, 29);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(128, 23);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Ngày giờ tử vong :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // songaydt
     //
     this.songaydt.BackColor = System.Drawing.SystemColors.HighlightText;
     this.songaydt.Enabled   = false;
     this.songaydt.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.songaydt.Location  = new System.Drawing.Point(457, 29);
     this.songaydt.Name      = "songaydt";
     this.songaydt.Size      = new System.Drawing.Size(54, 21);
     this.songaydt.TabIndex  = 9;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(360, 27);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(96, 23);
     this.label5.TabIndex  = 8;
     this.label5.Text      = "Thời gian điều trị :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chandoan
     //
     this.chandoan.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.chandoan.Enabled      = false;
     this.chandoan.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chandoan.Location     = new System.Drawing.Point(195, 118);
     this.chandoan.Name         = "chandoan";
     this.chandoan.Size         = new System.Drawing.Size(317, 21);
     this.chandoan.TabIndex     = 15;
     this.chandoan.Validated   += new System.EventHandler(this.chandoan_Validated);
     this.chandoan.TextChanged += new System.EventHandler(this.chandoan_TextChanged);
     this.chandoan.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.chandoan_KeyDown);
     //
     // maicd
     //
     this.maicd.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.maicd.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.maicd.Enabled         = false;
     this.maicd.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maicd.Location        = new System.Drawing.Point(136, 118);
     this.maicd.Masked          = MaskedTextBox.MaskedTextBox.Mask.ICD10;
     this.maicd.MaxLength       = 9;
     this.maicd.Name            = "maicd";
     this.maicd.Size            = new System.Drawing.Size(56, 21);
     this.maicd.TabIndex        = 14;
     this.maicd.Validated      += new System.EventHandler(this.maicd_Validated);
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(0, 118);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(136, 23);
     this.label7.TabIndex  = 13;
     this.label7.Text      = "Chẩn đoán tử vong :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(56, 49);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(80, 23);
     this.label6.TabIndex  = 10;
     this.label6.Text      = "Nguyên nhân :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(0, 141);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(136, 23);
     this.label8.TabIndex  = 16;
     this.label8.Text      = "Giải phẩu bệnh :";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label9
     //
     this.label9.Location  = new System.Drawing.Point(264, 141);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(152, 24);
     this.label9.TabIndex  = 18;
     this.label9.Text      = "Khám tử thi :";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label10
     //
     this.label10.Location  = new System.Drawing.Point(8, 164);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(128, 23);
     this.label10.TabIndex  = 20;
     this.label10.Text      = "Ngày giờ nhận tử thi :";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label11
     //
     this.label11.Location  = new System.Drawing.Point(264, 164);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(152, 16);
     this.label11.TabIndex  = 22;
     this.label11.Text      = "Ngày giờ mỗ tử thi :";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // nguyennhan
     //
     this.nguyennhan.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.nguyennhan.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.nguyennhan.Enabled       = false;
     this.nguyennhan.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nguyennhan.Location      = new System.Drawing.Point(136, 51);
     this.nguyennhan.Name          = "nguyennhan";
     this.nguyennhan.Size          = new System.Drawing.Size(375, 21);
     this.nguyennhan.TabIndex      = 11;
     this.nguyennhan.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.nguyennhan_KeyDown);
     //
     // giaiphau
     //
     this.giaiphau.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.giaiphau.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.giaiphau.Enabled       = false;
     this.giaiphau.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.giaiphau.Location      = new System.Drawing.Point(136, 141);
     this.giaiphau.Name          = "giaiphau";
     this.giaiphau.Size          = new System.Drawing.Size(96, 21);
     this.giaiphau.TabIndex      = 17;
     this.giaiphau.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.giaiphau_KeyDown);
     //
     // khamtuthi
     //
     this.khamtuthi.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.khamtuthi.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.khamtuthi.Enabled       = false;
     this.khamtuthi.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.khamtuthi.Items.AddRange(new object[] {
         "Không",
         "Có"
     });
     this.khamtuthi.Location              = new System.Drawing.Point(416, 141);
     this.khamtuthi.Name                  = "khamtuthi";
     this.khamtuthi.Size                  = new System.Drawing.Size(96, 21);
     this.khamtuthi.TabIndex              = 19;
     this.khamtuthi.SelectedIndexChanged += new System.EventHandler(this.khamtuthi_SelectedIndexChanged);
     this.khamtuthi.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.khamtuthi_KeyDown);
     //
     // butMoi
     //
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(112, 198);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 26;
     this.butMoi.Text       = "     &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butLuu
     //
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(182, 198);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 24;
     this.butLuu.Text       = "     &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(252, 198);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 25;
     this.butBoqua.Text       = " &Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(322, 198);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 27;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // ngaynhan
     //
     this.ngaynhan.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.ngaynhan.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ngaynhan.Location   = new System.Drawing.Point(136, 164);
     this.ngaynhan.Mask       = "##/##/#### ##:##";
     this.ngaynhan.Name       = "ngaynhan";
     this.ngaynhan.Size       = new System.Drawing.Size(94, 21);
     this.ngaynhan.TabIndex   = 21;
     this.ngaynhan.Text       = "  /  /       :  ";
     this.ngaynhan.Validated += new System.EventHandler(this.ngaynhan_Validated);
     //
     // ngaymo
     //
     this.ngaymo.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.ngaymo.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ngaymo.Location   = new System.Drawing.Point(416, 164);
     this.ngaymo.Mask       = "##/##/#### ##:##";
     this.ngaymo.Name       = "ngaymo";
     this.ngaymo.Size       = new System.Drawing.Size(96, 21);
     this.ngaymo.TabIndex   = 23;
     this.ngaymo.Text       = "  /  /       :  ";
     this.ngaymo.Validated += new System.EventHandler(this.ngaymo_Validated);
     //
     // listICD
     //
     this.listICD.BackColor          = System.Drawing.SystemColors.Info;
     this.listICD.ColumnCount        = 0;
     this.listICD.Location           = new System.Drawing.Point(419, 210);
     this.listICD.MatchBufferTimeOut = 1000;
     this.listICD.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listICD.Name       = "listICD";
     this.listICD.Size       = new System.Drawing.Size(75, 17);
     this.listICD.TabIndex   = 222;
     this.listICD.TextIndex  = -1;
     this.listICD.TextMember = null;
     this.listICD.ValueIndex = -1;
     this.listICD.Visible    = false;
     //
     // ghichu
     //
     this.ghichu.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.ghichu.Enabled      = false;
     this.ghichu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ghichu.Location     = new System.Drawing.Point(136, 73);
     this.ghichu.Multiline    = true;
     this.ghichu.Name         = "ghichu";
     this.ghichu.ScrollBars   = System.Windows.Forms.ScrollBars.Both;
     this.ghichu.Size         = new System.Drawing.Size(376, 43);
     this.ghichu.TabIndex     = 12;
     this.ghichu.TextChanged += new System.EventHandler(this.ghichu_TextChanged);
     //
     // frmTuvong
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(528, 241);
     this.Controls.Add(this.ghichu);
     this.Controls.Add(this.listICD);
     this.Controls.Add(this.ngaymo);
     this.Controls.Add(this.ngaynhan);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.khamtuthi);
     this.Controls.Add(this.giaiphau);
     this.Controls.Add(this.nguyennhan);
     this.Controls.Add(this.songaydt);
     this.Controls.Add(this.ngay);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.chandoan);
     this.Controls.Add(this.maicd);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.tuoi);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.hoten);
     this.Controls.Add(this.mabn);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmTuvong";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Thông tin tử vong";
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmTuvong_KeyDown);
     this.Load         += new System.EventHandler(this.frmTuvong_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #27
0
ファイル: frmDmmaicd.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDmmaicd));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.ten        = new System.Windows.Forms.TextBox();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.ma         = new MaskedTextBox.MaskedTextBox();
     this.listicd    = new LibList.List();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor      = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor     = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember           = "";
     this.dataGrid1.FlatMode             = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(7, -7);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(594, 311);
     this.dataGrid1.TabIndex            = 19;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = global::Medisoft.Properties.Resources.exit1;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(406, 342);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(89, 25);
     this.butKetthuc.TabIndex   = 9;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(0, 312);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(32, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Mã :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(61, 312);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(80, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Tên bệnh :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ten
     //
     this.ten.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.ten.Enabled      = false;
     this.ten.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location     = new System.Drawing.Point(140, 312);
     this.ten.Name         = "ten";
     this.ten.Size         = new System.Drawing.Size(460, 21);
     this.ten.TabIndex     = 3;
     this.ten.TextChanged += new System.EventHandler(this.ten_TextChanged);
     this.ten.Validated   += new System.EventHandler(this.ten_Validated);
     this.ten.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // butMoi
     //
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(122, 342);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(71, 25);
     this.butMoi.TabIndex   = 6;
     this.butMoi.Text       = "&Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butLuu
     //
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(193, 342);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(71, 25);
     this.butLuu.TabIndex   = 4;
     this.butLuu.Text       = "&Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(264, 342);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(71, 25);
     this.butBoqua.TabIndex   = 5;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(335, 342);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(71, 25);
     this.butHuy.TabIndex   = 8;
     this.butHuy.Text       = " &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // ma
     //
     this.ma.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.ma.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.ma.Enabled         = false;
     this.ma.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ma.Location        = new System.Drawing.Point(32, 312);
     this.ma.Masked          = MaskedTextBox.MaskedTextBox.Mask.ICD10;
     this.ma.MaxLength       = 9;
     this.ma.Name            = "ma";
     this.ma.Size            = new System.Drawing.Size(48, 21);
     this.ma.TabIndex        = 1;
     this.ma.Validated      += new System.EventHandler(this.ma_Validated);
     //
     // listicd
     //
     this.listicd.BackColor          = System.Drawing.SystemColors.Info;
     this.listicd.ColumnCount        = 0;
     this.listicd.Location           = new System.Drawing.Point(528, 368);
     this.listicd.MatchBufferTimeOut = 1000;
     this.listicd.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listicd.Name       = "listicd";
     this.listicd.Size       = new System.Drawing.Size(75, 17);
     this.listicd.TabIndex   = 20;
     this.listicd.TextIndex  = -1;
     this.listicd.TextMember = null;
     this.listicd.ValueIndex = -1;
     this.listicd.Visible    = false;
     //
     // frmDmmaicd
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(608, 389);
     this.Controls.Add(this.listicd);
     this.Controls.Add(this.ma);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmDmmaicd";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Chọn ICD thống kê";
     this.Load         += new System.EventHandler(this.frmDmmaicd_Load);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmDmmaicd_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #28
0
ファイル: frmChonbs.cs プロジェクト: tayduivn/mdebv
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmChonbs));
     this.listNv    = new LibList.List();
     this.tenbs     = new System.Windows.Forms.TextBox();
     this.mabs      = new MaskedTextBox.MaskedTextBox();
     this.label1    = new System.Windows.Forms.Label();
     this.butOK     = new System.Windows.Forms.Button();
     this.butCancel = new System.Windows.Forms.Button();
     this.label2    = new System.Windows.Forms.Label();
     this.password  = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // listNv
     //
     this.listNv.BackColor          = System.Drawing.SystemColors.Info;
     this.listNv.ColumnCount        = 0;
     this.listNv.Location           = new System.Drawing.Point(168, 112);
     this.listNv.MatchBufferTimeOut = 1000;
     this.listNv.MatchEntryStyle    = AsYetUnnamed.MatchEntryStyle.FirstLetterInsensitive;
     this.listNv.Name       = "listNv";
     this.listNv.Size       = new System.Drawing.Size(75, 17);
     this.listNv.TabIndex   = 297;
     this.listNv.TextIndex  = -1;
     this.listNv.TextMember = null;
     this.listNv.ValueIndex = -1;
     this.listNv.Visible    = false;
     //
     // tenbs
     //
     this.tenbs.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.tenbs.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tenbs.Location     = new System.Drawing.Point(88, 7);
     this.tenbs.Name         = "tenbs";
     this.tenbs.Size         = new System.Drawing.Size(192, 21);
     this.tenbs.TabIndex     = 1;
     this.tenbs.TextChanged += new System.EventHandler(this.tenbs_TextChanged);
     this.tenbs.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tenbs_KeyDown);
     //
     // mabs
     //
     this.mabs.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.mabs.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.mabs.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mabs.Location        = new System.Drawing.Point(51, 7);
     this.mabs.Masked          = MaskedTextBox.MaskedTextBox.Mask.None;
     this.mabs.MaxLength       = 9;
     this.mabs.Name            = "mabs";
     this.mabs.Size            = new System.Drawing.Size(36, 21);
     this.mabs.TabIndex        = 0;
     this.mabs.Validating     += new System.ComponentModel.CancelEventHandler(this.mabs_Validating);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(4, 7);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 300;
     this.label1.Text      = "Bác sĩ :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butOK
     //
     this.butOK.Location = new System.Drawing.Point(79, 64);
     this.butOK.Name     = "butOK";
     this.butOK.Size     = new System.Drawing.Size(70, 25);
     this.butOK.TabIndex = 3;
     this.butOK.Text     = "Đồng ý";
     this.butOK.Click   += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.Location = new System.Drawing.Point(149, 64);
     this.butCancel.Name     = "butCancel";
     this.butCancel.Size     = new System.Drawing.Size(70, 25);
     this.butCancel.TabIndex = 4;
     this.butCancel.Text     = "Kết thúc";
     this.butCancel.Click   += new System.EventHandler(this.butCancel_Click);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(-12, 32);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(64, 23);
     this.label2.TabIndex  = 301;
     this.label2.Text      = "Mật khẩu :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // password
     //
     this.password.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.password.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.password.Location     = new System.Drawing.Point(51, 30);
     this.password.Name         = "password";
     this.password.PasswordChar = '*';
     this.password.Size         = new System.Drawing.Size(229, 21);
     this.password.TabIndex     = 2;
     this.password.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.password_KeyDown);
     //
     // frmChonbs
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(282, 143);
     this.Controls.Add(this.password);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.butCancel);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.mabs);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.tenbs);
     this.Controls.Add(this.listNv);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frmChonbs";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Chọn bác sĩ khám bệnh";
     this.Load           += new System.EventHandler(this.frmChonbs_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }