Esempio n. 1
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();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Janus.Windows.EditControls.UIComboBoxItem uiComboBoxItem1 = new Janus.Windows.EditControls.UIComboBoxItem();
     Janus.Windows.EditControls.UIComboBoxItem uiComboBoxItem2 = new Janus.Windows.EditControls.UIComboBoxItem();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_themmoi_thuoc));
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.chkNoi_Tru = new Janus.Windows.EditControls.UICheckBox();
     this.chkNgoaitru = new Janus.Windows.EditControls.UICheckBox();
     this.GroupBox1 = new System.Windows.Forms.GroupBox();
     this.txtDangBaoChe = new VNS.HIS.UCs.AutoCompleteTextbox();
     this.label15 = new System.Windows.Forms.Label();
     this.txtBut = new MaskedTextBox.MaskedTextBox();
     this.txtDesc = new System.Windows.Forms.TextBox();
     this.label14 = new System.Windows.Forms.Label();
     this.txtSoluong = new MaskedTextBox.MaskedTextBox();
     this.txtGiaBHYT = new MaskedTextBox.MaskedTextBox();
     this.label13 = new System.Windows.Forms.Label();
     this.txtDongia = new MaskedTextBox.MaskedTextBox();
     this.txtPTDT = new MaskedTextBox.MaskedTextBox();
     this.txtPTTT = new MaskedTextBox.MaskedTextBox();
     this.label11 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.chkTutuc = new Janus.Windows.EditControls.UICheckBox();
     this.label9 = new System.Windows.Forms.Label();
     this.optNoitru = new System.Windows.Forms.RadioButton();
     this.optNgoai = new System.Windows.Forms.RadioButton();
     this.optAll = new System.Windows.Forms.RadioButton();
     this.txtQD31 = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.lblMsg = new System.Windows.Forms.Label();
     this.txtDonvitinh = new VNS.HIS.UCs.AutoCompleteTextbox_Danhmucchung();
     this.label4 = new System.Windows.Forms.Label();
     this.txtLoaithuoc = new VNS.HIS.UCs.AutoCompleteTextbox();
     this.label2 = new System.Windows.Forms.Label();
     this.txtTEN_BHYT = new System.Windows.Forms.TextBox();
     this.label29 = new System.Windows.Forms.Label();
     this.label28 = new System.Windows.Forms.Label();
     this.cboKIEU_THUOC_VT = new Janus.Windows.EditControls.UIComboBox();
     this.label27 = new System.Windows.Forms.Label();
     this.label26 = new System.Windows.Forms.Label();
     this.chkHieuLuc = new Janus.Windows.EditControls.UICheckBox();
     this.txtNumber_Register = new System.Windows.Forms.TextBox();
     this.lab10 = new System.Windows.Forms.Label();
     this.label19 = new System.Windows.Forms.Label();
     this.txtHangSX = new System.Windows.Forms.TextBox();
     this.txtNuocSX = new System.Windows.Forms.TextBox();
     this.label18 = new System.Windows.Forms.Label();
     this.txtContent = new System.Windows.Forms.TextBox();
     this.label12 = new System.Windows.Forms.Label();
     this.txtActice = new System.Windows.Forms.TextBox();
     this.label17 = new System.Windows.Forms.Label();
     this.cboDrugNature = new System.Windows.Forms.ComboBox();
     this.label16 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.txtName = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.txtCode = new System.Windows.Forms.TextBox();
     this.Label5 = new System.Windows.Forms.Label();
     this.Label3 = new System.Windows.Forms.Label();
     this.txtID = new System.Windows.Forms.TextBox();
     this.Label1 = new System.Windows.Forms.Label();
     this.cmdSave = new System.Windows.Forms.Button();
     this.cmdClose = new System.Windows.Forms.Button();
     this.chkThemlientuc = new Janus.Windows.EditControls.UICheckBox();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.lblDongiachia = new System.Windows.Forms.Label();
     this.txtSoluongchia = new MaskedTextBox.MaskedTextBox();
     this.chkChiathuoc = new System.Windows.Forms.CheckBox();
     this.txtDongiachia = new MaskedTextBox.MaskedTextBox();
     this.txtDonvichia = new VNS.HIS.UCs.AutoCompleteTextbox_Danhmucchung();
     this.label20 = new System.Windows.Forms.Label();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.GroupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // tabControl1
     //
     this.tabControl1.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.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabControl1.Location = new System.Drawing.Point(2, 4);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(729, 473);
     this.tabControl1.TabIndex = 0;
     this.tabControl1.TabStop = false;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.chkNoi_Tru);
     this.tabPage1.Controls.Add(this.chkNgoaitru);
     this.tabPage1.Controls.Add(this.GroupBox1);
     this.tabPage1.Location = new System.Drawing.Point(4, 25);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(721, 444);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Thông tin thuốc";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // chkNoi_Tru
     //
     this.chkNoi_Tru.Location = new System.Drawing.Point(216, 555);
     this.chkNoi_Tru.Name = "chkNoi_Tru";
     this.chkNoi_Tru.Size = new System.Drawing.Size(175, 23);
     this.chkNoi_Tru.TabIndex = 24;
     this.chkNoi_Tru.Text = "&Cho bệnh nhân nội trú";
     //
     // chkNgoaitru
     //
     this.chkNgoaitru.Location = new System.Drawing.Point(10, 555);
     this.chkNgoaitru.Name = "chkNgoaitru";
     this.chkNgoaitru.Size = new System.Drawing.Size(175, 23);
     this.chkNgoaitru.TabIndex = 23;
     this.chkNgoaitru.Text = "&Cho bệnh nhân ngoại trú";
     //
     // GroupBox1
     //
     this.GroupBox1.BackColor = System.Drawing.SystemColors.Control;
     this.GroupBox1.Controls.Add(this.label20);
     this.GroupBox1.Controls.Add(this.txtDonvichia);
     this.GroupBox1.Controls.Add(this.txtDongiachia);
     this.GroupBox1.Controls.Add(this.chkChiathuoc);
     this.GroupBox1.Controls.Add(this.lblDongiachia);
     this.GroupBox1.Controls.Add(this.txtSoluongchia);
     this.GroupBox1.Controls.Add(this.txtDangBaoChe);
     this.GroupBox1.Controls.Add(this.label15);
     this.GroupBox1.Controls.Add(this.txtBut);
     this.GroupBox1.Controls.Add(this.txtDesc);
     this.GroupBox1.Controls.Add(this.label14);
     this.GroupBox1.Controls.Add(this.txtSoluong);
     this.GroupBox1.Controls.Add(this.txtGiaBHYT);
     this.GroupBox1.Controls.Add(this.label13);
     this.GroupBox1.Controls.Add(this.txtDongia);
     this.GroupBox1.Controls.Add(this.txtPTDT);
     this.GroupBox1.Controls.Add(this.txtPTTT);
     this.GroupBox1.Controls.Add(this.label11);
     this.GroupBox1.Controls.Add(this.label10);
     this.GroupBox1.Controls.Add(this.chkTutuc);
     this.GroupBox1.Controls.Add(this.label9);
     this.GroupBox1.Controls.Add(this.optNoitru);
     this.GroupBox1.Controls.Add(this.optNgoai);
     this.GroupBox1.Controls.Add(this.optAll);
     this.GroupBox1.Controls.Add(this.txtQD31);
     this.GroupBox1.Controls.Add(this.label8);
     this.GroupBox1.Controls.Add(this.lblMsg);
     this.GroupBox1.Controls.Add(this.txtDonvitinh);
     this.GroupBox1.Controls.Add(this.label4);
     this.GroupBox1.Controls.Add(this.txtLoaithuoc);
     this.GroupBox1.Controls.Add(this.label2);
     this.GroupBox1.Controls.Add(this.txtTEN_BHYT);
     this.GroupBox1.Controls.Add(this.label29);
     this.GroupBox1.Controls.Add(this.label28);
     this.GroupBox1.Controls.Add(this.cboKIEU_THUOC_VT);
     this.GroupBox1.Controls.Add(this.label27);
     this.GroupBox1.Controls.Add(this.label26);
     this.GroupBox1.Controls.Add(this.chkHieuLuc);
     this.GroupBox1.Controls.Add(this.txtNumber_Register);
     this.GroupBox1.Controls.Add(this.lab10);
     this.GroupBox1.Controls.Add(this.label19);
     this.GroupBox1.Controls.Add(this.txtHangSX);
     this.GroupBox1.Controls.Add(this.txtNuocSX);
     this.GroupBox1.Controls.Add(this.label18);
     this.GroupBox1.Controls.Add(this.txtContent);
     this.GroupBox1.Controls.Add(this.label12);
     this.GroupBox1.Controls.Add(this.txtActice);
     this.GroupBox1.Controls.Add(this.label17);
     this.GroupBox1.Controls.Add(this.cboDrugNature);
     this.GroupBox1.Controls.Add(this.label16);
     this.GroupBox1.Controls.Add(this.label7);
     this.GroupBox1.Controls.Add(this.txtName);
     this.GroupBox1.Controls.Add(this.label6);
     this.GroupBox1.Controls.Add(this.txtCode);
     this.GroupBox1.Controls.Add(this.Label5);
     this.GroupBox1.Controls.Add(this.Label3);
     this.GroupBox1.Controls.Add(this.txtID);
     this.GroupBox1.Controls.Add(this.Label1);
     this.GroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.GroupBox1.Location = new System.Drawing.Point(3, 3);
     this.GroupBox1.Name = "GroupBox1";
     this.GroupBox1.Size = new System.Drawing.Size(715, 438);
     this.GroupBox1.TabIndex = 0;
     this.GroupBox1.TabStop = false;
     this.GroupBox1.Text = "Thông tin chi tiết";
     //
     // txtDangBaoChe
     //
     this.txtDangBaoChe._backcolor = System.Drawing.Color.WhiteSmoke;
     this.txtDangBaoChe._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDangBaoChe.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtDangBaoChe.AutoCompleteList")));
     this.txtDangBaoChe.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDangBaoChe.CaseSensitive = false;
     this.txtDangBaoChe.CompareNoID = true;
     this.txtDangBaoChe.DefaultCode = "-1";
     this.txtDangBaoChe.DefaultID = "-1";
     this.txtDangBaoChe.Drug_ID = null;
     this.txtDangBaoChe.ExtraWidth = 0;
     this.txtDangBaoChe.FillValueAfterSelect = false;
     this.txtDangBaoChe.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDangBaoChe.Location = new System.Drawing.Point(400, 159);
     this.txtDangBaoChe.MaxHeight = 289;
     this.txtDangBaoChe.MinTypedCharacters = 2;
     this.txtDangBaoChe.MyCode = "-1";
     this.txtDangBaoChe.MyID = "-1";
     this.txtDangBaoChe.Name = "txtDangBaoChe";
     this.txtDangBaoChe.RaiseEvent = false;
     this.txtDangBaoChe.RaiseEventEnter = false;
     this.txtDangBaoChe.RaiseEventEnterWhenEmpty = false;
     this.txtDangBaoChe.SelectedIndex = -1;
     this.txtDangBaoChe.Size = new System.Drawing.Size(307, 21);
     this.txtDangBaoChe.splitChar = '@';
     this.txtDangBaoChe.splitCharIDAndCode = '#';
     this.txtDangBaoChe.TabIndex = 7;
     this.txtDangBaoChe.TakeCode = false;
     this.txtDangBaoChe.txtMyCode = null;
     this.txtDangBaoChe.txtMyCode_Edit = null;
     this.txtDangBaoChe.txtMyID = null;
     this.txtDangBaoChe.txtMyID_Edit = null;
     this.txtDangBaoChe.txtMyName = null;
     this.txtDangBaoChe.txtMyName_Edit = null;
     this.txtDangBaoChe.txtNext = null;
     //
     // label15
     //
     this.label15.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label15.Location = new System.Drawing.Point(326, 315);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(68, 20);
     this.label15.TabIndex = 1722;
     this.label15.Text = "Chia bút:";
     this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.toolTip1.SetToolTip(this.label15, "Giới hạn thuốc khi bác sĩ kê đơn. Để giá trị<=0 nếu không muốn giới hạn");
     //
     // txtBut
     //
     this.txtBut.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtBut.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtBut.Location = new System.Drawing.Point(400, 315);
     this.txtBut.Masked = MaskedTextBox.Mask.Digit;
     this.txtBut.Name = "txtBut";
     this.txtBut.Size = new System.Drawing.Size(308, 21);
     this.txtBut.TabIndex = 20;
     this.txtBut.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // txtDesc
     //
     this.txtDesc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtDesc.BackColor = System.Drawing.Color.White;
     this.txtDesc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDesc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDesc.Location = new System.Drawing.Point(113, 365);
     this.txtDesc.MaxLength = 100;
     this.txtDesc.Name = "txtDesc";
     this.txtDesc.Size = new System.Drawing.Size(594, 21);
     this.txtDesc.TabIndex = 25;
     //
     // label14
     //
     this.label14.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label14.Location = new System.Drawing.Point(0, 316);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(107, 20);
     this.label14.TabIndex = 1720;
     this.label14.Text = "Giới hạn kê đơn:";
     this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.toolTip1.SetToolTip(this.label14, "Giới hạn thuốc khi bác sĩ kê đơn. Để giá trị<=0 nếu không muốn giới hạn");
     //
     // txtSoluong
     //
     this.txtSoluong.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtSoluong.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSoluong.Location = new System.Drawing.Point(113, 316);
     this.txtSoluong.Masked = MaskedTextBox.Mask.Digit;
     this.txtSoluong.Name = "txtSoluong";
     this.txtSoluong.Size = new System.Drawing.Size(182, 21);
     this.txtSoluong.TabIndex = 19;
     this.txtSoluong.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // txtGiaBHYT
     //
     this.txtGiaBHYT.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtGiaBHYT.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtGiaBHYT.Location = new System.Drawing.Point(400, 211);
     this.txtGiaBHYT.Masked = MaskedTextBox.Mask.Decimal;
     this.txtGiaBHYT.Name = "txtGiaBHYT";
     this.txtGiaBHYT.Size = new System.Drawing.Size(307, 21);
     this.txtGiaBHYT.TabIndex = 11;
     this.txtGiaBHYT.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label13
     //
     this.label13.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label13.Location = new System.Drawing.Point(312, 213);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(82, 15);
     this.label13.TabIndex = 1620;
     this.label13.Text = "Giá BHYT:";
     this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtDongia
     //
     this.txtDongia.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDongia.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDongia.Location = new System.Drawing.Point(113, 211);
     this.txtDongia.Masked = MaskedTextBox.Mask.Decimal;
     this.txtDongia.Name = "txtDongia";
     this.txtDongia.Size = new System.Drawing.Size(182, 21);
     this.txtDongia.TabIndex = 10;
     this.txtDongia.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txtPTDT
     //
     this.txtPTDT.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtPTDT.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPTDT.Location = new System.Drawing.Point(113, 238);
     this.txtPTDT.Masked = MaskedTextBox.Mask.Decimal;
     this.txtPTDT.Name = "txtPTDT";
     this.txtPTDT.Size = new System.Drawing.Size(183, 21);
     this.txtPTDT.TabIndex = 12;
     this.txtPTDT.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txtPTTT
     //
     this.txtPTTT.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtPTTT.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPTTT.Location = new System.Drawing.Point(400, 236);
     this.txtPTTT.Masked = MaskedTextBox.Mask.Decimal;
     this.txtPTTT.Name = "txtPTTT";
     this.txtPTTT.Size = new System.Drawing.Size(307, 21);
     this.txtPTTT.TabIndex = 13;
     this.txtPTTT.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label11
     //
     this.label11.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.Location = new System.Drawing.Point(326, 238);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(77, 15);
     this.label11.TabIndex = 437;
     this.label11.Text = "Phụ thu TT:";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label10
     //
     this.label10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.Location = new System.Drawing.Point(7, 240);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(93, 15);
     this.label10.TabIndex = 435;
     this.label10.Text = "Phụ thu ĐT";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chkTutuc
     //
     this.chkTutuc.Checked = true;
     this.chkTutuc.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkTutuc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chkTutuc.Location = new System.Drawing.Point(576, 393);
     this.chkTutuc.Name = "chkTutuc";
     this.chkTutuc.Size = new System.Drawing.Size(131, 23);
     this.chkTutuc.TabIndex = 28;
     this.chkTutuc.TabStop = false;
     this.chkTutuc.Text = "Thuốc tự túc?";
     this.toolTip1.SetToolTip(this.chkTutuc, "Chọn mục này nếu muốn thuốc này luôn tự túc đối với đối tượng BHYT cho dù có thiế" +
     "t lập giá quan hệ hay không?");
     //
     // label9
     //
     this.label9.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(12, 394);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(88, 23);
     this.label9.TabIndex = 434;
     this.label9.Text = "Dùng cho:";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // optNoitru
     //
     this.optNoitru.AutoSize = true;
     this.optNoitru.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.optNoitru.Location = new System.Drawing.Point(229, 396);
     this.optNoitru.Name = "optNoitru";
     this.optNoitru.Size = new System.Drawing.Size(68, 19);
     this.optNoitru.TabIndex = 26;
     this.optNoitru.Text = "Nội trú?";
     this.optNoitru.UseVisualStyleBackColor = true;
     //
     // optNgoai
     //
     this.optNgoai.AutoSize = true;
     this.optNgoai.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.optNgoai.Location = new System.Drawing.Point(329, 396);
     this.optNgoai.Name = "optNgoai";
     this.optNgoai.Size = new System.Drawing.Size(75, 19);
     this.optNgoai.TabIndex = 26;
     this.optNgoai.Text = "Ngoại trú";
     this.optNgoai.UseVisualStyleBackColor = true;
     //
     // optAll
     //
     this.optAll.AutoSize = true;
     this.optAll.Checked = true;
     this.optAll.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.optAll.Location = new System.Drawing.Point(106, 396);
     this.optAll.Name = "optAll";
     this.optAll.Size = new System.Drawing.Size(114, 19);
     this.optAll.TabIndex = 26;
     this.optAll.TabStop = true;
     this.optAll.Text = "Nội trú/Ngoại trú";
     this.optAll.UseVisualStyleBackColor = true;
     //
     // txtQD31
     //
     this.txtQD31.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtQD31.BackColor = System.Drawing.Color.White;
     this.txtQD31.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtQD31.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtQD31.Location = new System.Drawing.Point(592, 264);
     this.txtQD31.MaxLength = 15;
     this.txtQD31.Name = "txtQD31";
     this.txtQD31.Size = new System.Drawing.Size(115, 21);
     this.txtQD31.TabIndex = 16;
     this.txtQD31.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location = new System.Drawing.Point(534, 266);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(56, 15);
     this.label8.TabIndex = 430;
     this.label8.Text = "TT-QĐ31";
     //
     // lblMsg
     //
     this.lblMsg.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.lblMsg.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblMsg.Location = new System.Drawing.Point(3, 417);
     this.lblMsg.Name = "lblMsg";
     this.lblMsg.Size = new System.Drawing.Size(709, 18);
     this.lblMsg.TabIndex = 112;
     this.lblMsg.Text = "Thông báo";
     this.lblMsg.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtDonvitinh
     //
     this.txtDonvitinh._backcolor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.txtDonvitinh._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDonvitinh.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtDonvitinh.AutoCompleteList")));
     this.txtDonvitinh.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDonvitinh.CaseSensitive = false;
     this.txtDonvitinh.CompareNoID = true;
     this.txtDonvitinh.DefaultCode = "-1";
     this.txtDonvitinh.DefaultID = "-1";
     this.txtDonvitinh.Drug_ID = null;
     this.txtDonvitinh.ExtraWidth = 0;
     this.txtDonvitinh.FillValueAfterSelect = false;
     this.txtDonvitinh.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDonvitinh.LOAI_DANHMUC = "DONVITINH";
     this.txtDonvitinh.Location = new System.Drawing.Point(400, 185);
     this.txtDonvitinh.MaxHeight = -1;
     this.txtDonvitinh.MinTypedCharacters = 2;
     this.txtDonvitinh.MyCode = "-1";
     this.txtDonvitinh.MyID = "-1";
     this.txtDonvitinh.Name = "txtDonvitinh";
     this.txtDonvitinh.RaiseEvent = false;
     this.txtDonvitinh.RaiseEventEnter = false;
     this.txtDonvitinh.RaiseEventEnterWhenEmpty = false;
     this.txtDonvitinh.SelectedIndex = -1;
     this.txtDonvitinh.Size = new System.Drawing.Size(307, 21);
     this.txtDonvitinh.splitChar = '@';
     this.txtDonvitinh.splitCharIDAndCode = '#';
     this.txtDonvitinh.TabIndex = 9;
     this.txtDonvitinh.TakeCode = false;
     this.txtDonvitinh.txtMyCode = null;
     this.txtDonvitinh.txtMyCode_Edit = null;
     this.txtDonvitinh.txtMyID = null;
     this.txtDonvitinh.txtMyID_Edit = null;
     this.txtDonvitinh.txtMyName = null;
     this.txtDonvitinh.txtMyName_Edit = null;
     this.txtDonvitinh.txtNext = null;
     //
     // label4
     //
     this.label4.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.Red;
     this.label4.Location = new System.Drawing.Point(306, 185);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(88, 23);
     this.label4.TabIndex = 111;
     this.label4.Text = "Đơn vị  tính";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtLoaithuoc
     //
     this.txtLoaithuoc._backcolor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.txtLoaithuoc._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtLoaithuoc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtLoaithuoc.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtLoaithuoc.AutoCompleteList")));
     this.txtLoaithuoc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtLoaithuoc.CaseSensitive = false;
     this.txtLoaithuoc.CompareNoID = true;
     this.txtLoaithuoc.DefaultCode = "-1";
     this.txtLoaithuoc.DefaultID = "-1";
     this.txtLoaithuoc.Drug_ID = null;
     this.txtLoaithuoc.ExtraWidth = 100;
     this.txtLoaithuoc.FillValueAfterSelect = false;
     this.txtLoaithuoc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtLoaithuoc.Location = new System.Drawing.Point(113, 77);
     this.txtLoaithuoc.MaxHeight = 300;
     this.txtLoaithuoc.MinTypedCharacters = 2;
     this.txtLoaithuoc.MyCode = null;
     this.txtLoaithuoc.MyID = null;
     this.txtLoaithuoc.Name = "txtLoaithuoc";
     this.txtLoaithuoc.RaiseEvent = false;
     this.txtLoaithuoc.RaiseEventEnter = false;
     this.txtLoaithuoc.RaiseEventEnterWhenEmpty = true;
     this.txtLoaithuoc.SelectedIndex = -1;
     this.txtLoaithuoc.Size = new System.Drawing.Size(594, 21);
     this.txtLoaithuoc.splitChar = '@';
     this.txtLoaithuoc.splitCharIDAndCode = '#';
     this.txtLoaithuoc.TabIndex = 3;
     this.txtLoaithuoc.TakeCode = false;
     this.txtLoaithuoc.txtMyCode = null;
     this.txtLoaithuoc.txtMyCode_Edit = null;
     this.txtLoaithuoc.txtMyID = null;
     this.txtLoaithuoc.txtMyID_Edit = null;
     this.txtLoaithuoc.txtMyName = null;
     this.txtLoaithuoc.txtMyName_Edit = null;
     this.txtLoaithuoc.txtNext = null;
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Red;
     this.label2.Location = new System.Drawing.Point(11, 77);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(88, 23);
     this.label2.TabIndex = 109;
     this.label2.Text = "Nhóm thuốc";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtTEN_BHYT
     //
     this.txtTEN_BHYT.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtTEN_BHYT.BackColor = System.Drawing.Color.White;
     this.txtTEN_BHYT.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtTEN_BHYT.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTEN_BHYT.Location = new System.Drawing.Point(113, 131);
     this.txtTEN_BHYT.MaxLength = 100;
     this.txtTEN_BHYT.Name = "txtTEN_BHYT";
     this.txtTEN_BHYT.Size = new System.Drawing.Size(594, 21);
     this.txtTEN_BHYT.TabIndex = 5;
     //
     // label29
     //
     this.label29.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label29.Location = new System.Drawing.Point(11, 132);
     this.label29.Name = "label29";
     this.label29.Size = new System.Drawing.Size(88, 23);
     this.label29.TabIndex = 50;
     this.label29.Text = "Tên BHYT";
     this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.toolTip1.SetToolTip(this.label29, "Ctrl+C để copy tên thuốc");
     //
     // label28
     //
     this.label28.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label28.ForeColor = System.Drawing.Color.Red;
     this.label28.Location = new System.Drawing.Point(11, 52);
     this.label28.Name = "label28";
     this.label28.Size = new System.Drawing.Size(88, 23);
     this.label28.TabIndex = 48;
     this.label28.Text = "Kiểu thuốc VT";
     this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cboKIEU_THUOC_VT
     //
     this.cboKIEU_THUOC_VT.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.cboKIEU_THUOC_VT.ComboStyle = Janus.Windows.EditControls.ComboStyle.DropDownList;
     this.cboKIEU_THUOC_VT.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     uiComboBoxItem1.FormatStyle.Alpha = 0;
     uiComboBoxItem1.IsSeparator = false;
     uiComboBoxItem1.Text = "Thuốc";
     uiComboBoxItem1.Value = "THUOC";
     uiComboBoxItem2.FormatStyle.Alpha = 0;
     uiComboBoxItem2.IsSeparator = false;
     uiComboBoxItem2.Text = "Vật tư y tế";
     uiComboBoxItem2.Value = "VT";
     this.cboKIEU_THUOC_VT.Items.AddRange(new Janus.Windows.EditControls.UIComboBoxItem[] {
     uiComboBoxItem1,
     uiComboBoxItem2});
     this.cboKIEU_THUOC_VT.Location = new System.Drawing.Point(113, 51);
     this.cboKIEU_THUOC_VT.Name = "cboKIEU_THUOC_VT";
     this.cboKIEU_THUOC_VT.Size = new System.Drawing.Size(594, 21);
     this.cboKIEU_THUOC_VT.TabIndex = 2;
     this.cboKIEU_THUOC_VT.Text = "Kiểu thuốc vật tư";
     //
     // label27
     //
     this.label27.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label27.Location = new System.Drawing.Point(301, 161);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(93, 20);
     this.label27.TabIndex = 44;
     this.label27.Text = "Dạng bào chế";
     this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label26
     //
     this.label26.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label26.AutoSize = true;
     this.label26.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label26.ForeColor = System.Drawing.Color.Red;
     this.label26.Location = new System.Drawing.Point(363, 165);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(12, 15);
     this.label26.TabIndex = 41;
     this.label26.Text = "*";
     //
     // chkHieuLuc
     //
     this.chkHieuLuc.Checked = true;
     this.chkHieuLuc.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkHieuLuc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chkHieuLuc.Location = new System.Drawing.Point(435, 392);
     this.chkHieuLuc.Name = "chkHieuLuc";
     this.chkHieuLuc.Size = new System.Drawing.Size(81, 28);
     this.chkHieuLuc.TabIndex = 27;
     this.chkHieuLuc.TabStop = false;
     this.chkHieuLuc.Text = "Hiệu lực?";
     //
     // txtNumber_Register
     //
     this.txtNumber_Register.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtNumber_Register.BackColor = System.Drawing.Color.White;
     this.txtNumber_Register.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtNumber_Register.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtNumber_Register.Location = new System.Drawing.Point(400, 263);
     this.txtNumber_Register.MaxLength = 15;
     this.txtNumber_Register.Name = "txtNumber_Register";
     this.txtNumber_Register.Size = new System.Drawing.Size(131, 21);
     this.txtNumber_Register.TabIndex = 15;
     this.txtNumber_Register.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // lab10
     //
     this.lab10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lab10.Location = new System.Drawing.Point(301, 266);
     this.lab10.Name = "lab10";
     this.lab10.Size = new System.Drawing.Size(93, 15);
     this.lab10.TabIndex = 31;
     this.lab10.Text = "Số ĐK";
     this.lab10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label19
     //
     this.label19.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label19.Location = new System.Drawing.Point(11, 293);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(88, 23);
     this.label19.TabIndex = 30;
     this.label19.Text = "Nước sản xuất";
     this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtHangSX
     //
     this.txtHangSX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtHangSX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtHangSX.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtHangSX.Location = new System.Drawing.Point(400, 290);
     this.txtHangSX.MaxLength = 100;
     this.txtHangSX.Name = "txtHangSX";
     this.txtHangSX.Size = new System.Drawing.Size(308, 21);
     this.txtHangSX.TabIndex = 18;
     //
     // txtNuocSX
     //
     this.txtNuocSX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtNuocSX.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtNuocSX.Location = new System.Drawing.Point(113, 290);
     this.txtNuocSX.MaxLength = 100;
     this.txtNuocSX.Name = "txtNuocSX";
     this.txtNuocSX.Size = new System.Drawing.Size(182, 21);
     this.txtNuocSX.TabIndex = 17;
     //
     // label18
     //
     this.label18.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label18.Location = new System.Drawing.Point(301, 294);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(93, 15);
     this.label18.TabIndex = 27;
     this.label18.Text = "Hãng sản xuất";
     this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtContent
     //
     this.txtContent.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtContent.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtContent.Location = new System.Drawing.Point(113, 263);
     this.txtContent.MaxLength = 100;
     this.txtContent.Name = "txtContent";
     this.txtContent.Size = new System.Drawing.Size(182, 21);
     this.txtContent.TabIndex = 14;
     //
     // label12
     //
     this.label12.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.Location = new System.Drawing.Point(11, 262);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(88, 23);
     this.label12.TabIndex = 25;
     this.label12.Text = "Hàm lượng";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtActice
     //
     this.txtActice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtActice.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtActice.Location = new System.Drawing.Point(113, 159);
     this.txtActice.MaxLength = 100;
     this.txtActice.Name = "txtActice";
     this.txtActice.Size = new System.Drawing.Size(182, 21);
     this.txtActice.TabIndex = 6;
     //
     // label17
     //
     this.label17.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label17.Location = new System.Drawing.Point(11, 164);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(88, 23);
     this.label17.TabIndex = 24;
     this.label17.Text = "Hoạt chất:";
     this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cboDrugNature
     //
     this.cboDrugNature.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.cboDrugNature.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboDrugNature.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cboDrugNature.FormattingEnabled = true;
     this.cboDrugNature.ItemHeight = 15;
     this.cboDrugNature.Items.AddRange(new object[] {
     "Không độc hại",
     "Độc hại cần cảnh báo"});
     this.cboDrugNature.Location = new System.Drawing.Point(113, 185);
     this.cboDrugNature.Name = "cboDrugNature";
     this.cboDrugNature.Size = new System.Drawing.Size(181, 23);
     this.cboDrugNature.TabIndex = 8;
     //
     // label16
     //
     this.label16.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label16.Location = new System.Drawing.Point(12, 187);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(88, 23);
     this.label16.TabIndex = 22;
     this.label16.Text = "Tính chất";
     this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.Location = new System.Drawing.Point(3, 213);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(93, 15);
     this.label7.TabIndex = 12;
     this.label7.Text = "Giá Dịch vụ";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtName
     //
     this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtName.BackColor = System.Drawing.Color.White;
     this.txtName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtName.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtName.Location = new System.Drawing.Point(113, 104);
     this.txtName.MaxLength = 100;
     this.txtName.Name = "txtName";
     this.txtName.Size = new System.Drawing.Size(594, 21);
     this.txtName.TabIndex = 4;
     this.txtName.Leave += new System.EventHandler(this.txtName_Leave);
     //
     // label6
     //
     this.label6.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.Red;
     this.label6.Location = new System.Drawing.Point(11, 103);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(88, 23);
     this.label6.TabIndex = 10;
     this.label6.Text = "Tên thuốc:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtCode
     //
     this.txtCode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtCode.BackColor = System.Drawing.Color.White;
     this.txtCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtCode.Enabled = false;
     this.txtCode.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCode.Location = new System.Drawing.Point(400, 27);
     this.txtCode.MaxLength = 20;
     this.txtCode.Name = "txtCode";
     this.txtCode.Size = new System.Drawing.Size(307, 21);
     this.txtCode.TabIndex = 1;
     //
     // Label5
     //
     this.Label5.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label5.ForeColor = System.Drawing.Color.Red;
     this.Label5.Location = new System.Drawing.Point(301, 30);
     this.Label5.Name = "Label5";
     this.Label5.Size = new System.Drawing.Size(93, 15);
     this.Label5.TabIndex = 7;
     this.Label5.Text = "Mã thuốc:";
     this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label3
     //
     this.Label3.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label3.Location = new System.Drawing.Point(12, 365);
     this.Label3.Name = "Label3";
     this.Label3.Size = new System.Drawing.Size(88, 23);
     this.Label3.TabIndex = 4;
     this.Label3.Text = "Mô tả thêm:";
     this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.toolTip1.SetToolTip(this.Label3, "Với thuốc có tính chất độc hại có thể ghi vào đây dòng cảnh báo khi kê đơn");
     //
     // txtID
     //
     this.txtID.BackColor = System.Drawing.Color.White;
     this.txtID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtID.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtID.Location = new System.Drawing.Point(113, 26);
     this.txtID.MaxLength = 3;
     this.txtID.Name = "txtID";
     this.txtID.Size = new System.Drawing.Size(181, 21);
     this.txtID.TabIndex = 0;
     //
     // Label1
     //
     this.Label1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label1.ForeColor = System.Drawing.Color.Red;
     this.Label1.Location = new System.Drawing.Point(11, 25);
     this.Label1.Name = "Label1";
     this.Label1.Size = new System.Drawing.Size(88, 23);
     this.Label1.TabIndex = 0;
     this.Label1.Text = "ID";
     this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cmdSave
     //
     this.cmdSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cmdSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdSave.Image = ((System.Drawing.Image)(resources.GetObject("cmdSave.Image")));
     this.cmdSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.cmdSave.Location = new System.Drawing.Point(214, 483);
     this.cmdSave.Name = "cmdSave";
     this.cmdSave.Size = new System.Drawing.Size(138, 38);
     this.cmdSave.TabIndex = 29;
     this.cmdSave.Text = "Ghi(Ctrl+S)";
     this.cmdSave.UseVisualStyleBackColor = true;
     this.cmdSave.Click += new System.EventHandler(this.cmdSave_Click);
     //
     // cmdClose
     //
     this.cmdClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cmdClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdClose.Image = ((System.Drawing.Image)(resources.GetObject("cmdClose.Image")));
     this.cmdClose.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.cmdClose.Location = new System.Drawing.Point(357, 483);
     this.cmdClose.Name = "cmdClose";
     this.cmdClose.Size = new System.Drawing.Size(139, 38);
     this.cmdClose.TabIndex = 30;
     this.cmdClose.Text = "Thoát(Esc)";
     this.cmdClose.UseVisualStyleBackColor = true;
     this.cmdClose.Click += new System.EventHandler(this.cmdClose_Click);
     //
     // chkThemlientuc
     //
     this.chkThemlientuc.Checked = true;
     this.chkThemlientuc.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkThemlientuc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chkThemlientuc.Location = new System.Drawing.Point(9, 489);
     this.chkThemlientuc.Name = "chkThemlientuc";
     this.chkThemlientuc.Size = new System.Drawing.Size(201, 23);
     this.chkThemlientuc.TabIndex = 27;
     this.chkThemlientuc.TabStop = false;
     this.chkThemlientuc.Text = "Thêm mới liên tục?";
     //
     // toolTip1
     //
     this.toolTip1.IsBalloon = true;
     this.toolTip1.ToolTipTitle = "Trợ giúp";
     //
     // lblDongiachia
     //
     this.lblDongiachia.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDongiachia.Location = new System.Drawing.Point(326, 340);
     this.lblDongiachia.Name = "lblDongiachia";
     this.lblDongiachia.Size = new System.Drawing.Size(68, 20);
     this.lblDongiachia.TabIndex = 1726;
     this.lblDongiachia.Text = "Đơn giá chia";
     this.lblDongiachia.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.toolTip1.SetToolTip(this.lblDongiachia, "Giới hạn thuốc khi bác sĩ kê đơn. Để giá trị<=0 nếu không muốn giới hạn");
     //
     // txtSoluongchia
     //
     this.txtSoluongchia.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtSoluongchia.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSoluongchia.Location = new System.Drawing.Point(113, 340);
     this.txtSoluongchia.Masked = MaskedTextBox.Mask.Digit;
     this.txtSoluongchia.Name = "txtSoluongchia";
     this.txtSoluongchia.Size = new System.Drawing.Size(182, 21);
     this.txtSoluongchia.TabIndex = 22;
     this.txtSoluongchia.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // chkChiathuoc
     //
     this.chkChiathuoc.AutoSize = true;
     this.chkChiathuoc.Location = new System.Drawing.Point(14, 340);
     this.chkChiathuoc.Name = "chkChiathuoc";
     this.chkChiathuoc.Size = new System.Drawing.Size(92, 20);
     this.chkChiathuoc.TabIndex = 21;
     this.chkChiathuoc.Text = "Chia thuốc:";
     this.chkChiathuoc.UseVisualStyleBackColor = true;
     //
     // txtDongiachia
     //
     this.txtDongiachia.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDongiachia.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDongiachia.Location = new System.Drawing.Point(400, 340);
     this.txtDongiachia.Masked = MaskedTextBox.Mask.Decimal;
     this.txtDongiachia.Name = "txtDongiachia";
     this.txtDongiachia.Size = new System.Drawing.Size(131, 21);
     this.txtDongiachia.TabIndex = 23;
     this.txtDongiachia.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txtDonvichia
     //
     this.txtDonvichia._backcolor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.txtDonvichia._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDonvichia.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtDonvichia.AutoCompleteList")));
     this.txtDonvichia.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDonvichia.CaseSensitive = false;
     this.txtDonvichia.CompareNoID = true;
     this.txtDonvichia.DefaultCode = "-1";
     this.txtDonvichia.DefaultID = "-1";
     this.txtDonvichia.Drug_ID = null;
     this.txtDonvichia.ExtraWidth = 0;
     this.txtDonvichia.FillValueAfterSelect = false;
     this.txtDonvichia.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDonvichia.LOAI_DANHMUC = "DONVITINH";
     this.txtDonvichia.Location = new System.Drawing.Point(592, 340);
     this.txtDonvichia.MaxHeight = -1;
     this.txtDonvichia.MinTypedCharacters = 2;
     this.txtDonvichia.MyCode = "-1";
     this.txtDonvichia.MyID = "-1";
     this.txtDonvichia.Name = "txtDonvichia";
     this.txtDonvichia.RaiseEvent = false;
     this.txtDonvichia.RaiseEventEnter = false;
     this.txtDonvichia.RaiseEventEnterWhenEmpty = false;
     this.txtDonvichia.SelectedIndex = -1;
     this.txtDonvichia.Size = new System.Drawing.Size(116, 21);
     this.txtDonvichia.splitChar = '@';
     this.txtDonvichia.splitCharIDAndCode = '#';
     this.txtDonvichia.TabIndex = 24;
     this.txtDonvichia.TakeCode = false;
     this.txtDonvichia.txtMyCode = null;
     this.txtDonvichia.txtMyCode_Edit = null;
     this.txtDonvichia.txtMyID = null;
     this.txtDonvichia.txtMyID_Edit = null;
     this.txtDonvichia.txtMyName = null;
     this.txtDonvichia.txtMyName_Edit = null;
     this.txtDonvichia.txtNext = null;
     //
     // label20
     //
     this.label20.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label20.ForeColor = System.Drawing.Color.Black;
     this.label20.Location = new System.Drawing.Point(534, 340);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(56, 23);
     this.label20.TabIndex = 1730;
     this.label20.Text = "Đv chia:";
     this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // frm_themmoi_thuoc
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.WhiteSmoke;
     this.ClientSize = new System.Drawing.Size(732, 530);
     this.Controls.Add(this.chkThemlientuc);
     this.Controls.Add(this.cmdClose);
     this.Controls.Add(this.cmdSave);
     this.Controls.Add(this.tabControl1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.MaximizeBox = false;
     this.Name = "frm_themmoi_thuoc";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Thông tin thuốc";
     this.Load += new System.EventHandler(this.frmDrug_Load);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.GroupBox1.ResumeLayout(false);
     this.GroupBox1.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 3
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(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();
 }
Esempio n. 4
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(frmBtdkp));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.ma         = new System.Windows.Forms.TextBox();
     this.label2     = new System.Windows.Forms.Label();
     this.ten        = new System.Windows.Forms.TextBox();
     this.label3     = new System.Windows.Forms.Label();
     this.makp       = new System.Windows.Forms.ComboBox();
     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.label4     = new System.Windows.Forms.Label();
     this.label5     = new System.Windows.Forms.Label();
     this.kehoach    = new MaskedTextBox.MaskedTextBox();
     this.thucke     = new MaskedTextBox.MaskedTextBox();
     this.dmba       = new System.Windows.Forms.CheckedListBox();
     this.butMavp    = new System.Windows.Forms.Button();
     this.label6     = new System.Windows.Forms.Label();
     this.viettat    = new System.Windows.Forms.TextBox();
     this.butMacd    = new System.Windows.Forms.Button();
     this.label1     = new System.Windows.Forms.Label();
     this.giavtth    = new MaskedTextBox.MaskedTextBox();
     ((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(560, 492);
     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(627, 525);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 13;
     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.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(40, 416);
     this.ma.MaxLength  = 2;
     this.ma.Name       = "ma";
     this.ma.Size       = new System.Drawing.Size(24, 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.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.Location  = new System.Drawing.Point(118, 475);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(51, 23);
     this.label2.TabIndex  = 23;
     this.label2.Text      = "Khoa :";
     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)));
     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(164, 476);
     this.ten.Name       = "ten";
     this.ten.Size       = new System.Drawing.Size(200, 21);
     this.ten.TabIndex   = 1;
     this.ten.Validated += new System.EventHandler(this.ten_Validated);
     this.ten.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.ten_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(339, 477);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(80, 23);
     this.label3.TabIndex  = 25;
     this.label3.Text      = "Theo bộ :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // makp
     //
     this.makp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.makp.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.makp.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     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(420, 476);
     this.makp.Name          = "makp";
     this.makp.Size          = new System.Drawing.Size(364, 21);
     this.makp.TabIndex      = 2;
     this.makp.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.makp_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(96, 525);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(60, 25);
     this.butMoi.TabIndex   = 8;
     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(157, 525);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(60, 25);
     this.butSua.TabIndex   = 9;
     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(218, 525);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(60, 25);
     this.butLuu.TabIndex   = 6;
     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(279, 525);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(60, 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.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(340, 525);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(60, 25);
     this.butHuy.TabIndex   = 10;
     this.butHuy.Text       = "    &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // 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(-21, 499);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(80, 23);
     this.label4.TabIndex  = 26;
     this.label4.Text      = "Kế họach :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // 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(113, 496);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(54, 23);
     this.label5.TabIndex  = 27;
     this.label5.Text      = "Thực kê :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // kehoach
     //
     this.kehoach.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.kehoach.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.kehoach.Enabled    = false;
     this.kehoach.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kehoach.Location   = new System.Drawing.Point(59, 499);
     this.kehoach.Masked     = MaskedTextBox.MaskedTextBox.Mask.Digit;
     this.kehoach.Name       = "kehoach";
     this.kehoach.Size       = new System.Drawing.Size(48, 21);
     this.kehoach.TabIndex   = 3;
     this.kehoach.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.kehoach.Validated += new System.EventHandler(this.kehoach_Validated);
     //
     // thucke
     //
     this.thucke.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.thucke.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.thucke.Enabled    = false;
     this.thucke.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.thucke.Location   = new System.Drawing.Point(164, 499);
     this.thucke.Masked     = MaskedTextBox.MaskedTextBox.Mask.Digit;
     this.thucke.Name       = "thucke";
     this.thucke.Size       = new System.Drawing.Size(116, 21);
     this.thucke.TabIndex   = 4;
     this.thucke.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.thucke.Validated += new System.EventHandler(this.thucke_Validated);
     //
     // dmba
     //
     this.dmba.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.dmba.CheckOnClick = true;
     this.dmba.Enabled      = false;
     this.dmba.Location     = new System.Drawing.Point(576, 3);
     this.dmba.Name         = "dmba";
     this.dmba.Size         = new System.Drawing.Size(208, 469);
     this.dmba.TabIndex     = 28;
     //
     // butMavp
     //
     this.butMavp.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butMavp.Enabled    = false;
     this.butMavp.Image      = ((System.Drawing.Image)(resources.GetObject("butMavp.Image")));
     this.butMavp.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMavp.Location   = new System.Drawing.Point(401, 525);
     this.butMavp.Name       = "butMavp";
     this.butMavp.Size       = new System.Drawing.Size(114, 25);
     this.butMavp.TabIndex   = 11;
     this.butMavp.Text       = "&Giới hạn viện phí";
     this.butMavp.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butMavp.Click     += new System.EventHandler(this.butMavp_Click);
     //
     // 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(11, 475);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(48, 23);
     this.label6.TabIndex  = 30;
     this.label6.Text      = "Viết tắt :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // viettat
     //
     this.viettat.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.viettat.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.viettat.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.viettat.Enabled         = false;
     this.viettat.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.viettat.Location        = new System.Drawing.Point(59, 476);
     this.viettat.MaxLength       = 8;
     this.viettat.Name            = "viettat";
     this.viettat.Size            = new System.Drawing.Size(48, 21);
     this.viettat.TabIndex        = 0;
     this.viettat.Validated      += new System.EventHandler(this.viettat_Validated);
     this.viettat.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ma_KeyDown);
     //
     // butMacd
     //
     this.butMacd.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butMacd.Enabled    = false;
     this.butMacd.Image      = ((System.Drawing.Image)(resources.GetObject("butMacd.Image")));
     this.butMacd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMacd.Location   = new System.Drawing.Point(516, 525);
     this.butMacd.Name       = "butMacd";
     this.butMacd.Size       = new System.Drawing.Size(110, 25);
     this.butMacd.TabIndex   = 12;
     this.butMacd.Text       = "&Giới hạn chỉ định";
     this.butMacd.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butMacd.Click     += new System.EventHandler(this.butMacd_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(286, 499);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(133, 23);
     this.label1.TabIndex  = 32;
     this.label1.Text      = "Định mức vật tư tiêu hao :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // giavtth
     //
     this.giavtth.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.giavtth.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.giavtth.Enabled    = false;
     this.giavtth.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.giavtth.Location   = new System.Drawing.Point(420, 499);
     this.giavtth.Masked     = MaskedTextBox.MaskedTextBox.Mask.Digit;
     this.giavtth.Name       = "giavtth";
     this.giavtth.Size       = new System.Drawing.Size(364, 21);
     this.giavtth.TabIndex   = 5;
     this.giavtth.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.giavtth.Validated += new System.EventHandler(this.giavtth_Validated);
     //
     // frmBtdkp
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 573);
     this.Controls.Add(this.giavtth);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.butMacd);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.viettat);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.butMavp);
     this.Controls.Add(this.dmba);
     this.Controls.Add(this.thucke);
     this.Controls.Add(this.kehoach);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     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.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.ma);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmBtdkp";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục khoa";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmBtdkp_KeyDown);
     this.Load         += new System.EventHandler(this.frmBtdkp_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 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(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();
 }
Esempio n. 6
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(frmDstt));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.ma         = new MaskedTextBox.MaskedTextBox();
     this.ten        = new MaskedTextBox.MaskedTextBox();
     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.label3     = new System.Windows.Forms.Label();
     this.matt       = new System.Windows.Forms.ComboBox();
     this.label4     = new System.Windows.Forms.Label();
     this.diachi     = new MaskedTextBox.MaskedTextBox();
     this.mavung     = new System.Windows.Forms.ComboBox();
     this.label5     = new System.Windows.Forms.Label();
     this.label6     = new System.Windows.Forms.Label();
     this.matuyen    = new System.Windows.Forms.ComboBox();
     this.sodt       = new MaskedTextBox.MaskedTextBox();
     this.label9     = new System.Windows.Forms.Label();
     this.butIn      = 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(10, 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(774, 408);
     this.dataGrid1.TabIndex            = 10;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(0, 432);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(40, 23);
     this.label1.TabIndex  = 11;
     this.label1.Text      = "Mã :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(96, 432);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(40, 23);
     this.label2.TabIndex  = 13;
     this.label2.Text      = "Tên :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // 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(40, 432);
     this.ma.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.ma.MaxLength  = 8;
     this.ma.Name       = "ma";
     this.ma.Size       = new System.Drawing.Size(56, 21);
     this.ma.TabIndex   = 12;
     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(136, 432);
     this.ten.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.ten.Name       = "ten";
     this.ten.Size       = new System.Drawing.Size(224, 21);
     this.ten.TabIndex   = 14;
     this.ten.Validated += new System.EventHandler(this.ten_Validated);
     //
     // butThem
     //
     this.butThem.Image      = ((System.Drawing.Image)(resources.GetObject("butThem.Image")));
     this.butThem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butThem.Location   = new System.Drawing.Point(181, 464);
     this.butThem.Name       = "butThem";
     this.butThem.Size       = new System.Drawing.Size(60, 25);
     this.butThem.TabIndex   = 21;
     this.butThem.Text       = "      &Thêm";
     this.butThem.Click     += new System.EventHandler(this.butThem_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(241, 464);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(60, 25);
     this.butSua.TabIndex   = 22;
     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(301, 464);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(60, 25);
     this.butLuu.TabIndex   = 19;
     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(361, 464);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(60, 25);
     this.butBoqua.TabIndex   = 20;
     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(481, 464);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(60, 25);
     this.butHuy.TabIndex   = 24;
     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(541, 464);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 25;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(264, 8);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(96, 23);
     this.label3.TabIndex  = 2;
     this.label3.Text      = "Tỉnh/thành phố :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // matt
     //
     this.matt.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     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(360, 8);
     this.matt.Name                  = "matt";
     this.matt.Size                  = new System.Drawing.Size(184, 21);
     this.matt.TabIndex              = 3;
     this.matt.SelectedIndexChanged += new System.EventHandler(this.matt_SelectedIndexChanged);
     this.matt.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.matt_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(361, 432);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(63, 23);
     this.label4.TabIndex  = 15;
     this.label4.Text      = "Địa chỉ :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // diachi
     //
     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(424, 432);
     this.diachi.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.diachi.Name       = "diachi";
     this.diachi.Size       = new System.Drawing.Size(200, 21);
     this.diachi.TabIndex   = 16;
     this.diachi.Validated += new System.EventHandler(this.diachi_Validated);
     //
     // mavung
     //
     this.mavung.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.mavung.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mavung.Location              = new System.Drawing.Point(48, 8);
     this.mavung.Name                  = "mavung";
     this.mavung.Size                  = new System.Drawing.Size(224, 21);
     this.mavung.TabIndex              = 1;
     this.mavung.SelectedIndexChanged += new System.EventHandler(this.mavung_SelectedIndexChanged);
     this.mavung.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.mavung_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(8, 8);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(40, 23);
     this.label5.TabIndex  = 0;
     this.label5.Text      = "&Vùng :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(544, 8);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(48, 23);
     this.label6.TabIndex  = 4;
     this.label6.Text      = "Tuyến :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // matuyen
     //
     this.matuyen.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     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(592, 8);
     this.matuyen.Name                  = "matuyen";
     this.matuyen.Size                  = new System.Drawing.Size(192, 21);
     this.matuyen.TabIndex              = 5;
     this.matuyen.SelectedIndexChanged += new System.EventHandler(this.matuyen_SelectedIndexChanged);
     this.matuyen.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.matuyen_KeyDown);
     //
     // sodt
     //
     this.sodt.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.sodt.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.sodt.Enabled         = false;
     this.sodt.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sodt.Location        = new System.Drawing.Point(688, 432);
     this.sodt.Masked          = MaskedTextBox.MaskedTextBox.Mask.None;
     this.sodt.Name            = "sodt";
     this.sodt.Size            = new System.Drawing.Size(96, 21);
     this.sodt.TabIndex        = 18;
     //
     // label9
     //
     this.label9.Location  = new System.Drawing.Point(616, 432);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(72, 23);
     this.label9.TabIndex  = 17;
     this.label9.Text      = "Điện thoại :";
     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(421, 464);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(60, 25);
     this.butIn.TabIndex   = 23;
     this.butIn.Text       = "     &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // frmDstt
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 573);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.diachi);
     this.Controls.Add(this.sodt);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.matuyen);
     this.Controls.Add(this.matt);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.mavung);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     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.ten);
     this.Controls.Add(this.ma);
     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          = "frmDstt";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục cơ quan y tế chuyển đến";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Load         += new System.EventHandler(this.frmDstt_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 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(frmBtdtt));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.ma         = new MaskedTextBox.MaskedTextBox();
     this.ten        = new MaskedTextBox.MaskedTextBox();
     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.mavung     = new System.Windows.Forms.ComboBox();
     this.label3     = new System.Windows.Forms.Label();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label6     = new System.Windows.Forms.Label();
     this.txtviettat = new MaskedTextBox.MaskedTextBox();
     ((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(3, 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(425, 279);
     this.dataGrid1.TabIndex            = 14;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(17, 293);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(30, 23);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Mã :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(10, 319);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(37, 23);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Tên :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // 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(44, 295);
     this.ma.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.ma.MaxLength  = 3;
     this.ma.Name       = "ma";
     this.ma.Size       = new System.Drawing.Size(40, 21);
     this.ma.TabIndex   = 0;
     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(44, 319);
     this.ten.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.ten.Name       = "ten";
     this.ten.Size       = new System.Drawing.Size(313, 21);
     this.ten.TabIndex   = 2;
     this.ten.Validated += new System.EventHandler(this.ten_Validated);
     //
     // butThem
     //
     this.butThem.Image      = ((System.Drawing.Image)(resources.GetObject("butThem.Image")));
     this.butThem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butThem.Location   = new System.Drawing.Point(8, 344);
     this.butThem.Name       = "butThem";
     this.butThem.Size       = new System.Drawing.Size(70, 25);
     this.butThem.TabIndex   = 9;
     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      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(78, 344);
     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.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(148, 344);
     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(218, 344);
     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.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(288, 344);
     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);
     //
     // mavung
     //
     this.mavung.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.mavung.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mavung.Location              = new System.Drawing.Point(81, 4);
     this.mavung.Name                  = "mavung";
     this.mavung.Size                  = new System.Drawing.Size(347, 21);
     this.mavung.TabIndex              = 13;
     this.mavung.SelectedIndexChanged += new System.EventHandler(this.mavung_SelectedIndexChanged);
     this.mavung.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.mavung_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(8, 4);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(67, 23);
     this.label3.TabIndex  = 8;
     this.label3.Text      = "Vùng địa lý :";
     this.label3.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.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(358, 344);
     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);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(91, 294);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(47, 23);
     this.label6.TabIndex  = 32;
     this.label6.Text      = "Viết tắt :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtviettat
     //
     this.txtviettat.BackColor = System.Drawing.SystemColors.HighlightText;
     this.txtviettat.Enabled   = false;
     this.txtviettat.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtviettat.Location  = new System.Drawing.Point(135, 295);
     this.txtviettat.Masked    = MaskedTextBox.MaskedTextBox.Mask.None;
     this.txtviettat.MaxLength = 8;
     this.txtviettat.Name      = "txtviettat";
     this.txtviettat.Size      = new System.Drawing.Size(59, 21);
     this.txtviettat.TabIndex  = 1;
     //
     // frmBtdtt
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(436, 389);
     this.Controls.Add(this.txtviettat);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.mavung);
     this.Controls.Add(this.label3);
     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.ten);
     this.Controls.Add(this.ma);
     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          = "frmBtdtt";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục tỉnh/thành phố";
     this.Load         += new System.EventHandler(this.frmBtdtt_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 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(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();
 }
Esempio n. 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(frmTktresosinh));
     this.label1     = new System.Windows.Forms.Label();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.label2     = new System.Windows.Forms.Label();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.ditat      = new System.Windows.Forms.ComboBox();
     this.tinhtrang  = new System.Windows.Forms.ComboBox();
     this.phai       = new System.Windows.Forms.ComboBox();
     this.label5     = new System.Windows.Forms.Label();
     this.label4     = new System.Windows.Forms.Label();
     this.label3     = new System.Windows.Forms.Label();
     this.cn1        = new MaskedTextBox.MaskedTextBox();
     this.label7     = new System.Windows.Forms.Label();
     this.label6     = new System.Windows.Forms.Label();
     this.cn2        = new MaskedTextBox.MaskedTextBox();
     this.label8     = new System.Windows.Forms.Label();
     this.cboLanSinh = new System.Windows.Forms.ComboBox();
     this.label9     = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(12, 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;
     //
     // 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(68, 7);
     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);
     //
     // 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(184, 7);
     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.den_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(152, 7);
     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;
     //
     // 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(66, 155);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 15;
     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(137, 155);
     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);
     //
     // ditat
     //
     this.ditat.BackColor = System.Drawing.SystemColors.HighlightText;
     this.ditat.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ditat.Items.AddRange(new object[] {
         "Không",
         "Có"
     });
     this.ditat.Location = new System.Drawing.Point(68, 76);
     this.ditat.Name     = "ditat";
     this.ditat.Size     = new System.Drawing.Size(196, 21);
     this.ditat.TabIndex = 9;
     this.ditat.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ditat_KeyDown);
     //
     // tinhtrang
     //
     this.tinhtrang.BackColor = System.Drawing.SystemColors.HighlightText;
     this.tinhtrang.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tinhtrang.Items.AddRange(new object[] {
         "Sống",
         "Chết",
         "Thai chết lưu"
     });
     this.tinhtrang.Location = new System.Drawing.Point(68, 53);
     this.tinhtrang.Name     = "tinhtrang";
     this.tinhtrang.Size     = new System.Drawing.Size(196, 21);
     this.tinhtrang.TabIndex = 7;
     this.tinhtrang.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tinhtrang_KeyDown);
     //
     // phai
     //
     this.phai.BackColor = System.Drawing.SystemColors.HighlightText;
     this.phai.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.phai.Items.AddRange(new object[] {
         "Nam",
         "Nữ"
     });
     this.phai.Location = new System.Drawing.Point(68, 30);
     this.phai.Name     = "phai";
     this.phai.Size     = new System.Drawing.Size(196, 21);
     this.phai.TabIndex = 5;
     this.phai.KeyDown += new System.Windows.Forms.KeyEventHandler(this.phai_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(12, 76);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(56, 23);
     this.label5.TabIndex  = 8;
     this.label5.Text      = "Dị tật :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(-4, 54);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(72, 23);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Tình trạng :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(12, 30);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(56, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Giới tính :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cn1
     //
     this.cn1.BackColor = System.Drawing.SystemColors.HighlightText;
     this.cn1.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cn1.Location  = new System.Drawing.Point(68, 99);
     this.cn1.Masked    = MaskedTextBox.MaskedTextBox.Mask.Digit;
     this.cn1.MaxLength = 4;
     this.cn1.Name      = "cn1";
     this.cn1.Size      = new System.Drawing.Size(40, 21);
     this.cn1.TabIndex  = 11;
     //
     // label7
     //
     this.label7.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label7.Location  = new System.Drawing.Point(185, 97);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(36, 23);
     this.label7.TabIndex  = 14;
     this.label7.Text      = "gram";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label6
     //
     this.label6.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label6.Location  = new System.Drawing.Point(4, 99);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(64, 23);
     this.label6.TabIndex  = 10;
     this.label6.Text      = "Cân nặng :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cn2
     //
     this.cn2.BackColor = System.Drawing.SystemColors.HighlightText;
     this.cn2.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cn2.Location  = new System.Drawing.Point(144, 99);
     this.cn2.Masked    = MaskedTextBox.MaskedTextBox.Mask.Digit;
     this.cn2.MaxLength = 4;
     this.cn2.Name      = "cn2";
     this.cn2.Size      = new System.Drawing.Size(40, 21);
     this.cn2.TabIndex  = 13;
     //
     // label8
     //
     this.label8.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label8.Location  = new System.Drawing.Point(110, 99);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(28, 23);
     this.label8.TabIndex  = 12;
     this.label8.Text      = "đến";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // cboLanSinh
     //
     this.cboLanSinh.BackColor = System.Drawing.SystemColors.HighlightText;
     this.cboLanSinh.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cboLanSinh.Items.AddRange(new object[] {
         "sinh lần 1",
         "sinh lần 2 ",
         "sinh >= 3 lần"
     });
     this.cboLanSinh.Location = new System.Drawing.Point(68, 122);
     this.cboLanSinh.Name     = "cboLanSinh";
     this.cboLanSinh.Size     = new System.Drawing.Size(116, 21);
     this.cboLanSinh.TabIndex = 18;
     //
     // label9
     //
     this.label9.Location  = new System.Drawing.Point(12, 122);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(56, 23);
     this.label9.TabIndex  = 17;
     this.label9.Text      = "Lần sinh :";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // frmTktresosinh
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(272, 195);
     this.Controls.Add(this.cboLanSinh);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.cn2);
     this.Controls.Add(this.cn1);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.ditat);
     this.Controls.Add(this.tinhtrang);
     this.Controls.Add(this.phai);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.den);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.label1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmTktresosinh";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh sách trẻ sơ sinh";
     this.Load         += new System.EventHandler(this.frmTktresosinh_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 10
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();
 }
