using System.Data;
using System.Data.SqlClient;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
    partial class FormDrugdefinition
    {
           //Constant String
        private const string _ComandText =
            "SELECT LatinDrug,ShortDrug,PersionDrug,AccessCodeDrug,ExchangeUnit,Price,Drugform,Stock FROM DrugDefinition";
     
        //declare global objects...
        SqlConnection objConnection;
        SqlDataAdapter objDataAdapter;
        DataSet objDataSet = new DataSet();
        DataView objDataView;
        CurrencyManager objCurrencyManager;
        
        
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.lblDrugdefinition = new System.Windows.Forms.Label();
            this.lblShortDefinition = new System.Windows.Forms.Label();
            this.lblPersionDefinition = new System.Windows.Forms.Label();
            this.lblAccesscodedrug = new System.Windows.Forms.Label();
            this.lblModuleUnit = new System.Windows.Forms.Label();
            this.lblPrice = new System.Windows.Forms.Label();
            this.lblDrugForm = new System.Windows.Forms.Label();
            this.txtDrugdefinition = new System.Windows.Forms.TextBox();
            this.txtShortDefinition = new System.Windows.Forms.TextBox();
            this.txtPersionDefinition = new System.Windows.Forms.TextBox();
            this.txtAccesscodedrug = new System.Windows.Forms.TextBox();
            this.txtPrice = new System.Windows.Forms.TextBox();
            this.btnok = new System.Windows.Forms.Button();
            this.cmbDrugExchange = new System.Windows.Forms.ComboBox();
            this.cmbDrugform = new System.Windows.Forms.ComboBox();
            this.btnmovefirst = new System.Windows.Forms.Button();
            this.btnmoveprevious = new System.Windows.Forms.Button();
            this.btnmovenext = new System.Windows.Forms.Button();
            this.btnmovelast = new System.Windows.Forms.Button();
            this.txtRecordPosition = new System.Windows.Forms.TextBox();
            this.cmbsearch = new System.Windows.Forms.ComboBox();
            this.lblsearch = new System.Windows.Forms.Label();
            this.btnsearch = new System.Windows.Forms.Button();
            this.txtSearch = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.btnUpdate = new System.Windows.Forms.Button();
            this.btnsave = new System.Windows.Forms.Button();
            this.txtStock = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.SuspendLayout();
            // 
            // lblDrugdefinition
            // 
            this.lblDrugdefinition.AutoSize = true;
            this.lblDrugdefinition.Location = new System.Drawing.Point(574, 29);
            this.lblDrugdefinition.Name = "lblDrugdefinition";
            this.lblDrugdefinition.Size = new System.Drawing.Size(69, 13);
            this.lblDrugdefinition.TabIndex = 0;
            this.lblDrugdefinition.Text = "نام لاتین دارو ";
            // 
            // lblShortDefinition
            // 
            this.lblShortDefinition.AutoSize = true;
            this.lblShortDefinition.Location = new System.Drawing.Point(568, 59);
            this.lblShortDefinition.Name = "lblShortDefinition";
            this.lblShortDefinition.Size = new System.Drawing.Size(87, 13);
            this.lblShortDefinition.TabIndex = 1;
            this.lblShortDefinition.Text = "نام اختصاری دارو";
            // 
            // lblPersionDefinition
            // 
            this.lblPersionDefinition.AutoSize = true;
            this.lblPersionDefinition.Location = new System.Drawing.Point(574, 89);
            this.lblPersionDefinition.Name = "lblPersionDefinition";
            this.lblPersionDefinition.Size = new System.Drawing.Size(79, 13);
            this.lblPersionDefinition.TabIndex = 2;
            this.lblPersionDefinition.Text = "نام فارسی دارو";
            // 
            // lblAccesscodedrug
            // 
            this.lblAccesscodedrug.AutoSize = true;
            this.lblAccesscodedrug.Location = new System.Drawing.Point(574, 120);
            this.lblAccesscodedrug.Name = "lblAccesscodedrug";
            this.lblAccesscodedrug.Size = new System.Drawing.Size(81, 13);
            this.lblAccesscodedrug.TabIndex = 3;
            this.lblAccesscodedrug.Text = "شماره دسترسی";
            // 
            // lblModuleUnit
            // 
            this.lblModuleUnit.AutoSize = true;
            this.lblModuleUnit.Location = new System.Drawing.Point(574, 145);
            this.lblModuleUnit.Name = "lblModuleUnit";
            this.lblModuleUnit.Size = new System.Drawing.Size(55, 13);
            this.lblModuleUnit.TabIndex = 4;
            this.lblModuleUnit.Text = "واحد تبادل";
            // 
            // lblPrice
            // 
            this.lblPrice.AutoSize = true;
            this.lblPrice.Location = new System.Drawing.Point(574, 171);
            this.lblPrice.Name = "lblPrice";
            this.lblPrice.Size = new System.Drawing.Size(50, 13);
            this.lblPrice.TabIndex = 5;
            this.lblPrice.Text = "فی خرید ";
            // 
            // lblDrugForm
            // 
            this.lblDrugForm.AutoSize = true;
            this.lblDrugForm.Location = new System.Drawing.Point(574, 194);
            this.lblDrugForm.Name = "lblDrugForm";
            this.lblDrugForm.Size = new System.Drawing.Size(66, 13);
            this.lblDrugForm.TabIndex = 6;
            this.lblDrugForm.Text = "شکل دارویی";
            // 
            // txtDrugdefinition
            // 
            this.txtDrugdefinition.BackColor = System.Drawing.SystemColors.MenuHighlight;
            this.txtDrugdefinition.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtDrugdefinition.Location = new System.Drawing.Point(258, 29);
            this.txtDrugdefinition.Name = "txtDrugdefinition";
            this.txtDrugdefinition.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.txtDrugdefinition.Size = new System.Drawing.Size(297, 24);
            this.txtDrugdefinition.TabIndex = 1;
            // 
            // txtShortDefinition
            // 
            this.txtShortDefinition.BackColor = System.Drawing.SystemColors.MenuHighlight;
            this.txtShortDefinition.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtShortDefinition.Location = new System.Drawing.Point(258, 58);
            this.txtShortDefinition.Name = "txtShortDefinition";
            this.txtShortDefinition.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.txtShortDefinition.Size = new System.Drawing.Size(297, 24);
            this.txtShortDefinition.TabIndex = 2;
            // 
            // txtPersionDefinition
            // 
            this.txtPersionDefinition.BackColor = System.Drawing.SystemColors.MenuHighlight;
            this.txtPersionDefinition.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtPersionDefinition.Location = new System.Drawing.Point(258, 86);
            this.txtPersionDefinition.Name = "txtPersionDefinition";
            this.txtPersionDefinition.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.txtPersionDefinition.Size = new System.Drawing.Size(297, 24);
            this.txtPersionDefinition.TabIndex = 3;
            // 
            // txtAccesscodedrug
            // 
            this.txtAccesscodedrug.Location = new System.Drawing.Point(455, 112);
            this.txtAccesscodedrug.Name = "txtAccesscodedrug";
            this.txtAccesscodedrug.Size = new System.Drawing.Size(100, 20);
            this.txtAccesscodedrug.TabIndex = 4;
            // 
            // txtPrice
            // 
            this.txtPrice.Location = new System.Drawing.Point(455, 165);
            this.txtPrice.Name = "txtPrice";
            this.txtPrice.Size = new System.Drawing.Size(100, 20);
            this.txtPrice.TabIndex = 6;
            // 
            // btnok
            // 
            this.btnok.Location = new System.Drawing.Point(520, 301);
            this.btnok.Name = "btnok";
            this.btnok.Size = new System.Drawing.Size(136, 45);
            this.btnok.TabIndex = 8;
            this.btnok.Text = "داروی جدید";
            this.btnok.UseVisualStyleBackColor = true;
            this.btnok.Click += new System.EventHandler(this.btnok_Click);
            // 
            // cmbDrugExchange
            // 
            this.cmbDrugExchange.FormattingEnabled = true;
            this.cmbDrugExchange.Items.AddRange(new object[] {
            "عدد",
            "بسته\t",
            "شیشه"});
            this.cmbDrugExchange.Location = new System.Drawing.Point(434, 137);
            this.cmbDrugExchange.Name = "cmbDrugExchange";
            this.cmbDrugExchange.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.cmbDrugExchange.Size = new System.Drawing.Size(121, 21);
            this.cmbDrugExchange.TabIndex = 5;
            // 
            // cmbDrugform
            // 
            this.cmbDrugform.FormattingEnabled = true;
            this.cmbDrugform.Items.AddRange(new object[] {
            "قرص",
            "آمپول",
            "ویال",
            "شربت",
            "سرم",
            "اسپری",
            "پماد",
            "قطره",
            "شیاف"});
            this.cmbDrugform.Location = new System.Drawing.Point(434, 193);
            this.cmbDrugform.Name = "cmbDrugform";
            this.cmbDrugform.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.cmbDrugform.Size = new System.Drawing.Size(121, 21);
            this.cmbDrugform.TabIndex = 7;
            // 
            // btnmovefirst
            // 
            this.btnmovefirst.Location = new System.Drawing.Point(174, 426);
            this.btnmovefirst.Name = "btnmovefirst";
            this.btnmovefirst.Size = new System.Drawing.Size(75, 41);
            this.btnmovefirst.TabIndex = 10;
            this.btnmovefirst.Text = "ابتدا";
            this.btnmovefirst.UseVisualStyleBackColor = true;
            this.btnmovefirst.Click += new System.EventHandler(this.btnmovefirst_Click);
            // 
            // btnmoveprevious
            // 
            this.btnmoveprevious.Location = new System.Drawing.Point(269, 426);
            this.btnmoveprevious.Name = "btnmoveprevious";
            this.btnmoveprevious.Size = new System.Drawing.Size(75, 41);
            this.btnmoveprevious.TabIndex = 11;
            this.btnmoveprevious.Text = "قبلی";
            this.btnmoveprevious.UseVisualStyleBackColor = true;
            this.btnmoveprevious.Click += new System.EventHandler(this.btnmoveprevious_Click);
            // 
            // btnmovenext
            // 
            this.btnmovenext.Location = new System.Drawing.Point(363, 426);
            this.btnmovenext.Name = "btnmovenext";
            this.btnmovenext.Size = new System.Drawing.Size(75, 41);
            this.btnmovenext.TabIndex = 12;
            this.btnmovenext.Text = "بعدی";
            this.btnmovenext.UseVisualStyleBackColor = true;
            this.btnmovenext.Click += new System.EventHandler(this.btnmovenext_Click);
            // 
            // btnmovelast
            // 
            this.btnmovelast.Location = new System.Drawing.Point(454, 426);
            this.btnmovelast.Name = "btnmovelast";
            this.btnmovelast.Size = new System.Drawing.Size(75, 41);
            this.btnmovelast.TabIndex = 13;
            this.btnmovelast.Text = "انتها";
            this.btnmovelast.UseVisualStyleBackColor = true;
            this.btnmovelast.Click += new System.EventHandler(this.btnmovelast_Click);
            // 
            // txtRecordPosition
            // 
            this.txtRecordPosition.Location = new System.Drawing.Point(305, 478);
            this.txtRecordPosition.Name = "txtRecordPosition";
            this.txtRecordPosition.Size = new System.Drawing.Size(100, 20);
            this.txtRecordPosition.TabIndex = 15;
            // 
            // cmbsearch
            // 
            this.cmbsearch.FormattingEnabled = true;
            this.cmbsearch.Items.AddRange(new object[] {
            "نام لاتین دارو ",
            "نام اختصاری دارو",
            "نام فارسی دارو",
            "شماره دسترسی",
            "واحد تبادل ",
            "فی خرید",
            "شکل دارویی"});
            this.cmbsearch.Location = new System.Drawing.Point(47, 201);
            this.cmbsearch.Name = "cmbsearch";
            this.cmbsearch.Size = new System.Drawing.Size(138, 21);
            this.cmbsearch.TabIndex = 16;
            // 
            // lblsearch
            // 
            this.lblsearch.AutoSize = true;
            this.lblsearch.Location = new System.Drawing.Point(195, 204);
            this.lblsearch.Name = "lblsearch";
            this.lblsearch.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lblsearch.Size = new System.Drawing.Size(138, 13);
            this.lblsearch.TabIndex = 17;
            this.lblsearch.Text = "شرایط جستجو را انتخاب کنید";
            // 
            // btnsearch
            // 
            this.btnsearch.Location = new System.Drawing.Point(32, 301);
            this.btnsearch.Name = "btnsearch";
            this.btnsearch.Size = new System.Drawing.Size(136, 45);
            this.btnsearch.TabIndex = 18;
            this.btnsearch.Text = "جستجو";
            this.btnsearch.UseVisualStyleBackColor = true;
            this.btnsearch.Click += new System.EventHandler(this.btnsearch_Click);
            // 
            // txtSearch
            // 
            this.txtSearch.Location = new System.Drawing.Point(47, 247);
            this.txtSearch.Name = "txtSearch";
            this.txtSearch.Size = new System.Drawing.Size(138, 20);
            this.txtSearch.TabIndex = 19;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(210, 254);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(120, 13);
            this.label1.TabIndex = 20;
            this.label1.Text = "مورد جستجو را وارد کنید";
            // 
            // btnUpdate
            // 
            this.btnUpdate.Location = new System.Drawing.Point(194, 301);
            this.btnUpdate.Name = "btnUpdate";
            this.btnUpdate.Size = new System.Drawing.Size(136, 45);
            this.btnUpdate.TabIndex = 21;
            this.btnUpdate.Text = "ذخیره اطلاعات جدید";
            this.btnUpdate.UseVisualStyleBackColor = true;
            this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
            // 
            // btnsave
            // 
            this.btnsave.Location = new System.Drawing.Point(355, 301);
            this.btnsave.Name = "btnsave";
            this.btnsave.Size = new System.Drawing.Size(136, 45);
            this.btnsave.TabIndex = 22;
            this.btnsave.Text = "ذخیره ";
            this.btnsave.UseVisualStyleBackColor = true;
            this.btnsave.Click += new System.EventHandler(this.button1_Click_1);
            // 
            // txtStock
            // 
            this.txtStock.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            this.txtStock.Location = new System.Drawing.Point(455, 223);
            this.txtStock.Name = "txtStock";
            this.txtStock.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.txtStock.Size = new System.Drawing.Size(100, 20);
            this.txtStock.TabIndex = 23;
            this.txtStock.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(586, 230);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(46, 13);
            this.label2.TabIndex = 24;
            this.label2.Text = "موجودی";
            // 
            // FormDrugdefinition
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(668, 507);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.txtStock);
            this.Controls.Add(this.btnsave);
            this.Controls.Add(this.btnUpdate);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.txtSearch);
            this.Controls.Add(this.btnsearch);
            this.Controls.Add(this.lblsearch);
            this.Controls.Add(this.cmbsearch);
            this.Controls.Add(this.txtRecordPosition);
            this.Controls.Add(this.btnmovelast);
            this.Controls.Add(this.btnmovenext);
            this.Controls.Add(this.btnmoveprevious);
            this.Controls.Add(this.btnmovefirst);
            this.Controls.Add(this.cmbDrugform);
            this.Controls.Add(this.cmbDrugExchange);
            this.Controls.Add(this.btnok);
            this.Controls.Add(this.txtPrice);
            this.Controls.Add(this.txtAccesscodedrug);
            this.Controls.Add(this.txtPersionDefinition);
            this.Controls.Add(this.txtShortDefinition);
            this.Controls.Add(this.txtDrugdefinition);
            this.Controls.Add(this.lblDrugForm);
            this.Controls.Add(this.lblPrice);
            this.Controls.Add(this.lblModuleUnit);
            this.Controls.Add(this.lblAccesscodedrug);
            this.Controls.Add(this.lblPersionDefinition);
            this.Controls.Add(this.lblShortDefinition);
            this.Controls.Add(this.lblDrugdefinition);
            this.Name = "FormDrugdefinition";
            this.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.Text = "تعریف داروی جدید";
            this.Load += new System.EventHandler(this.FormDrugdefinition_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Label lblDrugdefinition;
        private System.Windows.Forms.Label lblShortDefinition;
        private System.Windows.Forms.Label lblPersionDefinition;
        private System.Windows.Forms.Label lblAccesscodedrug;
        private System.Windows.Forms.Label lblModuleUnit;
        private System.Windows.Forms.Label lblPrice;
        private System.Windows.Forms.Label lblDrugForm;
        private System.Windows.Forms.TextBox txtDrugdefinition;
        private System.Windows.Forms.TextBox txtShortDefinition;
        private System.Windows.Forms.TextBox txtPersionDefinition;
        private System.Windows.Forms.TextBox txtAccesscodedrug;
        private System.Windows.Forms.TextBox txtPrice;
        private System.Windows.Forms.Button btnok;
        private System.Windows.Forms.ComboBox cmbDrugExchange;
        private System.Windows.Forms.ComboBox cmbDrugform;
        private System.Windows.Forms.Button btnmovefirst;
        private System.Windows.Forms.Button btnmoveprevious;
        private System.Windows.Forms.Button btnmovenext;
        private System.Windows.Forms.Button btnmovelast;
        private System.Windows.Forms.TextBox txtRecordPosition;
        private ComboBox cmbsearch;
        private Label lblsearch;
        private Button btnsearch;
        private TextBox txtSearch;
        private Label label1;
        private Button btnUpdate;
        private Button btnsave;
        private TextBox txtStock;
        private Label label2;
    }
}