Esempio n. 11
0
        private void SetEditorAfterUpdateGrid()
        {
            C1FlexGrid grid = c1FlexGrid_TCP_IP_Conf;

            foreach (Row rowConf in grid.Rows)
            {
                // editor for Port number
                CellRange rg = grid.GetCellRange(rowConf.Index, 3, rowConf.Index, 3);
                CellStyle cs = grid.Styles.Add("Port_Address");

                MaskedTextBox.MaskedTextBox tbPort = new MaskedTextBox.MaskedTextBox();
                tbPort.Masked = MaskedTextBox.Mask.Digit;
               // tbPort.MaxLength = 5;

                cs.Editor = tbPort;

                rg.Style = grid.Styles["Port_Address"];

                //editor ip address
                rg = grid.GetCellRange(rowConf.Index, 5, rowConf.Index, 5);
                cs = grid.Styles.Add("IP_Address");

                MaskedTextBox.MaskedTextBox tb = new MaskedTextBox.MaskedTextBox();
                tb.Masked = MaskedTextBox.Mask.IpAddress;
                cs.Editor = tb;

                rg.Style = grid.Styles["IP_Address"];

            }
        }
Esempio n. 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(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();
 }
Esempio n. 13
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(frmTiensusk));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     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.cachthucde = new System.Windows.Forms.ComboBox();
     this.label19    = new System.Windows.Forms.Label();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.du         = new System.Windows.Forms.CheckBox();
     this.thieu      = new System.Windows.Forms.CheckBox();
     this.say        = new System.Windows.Forms.CheckBox();
     this.hut        = new System.Windows.Forms.CheckBox();
     this.nao        = new System.Windows.Forms.CheckBox();
     this.covac      = new System.Windows.Forms.CheckBox();
     this.ngoai      = new System.Windows.Forms.CheckBox();
     this.trung      = new System.Windows.Forms.CheckBox();
     this.chet       = new System.Windows.Forms.CheckBox();
     this.song       = new System.Windows.Forms.CheckBox();
     this.label3     = new System.Windows.Forms.Label();
     this.taibien    = new System.Windows.Forms.CheckBox();
     this.cannang    = new MaskedTextBox.MaskedTextBox();
     this.stt        = new System.Windows.Forms.NumericUpDown();
     this.nam        = new System.Windows.Forms.TextBox();
     this.label4     = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.stt)).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, -13);
     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(760, 184);
     this.dataGrid1.TabIndex            = 200;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // butThem
     //
     this.butThem.Image      = ((System.Drawing.Image)(resources.GetObject("butThem.Image")));
     this.butThem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butThem.Location   = new System.Drawing.Point(132, 238);
     this.butThem.Name       = "butThem";
     this.butThem.Size       = new System.Drawing.Size(75, 28);
     this.butThem.TabIndex   = 21;
     this.butThem.Text       = "     &Thêm";
     this.butThem.Click     += new System.EventHandler(this.butThem_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(207, 238);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(75, 28);
     this.butSua.TabIndex   = 22;
     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(282, 238);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(75, 28);
     this.butLuu.TabIndex   = 19;
     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(357, 238);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(75, 28);
     this.butBoqua.TabIndex   = 20;
     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(432, 238);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(75, 28);
     this.butHuy.TabIndex   = 23;
     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(507, 238);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(75, 28);
     this.butKetthuc.TabIndex   = 24;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // cachthucde
     //
     this.cachthucde.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.cachthucde.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cachthucde.Enabled       = false;
     this.cachthucde.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cachthucde.Location      = new System.Drawing.Point(547, 205);
     this.cachthucde.Name          = "cachthucde";
     this.cachthucde.Size          = new System.Drawing.Size(152, 21);
     this.cachthucde.TabIndex      = 17;
     this.cachthucde.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.cachthucde_KeyDown);
     //
     // label19
     //
     this.label19.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label19.Location  = new System.Drawing.Point(443, 208);
     this.label19.Name      = "label19";
     this.label19.Size      = new System.Drawing.Size(104, 16);
     this.label19.TabIndex  = 16;
     this.label19.Text      = "Phương pháp đẻ :";
     this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label1.Location  = new System.Drawing.Point(0, 184);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(80, 16);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Số lần có thai :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(128, 184);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(40, 16);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Năm :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // du
     //
     this.du.Enabled         = false;
     this.du.Location        = new System.Drawing.Point(224, 184);
     this.du.Name            = "du";
     this.du.Size            = new System.Drawing.Size(88, 16);
     this.du.TabIndex        = 4;
     this.du.Text            = "Đẻ đủ tháng";
     this.du.CheckedChanged += new System.EventHandler(this.du_CheckedChanged);
     this.du.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // thieu
     //
     this.thieu.Enabled         = false;
     this.thieu.Location        = new System.Drawing.Point(312, 184);
     this.thieu.Name            = "thieu";
     this.thieu.Size            = new System.Drawing.Size(104, 16);
     this.thieu.TabIndex        = 5;
     this.thieu.Text            = "Đẻ thiếu tháng";
     this.thieu.CheckedChanged += new System.EventHandler(this.thieu_CheckedChanged);
     this.thieu.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // say
     //
     this.say.Enabled         = false;
     this.say.Location        = new System.Drawing.Point(408, 184);
     this.say.Name            = "say";
     this.say.Size            = new System.Drawing.Size(56, 16);
     this.say.TabIndex        = 6;
     this.say.Text            = "Sẩy";
     this.say.CheckedChanged += new System.EventHandler(this.say_CheckedChanged);
     this.say.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // hut
     //
     this.hut.Enabled         = false;
     this.hut.Location        = new System.Drawing.Point(456, 184);
     this.hut.Name            = "hut";
     this.hut.Size            = new System.Drawing.Size(56, 16);
     this.hut.TabIndex        = 7;
     this.hut.Text            = "Hút";
     this.hut.CheckedChanged += new System.EventHandler(this.hut_CheckedChanged);
     this.hut.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // nao
     //
     this.nao.Enabled         = false;
     this.nao.Location        = new System.Drawing.Point(504, 184);
     this.nao.Name            = "nao";
     this.nao.Size            = new System.Drawing.Size(56, 16);
     this.nao.TabIndex        = 8;
     this.nao.Text            = "Nạo";
     this.nao.CheckedChanged += new System.EventHandler(this.nao_CheckedChanged);
     this.nao.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // covac
     //
     this.covac.Enabled  = false;
     this.covac.Location = new System.Drawing.Point(560, 184);
     this.covac.Name     = "covac";
     this.covac.Size     = new System.Drawing.Size(56, 16);
     this.covac.TabIndex = 9;
     this.covac.Text     = "Covac";
     this.covac.KeyDown += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // ngoai
     //
     this.ngoai.Enabled         = false;
     this.ngoai.Location        = new System.Drawing.Point(632, 184);
     this.ngoai.Name            = "ngoai";
     this.ngoai.Size            = new System.Drawing.Size(112, 16);
     this.ngoai.TabIndex        = 10;
     this.ngoai.Text            = "Chửa ngoài TC";
     this.ngoai.CheckedChanged += new System.EventHandler(this.ngoai_CheckedChanged);
     this.ngoai.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // trung
     //
     this.trung.Enabled         = false;
     this.trung.Location        = new System.Drawing.Point(11, 208);
     this.trung.Name            = "trung";
     this.trung.Size            = new System.Drawing.Size(88, 16);
     this.trung.TabIndex        = 11;
     this.trung.Text            = "Chửa trứng";
     this.trung.CheckedChanged += new System.EventHandler(this.trung_CheckedChanged);
     this.trung.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // chet
     //
     this.chet.Enabled         = false;
     this.chet.Location        = new System.Drawing.Point(91, 208);
     this.chet.Name            = "chet";
     this.chet.Size            = new System.Drawing.Size(88, 16);
     this.chet.TabIndex        = 12;
     this.chet.Text            = "Thai chết lưu";
     this.chet.CheckedChanged += new System.EventHandler(this.chet_CheckedChanged);
     this.chet.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // song
     //
     this.song.Enabled         = false;
     this.song.Location        = new System.Drawing.Point(179, 208);
     this.song.Name            = "song";
     this.song.Size            = new System.Drawing.Size(96, 16);
     this.song.TabIndex        = 13;
     this.song.Text            = "Con hiện sống";
     this.song.CheckedChanged += new System.EventHandler(this.song_CheckedChanged);
     this.song.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // label3
     //
     this.label3.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label3.Location  = new System.Drawing.Point(273, 208);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(72, 16);
     this.label3.TabIndex  = 14;
     this.label3.Text      = "Cân nặng :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // taibien
     //
     this.taibien.Enabled  = false;
     this.taibien.Location = new System.Drawing.Point(707, 208);
     this.taibien.Name     = "taibien";
     this.taibien.Size     = new System.Drawing.Size(88, 16);
     this.taibien.TabIndex = 18;
     this.taibien.Text     = "Tai biến";
     this.taibien.KeyDown += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // cannang
     //
     this.cannang.BackColor = System.Drawing.SystemColors.HighlightText;
     this.cannang.Enabled   = false;
     this.cannang.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cannang.Location  = new System.Drawing.Point(345, 205);
     this.cannang.Masked    = MaskedTextBox.MaskedTextBox.Mask.None;
     this.cannang.MaxLength = 5;
     this.cannang.Name      = "cannang";
     this.cannang.Size      = new System.Drawing.Size(40, 21);
     this.cannang.TabIndex  = 15;
     this.cannang.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.cannang.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // stt
     //
     this.stt.BackColor = System.Drawing.SystemColors.HighlightText;
     this.stt.Enabled   = false;
     this.stt.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.stt.Location  = new System.Drawing.Point(80, 184);
     this.stt.Name      = "stt";
     this.stt.Size      = new System.Drawing.Size(48, 21);
     this.stt.TabIndex  = 1;
     this.stt.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // nam
     //
     this.nam.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.nam.Enabled    = false;
     this.nam.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nam.Location   = new System.Drawing.Point(168, 184);
     this.nam.Name       = "nam";
     this.nam.Size       = new System.Drawing.Size(48, 21);
     this.nam.TabIndex   = 3;
     this.nam.KeyPress  += new System.Windows.Forms.KeyPressEventHandler(this.nam_KeyPress);
     this.nam.Validated += new System.EventHandler(this.nam_Validated);
     this.nam.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // label4
     //
     this.label4.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label4.Location  = new System.Drawing.Point(386, 208);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(32, 16);
     this.label4.TabIndex  = 201;
     this.label4.Text      = "gram";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // frmTiensusk
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(776, 287);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.nam);
     this.Controls.Add(this.stt);
     this.Controls.Add(this.cannang);
     this.Controls.Add(this.taibien);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.song);
     this.Controls.Add(this.chet);
     this.Controls.Add(this.trung);
     this.Controls.Add(this.ngoai);
     this.Controls.Add(this.covac);
     this.Controls.Add(this.nao);
     this.Controls.Add(this.hut);
     this.Controls.Add(this.say);
     this.Controls.Add(this.thieu);
     this.Controls.Add(this.du);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label19);
     this.Controls.Add(this.cachthucde);
     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.dataGrid1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frmTiensusk";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Tiền sử sản khoa";
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.frmTiensusk_KeyDown);
     this.Load           += new System.EventHandler(this.frmTiensusk_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.stt)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 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(frmBtdpxa));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.ma         = new MaskedTextBox.MaskedTextBox();
     this.ten        = new MaskedTextBox.MaskedTextBox();
     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.label3     = new System.Windows.Forms.Label();
     this.matt       = new System.Windows.Forms.ComboBox();
     this.label4     = new System.Windows.Forms.Label();
     this.viettat    = new MaskedTextBox.MaskedTextBox();
     this.maqu       = new System.Windows.Forms.ComboBox();
     this.label5     = new System.Windows.Forms.Label();
     ((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, 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(484, 292);
     this.dataGrid1.TabIndex            = 4;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 313);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(40, 23);
     this.label1.TabIndex  = 5;
     this.label1.Text      = "Mã :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(80, 313);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(56, 23);
     this.label2.TabIndex  = 7;
     this.label2.Text      = "Tên :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // 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(48, 313);
     this.ma.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.ma.MaxLength  = 2;
     this.ma.Name       = "ma";
     this.ma.Size       = new System.Drawing.Size(40, 21);
     this.ma.TabIndex   = 6;
     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(136, 313);
     this.ten.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.ten.Name       = "ten";
     this.ten.Size       = new System.Drawing.Size(208, 21);
     this.ten.TabIndex   = 8;
     this.ten.Validated += new System.EventHandler(this.ten_Validated);
     //
     // butThem
     //
     this.butThem.Image      = ((System.Drawing.Image)(resources.GetObject("butThem.Image")));
     this.butThem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butThem.Location   = new System.Drawing.Point(61, 344);
     this.butThem.Name       = "butThem";
     this.butThem.Size       = new System.Drawing.Size(60, 25);
     this.butThem.TabIndex   = 13;
     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      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(122, 344);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(60, 25);
     this.butSua.TabIndex   = 14;
     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(183, 344);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(60, 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(244, 344);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(60, 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(305, 344);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(60, 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(366, 344);
     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);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(-8, 4);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(100, 23);
     this.label3.TabIndex  = 0;
     this.label3.Text      = "Tỉnh/thành phố :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // matt
     //
     this.matt.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     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(90, 4);
     this.matt.Name                  = "matt";
     this.matt.Size                  = new System.Drawing.Size(150, 21);
     this.matt.TabIndex              = 1;
     this.matt.SelectedIndexChanged += new System.EventHandler(this.matt_SelectedIndexChanged);
     this.matt.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.matt_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(344, 312);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(56, 23);
     this.label4.TabIndex  = 9;
     this.label4.Text      = "Viết tắt :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // viettat
     //
     this.viettat.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.viettat.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.viettat.Enabled         = false;
     this.viettat.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.viettat.Location        = new System.Drawing.Point(400, 312);
     this.viettat.Masked          = MaskedTextBox.MaskedTextBox.Mask.None;
     this.viettat.Name            = "viettat";
     this.viettat.Size            = new System.Drawing.Size(88, 21);
     this.viettat.TabIndex        = 10;
     this.viettat.Validated      += new System.EventHandler(this.viettat_Validated);
     //
     // maqu
     //
     this.maqu.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.maqu.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maqu.Location              = new System.Drawing.Point(312, 4);
     this.maqu.Name                  = "maqu";
     this.maqu.Size                  = new System.Drawing.Size(176, 21);
     this.maqu.TabIndex              = 3;
     this.maqu.SelectedIndexChanged += new System.EventHandler(this.maqu_SelectedIndexChanged);
     this.maqu.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.maqu_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(212, 4);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(100, 23);
     this.label5.TabIndex  = 2;
     this.label5.Text      = "Quận/huyện :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // frmBtdpxa
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(496, 389);
     this.Controls.Add(this.matt);
     this.Controls.Add(this.maqu);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.viettat);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     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.ten);
     this.Controls.Add(this.ma);
     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          = "frmBtdpxa";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục phường xã";
     this.Load         += new System.EventHandler(this.frmBtdpxa_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 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(frmTkdieutri));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.butIn      = new System.Windows.Forms.Button();
     this.thang      = new MaskedTextBox.MaskedTextBox();
     this.nam        = new MaskedTextBox.MaskedTextBox();
     this.makp       = new System.Windows.Forms.ComboBox();
     this.label3     = new System.Windows.Forms.Label();
     this.time       = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label1.Location  = new System.Drawing.Point(5, 17);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Tháng :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(120, 17);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(40, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Năm :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butKetthuc
     //
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(116, 96);
     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.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // butIn
     //
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(44, 96);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 6;
     this.butIn.Text       = "&In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // thang
     //
     this.thang.Font       = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.thang.Location   = new System.Drawing.Point(52, 17);
     this.thang.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.thang.MaxLength  = 2;
     this.thang.Name       = "thang";
     this.thang.Size       = new System.Drawing.Size(24, 23);
     this.thang.TabIndex   = 1;
     this.thang.Validated += new System.EventHandler(this.thang_Validated);
     //
     // nam
     //
     this.nam.Font       = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nam.Location   = new System.Drawing.Point(164, 17);
     this.nam.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.nam.MaxLength  = 4;
     this.nam.Name       = "nam";
     this.nam.Size       = new System.Drawing.Size(40, 23);
     this.nam.TabIndex   = 3;
     this.nam.Validated += new System.EventHandler(this.nam_Validated);
     //
     // 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(52, 43);
     this.makp.Name     = "makp";
     this.makp.Size     = new System.Drawing.Size(152, 21);
     this.makp.TabIndex = 5;
     this.makp.KeyDown += new System.Windows.Forms.KeyEventHandler(this.makp_KeyDown);
     //
     // label3
     //
     this.label3.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label3.Location  = new System.Drawing.Point(-3, 43);
     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;
     //
     // time
     //
     this.time.ForeColor = System.Drawing.SystemColors.ControlText;
     this.time.Location  = new System.Drawing.Point(52, 69);
     this.time.Name      = "time";
     this.time.Size      = new System.Drawing.Size(156, 16);
     this.time.TabIndex  = 104;
     this.time.Text      = "checkBox1";
     //
     // frmTkdieutri
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(216, 141);
     this.Controls.Add(this.time);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.nam);
     this.Controls.Add(this.thang);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmTkdieutri";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Thống kê điều trị nội trú";
     this.Load         += new System.EventHandler(this.frmTkdieutri_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 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(frmGiavp));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label1     = new System.Windows.Forms.Label();
     this.ma         = new System.Windows.Forms.TextBox();
     this.label2     = 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.label3     = new System.Windows.Forms.Label();
     this.stt        = new System.Windows.Forms.NumericUpDown();
     this.label4     = new System.Windows.Forms.Label();
     this.nhom       = new System.Windows.Forms.ComboBox();
     this.label5     = new System.Windows.Forms.Label();
     this.label6     = new System.Windows.Forms.Label();
     this.gia_nv     = new MaskedTextBox.MaskedTextBox();
     this.gia_ngv    = new MaskedTextBox.MaskedTextBox();
     this.label7     = new System.Windows.Forms.Label();
     this.ghichu     = new System.Windows.Forms.TextBox();
     this.label8     = new System.Windows.Forms.Label();
     this.makp       = new System.Windows.Forms.ComboBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.stt)).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, 6);
     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, 432);
     this.dataGrid1.TabIndex            = 40;
     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(569, 496);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(79, 25);
     this.butKetthuc.TabIndex   = 14;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(61, 445);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 27;
     this.label1.Text      = "Mã :";
     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(108, 445);
     this.ma.MaxLength       = 30;
     this.ma.Name            = "ma";
     this.ma.Size            = new System.Drawing.Size(68, 21);
     this.ma.TabIndex        = 3;
     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(176, 445);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(56, 23);
     this.label2.TabIndex  = 28;
     this.label2.Text      = "Nội dung :";
     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(231, 445);
     this.ten.Name      = "ten";
     this.ten.Size      = new System.Drawing.Size(275, 21);
     this.ten.TabIndex  = 4;
     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(174, 496);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(79, 25);
     this.butMoi.TabIndex   = 11;
     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(253, 496);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(79, 25);
     this.butSua.TabIndex   = 12;
     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(332, 496);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(79, 25);
     this.butLuu.TabIndex   = 9;
     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(411, 496);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(79, 25);
     this.butBoqua.TabIndex   = 10;
     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(490, 496);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(79, 25);
     this.butHuy.TabIndex   = 13;
     this.butHuy.Text       = "&Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(-10, 445);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(45, 23);
     this.label3.TabIndex  = 26;
     this.label3.Text      = "STT :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // stt
     //
     this.stt.Enabled  = false;
     this.stt.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.stt.Location = new System.Drawing.Point(33, 445);
     this.stt.Maximum  = new decimal(new int[] {
         999,
         0,
         0,
         0
     });
     this.stt.Name     = "stt";
     this.stt.Size     = new System.Drawing.Size(48, 21);
     this.stt.TabIndex = 2;
     this.stt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(-5, 1);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(45, 23);
     this.label4.TabIndex  = 0;
     this.label4.Text      = "Loại :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // nhom
     //
     this.nhom.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.nhom.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nhom.Location              = new System.Drawing.Point(40, 2);
     this.nhom.Name                  = "nhom";
     this.nhom.Size                  = new System.Drawing.Size(744, 21);
     this.nhom.TabIndex              = 1;
     this.nhom.SelectedIndexChanged += new System.EventHandler(this.nhom_SelectedIndexChanged);
     this.nhom.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.nhom_KeyDown);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(506, 445);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(56, 23);
     this.label5.TabIndex  = 30;
     this.label5.Text      = "Nội viện :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(634, 445);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(64, 23);
     this.label6.TabIndex  = 31;
     this.label6.Text      = "Ngoại viện :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // gia_nv
     //
     this.gia_nv.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.gia_nv.Enabled    = false;
     this.gia_nv.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gia_nv.Location   = new System.Drawing.Point(562, 445);
     this.gia_nv.Masked     = MaskedTextBox.MaskedTextBox.Mask.Digit;
     this.gia_nv.Name       = "gia_nv";
     this.gia_nv.Size       = new System.Drawing.Size(71, 21);
     this.gia_nv.TabIndex   = 5;
     this.gia_nv.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.gia_nv.Validated += new System.EventHandler(this.gia_nv_Validated);
     //
     // gia_ngv
     //
     this.gia_ngv.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.gia_ngv.Enabled    = false;
     this.gia_ngv.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gia_ngv.Location   = new System.Drawing.Point(701, 445);
     this.gia_ngv.Masked     = MaskedTextBox.MaskedTextBox.Mask.Digit;
     this.gia_ngv.Name       = "gia_ngv";
     this.gia_ngv.Size       = new System.Drawing.Size(83, 21);
     this.gia_ngv.TabIndex   = 6;
     this.gia_ngv.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.gia_ngv.Validated += new System.EventHandler(this.gia_ngv_Validated);
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(-6, 469);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(56, 23);
     this.label7.TabIndex  = 41;
     this.label7.Text      = "Ghi chú :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // 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(52, 469);
     this.ghichu.Name      = "ghichu";
     this.ghichu.Size      = new System.Drawing.Size(454, 21);
     this.ghichu.TabIndex  = 7;
     this.ghichu.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(506, 468);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(56, 23);
     this.label8.TabIndex  = 42;
     this.label8.Text      = "Phòng :";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // 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.FormattingEnabled = true;
     this.makp.Location          = new System.Drawing.Point(562, 468);
     this.makp.Name              = "makp";
     this.makp.Size              = new System.Drawing.Size(222, 21);
     this.makp.TabIndex          = 8;
     this.makp.KeyDown          += new System.Windows.Forms.KeyEventHandler(this.makp_KeyDown);
     //
     // frmGiavp
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 573);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.ghichu);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.ma);
     this.Controls.Add(this.stt);
     this.Controls.Add(this.gia_ngv);
     this.Controls.Add(this.gia_nv);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.nhom);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     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.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview    = true;
     this.Name          = "frmGiavp";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Khai báo giá viện phí";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Load         += new System.EventHandler(this.frmGiavp_Load);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmGiavp_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.stt)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 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(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();
 }
Esempio n. 18
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();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_themmoi_thuoc));
     Janus.Windows.GridEX.GridEXLayout grdDmucthuoc_DesignTimeLayout = new Janus.Windows.GridEX.GridEXLayout();
     this.GroupBox1 = new System.Windows.Forms.GroupBox();
     this.txtMaQD40 = new System.Windows.Forms.TextBox();
     this.txtMaQDTinh = new System.Windows.Forms.TextBox();
     this.label24 = new System.Windows.Forms.Label();
     this.txtSlVuottran = new MaskedTextBox.MaskedTextBox();
     this.label23 = new System.Windows.Forms.Label();
     this.label22 = new System.Windows.Forms.Label();
     this.txtKieuthuocVT = new VNS.HIS.UCs.AutoCompleteTextbox_Danhmucchung();
     this.txtName = new VNS.HIS.UCs.AutoCompleteTextbox();
     this.txtNuocSX = new VNS.HIS.UCs.AutoCompleteTextbox_Danhmucchung();
     this.txtHangSX = new VNS.HIS.UCs.AutoCompleteTextbox_Danhmucchung();
     this.txtDangBaoChe = new VNS.HIS.UCs.AutoCompleteTextbox_Danhmucchung();
     this.txtDonvitinh = new VNS.HIS.UCs.AutoCompleteTextbox_Danhmucchung();
     this.txtCachsudung = new VNS.HIS.UCs.AutoCompleteTextbox_Danhmucchung();
     this.label21 = new System.Windows.Forms.Label();
     this.chkSingle = new System.Windows.Forms.CheckBox();
     this.txtThuoc = new VNS.HIS.UCs.AutoCompleteTextbox();
     this.vbLine2 = new VNS.UCs.VBLine();
     this.grdDmucthuoc = new Janus.Windows.GridEX.GridEX();
     this.label20 = new System.Windows.Forms.Label();
     this.txtDonvichia = new VNS.HIS.UCs.AutoCompleteTextbox_Danhmucchung();
     this.txtDongiachia = new MaskedTextBox.MaskedTextBox();
     this.chkChiathuoc = new System.Windows.Forms.CheckBox();
     this.lblDongiachia = new System.Windows.Forms.Label();
     this.txtSoluongchia = new MaskedTextBox.MaskedTextBox();
     this.label15 = new System.Windows.Forms.Label();
     this.txtBut = new MaskedTextBox.MaskedTextBox();
     this.label14 = new System.Windows.Forms.Label();
     this.txtSoluong = new MaskedTextBox.MaskedTextBox();
     this.chkTutuc = new Janus.Windows.EditControls.UICheckBox();
     this.label9 = new System.Windows.Forms.Label();
     this.optNoitru = new System.Windows.Forms.RadioButton();
     this.optNgoai = new System.Windows.Forms.RadioButton();
     this.optAll = new System.Windows.Forms.RadioButton();
     this.txtQD31 = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.lblMsg = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.txtLoaithuoc = new VNS.HIS.UCs.AutoCompleteTextbox();
     this.label2 = new System.Windows.Forms.Label();
     this.txtTEN_BHYT = new System.Windows.Forms.TextBox();
     this.label29 = new System.Windows.Forms.Label();
     this.label28 = new System.Windows.Forms.Label();
     this.label27 = new System.Windows.Forms.Label();
     this.chkHieuLuc = new Janus.Windows.EditControls.UICheckBox();
     this.txtNumber_Register = new System.Windows.Forms.TextBox();
     this.lab10 = new System.Windows.Forms.Label();
     this.label19 = new System.Windows.Forms.Label();
     this.label18 = new System.Windows.Forms.Label();
     this.txtContent = new System.Windows.Forms.TextBox();
     this.label12 = new System.Windows.Forms.Label();
     this.txtActice = new System.Windows.Forms.TextBox();
     this.label17 = new System.Windows.Forms.Label();
     this.cboDrugNature = new System.Windows.Forms.ComboBox();
     this.label16 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.txtCode = new System.Windows.Forms.TextBox();
     this.Label5 = new System.Windows.Forms.Label();
     this.Label3 = new System.Windows.Forms.Label();
     this.txtID = new System.Windows.Forms.TextBox();
     this.Label1 = new System.Windows.Forms.Label();
     this.pnlGia = new System.Windows.Forms.Panel();
     this.txtGiaDV = new MaskedTextBox.MaskedTextBox();
     this.label7 = new System.Windows.Forms.Label();
     this.label25 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.txtPTTT = new MaskedTextBox.MaskedTextBox();
     this.txtPTDT = new MaskedTextBox.MaskedTextBox();
     this.label13 = new System.Windows.Forms.Label();
     this.txtGiaBHYT = new MaskedTextBox.MaskedTextBox();
     this.txtDongia = new MaskedTextBox.MaskedTextBox();
     this.cmdSave = new System.Windows.Forms.Button();
     this.cmdClose = new System.Windows.Forms.Button();
     this.chkThemlientuc = new Janus.Windows.EditControls.UICheckBox();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.cmdNew = new Janus.Windows.EditControls.UIButton();
     this.txtDesc = new System.Windows.Forms.TextBox();
     this.GroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grdDmucthuoc)).BeginInit();
     this.pnlGia.SuspendLayout();
     this.SuspendLayout();
     //
     // GroupBox1
     //
     this.GroupBox1.BackColor = System.Drawing.SystemColors.Control;
     this.GroupBox1.Controls.Add(this.txtDesc);
     this.GroupBox1.Controls.Add(this.txtMaQD40);
     this.GroupBox1.Controls.Add(this.txtMaQDTinh);
     this.GroupBox1.Controls.Add(this.label24);
     this.GroupBox1.Controls.Add(this.txtSlVuottran);
     this.GroupBox1.Controls.Add(this.label23);
     this.GroupBox1.Controls.Add(this.label22);
     this.GroupBox1.Controls.Add(this.txtKieuthuocVT);
     this.GroupBox1.Controls.Add(this.txtName);
     this.GroupBox1.Controls.Add(this.txtNuocSX);
     this.GroupBox1.Controls.Add(this.txtHangSX);
     this.GroupBox1.Controls.Add(this.txtDangBaoChe);
     this.GroupBox1.Controls.Add(this.txtDonvitinh);
     this.GroupBox1.Controls.Add(this.txtCachsudung);
     this.GroupBox1.Controls.Add(this.label21);
     this.GroupBox1.Controls.Add(this.chkSingle);
     this.GroupBox1.Controls.Add(this.txtThuoc);
     this.GroupBox1.Controls.Add(this.vbLine2);
     this.GroupBox1.Controls.Add(this.grdDmucthuoc);
     this.GroupBox1.Controls.Add(this.label20);
     this.GroupBox1.Controls.Add(this.txtDonvichia);
     this.GroupBox1.Controls.Add(this.txtDongiachia);
     this.GroupBox1.Controls.Add(this.chkChiathuoc);
     this.GroupBox1.Controls.Add(this.lblDongiachia);
     this.GroupBox1.Controls.Add(this.txtSoluongchia);
     this.GroupBox1.Controls.Add(this.label15);
     this.GroupBox1.Controls.Add(this.txtBut);
     this.GroupBox1.Controls.Add(this.label14);
     this.GroupBox1.Controls.Add(this.txtSoluong);
     this.GroupBox1.Controls.Add(this.chkTutuc);
     this.GroupBox1.Controls.Add(this.label9);
     this.GroupBox1.Controls.Add(this.optNoitru);
     this.GroupBox1.Controls.Add(this.optNgoai);
     this.GroupBox1.Controls.Add(this.optAll);
     this.GroupBox1.Controls.Add(this.txtQD31);
     this.GroupBox1.Controls.Add(this.label8);
     this.GroupBox1.Controls.Add(this.lblMsg);
     this.GroupBox1.Controls.Add(this.label4);
     this.GroupBox1.Controls.Add(this.txtLoaithuoc);
     this.GroupBox1.Controls.Add(this.label2);
     this.GroupBox1.Controls.Add(this.txtTEN_BHYT);
     this.GroupBox1.Controls.Add(this.label29);
     this.GroupBox1.Controls.Add(this.label28);
     this.GroupBox1.Controls.Add(this.label27);
     this.GroupBox1.Controls.Add(this.chkHieuLuc);
     this.GroupBox1.Controls.Add(this.txtNumber_Register);
     this.GroupBox1.Controls.Add(this.lab10);
     this.GroupBox1.Controls.Add(this.label19);
     this.GroupBox1.Controls.Add(this.label18);
     this.GroupBox1.Controls.Add(this.txtContent);
     this.GroupBox1.Controls.Add(this.label12);
     this.GroupBox1.Controls.Add(this.txtActice);
     this.GroupBox1.Controls.Add(this.label17);
     this.GroupBox1.Controls.Add(this.cboDrugNature);
     this.GroupBox1.Controls.Add(this.label16);
     this.GroupBox1.Controls.Add(this.label6);
     this.GroupBox1.Controls.Add(this.txtCode);
     this.GroupBox1.Controls.Add(this.Label5);
     this.GroupBox1.Controls.Add(this.Label3);
     this.GroupBox1.Controls.Add(this.txtID);
     this.GroupBox1.Controls.Add(this.Label1);
     this.GroupBox1.Controls.Add(this.pnlGia);
     this.GroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
     this.GroupBox1.Location = new System.Drawing.Point(0, 0);
     this.GroupBox1.Name = "GroupBox1";
     this.GroupBox1.Size = new System.Drawing.Size(1008, 500);
     this.GroupBox1.TabIndex = 0;
     this.GroupBox1.TabStop = false;
     this.GroupBox1.Text = "Thông tin chi tiết thuốc";
     //
     // txtMaQD40
     //
     this.txtMaQD40.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtMaQD40.BackColor = System.Drawing.Color.White;
     this.txtMaQD40.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtMaQD40.Enabled = false;
     this.txtMaQD40.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMaQD40.Location = new System.Drawing.Point(229, 27);
     this.txtMaQD40.MaxLength = 20;
     this.txtMaQD40.Name = "txtMaQD40";
     this.txtMaQD40.Size = new System.Drawing.Size(74, 21);
     this.txtMaQD40.TabIndex = 1;
     //
     // txtMaQDTinh
     //
     this.txtMaQDTinh.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtMaQDTinh.BackColor = System.Drawing.Color.White;
     this.txtMaQDTinh.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtMaQDTinh.Enabled = false;
     this.txtMaQDTinh.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMaQDTinh.Location = new System.Drawing.Point(398, 26);
     this.txtMaQDTinh.MaxLength = 20;
     this.txtMaQDTinh.Name = "txtMaQDTinh";
     this.txtMaQDTinh.Size = new System.Drawing.Size(85, 21);
     this.txtMaQDTinh.TabIndex = 1;
     //
     // label24
     //
     this.label24.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label24.Location = new System.Drawing.Point(312, 287);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(83, 20);
     this.label24.TabIndex = 1742;
     this.label24.Text = "S.L vượt trần";
     this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.toolTip1.SetToolTip(this.label24, "Giới hạn thuốc khi bác sĩ kê đơn. Để giá trị<=0 nếu không muốn giới hạn");
     //
     // txtSlVuottran
     //
     this.txtSlVuottran.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtSlVuottran.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtSlVuottran.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSlVuottran.Location = new System.Drawing.Point(398, 286);
     this.txtSlVuottran.Masked = MaskedTextBox.Mask.Digit;
     this.txtSlVuottran.Name = "txtSlVuottran";
     this.txtSlVuottran.Size = new System.Drawing.Size(128, 21);
     this.txtSlVuottran.TabIndex = 21;
     this.txtSlVuottran.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label23
     //
     this.label23.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label23.ForeColor = System.Drawing.Color.Red;
     this.label23.Location = new System.Drawing.Point(309, 29);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(89, 15);
     this.label23.TabIndex = 1740;
     this.label23.Text = "Mã QĐ Tỉnh:";
     this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label22
     //
     this.label22.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label22.ForeColor = System.Drawing.Color.Red;
     this.label22.Location = new System.Drawing.Point(162, 29);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(61, 15);
     this.label22.TabIndex = 1738;
     this.label22.Text = "Mã QĐ 40";
     this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtKieuthuocVT
     //
     this.txtKieuthuocVT._backcolor = System.Drawing.SystemColors.Control;
     this.txtKieuthuocVT._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtKieuthuocVT._TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtKieuthuocVT.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtKieuthuocVT.AutoCompleteList")));
     this.txtKieuthuocVT.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtKieuthuocVT.CaseSensitive = false;
     this.txtKieuthuocVT.CompareNoID = true;
     this.txtKieuthuocVT.DefaultCode = "-1";
     this.txtKieuthuocVT.DefaultID = "-1";
     this.txtKieuthuocVT.Drug_ID = null;
     this.txtKieuthuocVT.ExtraWidth = 0;
     this.txtKieuthuocVT.FillValueAfterSelect = false;
     this.txtKieuthuocVT.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtKieuthuocVT.LOAI_DANHMUC = "KIEUTHUOCVT";
     this.txtKieuthuocVT.Location = new System.Drawing.Point(113, 51);
     this.txtKieuthuocVT.MaxHeight = -1;
     this.txtKieuthuocVT.MinTypedCharacters = 2;
     this.txtKieuthuocVT.MyCode = "-1";
     this.txtKieuthuocVT.MyID = "-1";
     this.txtKieuthuocVT.Name = "txtKieuthuocVT";
     this.txtKieuthuocVT.RaiseEvent = false;
     this.txtKieuthuocVT.RaiseEventEnter = false;
     this.txtKieuthuocVT.RaiseEventEnterWhenEmpty = false;
     this.txtKieuthuocVT.SelectedIndex = -1;
     this.txtKieuthuocVT.Size = new System.Drawing.Size(190, 21);
     this.txtKieuthuocVT.splitChar = '@';
     this.txtKieuthuocVT.splitCharIDAndCode = '#';
     this.txtKieuthuocVT.TabIndex = 2;
     this.txtKieuthuocVT.TakeCode = false;
     this.txtKieuthuocVT.txtMyCode = null;
     this.txtKieuthuocVT.txtMyCode_Edit = null;
     this.txtKieuthuocVT.txtMyID = null;
     this.txtKieuthuocVT.txtMyID_Edit = null;
     this.txtKieuthuocVT.txtMyName = null;
     this.txtKieuthuocVT.txtMyName_Edit = null;
     this.txtKieuthuocVT.txtNext = null;
     //
     // txtName
     //
     this.txtName._backcolor = System.Drawing.Color.WhiteSmoke;
     this.txtName._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtName._TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtName.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtName.AutoCompleteList")));
     this.txtName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtName.CaseSensitive = false;
     this.txtName.CompareNoID = true;
     this.txtName.DefaultCode = "-1";
     this.txtName.DefaultID = "-1";
     this.txtName.Drug_ID = null;
     this.txtName.ExtraWidth = 0;
     this.txtName.FillValueAfterSelect = false;
     this.txtName.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtName.Location = new System.Drawing.Point(112, 75);
     this.txtName.MaxHeight = 289;
     this.txtName.MinTypedCharacters = 2;
     this.txtName.MyCode = "-1";
     this.txtName.MyID = "-1";
     this.txtName.MyText = "";
     this.txtName.Name = "txtName";
     this.txtName.RaiseEvent = true;
     this.txtName.RaiseEventEnter = false;
     this.txtName.RaiseEventEnterWhenEmpty = false;
     this.txtName.SelectedIndex = -1;
     this.txtName.Size = new System.Drawing.Size(594, 21);
     this.txtName.splitChar = '@';
     this.txtName.splitCharIDAndCode = '#';
     this.txtName.TabIndex = 4;
     this.txtName.TakeCode = true;
     this.txtName.txtMyCode = null;
     this.txtName.txtMyCode_Edit = null;
     this.txtName.txtMyID = null;
     this.txtName.txtMyID_Edit = null;
     this.txtName.txtMyName = null;
     this.txtName.txtMyName_Edit = null;
     this.txtName.txtNext = null;
     //
     // txtNuocSX
     //
     this.txtNuocSX._backcolor = System.Drawing.SystemColors.Control;
     this.txtNuocSX._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtNuocSX._TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtNuocSX.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtNuocSX.AutoCompleteList")));
     this.txtNuocSX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtNuocSX.CaseSensitive = false;
     this.txtNuocSX.CompareNoID = true;
     this.txtNuocSX.DefaultCode = "-1";
     this.txtNuocSX.DefaultID = "-1";
     this.txtNuocSX.Drug_ID = null;
     this.txtNuocSX.ExtraWidth = 100;
     this.txtNuocSX.FillValueAfterSelect = false;
     this.txtNuocSX.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtNuocSX.LOAI_DANHMUC = "NUOCSX";
     this.txtNuocSX.Location = new System.Drawing.Point(112, 260);
     this.txtNuocSX.MaxHeight = -1;
     this.txtNuocSX.MinTypedCharacters = 2;
     this.txtNuocSX.MyCode = "-1";
     this.txtNuocSX.MyID = "-1";
     this.txtNuocSX.Name = "txtNuocSX";
     this.txtNuocSX.RaiseEvent = false;
     this.txtNuocSX.RaiseEventEnter = false;
     this.txtNuocSX.RaiseEventEnterWhenEmpty = false;
     this.txtNuocSX.SelectedIndex = -1;
     this.txtNuocSX.Size = new System.Drawing.Size(191, 21);
     this.txtNuocSX.splitChar = '@';
     this.txtNuocSX.splitCharIDAndCode = '#';
     this.txtNuocSX.TabIndex = 18;
     this.txtNuocSX.TakeCode = false;
     this.txtNuocSX.txtMyCode = null;
     this.txtNuocSX.txtMyCode_Edit = null;
     this.txtNuocSX.txtMyID = null;
     this.txtNuocSX.txtMyID_Edit = null;
     this.txtNuocSX.txtMyName = null;
     this.txtNuocSX.txtMyName_Edit = null;
     this.txtNuocSX.txtNext = null;
     //
     // txtHangSX
     //
     this.txtHangSX._backcolor = System.Drawing.SystemColors.Control;
     this.txtHangSX._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtHangSX._TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtHangSX.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtHangSX.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtHangSX.AutoCompleteList")));
     this.txtHangSX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtHangSX.CaseSensitive = false;
     this.txtHangSX.CompareNoID = true;
     this.txtHangSX.DefaultCode = "-1";
     this.txtHangSX.DefaultID = "-1";
     this.txtHangSX.Drug_ID = null;
     this.txtHangSX.ExtraWidth = 0;
     this.txtHangSX.FillValueAfterSelect = false;
     this.txtHangSX.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtHangSX.ForeColor = System.Drawing.Color.Black;
     this.txtHangSX.LOAI_DANHMUC = "HANGSX";
     this.txtHangSX.Location = new System.Drawing.Point(399, 260);
     this.txtHangSX.MaxHeight = -1;
     this.txtHangSX.MinTypedCharacters = 2;
     this.txtHangSX.MyCode = "-1";
     this.txtHangSX.MyID = "-1";
     this.txtHangSX.Name = "txtHangSX";
     this.txtHangSX.RaiseEvent = false;
     this.txtHangSX.RaiseEventEnter = false;
     this.txtHangSX.RaiseEventEnterWhenEmpty = false;
     this.txtHangSX.SelectedIndex = -1;
     this.txtHangSX.Size = new System.Drawing.Size(307, 21);
     this.txtHangSX.splitChar = '@';
     this.txtHangSX.splitCharIDAndCode = '#';
     this.txtHangSX.TabIndex = 19;
     this.txtHangSX.TakeCode = false;
     this.txtHangSX.txtMyCode = null;
     this.txtHangSX.txtMyCode_Edit = null;
     this.txtHangSX.txtMyID = null;
     this.txtHangSX.txtMyID_Edit = null;
     this.txtHangSX.txtMyName = null;
     this.txtHangSX.txtMyName_Edit = null;
     this.txtHangSX.txtNext = null;
     //
     // txtDangBaoChe
     //
     this.txtDangBaoChe._backcolor = System.Drawing.SystemColors.Control;
     this.txtDangBaoChe._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDangBaoChe._TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtDangBaoChe.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtDangBaoChe.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtDangBaoChe.AutoCompleteList")));
     this.txtDangBaoChe.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDangBaoChe.CaseSensitive = false;
     this.txtDangBaoChe.CompareNoID = true;
     this.txtDangBaoChe.DefaultCode = "-1";
     this.txtDangBaoChe.DefaultID = "-1";
     this.txtDangBaoChe.Drug_ID = null;
     this.txtDangBaoChe.ExtraWidth = 0;
     this.txtDangBaoChe.FillValueAfterSelect = false;
     this.txtDangBaoChe.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDangBaoChe.LOAI_DANHMUC = "DANGBAOCHE";
     this.txtDangBaoChe.Location = new System.Drawing.Point(399, 127);
     this.txtDangBaoChe.MaxHeight = -1;
     this.txtDangBaoChe.MinTypedCharacters = 2;
     this.txtDangBaoChe.MyCode = "-1";
     this.txtDangBaoChe.MyID = "-1";
     this.txtDangBaoChe.Name = "txtDangBaoChe";
     this.txtDangBaoChe.RaiseEvent = false;
     this.txtDangBaoChe.RaiseEventEnter = false;
     this.txtDangBaoChe.RaiseEventEnterWhenEmpty = false;
     this.txtDangBaoChe.SelectedIndex = -1;
     this.txtDangBaoChe.Size = new System.Drawing.Size(307, 21);
     this.txtDangBaoChe.splitChar = '@';
     this.txtDangBaoChe.splitCharIDAndCode = '#';
     this.txtDangBaoChe.TabIndex = 7;
     this.txtDangBaoChe.TakeCode = false;
     this.txtDangBaoChe.txtMyCode = null;
     this.txtDangBaoChe.txtMyCode_Edit = null;
     this.txtDangBaoChe.txtMyID = null;
     this.txtDangBaoChe.txtMyID_Edit = null;
     this.txtDangBaoChe.txtMyName = null;
     this.txtDangBaoChe.txtMyName_Edit = null;
     this.txtDangBaoChe.txtNext = null;
     //
     // txtDonvitinh
     //
     this.txtDonvitinh._backcolor = System.Drawing.SystemColors.Control;
     this.txtDonvitinh._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDonvitinh._TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtDonvitinh.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtDonvitinh.AutoCompleteList")));
     this.txtDonvitinh.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDonvitinh.CaseSensitive = false;
     this.txtDonvitinh.CompareNoID = true;
     this.txtDonvitinh.DefaultCode = "-1";
     this.txtDonvitinh.DefaultID = "-1";
     this.txtDonvitinh.Drug_ID = null;
     this.txtDonvitinh.ExtraWidth = 0;
     this.txtDonvitinh.FillValueAfterSelect = false;
     this.txtDonvitinh.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDonvitinh.LOAI_DANHMUC = "DONVITINH";
     this.txtDonvitinh.Location = new System.Drawing.Point(399, 182);
     this.txtDonvitinh.MaxHeight = -1;
     this.txtDonvitinh.MinTypedCharacters = 2;
     this.txtDonvitinh.MyCode = "-1";
     this.txtDonvitinh.MyID = "-1";
     this.txtDonvitinh.Name = "txtDonvitinh";
     this.txtDonvitinh.RaiseEvent = false;
     this.txtDonvitinh.RaiseEventEnter = false;
     this.txtDonvitinh.RaiseEventEnterWhenEmpty = false;
     this.txtDonvitinh.SelectedIndex = -1;
     this.txtDonvitinh.Size = new System.Drawing.Size(127, 21);
     this.txtDonvitinh.splitChar = '@';
     this.txtDonvitinh.splitCharIDAndCode = '#';
     this.txtDonvitinh.TabIndex = 12;
     this.txtDonvitinh.TakeCode = false;
     this.txtDonvitinh.txtMyCode = null;
     this.txtDonvitinh.txtMyCode_Edit = null;
     this.txtDonvitinh.txtMyID = null;
     this.txtDonvitinh.txtMyID_Edit = null;
     this.txtDonvitinh.txtMyName = null;
     this.txtDonvitinh.txtMyName_Edit = null;
     this.txtDonvitinh.txtNext = null;
     //
     // txtCachsudung
     //
     this.txtCachsudung._backcolor = System.Drawing.SystemColors.Control;
     this.txtCachsudung._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCachsudung._TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtCachsudung.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtCachsudung.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtCachsudung.AutoCompleteList")));
     this.txtCachsudung.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtCachsudung.CaseSensitive = false;
     this.txtCachsudung.CompareNoID = true;
     this.txtCachsudung.DefaultCode = "-1";
     this.txtCachsudung.DefaultID = "-1";
     this.txtCachsudung.Drug_ID = null;
     this.txtCachsudung.ExtraWidth = 100;
     this.txtCachsudung.FillValueAfterSelect = false;
     this.txtCachsudung.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCachsudung.LOAI_DANHMUC = "CACHSUDUNGTHUOC";
     this.txtCachsudung.Location = new System.Drawing.Point(608, 182);
     this.txtCachsudung.MaxHeight = -1;
     this.txtCachsudung.MinTypedCharacters = 2;
     this.txtCachsudung.MyCode = "-1";
     this.txtCachsudung.MyID = "-1";
     this.txtCachsudung.Name = "txtCachsudung";
     this.txtCachsudung.RaiseEvent = false;
     this.txtCachsudung.RaiseEventEnter = false;
     this.txtCachsudung.RaiseEventEnterWhenEmpty = false;
     this.txtCachsudung.SelectedIndex = -1;
     this.txtCachsudung.Size = new System.Drawing.Size(98, 21);
     this.txtCachsudung.splitChar = '@';
     this.txtCachsudung.splitCharIDAndCode = '#';
     this.txtCachsudung.TabIndex = 13;
     this.txtCachsudung.TakeCode = false;
     this.txtCachsudung.txtMyCode = null;
     this.txtCachsudung.txtMyCode_Edit = null;
     this.txtCachsudung.txtMyID = null;
     this.txtCachsudung.txtMyID_Edit = null;
     this.txtCachsudung.txtMyName = null;
     this.txtCachsudung.txtMyName_Edit = null;
     this.txtCachsudung.txtNext = null;
     //
     // label21
     //
     this.label21.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label21.ForeColor = System.Drawing.Color.Black;
     this.label21.Location = new System.Drawing.Point(526, 181);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(77, 23);
     this.label21.TabIndex = 1736;
     this.label21.Text = "Đường dùng";
     this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chkSingle
     //
     this.chkSingle.AutoSize = true;
     this.chkSingle.Font = new System.Drawing.Font("Arial", 9F);
     this.chkSingle.Location = new System.Drawing.Point(681, 409);
     this.chkSingle.Name = "chkSingle";
     this.chkSingle.Size = new System.Drawing.Size(121, 19);
     this.chkSingle.TabIndex = 1734;
     this.chkSingle.TabStop = false;
     this.chkSingle.Text = "Thuốc kê đơn lẻ?";
     this.toolTip1.SetToolTip(this.chkSingle, "Chọn mục này nếu muốn thuốc này không được phép kê cùng các thuốc khác trong cùng" +
     " đơn thuốc và ngược lại");
     this.chkSingle.UseVisualStyleBackColor = true;
     //
     // txtThuoc
     //
     this.txtThuoc._backcolor = System.Drawing.Color.WhiteSmoke;
     this.txtThuoc._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtThuoc._TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtThuoc.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtThuoc.AutoCompleteList")));
     this.txtThuoc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtThuoc.CaseSensitive = false;
     this.txtThuoc.CompareNoID = true;
     this.txtThuoc.DefaultCode = "-1";
     this.txtThuoc.DefaultID = "-1";
     this.txtThuoc.Drug_ID = null;
     this.txtThuoc.ExtraWidth = 0;
     this.txtThuoc.FillValueAfterSelect = false;
     this.txtThuoc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtThuoc.Location = new System.Drawing.Point(725, 52);
     this.txtThuoc.MaxHeight = 289;
     this.txtThuoc.MinTypedCharacters = 2;
     this.txtThuoc.MyCode = "-1";
     this.txtThuoc.MyID = "-1";
     this.txtThuoc.MyText = "";
     this.txtThuoc.Name = "txtThuoc";
     this.txtThuoc.RaiseEvent = true;
     this.txtThuoc.RaiseEventEnter = true;
     this.txtThuoc.RaiseEventEnterWhenEmpty = true;
     this.txtThuoc.SelectedIndex = -1;
     this.txtThuoc.Size = new System.Drawing.Size(270, 21);
     this.txtThuoc.splitChar = '@';
     this.txtThuoc.splitCharIDAndCode = '#';
     this.txtThuoc.TabIndex = 1731;
     this.txtThuoc.TabStop = false;
     this.txtThuoc.TakeCode = false;
     this.txtThuoc.txtMyCode = null;
     this.txtThuoc.txtMyCode_Edit = null;
     this.txtThuoc.txtMyID = null;
     this.txtThuoc.txtMyID_Edit = null;
     this.txtThuoc.txtMyName = null;
     this.txtThuoc.txtMyName_Edit = null;
     this.txtThuoc.txtNext = null;
     //
     // vbLine2
     //
     this.vbLine2._FontColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.vbLine2.BackColor = System.Drawing.Color.Transparent;
     this.vbLine2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.vbLine2.FontText = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.vbLine2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.vbLine2.Location = new System.Drawing.Point(725, 27);
     this.vbLine2.Margin = new System.Windows.Forms.Padding(4);
     this.vbLine2.Name = "vbLine2";
     this.vbLine2.Size = new System.Drawing.Size(271, 22);
     this.vbLine2.TabIndex = 1733;
     this.vbLine2.TabStop = false;
     this.vbLine2.YourText = "Cấm kê chung đơn với các thuốc sau:";
     //
     // grdDmucthuoc
     //
     grdDmucthuoc_DesignTimeLayout.LayoutString = resources.GetString("grdDmucthuoc_DesignTimeLayout.LayoutString");
     this.grdDmucthuoc.DesignTimeLayout = grdDmucthuoc_DesignTimeLayout;
     this.grdDmucthuoc.DynamicFiltering = true;
     this.grdDmucthuoc.FilterMode = Janus.Windows.GridEX.FilterMode.Automatic;
     this.grdDmucthuoc.FilterRowFormatStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.grdDmucthuoc.FilterRowUpdateMode = Janus.Windows.GridEX.FilterRowUpdateMode.WhenValueChanges;
     this.grdDmucthuoc.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grdDmucthuoc.GroupByBoxVisible = false;
     this.grdDmucthuoc.HideSelection = Janus.Windows.GridEX.HideSelection.Highlight;
     this.grdDmucthuoc.Location = new System.Drawing.Point(725, 81);
     this.grdDmucthuoc.Name = "grdDmucthuoc";
     this.grdDmucthuoc.Size = new System.Drawing.Size(270, 313);
     this.grdDmucthuoc.TabIndex = 1732;
     this.grdDmucthuoc.TabStop = false;
     this.grdDmucthuoc.VisualStyle = Janus.Windows.GridEX.VisualStyle.VS2005;
     //
     // label20
     //
     this.label20.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label20.ForeColor = System.Drawing.Color.Black;
     this.label20.Location = new System.Drawing.Point(528, 309);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(63, 23);
     this.label20.TabIndex = 1730;
     this.label20.Text = "Đv chia";
     this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtDonvichia
     //
     this.txtDonvichia._backcolor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.txtDonvichia._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDonvichia._TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtDonvichia.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtDonvichia.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtDonvichia.AutoCompleteList")));
     this.txtDonvichia.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDonvichia.CaseSensitive = false;
     this.txtDonvichia.CompareNoID = true;
     this.txtDonvichia.DefaultCode = "-1";
     this.txtDonvichia.DefaultID = "-1";
     this.txtDonvichia.Drug_ID = null;
     this.txtDonvichia.Enabled = false;
     this.txtDonvichia.ExtraWidth = 0;
     this.txtDonvichia.FillValueAfterSelect = false;
     this.txtDonvichia.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDonvichia.LOAI_DANHMUC = "DONVITINH";
     this.txtDonvichia.Location = new System.Drawing.Point(608, 310);
     this.txtDonvichia.MaxHeight = -1;
     this.txtDonvichia.MinTypedCharacters = 2;
     this.txtDonvichia.MyCode = "-1";
     this.txtDonvichia.MyID = "-1";
     this.txtDonvichia.Name = "txtDonvichia";
     this.txtDonvichia.RaiseEvent = false;
     this.txtDonvichia.RaiseEventEnter = false;
     this.txtDonvichia.RaiseEventEnterWhenEmpty = false;
     this.txtDonvichia.SelectedIndex = -1;
     this.txtDonvichia.Size = new System.Drawing.Size(98, 21);
     this.txtDonvichia.splitChar = '@';
     this.txtDonvichia.splitCharIDAndCode = '#';
     this.txtDonvichia.TabIndex = 24;
     this.txtDonvichia.TakeCode = false;
     this.txtDonvichia.txtMyCode = null;
     this.txtDonvichia.txtMyCode_Edit = null;
     this.txtDonvichia.txtMyID = null;
     this.txtDonvichia.txtMyID_Edit = null;
     this.txtDonvichia.txtMyName = null;
     this.txtDonvichia.txtMyName_Edit = null;
     this.txtDonvichia.txtNext = null;
     //
     // txtDongiachia
     //
     this.txtDongiachia.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDongiachia.Enabled = false;
     this.txtDongiachia.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDongiachia.Location = new System.Drawing.Point(399, 310);
     this.txtDongiachia.Masked = MaskedTextBox.Mask.Decimal;
     this.txtDongiachia.Name = "txtDongiachia";
     this.txtDongiachia.Size = new System.Drawing.Size(127, 21);
     this.txtDongiachia.TabIndex = 23;
     this.txtDongiachia.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // chkChiathuoc
     //
     this.chkChiathuoc.AutoSize = true;
     this.chkChiathuoc.Font = new System.Drawing.Font("Arial", 9F);
     this.chkChiathuoc.Location = new System.Drawing.Point(22, 311);
     this.chkChiathuoc.Name = "chkChiathuoc";
     this.chkChiathuoc.Size = new System.Drawing.Size(85, 19);
     this.chkChiathuoc.TabIndex = 21;
     this.chkChiathuoc.Text = "Chia thuốc";
     this.chkChiathuoc.UseVisualStyleBackColor = true;
     //
     // lblDongiachia
     //
     this.lblDongiachia.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDongiachia.Location = new System.Drawing.Point(304, 310);
     this.lblDongiachia.Name = "lblDongiachia";
     this.lblDongiachia.Size = new System.Drawing.Size(90, 20);
     this.lblDongiachia.TabIndex = 1726;
     this.lblDongiachia.Text = "Đơn giá chia";
     this.lblDongiachia.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.toolTip1.SetToolTip(this.lblDongiachia, "Giới hạn thuốc khi bác sĩ kê đơn. Để giá trị<=0 nếu không muốn giới hạn");
     //
     // txtSoluongchia
     //
     this.txtSoluongchia.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtSoluongchia.Enabled = false;
     this.txtSoluongchia.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSoluongchia.Location = new System.Drawing.Point(112, 310);
     this.txtSoluongchia.Masked = MaskedTextBox.Mask.Digit;
     this.txtSoluongchia.Name = "txtSoluongchia";
     this.txtSoluongchia.Size = new System.Drawing.Size(191, 21);
     this.txtSoluongchia.TabIndex = 22;
     this.txtSoluongchia.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label15
     //
     this.label15.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label15.Location = new System.Drawing.Point(529, 289);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(62, 20);
     this.label15.TabIndex = 1722;
     this.label15.Text = "Chia bút";
     this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.toolTip1.SetToolTip(this.label15, "Giới hạn thuốc khi bác sĩ kê đơn. Để giá trị<=0 nếu không muốn giới hạn");
     //
     // txtBut
     //
     this.txtBut.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtBut.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtBut.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtBut.Location = new System.Drawing.Point(608, 285);
     this.txtBut.Masked = MaskedTextBox.Mask.Digit;
     this.txtBut.Name = "txtBut";
     this.txtBut.Size = new System.Drawing.Size(98, 21);
     this.txtBut.TabIndex = 21;
     this.txtBut.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label14
     //
     this.label14.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label14.Location = new System.Drawing.Point(11, 285);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(96, 20);
     this.label14.TabIndex = 1720;
     this.label14.Text = "Giới hạn kê đơn:";
     this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.toolTip1.SetToolTip(this.label14, "Giới hạn thuốc khi bác sĩ kê đơn. Để giá trị<=0 nếu không muốn giới hạn");
     //
     // txtSoluong
     //
     this.txtSoluong.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtSoluong.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSoluong.Location = new System.Drawing.Point(112, 285);
     this.txtSoluong.Masked = MaskedTextBox.Mask.Digit;
     this.txtSoluong.Name = "txtSoluong";
     this.txtSoluong.Size = new System.Drawing.Size(191, 21);
     this.txtSoluong.TabIndex = 20;
     this.txtSoluong.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // chkTutuc
     //
     this.chkTutuc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chkTutuc.Location = new System.Drawing.Point(544, 409);
     this.chkTutuc.Name = "chkTutuc";
     this.chkTutuc.Size = new System.Drawing.Size(119, 20);
     this.chkTutuc.TabIndex = 28;
     this.chkTutuc.TabStop = false;
     this.chkTutuc.Text = "Thuốc tự túc?";
     this.toolTip1.SetToolTip(this.chkTutuc, "Chọn mục này nếu muốn thuốc này luôn tự túc đối với đối tượng BHYT cho dù có thiế" +
     "t lập giá quan hệ hay không?");
     //
     // label9
     //
     this.label9.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(11, 407);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(96, 23);
     this.label9.TabIndex = 434;
     this.label9.Text = "Dùng cho:";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // optNoitru
     //
     this.optNoitru.AutoSize = true;
     this.optNoitru.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.optNoitru.Location = new System.Drawing.Point(235, 409);
     this.optNoitru.Name = "optNoitru";
     this.optNoitru.Size = new System.Drawing.Size(68, 19);
     this.optNoitru.TabIndex = 26;
     this.optNoitru.Text = "Nội trú?";
     this.optNoitru.UseVisualStyleBackColor = true;
     //
     // optNgoai
     //
     this.optNgoai.AutoSize = true;
     this.optNgoai.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.optNgoai.Location = new System.Drawing.Point(335, 409);
     this.optNgoai.Name = "optNgoai";
     this.optNgoai.Size = new System.Drawing.Size(75, 19);
     this.optNgoai.TabIndex = 26;
     this.optNgoai.Text = "Ngoại trú";
     this.optNgoai.UseVisualStyleBackColor = true;
     //
     // optAll
     //
     this.optAll.AutoSize = true;
     this.optAll.Checked = true;
     this.optAll.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.optAll.Location = new System.Drawing.Point(112, 409);
     this.optAll.Name = "optAll";
     this.optAll.Size = new System.Drawing.Size(114, 19);
     this.optAll.TabIndex = 26;
     this.optAll.TabStop = true;
     this.optAll.Text = "Nội trú/Ngoại trú";
     this.optAll.UseVisualStyleBackColor = true;
     //
     // txtQD31
     //
     this.txtQD31.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtQD31.BackColor = System.Drawing.Color.White;
     this.txtQD31.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtQD31.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtQD31.Location = new System.Drawing.Point(608, 155);
     this.txtQD31.MaxLength = 15;
     this.txtQD31.Name = "txtQD31";
     this.txtQD31.Size = new System.Drawing.Size(98, 21);
     this.txtQD31.TabIndex = 10;
     this.txtQD31.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label8
     //
     this.label8.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location = new System.Drawing.Point(526, 158);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(69, 15);
     this.label8.TabIndex = 430;
     this.label8.Text = "TT-QĐ40";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblMsg
     //
     this.lblMsg.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.lblMsg.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblMsg.Location = new System.Drawing.Point(3, 479);
     this.lblMsg.Name = "lblMsg";
     this.lblMsg.Size = new System.Drawing.Size(1002, 18);
     this.lblMsg.TabIndex = 112;
     this.lblMsg.Text = "Thông báo";
     this.lblMsg.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.Red;
     this.label4.Location = new System.Drawing.Point(304, 181);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(90, 23);
     this.label4.TabIndex = 111;
     this.label4.Text = "Đơn vị  tính";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtLoaithuoc
     //
     this.txtLoaithuoc._backcolor = System.Drawing.SystemColors.Control;
     this.txtLoaithuoc._Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtLoaithuoc._TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtLoaithuoc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtLoaithuoc.AutoCompleteList = ((System.Collections.Generic.List<string>)(resources.GetObject("txtLoaithuoc.AutoCompleteList")));
     this.txtLoaithuoc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtLoaithuoc.CaseSensitive = false;
     this.txtLoaithuoc.CompareNoID = true;
     this.txtLoaithuoc.DefaultCode = "-1";
     this.txtLoaithuoc.DefaultID = "-1";
     this.txtLoaithuoc.Drug_ID = null;
     this.txtLoaithuoc.ExtraWidth = 100;
     this.txtLoaithuoc.FillValueAfterSelect = false;
     this.txtLoaithuoc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtLoaithuoc.Location = new System.Drawing.Point(398, 51);
     this.txtLoaithuoc.MaxHeight = 300;
     this.txtLoaithuoc.MinTypedCharacters = 2;
     this.txtLoaithuoc.MyCode = null;
     this.txtLoaithuoc.MyID = null;
     this.txtLoaithuoc.MyText = "";
     this.txtLoaithuoc.Name = "txtLoaithuoc";
     this.txtLoaithuoc.RaiseEvent = false;
     this.txtLoaithuoc.RaiseEventEnter = false;
     this.txtLoaithuoc.RaiseEventEnterWhenEmpty = true;
     this.txtLoaithuoc.SelectedIndex = -1;
     this.txtLoaithuoc.Size = new System.Drawing.Size(308, 21);
     this.txtLoaithuoc.splitChar = '@';
     this.txtLoaithuoc.splitCharIDAndCode = '#';
     this.txtLoaithuoc.TabIndex = 3;
     this.txtLoaithuoc.TakeCode = false;
     this.txtLoaithuoc.txtMyCode = null;
     this.txtLoaithuoc.txtMyCode_Edit = null;
     this.txtLoaithuoc.txtMyID = null;
     this.txtLoaithuoc.txtMyID_Edit = null;
     this.txtLoaithuoc.txtMyName = null;
     this.txtLoaithuoc.txtMyName_Edit = null;
     this.txtLoaithuoc.txtNext = null;
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Red;
     this.label2.Location = new System.Drawing.Point(300, 50);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(93, 23);
     this.label2.TabIndex = 109;
     this.label2.Text = "Loại thuốc";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtTEN_BHYT
     //
     this.txtTEN_BHYT.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtTEN_BHYT.BackColor = System.Drawing.Color.White;
     this.txtTEN_BHYT.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtTEN_BHYT.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTEN_BHYT.Location = new System.Drawing.Point(112, 101);
     this.txtTEN_BHYT.MaxLength = 100;
     this.txtTEN_BHYT.Name = "txtTEN_BHYT";
     this.txtTEN_BHYT.Size = new System.Drawing.Size(594, 21);
     this.txtTEN_BHYT.TabIndex = 5;
     //
     // label29
     //
     this.label29.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label29.ForeColor = System.Drawing.Color.Red;
     this.label29.Location = new System.Drawing.Point(11, 100);
     this.label29.Name = "label29";
     this.label29.Size = new System.Drawing.Size(96, 23);
     this.label29.TabIndex = 50;
     this.label29.Text = "Tên BHYT";
     this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.toolTip1.SetToolTip(this.label29, "Ctrl+C để copy tên thuốc");
     //
     // label28
     //
     this.label28.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label28.ForeColor = System.Drawing.Color.Red;
     this.label28.Location = new System.Drawing.Point(11, 50);
     this.label28.Name = "label28";
     this.label28.Size = new System.Drawing.Size(96, 23);
     this.label28.TabIndex = 48;
     this.label28.Text = "Kiểu thuốc VT";
     this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label27
     //
     this.label27.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label27.Location = new System.Drawing.Point(304, 127);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(90, 20);
     this.label27.TabIndex = 44;
     this.label27.Text = "Dạng bào chế";
     this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chkHieuLuc
     //
     this.chkHieuLuc.Checked = true;
     this.chkHieuLuc.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkHieuLuc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chkHieuLuc.Location = new System.Drawing.Point(445, 409);
     this.chkHieuLuc.Name = "chkHieuLuc";
     this.chkHieuLuc.Size = new System.Drawing.Size(81, 20);
     this.chkHieuLuc.TabIndex = 27;
     this.chkHieuLuc.TabStop = false;
     this.chkHieuLuc.Text = "Hiệu lực?";
     //
     // txtNumber_Register
     //
     this.txtNumber_Register.BackColor = System.Drawing.Color.White;
     this.txtNumber_Register.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtNumber_Register.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtNumber_Register.Location = new System.Drawing.Point(399, 155);
     this.txtNumber_Register.MaxLength = 15;
     this.txtNumber_Register.Name = "txtNumber_Register";
     this.txtNumber_Register.Size = new System.Drawing.Size(127, 21);
     this.txtNumber_Register.TabIndex = 9;
     this.txtNumber_Register.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // lab10
     //
     this.lab10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lab10.Location = new System.Drawing.Point(304, 158);
     this.lab10.Name = "lab10";
     this.lab10.Size = new System.Drawing.Size(90, 15);
     this.lab10.TabIndex = 31;
     this.lab10.Text = "Số ĐK";
     this.lab10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label19
     //
     this.label19.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label19.Location = new System.Drawing.Point(11, 259);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(96, 23);
     this.label19.TabIndex = 30;
     this.label19.Text = "Nước sản xuất";
     this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label18
     //
     this.label18.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label18.Location = new System.Drawing.Point(304, 263);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(90, 15);
     this.label18.TabIndex = 27;
     this.label18.Text = "Hãng sản xuất";
     this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtContent
     //
     this.txtContent.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtContent.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtContent.Location = new System.Drawing.Point(112, 127);
     this.txtContent.MaxLength = 100;
     this.txtContent.Name = "txtContent";
     this.txtContent.Size = new System.Drawing.Size(191, 21);
     this.txtContent.TabIndex = 6;
     this.txtContent.TextChanged += new System.EventHandler(this.txtContent_TextChanged);
     //
     // label12
     //
     this.label12.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.Location = new System.Drawing.Point(11, 126);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(96, 23);
     this.label12.TabIndex = 25;
     this.label12.Text = "Hàm lượng";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtActice
     //
     this.txtActice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtActice.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtActice.Location = new System.Drawing.Point(112, 155);
     this.txtActice.MaxLength = 100;
     this.txtActice.Name = "txtActice";
     this.txtActice.Size = new System.Drawing.Size(191, 21);
     this.txtActice.TabIndex = 8;
     //
     // label17
     //
     this.label17.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label17.Location = new System.Drawing.Point(11, 154);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(96, 23);
     this.label17.TabIndex = 24;
     this.label17.Text = "Hoạt chất";
     this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cboDrugNature
     //
     this.cboDrugNature.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboDrugNature.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cboDrugNature.FormattingEnabled = true;
     this.cboDrugNature.ItemHeight = 15;
     this.cboDrugNature.Items.AddRange(new object[] {
     "Không độc hại",
     "Độc hại cần cảnh báo"});
     this.cboDrugNature.Location = new System.Drawing.Point(112, 181);
     this.cboDrugNature.Name = "cboDrugNature";
     this.cboDrugNature.Size = new System.Drawing.Size(192, 23);
     this.cboDrugNature.TabIndex = 11;
     //
     // label16
     //
     this.label16.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label16.Location = new System.Drawing.Point(11, 181);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(96, 23);
     this.label16.TabIndex = 22;
     this.label16.Text = "Tính chất";
     this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.Red;
     this.label6.Location = new System.Drawing.Point(11, 74);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(96, 23);
     this.label6.TabIndex = 10;
     this.label6.Text = "Tên thuốc";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtCode
     //
     this.txtCode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtCode.BackColor = System.Drawing.Color.White;
     this.txtCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtCode.Enabled = false;
     this.txtCode.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCode.Location = new System.Drawing.Point(608, 25);
     this.txtCode.MaxLength = 20;
     this.txtCode.Name = "txtCode";
     this.txtCode.Size = new System.Drawing.Size(98, 21);
     this.txtCode.TabIndex = 1;
     //
     // Label5
     //
     this.Label5.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label5.ForeColor = System.Drawing.Color.Red;
     this.Label5.Location = new System.Drawing.Point(489, 29);
     this.Label5.Name = "Label5";
     this.Label5.Size = new System.Drawing.Size(102, 15);
     this.Label5.TabIndex = 7;
     this.Label5.Text = "Mã theo Đơn vị:";
     this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label3
     //
     this.Label3.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label3.Location = new System.Drawing.Point(11, 337);
     this.Label3.Name = "Label3";
     this.Label3.Size = new System.Drawing.Size(96, 23);
     this.Label3.TabIndex = 4;
     this.Label3.Text = "Mô tả thêm";
     this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.toolTip1.SetToolTip(this.Label3, "Với thuốc có tính chất độc hại có thể ghi vào đây dòng cảnh báo khi kê đơn");
     //
     // txtID
     //
     this.txtID.BackColor = System.Drawing.Color.White;
     this.txtID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtID.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtID.Location = new System.Drawing.Point(113, 26);
     this.txtID.MaxLength = 3;
     this.txtID.Name = "txtID";
     this.txtID.Size = new System.Drawing.Size(43, 21);
     this.txtID.TabIndex = 0;
     //
     // Label1
     //
     this.Label1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Label1.ForeColor = System.Drawing.Color.Red;
     this.Label1.Location = new System.Drawing.Point(11, 25);
     this.Label1.Name = "Label1";
     this.Label1.Size = new System.Drawing.Size(96, 23);
     this.Label1.TabIndex = 0;
     this.Label1.Text = "ID";
     this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // pnlGia
     //
     this.pnlGia.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.pnlGia.Controls.Add(this.txtGiaDV);
     this.pnlGia.Controls.Add(this.label7);
     this.pnlGia.Controls.Add(this.label25);
     this.pnlGia.Controls.Add(this.label10);
     this.pnlGia.Controls.Add(this.label11);
     this.pnlGia.Controls.Add(this.txtPTTT);
     this.pnlGia.Controls.Add(this.txtPTDT);
     this.pnlGia.Controls.Add(this.label13);
     this.pnlGia.Controls.Add(this.txtGiaBHYT);
     this.pnlGia.Controls.Add(this.txtDongia);
     this.pnlGia.Location = new System.Drawing.Point(11, 205);
     this.pnlGia.Name = "pnlGia";
     this.pnlGia.Size = new System.Drawing.Size(708, 54);
     this.pnlGia.TabIndex = 13;
     this.pnlGia.TabStop = true;
     //
     // txtGiaDV
     //
     this.txtGiaDV.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.txtGiaDV.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtGiaDV.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtGiaDV.Location = new System.Drawing.Point(388, 4);
     this.txtGiaDV.Masked = MaskedTextBox.Mask.Decimal;
     this.txtGiaDV.Name = "txtGiaDV";
     this.txtGiaDV.Size = new System.Drawing.Size(125, 21);
     this.txtGiaDV.TabIndex = 14;
     this.txtGiaDV.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label7
     //
     this.label7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.Black;
     this.label7.Location = new System.Drawing.Point(-11, 7);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(107, 15);
     this.label7.TabIndex = 12;
     this.label7.Text = "Giá nhập:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label25
     //
     this.label25.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.label25.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label25.Location = new System.Drawing.Point(297, 7);
     this.label25.Name = "label25";
     this.label25.Size = new System.Drawing.Size(86, 15);
     this.label25.TabIndex = 1744;
     this.label25.Text = "Giá Dịch vụ:";
     this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label10
     //
     this.label10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.Location = new System.Drawing.Point(0, 32);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(96, 15);
     this.label10.TabIndex = 435;
     this.label10.Text = "Phụ thu ĐT";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label11
     //
     this.label11.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.label11.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.Location = new System.Drawing.Point(293, 32);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(90, 15);
     this.label11.TabIndex = 437;
     this.label11.Text = "Phụ thu TT";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtPTTT
     //
     this.txtPTTT.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.txtPTTT.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtPTTT.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPTTT.Location = new System.Drawing.Point(388, 29);
     this.txtPTTT.Masked = MaskedTextBox.Mask.Decimal;
     this.txtPTTT.Name = "txtPTTT";
     this.txtPTTT.Size = new System.Drawing.Size(305, 21);
     this.txtPTTT.TabIndex = 17;
     this.txtPTTT.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txtPTDT
     //
     this.txtPTDT.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtPTDT.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPTDT.Location = new System.Drawing.Point(101, 29);
     this.txtPTDT.Masked = MaskedTextBox.Mask.Decimal;
     this.txtPTDT.Name = "txtPTDT";
     this.txtPTDT.Size = new System.Drawing.Size(192, 21);
     this.txtPTDT.TabIndex = 16;
     this.txtPTDT.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label13
     //
     this.label13.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.label13.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label13.Location = new System.Drawing.Point(521, 7);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(71, 15);
     this.label13.TabIndex = 1620;
     this.label13.Text = "Giá BHYT";
     this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtGiaBHYT
     //
     this.txtGiaBHYT.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.txtGiaBHYT.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtGiaBHYT.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtGiaBHYT.Location = new System.Drawing.Point(597, 4);
     this.txtGiaBHYT.Masked = MaskedTextBox.Mask.Decimal;
     this.txtGiaBHYT.Name = "txtGiaBHYT";
     this.txtGiaBHYT.Size = new System.Drawing.Size(96, 21);
     this.txtGiaBHYT.TabIndex = 15;
     this.txtGiaBHYT.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txtDongia
     //
     this.txtDongia.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDongia.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDongia.Location = new System.Drawing.Point(101, 4);
     this.txtDongia.Masked = MaskedTextBox.Mask.Decimal;
     this.txtDongia.Name = "txtDongia";
     this.txtDongia.Size = new System.Drawing.Size(191, 21);
     this.txtDongia.TabIndex = 14;
     this.txtDongia.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // cmdSave
     //
     this.cmdSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cmdSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdSave.Image = ((System.Drawing.Image)(resources.GetObject("cmdSave.Image")));
     this.cmdSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.cmdSave.Location = new System.Drawing.Point(450, 512);
     this.cmdSave.Name = "cmdSave";
     this.cmdSave.Size = new System.Drawing.Size(138, 38);
     this.cmdSave.TabIndex = 29;
     this.cmdSave.Text = "Ghi(Ctrl+S)";
     this.cmdSave.UseVisualStyleBackColor = true;
     this.cmdSave.Click += new System.EventHandler(this.cmdSave_Click);
     //
     // cmdClose
     //
     this.cmdClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cmdClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdClose.Image = ((System.Drawing.Image)(resources.GetObject("cmdClose.Image")));
     this.cmdClose.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.cmdClose.Location = new System.Drawing.Point(594, 512);
     this.cmdClose.Name = "cmdClose";
     this.cmdClose.Size = new System.Drawing.Size(139, 38);
     this.cmdClose.TabIndex = 30;
     this.cmdClose.Text = "Thoát(Esc)";
     this.cmdClose.UseVisualStyleBackColor = true;
     this.cmdClose.Click += new System.EventHandler(this.cmdClose_Click);
     //
     // chkThemlientuc
     //
     this.chkThemlientuc.Checked = true;
     this.chkThemlientuc.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkThemlientuc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chkThemlientuc.Location = new System.Drawing.Point(6, 527);
     this.chkThemlientuc.Name = "chkThemlientuc";
     this.chkThemlientuc.Size = new System.Drawing.Size(201, 23);
     this.chkThemlientuc.TabIndex = 27;
     this.chkThemlientuc.TabStop = false;
     this.chkThemlientuc.Text = "Thêm mới liên tục?";
     //
     // toolTip1
     //
     this.toolTip1.IsBalloon = true;
     this.toolTip1.ToolTipTitle = "Trợ giúp";
     //
     // cmdNew
     //
     this.cmdNew.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdNew.Image = ((System.Drawing.Image)(resources.GetObject("cmdNew.Image")));
     this.cmdNew.ImageSize = new System.Drawing.Size(24, 24);
     this.cmdNew.Location = new System.Drawing.Point(303, 512);
     this.cmdNew.Name = "cmdNew";
     this.cmdNew.Size = new System.Drawing.Size(138, 38);
     this.cmdNew.TabIndex = 31;
     this.cmdNew.Text = "&Thêm mới";
     this.cmdNew.ToolTipText = "Nhấn vào đây để thêm mới Bệnh nhân";
     //
     // txtDesc
     //
     this.txtDesc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtDesc.BackColor = System.Drawing.Color.White;
     this.txtDesc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDesc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDesc.Location = new System.Drawing.Point(112, 335);
     this.txtDesc.MaxLength = 100;
     this.txtDesc.Name = "txtDesc";
     this.txtDesc.Size = new System.Drawing.Size(594, 21);
     this.txtDesc.TabIndex = 25;
     //
     // frm_themmoi_thuoc
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.WhiteSmoke;
     this.ClientSize = new System.Drawing.Size(1008, 562);
     this.Controls.Add(this.cmdNew);
     this.Controls.Add(this.GroupBox1);
     this.Controls.Add(this.chkThemlientuc);
     this.Controls.Add(this.cmdClose);
     this.Controls.Add(this.cmdSave);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.MaximizeBox = false;
     this.Name = "frm_themmoi_thuoc";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Cập nhật thông tin Thuốc-VT";
     this.Load += new System.EventHandler(this.frmDrug_Load);
     this.GroupBox1.ResumeLayout(false);
     this.GroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grdDmucthuoc)).EndInit();
     this.pnlGia.ResumeLayout(false);
     this.pnlGia.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 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(frmDmgiuong));
     this.dataGrid1    = new System.Windows.Forms.DataGrid();
     this.butKetthuc   = new System.Windows.Forms.Button();
     this.label2       = 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.label3       = new System.Windows.Forms.Label();
     this.stt          = new System.Windows.Forms.NumericUpDown();
     this.label1       = new System.Windows.Forms.Label();
     this.ma           = new System.Windows.Forms.TextBox();
     this.label4       = new System.Windows.Forms.Label();
     this.makp         = new System.Windows.Forms.ComboBox();
     this.phong        = new System.Windows.Forms.ComboBox();
     this.label6       = new System.Windows.Forms.Label();
     this.label5       = new System.Windows.Forms.Label();
     this.gia_th       = new MaskedTextBox.MaskedTextBox();
     this.gia_bh       = new MaskedTextBox.MaskedTextBox();
     this.gia_cs       = new MaskedTextBox.MaskedTextBox();
     this.gia_nn       = new MaskedTextBox.MaskedTextBox();
     this.label7       = 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.bhyt         = new System.Windows.Forms.ComboBox();
     this.gia_dv       = new MaskedTextBox.MaskedTextBox();
     this.label11      = new System.Windows.Forms.Label();
     this.chkChenhlech = new System.Windows.Forms.CheckBox();
     ((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(8, 8);
     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(608, 296);
     this.dataGrid1.TabIndex            = 17;
     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(430, 378);
     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);
     //
     // 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(200, 312);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(40, 23);
     this.label2.TabIndex  = 20;
     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(240, 312);
     this.ten.Name       = "ten";
     this.ten.Size       = new System.Drawing.Size(240, 21);
     this.ten.TabIndex   = 6;
     this.ten.Validated += new System.EventHandler(this.ten_Validated);
     this.ten.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.ten_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(125, 378);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(60, 25);
     this.butMoi.TabIndex   = 16;
     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(186, 378);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(60, 25);
     this.butSua.TabIndex   = 17;
     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(247, 378);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(60, 25);
     this.butLuu.TabIndex   = 14;
     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(308, 378);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(60, 25);
     this.butBoqua.TabIndex   = 15;
     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(369, 378);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(60, 25);
     this.butHuy.TabIndex   = 18;
     this.butHuy.Text       = "    &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // 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, 312);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(32, 23);
     this.label3.TabIndex  = 18;
     this.label3.Text      = "Stt :";
     this.label3.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.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.stt.Location = new System.Drawing.Point(24, 312);
     this.stt.Maximum  = new decimal(new int[] {
         999,
         0,
         0,
         0
     });
     this.stt.Name     = "stt";
     this.stt.Size     = new System.Drawing.Size(40, 21);
     this.stt.TabIndex = 4;
     this.stt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // 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(56, 312);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 19;
     this.label1.Text      = "Mã số :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ma
     //
     this.ma.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     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(104, 312);
     this.ma.Name            = "ma";
     this.ma.Size            = new System.Drawing.Size(104, 21);
     this.ma.TabIndex        = 5;
     this.ma.Validated      += new System.EventHandler(this.ma_Validated);
     this.ma.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(0, 6);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(40, 16);
     this.label4.TabIndex  = 0;
     this.label4.Text      = "Khoa :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // makp
     //
     this.makp.BackColor             = System.Drawing.SystemColors.HighlightText;
     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(40, 3);
     this.makp.Name                  = "makp";
     this.makp.Size                  = new System.Drawing.Size(208, 21);
     this.makp.TabIndex              = 1;
     this.makp.SelectedIndexChanged += new System.EventHandler(this.makp_SelectedIndexChanged);
     this.makp.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // phong
     //
     this.phong.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.phong.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.phong.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     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(296, 3);
     this.phong.Name                  = "phong";
     this.phong.Size                  = new System.Drawing.Size(320, 21);
     this.phong.TabIndex              = 3;
     this.phong.SelectedIndexChanged += new System.EventHandler(this.phong_SelectedIndexChanged);
     this.phong.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(248, 8);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(48, 16);
     this.label6.TabIndex  = 2;
     this.label6.Text      = "Phòng :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // 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(-8, 336);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(56, 23);
     this.label5.TabIndex  = 21;
     this.label5.Text      = "Đơn giá :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // gia_th
     //
     this.gia_th.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.gia_th.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.gia_th.Enabled    = false;
     this.gia_th.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gia_th.Location   = new System.Drawing.Point(48, 336);
     this.gia_th.Masked     = MaskedTextBox.MaskedTextBox.Mask.Decimal;
     this.gia_th.Name       = "gia_th";
     this.gia_th.Size       = new System.Drawing.Size(68, 21);
     this.gia_th.TabIndex   = 8;
     this.gia_th.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.gia_th.Validated += new System.EventHandler(this.gia_th_Validated);
     //
     // gia_bh
     //
     this.gia_bh.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.gia_bh.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.gia_bh.Enabled    = false;
     this.gia_bh.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gia_bh.Location   = new System.Drawing.Point(171, 336);
     this.gia_bh.Masked     = MaskedTextBox.MaskedTextBox.Mask.Decimal;
     this.gia_bh.Name       = "gia_bh";
     this.gia_bh.Size       = new System.Drawing.Size(68, 21);
     this.gia_bh.TabIndex   = 9;
     this.gia_bh.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.gia_bh.Validated += new System.EventHandler(this.gia_bh_Validated);
     //
     // gia_cs
     //
     this.gia_cs.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.gia_cs.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.gia_cs.Enabled    = false;
     this.gia_cs.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gia_cs.Location   = new System.Drawing.Point(304, 336);
     this.gia_cs.Masked     = MaskedTextBox.MaskedTextBox.Mask.Decimal;
     this.gia_cs.Name       = "gia_cs";
     this.gia_cs.Size       = new System.Drawing.Size(68, 21);
     this.gia_cs.TabIndex   = 10;
     this.gia_cs.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.gia_cs.Validated += new System.EventHandler(this.gia_cs_Validated);
     //
     // gia_nn
     //
     this.gia_nn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.gia_nn.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.gia_nn.Enabled    = false;
     this.gia_nn.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gia_nn.Location   = new System.Drawing.Point(552, 336);
     this.gia_nn.Masked     = MaskedTextBox.MaskedTextBox.Mask.Decimal;
     this.gia_nn.Name       = "gia_nn";
     this.gia_nn.Size       = new System.Drawing.Size(68, 21);
     this.gia_nn.TabIndex   = 12;
     this.gia_nn.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.gia_nn.Validated += new System.EventHandler(this.gia_nn_Validated);
     //
     // label7
     //
     this.label7.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label7.Location  = new System.Drawing.Point(107, 336);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(64, 23);
     this.label7.TabIndex  = 22;
     this.label7.Text      = "Bảo hiểm :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // 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(224, 336);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(80, 23);
     this.label8.TabIndex  = 23;
     this.label8.Text      = "Chính sách :";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // 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(472, 336);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(80, 23);
     this.label9.TabIndex  = 24;
     this.label9.Text      = "Nước ngoài :";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label10
     //
     this.label10.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.label10.Location  = new System.Drawing.Point(472, 312);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(80, 23);
     this.label10.TabIndex  = 25;
     this.label10.Text      = "BHYT chi trả :";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // bhyt
     //
     this.bhyt.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.bhyt.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.bhyt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.bhyt.Enabled       = false;
     this.bhyt.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bhyt.Location      = new System.Drawing.Point(552, 312);
     this.bhyt.Name          = "bhyt";
     this.bhyt.Size          = new System.Drawing.Size(68, 21);
     this.bhyt.TabIndex      = 7;
     this.bhyt.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.bhyt_KeyDown);
     //
     // gia_dv
     //
     this.gia_dv.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.gia_dv.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.gia_dv.Enabled    = false;
     this.gia_dv.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gia_dv.Location   = new System.Drawing.Point(419, 336);
     this.gia_dv.Masked     = MaskedTextBox.MaskedTextBox.Mask.Decimal;
     this.gia_dv.Name       = "gia_dv";
     this.gia_dv.Size       = new System.Drawing.Size(61, 21);
     this.gia_dv.TabIndex   = 11;
     this.gia_dv.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     this.gia_dv.Validated += new System.EventHandler(this.gia_dv_Validated);
     //
     // label11
     //
     this.label11.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label11.Location  = new System.Drawing.Point(364, 336);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(56, 23);
     this.label11.TabIndex  = 27;
     this.label11.Text      = "Dịch vụ :";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chkChenhlech
     //
     this.chkChenhlech.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkChenhlech.AutoSize = true;
     this.chkChenhlech.Enabled  = false;
     this.chkChenhlech.Location = new System.Drawing.Point(48, 362);
     this.chkChenhlech.Name     = "chkChenhlech";
     this.chkChenhlech.Size     = new System.Drawing.Size(80, 17);
     this.chkChenhlech.TabIndex = 13;
     this.chkChenhlech.Text     = "Chênh lệch";
     this.chkChenhlech.UseVisualStyleBackColor = true;
     this.chkChenhlech.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // frmDmgiuong
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(624, 413);
     this.Controls.Add(this.gia_dv);
     this.Controls.Add(this.chkChenhlech);
     this.Controls.Add(this.gia_cs);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.bhyt);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.gia_bh);
     this.Controls.Add(this.gia_th);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.gia_nn);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.phong);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.ma);
     this.Controls.Add(this.stt);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label3);
     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.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmDmgiuong";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục giường";
     this.Load         += new System.EventHandler(this.frmDmgiuong_Load);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmDmgiuong_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.stt)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 21
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(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();
 }
Esempio n. 22
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(rptBkhoadon));
     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.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.c18        = new MaskedTextBox.MaskedTextBox();
     this.c12        = new MaskedTextBox.MaskedTextBox();
     this.kho        = new System.Windows.Forms.ComboBox();
     this.label12    = new System.Windows.Forms.Label();
     this.manguon    = new System.Windows.Forms.ComboBox();
     this.label14    = new System.Windows.Forms.Label();
     this.butLoc     = new System.Windows.Forms.Button();
     this.madv       = new System.Windows.Forms.CheckedListBox();
     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  = 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, 10);
     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);
     //
     // 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     = 3;
     this.den.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // butIn
     //
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(255, 236);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 9;
     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(325, 236);
     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);
     //
     // c18
     //
     this.c18.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c18.Location = new System.Drawing.Point(776, 270);
     this.c18.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c18.Name     = "c18";
     this.c18.Size     = new System.Drawing.Size(234, 21);
     this.c18.TabIndex = 38;
     this.c18.Text     = "Thủ kho - Ủy viên";
     this.c18.Visible  = false;
     //
     // 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(776, 126);
     this.c12.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c12.Name     = "c12";
     this.c12.Size     = new System.Drawing.Size(234, 21);
     this.c12.TabIndex = 20;
     this.c12.Text     = "Trưởng phòng KHTH - Ủy viên";
     this.c12.Visible  = false;
     //
     // 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(280, 10);
     this.kho.Name     = "kho";
     this.kho.Size     = new System.Drawing.Size(112, 21);
     this.kho.TabIndex = 5;
     this.kho.KeyDown += new System.Windows.Forms.KeyEventHandler(this.kho_KeyDown);
     //
     // label12
     //
     this.label12.Location  = new System.Drawing.Point(248, 10);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(32, 23);
     this.label12.TabIndex  = 4;
     this.label12.Text      = "Kho :";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // manguon
     //
     this.manguon.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.manguon.Location = new System.Drawing.Point(432, 10);
     this.manguon.Name     = "manguon";
     this.manguon.Size     = new System.Drawing.Size(112, 21);
     this.manguon.TabIndex = 7;
     this.manguon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.kho_KeyDown);
     //
     // label14
     //
     this.label14.Location  = new System.Drawing.Point(392, 10);
     this.label14.Name      = "label14";
     this.label14.Size      = new System.Drawing.Size(40, 23);
     this.label14.TabIndex  = 6;
     this.label14.Text      = "Nguồn";
     this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butLoc
     //
     this.butLoc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLoc.Location   = new System.Drawing.Point(185, 236);
     this.butLoc.Name       = "butLoc";
     this.butLoc.Size       = new System.Drawing.Size(70, 25);
     this.butLoc.TabIndex   = 8;
     this.butLoc.Text       = "&Tìm";
     this.butLoc.Click     += new System.EventHandler(this.butLoc_Click);
     //
     // madv
     //
     this.madv.CheckOnClick = true;
     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(492, 196);
     this.madv.TabIndex     = 11;
     this.madv.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // rptBkhoadon
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(554, 279);
     this.Controls.Add(this.madv);
     this.Controls.Add(this.butLoc);
     this.Controls.Add(this.manguon);
     this.Controls.Add(this.label14);
     this.Controls.Add(this.kho);
     this.Controls.Add(this.label12);
     this.Controls.Add(this.c18);
     this.Controls.Add(this.c12);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     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.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "rptBkhoadon";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Bảng kê hoá đơn mua hàng";
     this.MouseMove      += new System.Windows.Forms.MouseEventHandler(this.rptBkhoadon_MouseMove);
     this.Load           += new System.EventHandler(this.rptBkhoadon_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 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(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();
 }
Esempio n. 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(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();
 }
Esempio n. 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(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();
 }
Esempio n. 26
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(frmKbpttt));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     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();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label1     = new System.Windows.Forms.Label();
     this.ma         = new MaskedTextBox.MaskedTextBox();
     this.label2     = new System.Windows.Forms.Label();
     this.ten        = new MaskedTextBox.MaskedTextBox();
     this.label4     = new System.Windows.Forms.Label();
     this.label5     = new System.Windows.Forms.Label();
     this.loai       = new System.Windows.Forms.ComboBox();
     this.muc        = new System.Windows.Forms.ComboBox();
     this.loaipt     = new System.Windows.Forms.ComboBox();
     this.butIn      = new System.Windows.Forms.Button();
     this.mavp       = new System.Windows.Forms.ComboBox();
     this.loaivp     = new System.Windows.Forms.ComboBox();
     this.sotien     = new System.Windows.Forms.TextBox();
     this.label6     = new System.Windows.Forms.Label();
     this.tim        = new System.Windows.Forms.TextBox();
     this.chktsu     = new System.Windows.Forms.CheckBox();
     this.chkSande   = new System.Windows.Forms.CheckBox();
     ((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, 8);
     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(778, 441);
     this.dataGrid1.TabIndex            = 19;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // butHuy
     //
     this.butHuy.Anchor     = System.Windows.Forms.AnchorStyles.Bottom;
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(501, 531);
     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);
     //
     // butBoqua
     //
     this.butBoqua.Anchor     = System.Windows.Forms.AnchorStyles.Bottom;
     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(361, 531);
     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);
     //
     // butLuu
     //
     this.butLuu.Anchor     = System.Windows.Forms.AnchorStyles.Bottom;
     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(291, 531);
     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);
     //
     // butSua
     //
     this.butSua.Anchor     = System.Windows.Forms.AnchorStyles.Bottom;
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(221, 531);
     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);
     //
     // butMoi
     //
     this.butMoi.Anchor     = System.Windows.Forms.AnchorStyles.Bottom;
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(151, 531);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 14;
     this.butMoi.Text       = "      &Thêm";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Anchor     = System.Windows.Forms.AnchorStyles.Bottom;
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(571, 531);
     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);
     //
     // 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(14, 453);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(40, 18);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Mã :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ma
     //
     this.ma.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     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(53, 453);
     this.ma.Masked          = MaskedTextBox.MaskedTextBox.Mask.None;
     this.ma.MaxLength       = 3;
     this.ma.Name            = "ma";
     this.ma.Size            = new System.Drawing.Size(40, 21);
     this.ma.TabIndex        = 5;
     this.ma.Validated      += new System.EventHandler(this.ma_Validated);
     //
     // 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(91, 453);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(62, 18);
     this.label2.TabIndex  = 6;
     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)));
     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(150, 453);
     this.ten.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.ten.Name       = "ten";
     this.ten.Size       = new System.Drawing.Size(534, 21);
     this.ten.TabIndex   = 7;
     this.ten.Validated += new System.EventHandler(this.ten_Validated);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(0, 4);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(68, 23);
     this.label4.TabIndex  = 20;
     this.label4.Text      = "PTTT :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(187, 4);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(75, 23);
     this.label5.TabIndex  = 2;
     this.label5.Text      = "Phân loại :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // loai
     //
     this.loai.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     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(64, 5);
     this.loai.Name                  = "loai";
     this.loai.Size                  = new System.Drawing.Size(136, 21);
     this.loai.TabIndex              = 1;
     this.loai.SelectedIndexChanged += new System.EventHandler(this.loai_SelectedIndexChanged);
     this.loai.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.loai_KeyDown);
     //
     // muc
     //
     this.muc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.muc.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.muc.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.muc.Location              = new System.Drawing.Point(259, 4);
     this.muc.Name                  = "muc";
     this.muc.Size                  = new System.Drawing.Size(405, 21);
     this.muc.TabIndex              = 3;
     this.muc.SelectedIndexChanged += new System.EventHandler(this.muc_SelectedIndexChanged);
     this.muc.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.muc_KeyDown);
     //
     // loaipt
     //
     this.loaipt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.loaipt.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.loaipt.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.loaipt.Enabled               = false;
     this.loaipt.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loaipt.Location              = new System.Drawing.Point(687, 453);
     this.loaipt.Name                  = "loaipt";
     this.loaipt.Size                  = new System.Drawing.Size(98, 21);
     this.loaipt.TabIndex              = 8;
     this.loaipt.SelectedIndexChanged += new System.EventHandler(this.loaipt_SelectedIndexChanged);
     this.loaipt.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.loaipt_KeyDown);
     //
     // butIn
     //
     this.butIn.Anchor     = System.Windows.Forms.AnchorStyles.Bottom;
     this.butIn.Image      = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(431, 531);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 16;
     this.butIn.Text       = "      &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // mavp
     //
     this.mavp.Anchor                = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.mavp.BackColor             = System.Drawing.SystemColors.HighlightText;
     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(247, 476);
     this.mavp.Name                  = "mavp";
     this.mavp.Size                  = new System.Drawing.Size(438, 21);
     this.mavp.TabIndex              = 10;
     this.mavp.SelectedIndexChanged += new System.EventHandler(this.mavp_SelectedIndexChanged);
     this.mavp.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.mavp_KeyDown);
     //
     // loaivp
     //
     this.loaivp.Anchor                = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.loaivp.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.loaivp.Enabled               = false;
     this.loaivp.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loaivp.Location              = new System.Drawing.Point(53, 476);
     this.loaivp.Name                  = "loaivp";
     this.loaivp.Size                  = new System.Drawing.Size(192, 21);
     this.loaivp.TabIndex              = 9;
     this.loaivp.SelectedIndexChanged += new System.EventHandler(this.loaivp_SelectedIndexChanged);
     this.loaivp.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.mavp_KeyDown);
     //
     // sotien
     //
     this.sotien.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.sotien.Enabled   = false;
     this.sotien.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sotien.Location  = new System.Drawing.Point(687, 476);
     this.sotien.Name      = "sotien";
     this.sotien.Size      = new System.Drawing.Size(98, 21);
     this.sotien.TabIndex  = 11;
     this.sotien.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // 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(-50, 476);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(104, 23);
     this.label6.TabIndex  = 49;
     this.label6.Text      = "Viện phí :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tim
     //
     this.tim.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.tim.Location     = new System.Drawing.Point(667, 5);
     this.tim.Name         = "tim";
     this.tim.Size         = new System.Drawing.Size(118, 20);
     this.tim.TabIndex     = 50;
     this.tim.Text         = "Tìm kiếm";
     this.tim.TextAlign    = System.Windows.Forms.HorizontalAlignment.Center;
     this.tim.TextChanged += new System.EventHandler(this.tim_TextChanged);
     this.tim.Leave       += new System.EventHandler(this.tim_Leave);
     this.tim.Enter       += new System.EventHandler(this.tim_Enter);
     //
     // chktsu
     //
     this.chktsu.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chktsu.AutoSize   = true;
     this.chktsu.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.chktsu.Enabled    = false;
     this.chktsu.Location   = new System.Drawing.Point(53, 503);
     this.chktsu.Name       = "chktsu";
     this.chktsu.Size       = new System.Drawing.Size(88, 17);
     this.chktsu.TabIndex   = 51;
     this.chktsu.Text       = "Tiền sử bệnh";
     this.chktsu.UseVisualStyleBackColor = true;
     //
     // chkSande
     //
     this.chkSande.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkSande.AutoSize   = true;
     this.chkSande.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.chkSande.Enabled    = false;
     this.chkSande.Location   = new System.Drawing.Point(158, 503);
     this.chkSande.Name       = "chkSande";
     this.chkSande.Size       = new System.Drawing.Size(61, 17);
     this.chkSande.TabIndex   = 52;
     this.chkSande.Text       = "Sản đẻ";
     this.chkSande.UseVisualStyleBackColor = true;
     //
     // frmKbpttt
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 573);
     this.Controls.Add(this.chkSande);
     this.Controls.Add(this.chktsu);
     this.Controls.Add(this.tim);
     this.Controls.Add(this.mavp);
     this.Controls.Add(this.loaivp);
     this.Controls.Add(this.sotien);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.loaipt);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.muc);
     this.Controls.Add(this.loai);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.ma);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     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.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmKbpttt";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục phẫu thuật - thủ thuật";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Load         += new System.EventHandler(this.frmKbpttt_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 27
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(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();
 }
Esempio n. 28
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();
 }
Esempio n. 29
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(rptBbkiemkec53));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.c1         = new MaskedTextBox.MaskedTextBox();
     this.c2         = new MaskedTextBox.MaskedTextBox();
     this.c3         = 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.c13        = new MaskedTextBox.MaskedTextBox();
     this.c12        = new MaskedTextBox.MaskedTextBox();
     this.c11        = new MaskedTextBox.MaskedTextBox();
     this.yyyy       = new System.Windows.Forms.NumericUpDown();
     this.mm         = new System.Windows.Forms.NumericUpDown();
     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.kho        = new System.Windows.Forms.CheckedListBox();
     this.makp       = new System.Windows.Forms.CheckedListBox();
     this.manhom     = new System.Windows.Forms.CheckedListBox();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mm)).BeginInit();
     this.groupBox1.SuspendLayout();
     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      = "Tháng :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(99, 10);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(34, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "năm :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butIn
     //
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(152, 269);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 12;
     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(222, 269);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 13;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // 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, 192);
     this.c1.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c1.Name     = "c1";
     this.c1.Size     = new System.Drawing.Size(192, 21);
     this.c1.TabIndex = 6;
     //
     // 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, 216);
     this.c2.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c2.Name     = "c2";
     this.c2.Size     = new System.Drawing.Size(192, 21);
     this.c2.TabIndex = 8;
     //
     // 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, 240);
     this.c3.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c3.Name     = "c3";
     this.c3.Size     = new System.Drawing.Size(192, 21);
     this.c3.TabIndex = 10;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(-3, 192);
     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, 216);
     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, 240);
     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;
     //
     // 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, 240);
     this.c13.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c13.Name     = "c13";
     this.c13.Size     = new System.Drawing.Size(170, 21);
     this.c13.TabIndex = 11;
     this.c13.Text     = "Ủ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, 216);
     this.c12.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c12.Name     = "c12";
     this.c12.Size     = new System.Drawing.Size(170, 21);
     this.c12.TabIndex = 9;
     this.c12.Text     = "Ủ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, 192);
     this.c11.Masked   = MaskedTextBox.MaskedTextBox.Mask.None;
     this.c11.Name     = "c11";
     this.c11.Size     = new System.Drawing.Size(170, 21);
     this.c11.TabIndex = 7;
     this.c11.Text     = "Trưởng ban";
     //
     // yyyy
     //
     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(137, 11);
     this.yyyy.Maximum  = new decimal(new int[] {
         3004,
         0,
         0,
         0
     });
     this.yyyy.Minimum = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.Name     = "yyyy";
     this.yyyy.Size     = new System.Drawing.Size(48, 21);
     this.yyyy.TabIndex = 1;
     this.yyyy.Value    = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // mm
     //
     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(52, 11);
     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(40, 21);
     this.mm.TabIndex = 0;
     this.mm.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // 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(192, 2);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(224, 32);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop  = false;
     //
     // rb3
     //
     this.rb3.Location        = new System.Drawing.Point(131, 10);
     this.rb3.Name            = "rb3";
     this.rb3.Size            = new System.Drawing.Size(91, 20);
     this.rb3.TabIndex        = 2;
     this.rb3.Text            = "Khoa/phòng";
     this.rb3.CheckedChanged += new System.EventHandler(this.rb3_CheckedChanged);
     this.rb3.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // rb2
     //
     this.rb2.Location        = new System.Drawing.Point(85, 10);
     this.rb2.Name            = "rb2";
     this.rb2.Size            = new System.Drawing.Size(48, 20);
     this.rb2.TabIndex        = 1;
     this.rb2.Text            = "Kho";
     this.rb2.CheckedChanged += new System.EventHandler(this.rb2_CheckedChanged);
     this.rb2.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // rb1
     //
     this.rb1.Checked         = true;
     this.rb1.Location        = new System.Drawing.Point(8, 10);
     this.rb1.Name            = "rb1";
     this.rb1.Size            = new System.Drawing.Size(74, 20);
     this.rb1.TabIndex        = 0;
     this.rb1.TabStop         = true;
     this.rb1.Text            = "Toàn viện";
     this.rb1.CheckedChanged += new System.EventHandler(this.rb1_CheckedChanged);
     this.rb1.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // kho
     //
     this.kho.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.kho.CheckOnClick = true;
     this.kho.Enabled      = false;
     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(52, 90);
     this.kho.Name         = "kho";
     this.kho.Size         = new System.Drawing.Size(180, 100);
     this.kho.TabIndex     = 4;
     this.kho.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // makp
     //
     this.makp.BackColor    = System.Drawing.SystemColors.HighlightText;
     this.makp.CheckOnClick = true;
     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(236, 36);
     this.makp.Name         = "makp";
     this.makp.Size         = new System.Drawing.Size(180, 148);
     this.makp.TabIndex     = 5;
     this.makp.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // manhom
     //
     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(52, 36);
     this.manhom.Name         = "manhom";
     this.manhom.Size         = new System.Drawing.Size(180, 52);
     this.manhom.TabIndex     = 3;
     this.manhom.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // rptBbkiemkec53
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(426, 311);
     this.Controls.Add(this.manhom);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.kho);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.yyyy);
     this.Controls.Add(this.mm);
     this.Controls.Add(this.c13);
     this.Controls.Add(this.c12);
     this.Controls.Add(this.c11);
     this.Controls.Add(this.c3);
     this.Controls.Add(this.c2);
     this.Controls.Add(this.c1);
     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.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            = "rptBbkiemkec53";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Biên bản kiểm kê";
     this.Load           += new System.EventHandler(this.rptBbkiemkec53_Load);
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mm)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 30
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(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();
 }
Esempio n. 31
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(frmIcd10));
     this.dataGrid1   = new System.Windows.Forms.DataGrid();
     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();
     this.butKetthuc  = new System.Windows.Forms.Button();
     this.label1      = new System.Windows.Forms.Label();
     this.cicd10      = new MaskedTextBox.MaskedTextBox();
     this.label2      = new System.Windows.Forms.Label();
     this.vviet       = new MaskedTextBox.MaskedTextBox();
     this.label3      = new System.Windows.Forms.Label();
     this.vanh        = new MaskedTextBox.MaskedTextBox();
     this.label4      = new System.Windows.Forms.Label();
     this.label5      = new System.Windows.Forms.Label();
     this.icd_chapter = new System.Windows.Forms.ComboBox();
     this.icd_nhom    = new System.Windows.Forms.ComboBox();
     this.butIn       = new System.Windows.Forms.Button();
     ((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, 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(777, 498);
     this.dataGrid1.TabIndex            = 4;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // 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(481, 538);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(60, 25);
     this.butHuy.TabIndex   = 15;
     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(361, 538);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(60, 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);
     //
     // 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(301, 538);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(60, 25);
     this.butLuu.TabIndex   = 11;
     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(241, 538);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(60, 25);
     this.butSua.TabIndex   = 14;
     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(181, 538);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(60, 25);
     this.butMoi.TabIndex   = 13;
     this.butMoi.Text       = "      &Thêm";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // 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(541, 538);
     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);
     //
     // 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(2, 511);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 5;
     this.label1.Text      = "Mã ICD :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cicd10
     //
     this.cicd10.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.cicd10.BackColor       = System.Drawing.SystemColors.HighlightText;
     this.cicd10.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.cicd10.Enabled         = false;
     this.cicd10.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cicd10.Location        = new System.Drawing.Point(59, 511);
     this.cicd10.Masked          = MaskedTextBox.MaskedTextBox.Mask.ICD10;
     this.cicd10.MaxLength       = 9;
     this.cicd10.Name            = "cicd10";
     this.cicd10.Size            = new System.Drawing.Size(60, 21);
     this.cicd10.TabIndex        = 6;
     this.cicd10.Validated      += new System.EventHandler(this.cicd10_Validated);
     //
     // 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(91, 511);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(88, 23);
     this.label2.TabIndex  = 7;
     this.label2.Text      = "Tên bệnh :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // vviet
     //
     this.vviet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.vviet.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.vviet.Enabled    = false;
     this.vviet.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.vviet.Location   = new System.Drawing.Point(180, 511);
     this.vviet.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.vviet.Name       = "vviet";
     this.vviet.Size       = new System.Drawing.Size(290, 21);
     this.vviet.TabIndex   = 8;
     this.vviet.Validated += new System.EventHandler(this.vviet_Validated);
     //
     // 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(462, 511);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(66, 23);
     this.label3.TabIndex  = 9;
     this.label3.Text      = "Tiếng anh :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // vanh
     //
     this.vanh.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.vanh.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.vanh.Enabled    = false;
     this.vanh.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.vanh.Location   = new System.Drawing.Point(527, 511);
     this.vanh.Masked     = MaskedTextBox.MaskedTextBox.Mask.None;
     this.vanh.Name       = "vanh";
     this.vanh.Size       = new System.Drawing.Size(256, 21);
     this.vanh.TabIndex   = 10;
     this.vanh.Validated += new System.EventHandler(this.vanh_Validated);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(8, 3);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(56, 23);
     this.label4.TabIndex  = 0;
     this.label4.Text      = "Chương :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(376, 3);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(56, 23);
     this.label5.TabIndex  = 2;
     this.label5.Text      = "Nhóm :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // icd_chapter
     //
     this.icd_chapter.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.icd_chapter.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.icd_chapter.Location              = new System.Drawing.Point(64, 3);
     this.icd_chapter.Name                  = "icd_chapter";
     this.icd_chapter.Size                  = new System.Drawing.Size(320, 21);
     this.icd_chapter.TabIndex              = 1;
     this.icd_chapter.SelectedIndexChanged += new System.EventHandler(this.icd_chapter_SelectedIndexChanged);
     this.icd_chapter.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.icd_chapter_KeyDown);
     //
     // icd_nhom
     //
     this.icd_nhom.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.icd_nhom.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.icd_nhom.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.icd_nhom.Location              = new System.Drawing.Point(432, 3);
     this.icd_nhom.Name                  = "icd_nhom";
     this.icd_nhom.Size                  = new System.Drawing.Size(352, 21);
     this.icd_nhom.TabIndex              = 3;
     this.icd_nhom.SelectedIndexChanged += new System.EventHandler(this.icd_nhom_SelectedIndexChanged);
     this.icd_nhom.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.icd_nhom_KeyDown);
     //
     // butIn
     //
     this.butIn.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butIn.Image      = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(421, 538);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(60, 25);
     this.butIn.TabIndex   = 17;
     this.butIn.Text       = "      &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // frmIcd10
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 573);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.vviet);
     this.Controls.Add(this.icd_nhom);
     this.Controls.Add(this.icd_chapter);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.vanh);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.cicd10);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     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.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmIcd10";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Phân loại bệnh tật ICD-10";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Load         += new System.EventHandler(this.frmIcd10_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 32
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTkttlucrv));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.label7     = new System.Windows.Forms.Label();
     this.madantoc   = new System.Windows.Forms.ComboBox();
     this.mann       = new System.Windows.Forms.ComboBox();
     this.maqu       = new System.Windows.Forms.ComboBox();
     this.matt       = new System.Windows.Forms.ComboBox();
     this.maphuongxa = new System.Windows.Forms.ComboBox();
     this.label18    = new System.Windows.Forms.Label();
     this.label17    = new System.Windows.Forms.Label();
     this.label16    = new System.Windows.Forms.Label();
     this.label10    = new System.Windows.Forms.Label();
     this.label11    = new System.Windows.Forms.Label();
     this.label12    = new System.Windows.Forms.Label();
     this.makp       = new System.Windows.Forms.ComboBox();
     this.label15    = new System.Windows.Forms.Label();
     this.label19    = new System.Windows.Forms.Label();
     this.phai       = new System.Windows.Forms.ComboBox();
     this.dotuoi     = new System.Windows.Forms.ComboBox();
     this.solieu     = new System.Windows.Forms.ComboBox();
     this.butTim     = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.toolTip1   = new System.Windows.Forms.ToolTip(this.components);
     this.den        = new MaskedBox.MaskedBox();
     this.tu         = new MaskedBox.MaskedBox();
     this.ttlucrv    = new System.Windows.Forms.ComboBox();
     this.label3     = new System.Windows.Forms.Label();
     this.maicd      = new MaskedTextBox.MaskedTextBox();
     this.label4     = new System.Windows.Forms.Label();
     this.checkBox1  = new System.Windows.Forms.CheckBox();
     this.listBox1   = new System.Windows.Forms.CheckedListBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label1.Location  = new System.Drawing.Point(4, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(71, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(168, 11);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(72, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "đến ngày :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label7.Location  = new System.Drawing.Point(4, 59);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(71, 23);
     this.label7.TabIndex  = 6;
     this.label7.Text      = "Giới tính :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // madantoc
     //
     this.madantoc.BackColor = System.Drawing.SystemColors.HighlightText;
     this.madantoc.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madantoc.Location  = new System.Drawing.Point(72, 83);
     this.madantoc.Name      = "madantoc";
     this.madantoc.Size      = new System.Drawing.Size(80, 21);
     this.madantoc.TabIndex  = 5;
     this.madantoc.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.madantoc_KeyDown);
     //
     // mann
     //
     this.mann.BackColor = System.Drawing.SystemColors.HighlightText;
     this.mann.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mann.Location  = new System.Drawing.Point(72, 131);
     this.mann.Name      = "mann";
     this.mann.Size      = new System.Drawing.Size(232, 21);
     this.mann.TabIndex  = 8;
     this.mann.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.mann_KeyDown);
     //
     // maqu
     //
     this.maqu.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.maqu.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maqu.Location              = new System.Drawing.Point(72, 179);
     this.maqu.Name                  = "maqu";
     this.maqu.Size                  = new System.Drawing.Size(232, 21);
     this.maqu.TabIndex              = 10;
     this.maqu.SelectedIndexChanged += new System.EventHandler(this.maqu_SelectedIndexChanged);
     this.maqu.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.maqu_KeyDown);
     //
     // matt
     //
     this.matt.BackColor             = System.Drawing.SystemColors.HighlightText;
     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(72, 155);
     this.matt.Name                  = "matt";
     this.matt.Size                  = new System.Drawing.Size(232, 21);
     this.matt.TabIndex              = 9;
     this.matt.SelectedIndexChanged += new System.EventHandler(this.matt_SelectedIndexChanged);
     this.matt.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.matt_KeyDown);
     //
     // maphuongxa
     //
     this.maphuongxa.BackColor = System.Drawing.SystemColors.HighlightText;
     this.maphuongxa.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maphuongxa.Location  = new System.Drawing.Point(72, 203);
     this.maphuongxa.Name      = "maphuongxa";
     this.maphuongxa.Size      = new System.Drawing.Size(232, 21);
     this.maphuongxa.TabIndex  = 11;
     this.maphuongxa.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.maphuongxa_KeyDown);
     //
     // label18
     //
     this.label18.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label18.Location  = new System.Drawing.Point(4, 203);
     this.label18.Name      = "label18";
     this.label18.Size      = new System.Drawing.Size(71, 23);
     this.label18.TabIndex  = 55;
     this.label18.Text      = "Phường xã :";
     this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label17
     //
     this.label17.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label17.Location  = new System.Drawing.Point(-1, 179);
     this.label17.Name      = "label17";
     this.label17.Size      = new System.Drawing.Size(76, 23);
     this.label17.TabIndex  = 54;
     this.label17.Text      = "Quận/Huyện :";
     this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label16
     //
     this.label16.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label16.Location  = new System.Drawing.Point(4, 155);
     this.label16.Name      = "label16";
     this.label16.Size      = new System.Drawing.Size(71, 23);
     this.label16.TabIndex  = 53;
     this.label16.Text      = "Tỉnh/TP :";
     this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label10
     //
     this.label10.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label10.Location  = new System.Drawing.Point(0, 131);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(75, 23);
     this.label10.TabIndex  = 49;
     this.label10.Text      = "Nghề nghiệp :";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label11
     //
     this.label11.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label11.Location  = new System.Drawing.Point(4, 83);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(71, 23);
     this.label11.TabIndex  = 56;
     this.label11.Text      = "Dân tộc :";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label12
     //
     this.label12.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label12.Location  = new System.Drawing.Point(1, 107);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(74, 23);
     this.label12.TabIndex  = 57;
     this.label12.Text      = "Khoa/Phòng :";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // makp
     //
     this.makp.BackColor = System.Drawing.SystemColors.HighlightText;
     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(72, 107);
     this.makp.Name      = "makp";
     this.makp.Size      = new System.Drawing.Size(232, 21);
     this.makp.TabIndex  = 7;
     this.makp.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.makp_KeyDown);
     //
     // label15
     //
     this.label15.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label15.Location  = new System.Drawing.Point(142, 59);
     this.label15.Name      = "label15";
     this.label15.Size      = new System.Drawing.Size(74, 23);
     this.label15.TabIndex  = 61;
     this.label15.Text      = "Độ tuổi :";
     this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label19
     //
     this.label19.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label19.Location  = new System.Drawing.Point(4, 35);
     this.label19.Name      = "label19";
     this.label19.Size      = new System.Drawing.Size(71, 23);
     this.label19.TabIndex  = 62;
     this.label19.Text      = "Số liệu :";
     this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // phai
     //
     this.phai.BackColor = System.Drawing.SystemColors.HighlightText;
     this.phai.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.phai.Items.AddRange(new object[] {
         "Nam",
         "Nữ"
     });
     this.phai.Location = new System.Drawing.Point(72, 59);
     this.phai.Name     = "phai";
     this.phai.Size     = new System.Drawing.Size(80, 21);
     this.phai.TabIndex = 3;
     this.phai.KeyDown += new System.Windows.Forms.KeyEventHandler(this.phai_KeyDown);
     //
     // dotuoi
     //
     this.dotuoi.BackColor = System.Drawing.SystemColors.HighlightText;
     this.dotuoi.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dotuoi.Location  = new System.Drawing.Point(216, 59);
     this.dotuoi.Name      = "dotuoi";
     this.dotuoi.Size      = new System.Drawing.Size(88, 21);
     this.dotuoi.TabIndex  = 4;
     this.dotuoi.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.dotuoi_KeyDown);
     //
     // solieu
     //
     this.solieu.BackColor             = System.Drawing.SystemColors.HighlightText;
     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.Location              = new System.Drawing.Point(72, 35);
     this.solieu.Name                  = "solieu";
     this.solieu.Size                  = new System.Drawing.Size(232, 21);
     this.solieu.TabIndex              = 2;
     this.solieu.SelectedIndexChanged += new System.EventHandler(this.solieu_SelectedIndexChanged);
     this.solieu.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.solieu_KeyDown);
     //
     // butTim
     //
     this.butTim.BackColor  = System.Drawing.Color.Transparent;
     this.butTim.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.butTim.ForeColor  = System.Drawing.SystemColors.WindowText;
     this.butTim.Image      = ((System.Drawing.Image)(resources.GetObject("butTim.Image")));
     this.butTim.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butTim.Location   = new System.Drawing.Point(239, 272);
     this.butTim.Name       = "butTim";
     this.butTim.Size       = new System.Drawing.Size(68, 25);
     this.butTim.TabIndex   = 14;
     this.butTim.Text       = "    &In";
     this.butTim.UseVisualStyleBackColor = false;
     this.butTim.Click += new System.EventHandler(this.butTim_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.BackColor  = System.Drawing.Color.Transparent;
     this.butKetthuc.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.butKetthuc.ForeColor  = System.Drawing.SystemColors.WindowText;
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(309, 272);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(68, 25);
     this.butKetthuc.TabIndex   = 15;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.UseVisualStyleBackColor = false;
     this.butKetthuc.Click += new System.EventHandler(this.butKetthuc_Click);
     //
     // 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, 12);
     this.den.Mask       = "##/##/####";
     this.den.Name       = "den";
     this.den.Size       = new System.Drawing.Size(64, 21);
     this.den.TabIndex   = 1;
     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(72, 12);
     this.tu.Mask       = "##/##/####";
     this.tu.Name       = "tu";
     this.tu.Size       = new System.Drawing.Size(64, 21);
     this.tu.TabIndex   = 0;
     this.tu.Text       = "  /  /    ";
     this.tu.Validated += new System.EventHandler(this.tu_Validated);
     //
     // ttlucrv
     //
     this.ttlucrv.BackColor = System.Drawing.SystemColors.HighlightText;
     this.ttlucrv.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ttlucrv.Location  = new System.Drawing.Point(216, 83);
     this.ttlucrv.Name      = "ttlucrv";
     this.ttlucrv.Size      = new System.Drawing.Size(88, 21);
     this.ttlucrv.TabIndex  = 6;
     this.ttlucrv.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.ttlucrv_KeyDown);
     //
     // label3
     //
     this.label3.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label3.Location  = new System.Drawing.Point(152, 80);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 23);
     this.label3.TabIndex  = 66;
     this.label3.Text      = "Tình trạng :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // maicd
     //
     this.maicd.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     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(72, 227);
     this.maicd.Masked          = MaskedTextBox.MaskedTextBox.Mask.None;
     this.maicd.MaxLength       = 9;
     this.maicd.Name            = "maicd";
     this.maicd.Size            = new System.Drawing.Size(56, 21);
     this.maicd.TabIndex        = 12;
     //
     // label4
     //
     this.label4.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label4.Location  = new System.Drawing.Point(4, 225);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(71, 23);
     this.label4.TabIndex  = 68;
     this.label4.Text      = "Mã ICD :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // checkBox1
     //
     this.checkBox1.ForeColor          = System.Drawing.SystemColors.ControlText;
     this.checkBox1.Location           = new System.Drawing.Point(130, 226);
     this.checkBox1.Name               = "checkBox1";
     this.checkBox1.Size               = new System.Drawing.Size(134, 24);
     this.checkBox1.TabIndex           = 13;
     this.checkBox1.Text               = "Danh sách ICD10";
     this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
     //
     // listBox1
     //
     this.listBox1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.listBox1.Location = new System.Drawing.Point(312, 10);
     this.listBox1.Name     = "listBox1";
     this.listBox1.Size     = new System.Drawing.Size(296, 244);
     this.listBox1.TabIndex = 70;
     //
     // frmTkttlucrv
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(616, 317);
     this.Controls.Add(this.maicd);
     this.Controls.Add(this.listBox1);
     this.Controls.Add(this.checkBox1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.phai);
     this.Controls.Add(this.madantoc);
     this.Controls.Add(this.mann);
     this.Controls.Add(this.ttlucrv);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.matt);
     this.Controls.Add(this.den);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.maqu);
     this.Controls.Add(this.maphuongxa);
     this.Controls.Add(this.label18);
     this.Controls.Add(this.label17);
     this.Controls.Add(this.label16);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butTim);
     this.Controls.Add(this.dotuoi);
     this.Controls.Add(this.solieu);
     this.Controls.Add(this.label19);
     this.Controls.Add(this.label15);
     this.Controls.Add(this.label12);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmTkttlucrv";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Tổng hợp theo tình trạng ra viện";
     this.MouseMove    += new System.Windows.Forms.MouseEventHandler(this.frmTkravien_MouseMove);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmTkttlucrv_KeyDown);
     this.Load         += new System.EventHandler(this.frmTkttlucrv_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 33
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.butKetthuc = 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.label3     = new System.Windows.Forms.Label();
     this.stt        = new System.Windows.Forms.NumericUpDown();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.chitra     = new MaskedTextBox.MaskedTextBox();
     ((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(8, -13);
     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(464, 373);
     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      = global::Duoc.Properties.Resources.close_r;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(392, 398);
     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);
     //
     // 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(42, 398);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 4;
     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(112, 398);
     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.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(182, 398);
     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.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(252, 398);
     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.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(322, 398);
     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);
     //
     // 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(-6, 368);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(42, 23);
     this.label3.TabIndex  = 24;
     this.label3.Text      = "STT :";
     this.label3.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.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.stt.Location = new System.Drawing.Point(40, 369);
     this.stt.Maximum  = new decimal(new int[] {
         999,
         0,
         0,
         0
     });
     this.stt.Name     = "stt";
     this.stt.Size     = new System.Drawing.Size(48, 21);
     this.stt.TabIndex = 0;
     this.stt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.Location  = new System.Drawing.Point(458, 368);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(16, 23);
     this.label1.TabIndex  = 25;
     this.label1.Text      = "%";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // 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(96, 368);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(88, 23);
     this.label2.TabIndex  = 26;
     this.label2.Text      = "Bảo hiểm chi trả";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chitra
     //
     this.chitra.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.chitra.BackColor = System.Drawing.SystemColors.HighlightText;
     this.chitra.Enabled   = false;
     this.chitra.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chitra.Location  = new System.Drawing.Point(190, 369);
     this.chitra.Masked    = MaskedTextBox.MaskedTextBox.Mask.Decimal;
     this.chitra.Name      = "chitra";
     this.chitra.Size      = new System.Drawing.Size(262, 21);
     this.chitra.TabIndex  = 1;
     this.chitra.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // frmDmbhyt
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(480, 445);
     this.Controls.Add(this.chitra);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.stt);
     this.Controls.Add(this.label3);
     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.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmDmbhyt";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục bảo hiểm chi trả";
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmDmbhyt_KeyDown);
     this.Load         += new System.EventHandler(this.frmDmbhyt_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.stt)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }