Esempio n. 1
1
        public static void listarMicros(DataGridView dgMicros, String patente, String patenteEstimada,
            String modelo, String modeloEstimado, DateTimePicker dtpFechaAlta, String marca, String tipoServicio,
            decimal numero, bool mostrarDeshabilitados, bool mostrarHabilitados)
        {
            try
            {
                using (SqlConnection conn = new SqlConnection(main.connString))
                using (SqlCommand cmd = new SqlCommand("BONDIOLA.listarMicros", conn))
                {
                    cmd.CommandType = CommandType.StoredProcedure;
                    SQL_Library.agregarParametro(cmd, "@patente", patente);
                    SQL_Library.agregarParametro(cmd, "@patenteEstimada", patenteEstimada);
                    SQL_Library.agregarParametro(cmd, "@modelo", modelo);
                    SQL_Library.agregarParametro(cmd, "@modeloEstimado", modeloEstimado);
                    SQL_Library.agregarParametroFecha(cmd, dtpFechaAlta, "@fecha_alta");
                    SQL_Library.agregarParametro(cmd, "@marca", marca);
                    SQL_Library.agregarParametro(cmd, "@tipoServicio", tipoServicio);
                    SQL_Library.agregarParametro(cmd, "@numero", numero);
                    SQL_Library.agregarParametro(cmd, "@mostrarDeshabilitados", mostrarDeshabilitados);
                    SQL_Library.agregarParametro(cmd, "@mostrarHabilitados", mostrarHabilitados);
                    SQL_Library.agregarParametro(cmd, "@fechaActual", Properties.Settings.Default.Fecha);

                    SQL_Library.llenarDataGrid(dgMicros, conn, cmd);
                }
            }
            catch (SqlException ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
        public void ListarPorDia(DataGridView dgv, DateTimePicker dtp)
        {
            try
            {
                InstanciarBanco();
                dgv.DataSource = (from movimentacaoCaixa in
                                      (from mcaixa in _banco.MovimentacaoCaixa
                                       where mcaixa.Data == dtp.Value.Date
                                       select new
                                       {
                                           mcaixa.Valor,
                                           mcaixa.Data
                                       })
                                  group movimentacaoCaixa by new { movimentacaoCaixa.Data } into g
                                  select new
                                  {
                                      Valor = g.Sum(p => p.Valor),
                                      Data = g.Key.Data
                                  }).ToList();

            }
            catch (CustomException erro)
            {
                throw new CustomException(erro.Message);
            }
            catch (Exception erro)
            {
                throw new Exception(erro.Message);
            }

        }
        public void TestShowWithEvents()
        {
            //---------------Set up test pack-------------------
            System.Windows.Forms.DateTimePicker dateTimePicker = new System.Windows.Forms.DateTimePicker();
            dateTimePicker.ShowCheckBox = true;
            System.Windows.Forms.Form form = new System.Windows.Forms.Form();
            System.Windows.Forms.TextBox textBox = new System.Windows.Forms.TextBox();
            form.Controls.Add(textBox);
            textBox.Dock = System.Windows.Forms.DockStyle.Fill;
            textBox.Multiline = true;
            form.Controls.Add(dateTimePicker);
            dateTimePicker.Dock = System.Windows.Forms.DockStyle.Top;
            dateTimePicker.ValueChanged += delegate
                                               {
                                                   textBox.Text += "EventFired";
                                               };
            System.Windows.Forms.Button button = new System.Windows.Forms.Button();
            form.Controls.Add(button);
            button.Dock = System.Windows.Forms.DockStyle.Bottom;
            button.Click += delegate
                                {
                                    dateTimePicker.Checked = !dateTimePicker.Checked;
                                };
            //-------------Assert Preconditions -------------

            //---------------Execute Test ----------------------
            form.ShowDialog();
            //---------------Test Result -----------------------

        }
Esempio n. 4
0
 public static bool validar(DateTimePicker dtp)
 {
     if (dtp.Checked)
         return true;
     else
         return false;
 }
        public void ListarEntredatas(DataGridView dgv, string codigo, DateTimePicker dtpInicial, DateTimePicker dtpFinal)
        {
            try
            {
                InstanciarBanco();
                dgv.DataSource = ((from mov in _banco.MovimentacaoProduto
                                   join prod in _banco.Produto on new { Codigo = mov.Codigo } equals new { Codigo = prod.Codigo }
                                   where prod.Codigo == codigo && mov.Data >= dtpInicial.Value.Date && mov.Data <= dtpFinal.Value.Date
                                   group new { mov, prod } by new
                                   {
                                       mov.Codigo,
                                       prod.Nome
                                   } into g
                                   select new
                                   {
                                       Código = g.Key.Codigo,
                                       Nome = g.Key.Nome,
                                       Quantidade = g.Sum(p => p.mov.Quantidade),
                                       Total = g.Sum(p => p.mov.Valor)
                                   }).Distinct()).ToList();

            }
            catch (CustomException erro)
            {
                DialogMessage.MessageFullComButtonOkIconeDeInformacao(erro.Message, "Aviso");
            }
            catch (Exception erro)
            {
                DialogMessage.MessageComButtonOkIconeErro(erro.Message, "Erro");
            }
        }
 private ToolBarDateTimeEdit(Codon codon, object caller, DateTimePicker dtEdit)
     : base(dtEdit)
 {
     this.menuCommand = null;
     this.RightToLeft = RightToLeft.Inherit;
     this.caller = caller;
     this.codon = codon;
     this.dtEdit = dtEdit;
     if (LoggingService.IsDebugEnabled)
     {
         LoggingService.DebugFormatted("时间编辑器的时间是:{0}", new object[] { dtEdit.Value });
     }
     this.dtEdit.Width = Convert.ToInt32(codon.Properties["width"]);
     try
     {
         this.CreateCommand();
     }
     catch (Exception exception)
     {
         LoggingService.Error(exception);
     }
     if (!this.menuCommand.EditValue.HasValue)
     {
         this.dtEdit.Value = DateTime.Now;
     }
     else
     {
         this.dtEdit.Value = this.menuCommand.EditValue.Value;
     }
     this.dtEdit.ValueChanged += new EventHandler(this.EditValueChanged);
     this.UpdateStatus();
     this.UpdateText();
 }
        /// <summary>
        /// Initializes a new instance of the 'DateTimePickerPresentation' class.
        /// </summary>
        /// <param name="maskedTextBox">.NET MaskedTextBox reference.</param>
        /// <param name="dateTimePicker">.NET DateTimePicker reference.</param>
        public DateTimePickerPresentation(MaskedTextBox maskedTextBox, DateTimePicker dateTimePicker)
        {
            mMaskedTextBoxIT = maskedTextBox;
            mDateTimePickerIT = dateTimePicker;
            if (mMaskedTextBoxIT != null)
            {
                // Create and configure the ErrorProvider control.
                mErrorProvider = new ErrorProvider();
                mErrorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.NeverBlink;

                // Link MaskedTextBox control events.
                mMaskedTextBoxIT.GotFocus += new EventHandler(HandleMaskedTextBoxITGotFocus);
                mMaskedTextBoxIT.LostFocus += new EventHandler(HandleMaskedTextBoxITLostFocus);
                mMaskedTextBoxIT.TextChanged += new EventHandler(HandleMaskedTextBoxITTextChanged);
                mMaskedTextBoxIT.EnabledChanged += new EventHandler(HandleMaskedTextBoxITEnabledChanged);
                mMaskedTextBoxIT.KeyDown += new KeyEventHandler(HandleMaskedTextBoxITKeyDown);
            }

            if (dateTimePicker != null)
            {
                mDateTimePickerIT.Enter += new System.EventHandler(HandleDateTimePickerITEnter);
                mDateTimePickerIT.KeyUp += new System.Windows.Forms.KeyEventHandler(HandleDateTimePickerITKeyUp);
                mDateTimePickerIT.DropDown += new System.EventHandler(HandleDateTimePickerITDropDown);
                mDateTimePickerIT.CloseUp += new System.EventHandler(HandleDateTimePickerCloseUp);
            }
        }
        public void cargarCantidadDePedidosGenerico(int id, DateTimePicker dtp)
        {
            //int id = Convert.ToInt32(((DataGridView)sender).CurrentRow.Cells[0].Value);
                //int cantPlanificada = Convert.ToInt32(((DataGridView)sender).CurrentRow.Cells[3].Value);
                //DateTime fecha = dtp.Value.Date;
                //int? resul = null;

                //DataGridViewRow fila = ((DataGridView)sender).CurrentRow;

                //try
                //{
                //    resul =
                //}
                //catch (ApplicationException ex)
                //{
                //    MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
                //}

                //if (resul != null)
                //{
                //    fila.Cells[4].Value = resul;
                //    fila.Cells[5].Value = resul + cantPlanificada;

                //}
        }
Esempio n. 9
0
        public static bool IsValidTimeRange(DateTimePicker dtpStartTime, DateTimePicker dtpEndTime, NumericUpDown numericUpDown)
        {
            // Check if the start time is after the end time.
            if (dtpStartTime.Value > dtpEndTime.Value)
            {
                MessageBox.Show("The end time must be greater than the start time.", "Entry Error", MessageBoxButtons.OK,
                    MessageBoxIcon.Error);
                dtpEndTime.Focus();
                return false;
            }

            // TODO: Bug - The date time picker does not roll back to the previous day if the default
            // end time is set for the next day. For example, if we start the program at 8:00 PM, the
            // end time will be set for 12:00 AM the next day. This causes the validation to pass even
            // if the form shows that the time range is too small.

            // Check if at least two time slots can fit in the time range.
            TimeSpan twoTimeSlotsSpan = TimeSpan.FromMinutes((int) numericUpDown.Value * 2);
            if (dtpEndTime.Value - dtpStartTime.Value < twoTimeSlotsSpan)
            {
                MessageBox.Show("The difference between the start and end time must provide for at least two time slots.", "Entry Error",
                    MessageBoxButtons.OK, MessageBoxIcon.Error);
                dtpEndTime.Focus();
                return false;
            }

            return true;
        }
Esempio n. 10
0
 /// <summary>
 /// Create the editor control
 /// </summary>
 /// <returns></returns>
 protected override Control CreateControl()
 {
     System.Windows.Forms.DateTimePicker dtPicker = new System.Windows.Forms.DateTimePicker();
     dtPicker.Format = DateTimePickerFormat.Short;
     dtPicker.ShowCheckBox = AllowNull;
     return dtPicker;
 }
Esempio n. 11
0
        public EIBDatePickerBase()
        {
            dateTimePicker = new DateTimePicker();
            dateTimePicker.Size = new Size(width, height);

            //dateTimePicker.CalendarForeColor = Color.White;
            dateTimePicker.Dock = DockStyle.Top;
            this.Controls.Add(dateTimePicker);
            this.Resize += new System.EventHandler(EIBDatePickerBase_Resize);
            this.Size = new Size(width + 5, height + 5);
            this._Width = width;
            if (string.IsNullOrEmpty(this.Name))
            {
                this.Name = "datepicker" + counter;
            }
            if (string.IsNullOrEmpty(this.ControlName))
            {
                this.ControlName = this.Name;
            }
            checkUniqueness(this.Name);
            datapickerNames.Add(this.Name, this.Name);
            this.Margin = new Padding(0, 0, 0, 0);
            this.Font = SystemFonts.DefaultFont;
            this.Layout += new LayoutEventHandler(Control_Layout);
            this.SizeChanged += new System.EventHandler(Control_SizeChanged);
        }
        /*
         * Finding the difference between the start booking date and end booking date
         * to calculate the cost of a booking
         */
        public void calculateBookingCost(DateTimePicker startDate, DateTimePicker endDate, ComboBox cbo_Description, TextBox txt_Cost)
        {
            connection.Close();

            DateTime dt1 = Convert.ToDateTime(startDate.Text);
            DateTime dt2 = Convert.ToDateTime(endDate.Text);

            TimeSpan timeSpan = dt2 - dt1;
            int numberOfDays = timeSpan.Days;

            string query_String = "SELECT Car_Rate FROM Car_Class WHERE Description ='" + cbo_Description.Text + "'";

            connection.Open();

            try
            {
                cmd = connection.CreateCommand();
                cmd.CommandText = query_String;
                data_reader = cmd.ExecuteReader();//the reader is used to read in the required record

                if (data_reader.HasRows)
                {
                    data_reader.Read();

                    txt_Cost.Text = ("" + data_reader.GetInt32(0) * numberOfDays);

                }
                connection.Close();
            }
            catch (Exception) { }
        }
Esempio n. 13
0
 /*Lấy ra dòng dữ liệu và gán vào các hộp text*/
 public void SelectCoDK(DChuyenBay DCB, TextEdit txtMaCB, ComboBoxEdit cbMaDB, ComboBoxEdit cbMaMB
                           , TimeEdit dtGioBay, TextEdit txtDiemDi, ComboBoxEdit cbDiemDen
                           , DateTimePicker dtNgayDi, DateTimePicker dtNgayDen, TextEdit txtVeL1,
                             TextEdit txtVeL2, TextEdit txtGhiChu)
 {
     try
     {
         string path = string.Format("Select * From ChuyenBay Where MaChuyenBay='{0}'", DCB.MCB);
         DataTable dtt = DA.TbView(path);
         txtMaCB.EditValue = dtt.Rows[0]["MaChuyenBay"].ToString().Trim();
         cbMaDB.EditValue = dtt.Rows[0]["MaDuongBay"].ToString().Trim();
         cbMaMB.EditValue = dtt.Rows[0]["MaMayBay"].ToString().Trim();
         dtGioBay.Text = dtt.Rows[0]["GioBay"].ToString().Trim();
         txtDiemDi.EditValue = dtt.Rows[0]["DiemDi"].ToString().Trim();
         cbDiemDen.EditValue = dtt.Rows[0]["DiemDen"].ToString().Trim();
         dtNgayDi.Text = dtt.Rows[0]["NgayDi"].ToString().Trim();
         dtNgayDen.Text = dtt.Rows[0]["NgayDen"].ToString().Trim();
         txtVeL1.EditValue = dtt.Rows[0]["SLV_Loai1"].ToString().Trim();
         txtVeL2.EditValue = dtt.Rows[0]["SLV_Loai2"].ToString().Trim();
         txtGhiChu.EditValue = dtt.Rows[0]["GhiChu"].ToString().Trim();
         //return dt.TbView(path);
     }
     catch
     {
         XtraMessageBox.Show("Vui lòng kích vào lưới thông tin chọn thông tin cần sửa !", "Chú ý !",
                                         MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 public frmArqueoCaja(DateTimePicker dtPicker)
 {
     InitializeComponent();
     Cursor.Current = Cursors.WaitCursor;
     this.dtPicker = dtPicker;
     DataGridViewImageColumn imageColumn2 = new DataGridViewImageColumn();
     Image image2 = global::StockVentas.Properties.Resources.document_edit;
     imageColumn2.Image = image2;
     imageColumn2.Name = "Editar";
     dgvTesoreria.Columns.Add(imageColumn2);
     DataGridViewImageColumn imageColumn = new DataGridViewImageColumn();
     Image image = global::StockVentas.Properties.Resources.delete16;
     imageColumn.Image = image;
     imageColumn.Name = "Borrar";
     dgvTesoreria.Columns.Add(imageColumn);
     dgvTesoreria.CellClick += new DataGridViewCellEventHandler(dgvTesoreria_CellClick);
     DataGridViewImageColumn imageColumn3 = new DataGridViewImageColumn();
     imageColumn3.Image = image2;
     imageColumn3.Name = "Editar";
     dgvVentas.Columns.Add(imageColumn3);
     DataGridViewImageColumn imageColumn4 = new DataGridViewImageColumn();
     imageColumn4.Image = image;
     imageColumn4.Name = "Borrar";
     dgvVentas.Columns.Add(imageColumn4);
     dgvVentas.CellClick += new DataGridViewCellEventHandler(dgvVentas_CellClick);
     tblArticulos = BL.ArticulosBLL.CrearDataset();
 }
        public void ListarPordata(DataGridView dgv, string codigo, DateTimePicker dtp)
        {
            try
            {
                InstanciarBanco();
                dgv.DataSource = ((from mov in _banco.MovimentacaoProduto
                                   join prod in _banco.Produto on new { Codigo = mov.Codigo } equals new { Codigo = prod.Codigo }
                                   where prod.Codigo == codigo && mov.Data == dtp.Value.Date
                                   group new { mov, prod } by new
                                   {
                                       mov.Codigo,
                                       prod.Nome
                                   } into g
                                   select new
                                   {
                                       Código = g.Key.Codigo,
                                       Nome = g.Key.Nome,
                                       Quantidade = g.Sum(p => p.mov.Quantidade),
                                       Total = g.Sum(p => p.mov.Valor)
                                   }).Distinct()).ToList();

            }
            catch (CustomException error)
            {
                throw new CustomException(error.Message);
            }
            catch (Exception error)
            {
                throw new Exception(error.Message);
            }
        }
Esempio n. 16
0
        // Checks date format and range.
        public static bool IsDateRange(DateTimePicker dStart, DateTimePicker dEnd)
        {
            DateTime start= Convert.ToDateTime(dStart.Text) ;
            DateTime end = Convert.ToDateTime(dEnd.Text);
            DateTime today = DateTime.Today;

            if (start<today)
            {
                MessageBox.Show(" The start date can not be before today.", title);
                dStart.Focus();
                return false;
            }

            if (end < today)
            {
                MessageBox.Show(" The end date can not be before today.", title);
                dStart.Focus();
                return false;
            }

            if (start > end)
            {
                MessageBox.Show(" The start date can not be after the end date.", title);
                dStart.Focus();
                return false;
            }
            return true;
        }
        public WinFormsDateTimePickerAdapter(DateTimePicker control) : base(control)
        {
            _dtp = control;

            _dtp.ValueChanged += RaiseValueChanged;
            _dtp.Enter += RaiseEnter;
        }
        public void AddDateControl(JwLayout p)
        {
            _dateDT = VmUiBuilder.MakeDatePicker();
            //            _dateDT.ValueChanged += new EventHandler(DateTimeValueChanged);
            _inputControlManager.Add(_dateDT, 4);
            JwLabeledControl lc = VmUiBuilder.MakeLabeledControl(VmLanguage.Default.GetDate(), _dateDT);

            JwLabeledControl destinationAirportLc = VmUiBuilder.MakeLabeledComboBox("Airport", 65);
            _airportCodeCB = (JwComboBox)destinationAirportLc.Control;

            JwLeftRightLayout lr = new JwLeftRightLayout();
            lr.Gap = 5;
            if( VmProperties.Default.ShouldUseUldTemplateDate() )
            {
                lr.CenterControl = lc;
            }
            if( VmProperties.Default.ShouldUseUldTemplateAirport())
            {
                _inputControlManager.AddLabeledComboBox(
                    destinationAirportLc,
                    5,
                    "Destination Aiport",
                    "Code");
                lr.RightControl = destinationAirportLc;
            }

            p.Add(lr);
        }
Esempio n. 19
0
 private void InitializeComponent()
 {
     this._dateTimePicker2 = new DateTimePicker();
     this.GroupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // GroupBox1
     //
     this.GroupBox1.Controls.Add(this._dateTimePicker2);
     this.GroupBox1.Controls.SetChildIndex(this._dateTimePicker2, 0);
     //
     // _dateTimePicker2
     //
     this._dateTimePicker2.Format = DateTimePickerFormat.Short;
     this._dateTimePicker2.Location = new Point(55, 15);
     this._dateTimePicker2.Name = "_dateTimePicker2";
     this._dateTimePicker2.Size = new Size(200, 20);
     this._dateTimePicker2.TabIndex = 2;
     this._dateTimePicker2.ValueChanged += new EventHandler(this.dateTimePicker2_ValueChanged);
     //
     // DateTimeElement
     //
     this.AutoScaleDimensions = new SizeF(6F, 13F);
     this.Name = "DateTimeElement";
     this.GroupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 20
0
        //public Planet Mars = new Planet();

        //Get the date and the days from J2000 Epoch from the datePick item
        private double getDate(DateTimePicker temp)
        {
            day = temp.Value.Day;
            month = temp.Value.Month;
            year = temp.Value.Year;

            if (month == 1 || month == 2)
            {
                year--;
                month += 12;
            }
            int A = year / 100;
            int B = A / 4;
            int C = 2 - A + B;
            double E = Math.Truncate(365.25 * (year + 4716d));
            double F = Math.Truncate(30.6001 * (month + 1d));
            double JDCT = (double)C + day + E + F - 1524;
            double deltaJDCT = JDCT - 2451545;

            /*
            int temp1 = (year+(month+9)/12)/4;
            int temp2 = 275*month/9;

            daysFromJ2000 = (double) 367d * year - 7d * temp1 + temp2 + day - 730531.5 +.5;
            */
            Console.Write(daysFromJ2000);
            return deltaJDCT;
        }
Esempio n. 21
0
        public static string CalculateDays(DateTimePicker dtStartDatePicker, DateTimePicker dtEndDatePicker, bool bIncludeSaturdays, bool bIncludeSundays, bool bIncludePublicHolidays, bool bDoPartial)
        {
            DateTime dtNow = DateTime.Now;
            DateTime dtStartDate = new DateTime();
            if (dtNow.Day != dtStartDatePicker.Value.Day)
            {
                dtStartDate = new DateTime(dtStartDatePicker.Value.Year, dtStartDatePicker.Value.Month, dtStartDatePicker.Value.Day, 8, 0, 0);
            }
            else
            {
                dtStartDate = new DateTime(dtStartDatePicker.Value.Year, dtStartDatePicker.Value.Month, dtStartDatePicker.Value.Day, dtStartDatePicker.Value.Hour, dtStartDatePicker.Value.Minute, dtStartDatePicker.Value.Second);
            }

            DateTime dtEndDate = new DateTime(dtEndDatePicker.Value.Year, dtEndDatePicker.Value.Month, dtEndDatePicker.Value.Day, dtEndDatePicker.Value.Hour, dtEndDatePicker.Value.Minute, dtEndDatePicker.Value.Second);
            if (dtStartDate > dtEndDate)
            {
                dtStartDatePicker.Parent.BackColor = Color.Red;
                dtEndDatePicker.Parent.BackColor = Color.Red;
                return ("0");
            }
            else
            {
                dtStartDatePicker.Parent.BackColor = Color.White;
                dtEndDatePicker.Parent.BackColor = Color.White;
                decimal iDays = getNumDays(dtStartDate, dtEndDate, bIncludeSaturdays, bIncludeSundays,bIncludePublicHolidays, bDoPartial);
                if (iDays >= 0)
                {
                    return (iDays.ToString());
                }
                else
                {
                    return ("0");
                }
            }
        }
Esempio n. 22
0
        public ParteHandler(Element.ComboBox cboTipoDoc, Element.MaskedTextBox txtNroDni, Element.ComboBox cboSexo,
                            Element.TextBox txtNombre, Element.TextBox txtApellido, Element.MaskedTextBox txtCuit,
                            Element.DateTimePicker dpFecNac, Element.ComboBox cboECivil, Element.TextBox txtDomicilio,
                            Element.ComboBox cboCiudad, Element.ComboBox cboDepartamento, Element.ComboBox cboProvincia,
                            Element.ComboBox cboNacionalidad)
        {
            this.cboTipoDoc = cboTipoDoc;
            this.txtNroDni = txtNroDni;
            this.cboSexo = cboSexo;
            this.txtNombre = txtNombre;
            this.txtApellido = txtApellido;
            this.txtCuit = txtCuit;
            this.dpFecNac = dpFecNac;
            this.cboECivil = cboECivil;
            this.txtDomicilio = txtDomicilio;
            this.cboCiudad = cboCiudad;
            this.cboDepartamento = cboDepartamento;
            this.cboProvincia = cboProvincia;
            this.cboNacionalidad = cboNacionalidad;

            formatoPartes();

            con.Connect();
            ds1 = con.fillDs("SELECT * FROM DOCUMENTOS;", "PARTES");
            ds2 = con.fillDs("SELECT * FROM SEXOS;", "SEXOS");
            ds3 = con.fillDs("SELECT * FROM ESTADOS_CIVILES;", "ESTADOS");
            ds7 = con.fillDs("SELECT * FROM NACIONALIDADES;", "NACIONALIDADES");
            cboTipoDoc.DataSource = ds1.Tables[0];
            cboSexo.DataSource = ds2.Tables[0];
            cboECivil.DataSource = ds3.Tables[0];
            cboNacionalidad.DataSource = ds7.Tables[0];
        }
        public void ListarEntreDatas(DataGridView dgv, DateTimePicker dtpInicial, DateTimePicker dtpFinal)
        {
            try
            {
                InstanciarBanco();
                dgv.DataSource = ((from movimentacaoCaixa in _banco.MovimentacaoCaixa
                                   where movimentacaoCaixa.Data >= dtpInicial.Value.Date
                                       && movimentacaoCaixa.Data <= dtpFinal.Value.Date
                                   group movimentacaoCaixa by new
                                   {
                                       movimentacaoCaixa.Data
                                   } into g
                                   select new
                                   {
                                       Valor = g.Sum(p => p.Valor),
                                       Data = g.Key.Data
                                   }).Distinct()).ToList();

            }
            catch (CustomException erro)
            {
                throw new CustomException(erro.Message);
            }
            catch (Exception erro)
            {
                throw new Exception(erro.Message);
            }
        }
        public void selectDetails(TextBox txt_Total, DateTimePicker startDatePicker, DateTimePicker endDatePicker)
        {
            var startDate = startDatePicker.Value.ToString("dd-MMM-yyyy");
            var endDate = endDatePicker.Value.ToString("dd-MMM-yyyy");

            string query_String = "SELECT SUM(Cost) FROM Bookings WHERE Return_Date BETWEEN'" + startDate + "'AND'" + endDate + "'";

            try
            {
                connection.Open();
                cmd = connection.CreateCommand();

                cmd.CommandText = query_String;
                data_reader = cmd.ExecuteReader();//the reader is used to read in the required record
                data_reader.Read();

                txt_Total.Text = data_reader.GetValue(0).ToString();

                connection.Close();
            }
            catch (Exception)
            {
                MessageBox.Show("No Records For the Chosen Period", "ERROR", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
            }
        }
Esempio n. 25
0
        protected void InitSpec(DateTimePicker box)
        {
            _Box = box;

            _MenuList = new Dictionary<string, ToolStripMenuItem>(15);
            InitMenu("yyyyMMdd", "yyyyMMdd", MuDate);
            InitMenu("yyyy-MM-dd", "yyyy-MM-dd", MuDate);
            InitMenu("yyyy/MM/dd", "yyyy/MM/dd", MuDate);
            InitMenu("yyyy.MM.dd", "yyyy.MM.dd", MuDate);
            InitMenu("yyyy年MM月dd日", "yyyy年MM月dd日", MuDate);

            InitMenu("HHmmss", "HHmmss", MuTime);
            InitMenu("HH:mm:ss", "HH:mm:ss", MuTime);
            InitMenu("HH时mm分ss秒", "HH时mm分ss秒", MuTime);
            InitMenu("H:m:s", "H:m:s", MuTime);
            InitMenu("H时m分s秒", "H时m分s秒", MuTime);
            InitMenu("h:m:s", "h:m:s", MuTime);
            InitMenu("h时m分s秒", "h时m分s秒", MuTime);

            InitMenu("yyyyMMdd HHmmss", "yyyyMMdd HHmmss", MuDateTime);
            InitMenu("yyyy-MM-dd HH:mm:ss", "yyyy-MM-dd HH:mm:ss", MuDateTime);
            InitMenu("yyyy/MM/dd HH:mm:ss", "yyyy/MM/dd HH:mm:ss", MuDateTime);
            InitMenu("yyyy年MM月dd日 HH时mm分ss秒", "yyyy年MM月dd日 HH时mm分ss秒", MuDateTime);

            _LastMenu = MiDateDef;
            _LastMenu.Checked = true;
        }
Esempio n. 26
0
		public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
		{
			if (provider != null)
			{
				editorService = provider.GetService(typeof(IWindowsFormsEditorService)) as IWindowsFormsEditorService;
			}
			if (editorService != null)
			{
				if (value == null)
				{
					time = DateTime.Now.ToString("HH:mm");
				}

				DateTimePicker picker = new DateTimePicker();
				picker.Format = DateTimePickerFormat.Custom;
				picker.CustomFormat = "HH:mm";
				picker.ShowUpDown = true;

				if (value != null)
				{
					picker.Value = DateTime.Parse((string)value);
				}

				editorService.DropDownControl(picker);
				value = picker.Value.ToString("HH:mm");
			}
			return value;
		}
Esempio n. 27
0
 public Pagos(string cuota,int codEmpresa)
 {
     this.codEmpresa=codEmpresa;
     InitializeComponent();
     this.lbTotalPago.Text = cuota;
     PagoMemDT = pago_MembresiaTableAdapter.GetDataByEmpresa(codEmpresa);
     //vistaPagos();
     PagoMemDT.Columns["perid_pago"].ColumnName = "Período de Pago";
     PagoMemDT.Columns["num_cuota"].ColumnName = "Número de Cuota";
     PagoMemDT.Columns["monto"].ColumnName = "Monto";
     PagoMemDT.Columns["fech_pago"].ColumnName = "Fecha de Pago";
     PagoMemDT.Columns["pagado"].ColumnName = "Estado";
     PagoMemDT.Columns["num_recib"].ColumnName = "Número de Recibo";
     PagoMemDT.Columns["observaciones"].ColumnName = "Observaciones";
     PagoMemDT.Columns["tipo"].ColumnName = "Tipo";
     this.dgPagosEmpresa.DataSource = PagoMemDT;
     this.domainNumCuotas.SelectedItem=5;
     dtpFechaPago = new DateTimePicker();
     dtpFechaPago.Format = DateTimePickerFormat.Short;
     dtpFechaPago.Visible = false;
     dtpFechaPago.Width = this.dgPagosEmpresa.Columns[5].Width-5;
     this.dgPagosEmpresa.Controls.Add(dtpFechaPago);
     this.dtpFechaPago.ValueChanged += dtpFechaPago_ValueChanged;
     this.dgPagosEmpresa.CellBeginEdit += this.dgPagosEmpresa_CellBeginEdit;
     this.dgPagosEmpresa.CellEndEdit += this.dgPagosEmpresa_CellEndEdit;
 }
        public ConfigurationForm()
        {
            InitializeComponent();

              settings.Load(settings.cXMLSectionUpdate);
              settings.Load(settings.cXMLSectionMusic);
              settings.Load(settings.cXMLSectionVideo);
              settings.Load(settings.cXMLSectionMisc);

              releaseVersion.Text = String.Format("Version: {0}", Assembly.GetExecutingAssembly().GetName().Version.ToString());
              DateTime buildDate = getLinkerTimeStamp(Assembly.GetExecutingAssembly().Location);
              compileTime.Text += " " + buildDate.ToString() + " GMT";

              timePicker = new DateTimePicker();
              timePicker.Format = DateTimePickerFormat.Time;
              timePicker.ShowUpDown = true;
              timePicker.Location = new Point(309, 85);
              timePicker.Width = 100;
              CheckUpdate.Controls.Add(timePicker);

              if (MiscConfigGUI.MostRecentFanartTimerInt != 0)
            numFanartTimer.Value = (decimal)MiscConfigGUI.MostRecentFanartTimerInt;
              else
            numFanartTimer.Value = 7;
        }
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()
		{
			this.labName = new System.Windows.Forms.Label();
			this.picker = new System.Windows.Forms.DateTimePicker();
			this.SuspendLayout();
			// 
			// labName
			// 
			this.labName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.labName.Location = new System.Drawing.Point(0, 0);
			this.labName.Name = "labName";
			this.labName.Size = new System.Drawing.Size(96, 16);
			this.labName.TabIndex = 0;
			// 
			// picker
			// 
			this.picker.Format = System.Windows.Forms.DateTimePickerFormat.Time;
			this.picker.Location = new System.Drawing.Point(0, 16);
			this.picker.Name = "picker";
			this.picker.Size = new System.Drawing.Size(96, 20);
			this.picker.TabIndex = 2;
			// 
			// DateTimeParam
			// 
			this.Controls.Add(this.picker);
			this.Controls.Add(this.labName);
			this.Name = "DateTimeParam";
			this.Size = new System.Drawing.Size(96, 36);
			this.Load += new System.EventHandler(this.DateTimeParam_Load);
			this.ResumeLayout(false);

		}
Esempio n. 30
0
		/// <summary>
		/// Create the editor control
		/// </summary>
		/// <returns></returns>
		protected override Control CreateControl()
		{
			System.Windows.Forms.DateTimePicker dtPicker = new System.Windows.Forms.DateTimePicker();
			dtPicker.Format = DateTimePickerFormat.Time;
			dtPicker.ShowUpDown = true;
			return dtPicker;
		}
Esempio n. 31
0
        protected override void InitializeComponents()
        {
            base.InitializeComponents();

            int posY     = 271
            , offsetPosY = m_iSizeY + 2 * m_iMarginY
            , iMarginX   = m_iMarginY
            , width      = 154
            , width2     = 154 / 2 - iMarginX
            , indx       = -1;

            Rectangle[] arRectControlUI = new Rectangle[] {
                new Rectangle(new Point(10, posY), new Size(154, m_iSizeY))                                                                     //BUTTON_CSV_IMPORT_PBR
                , new Rectangle(new Point(10, posY + 1 * (m_iSizeY + m_iMarginY)), new Size(154, m_iSizeY))                                     //, BUTTON_CSV_IMPORT_ADMINVALUESDEFAULT
                // ------ разделитель ------
                , new Rectangle(new Point(10, posY + (int)(2.7 * (m_iSizeY + m_iMarginY))), new Size(width, m_iSizeY))                          //, BUTTON_EXPORT_PBR
                , new Rectangle(new Point(10, posY + (int)(3.7 * (m_iSizeY + m_iMarginY))), new Size(width, m_iSizeY))                          //, CB_MSEXCEL_VISIBLED
                , new Rectangle(new Point(10, posY + (int)(4.7 * (m_iSizeY + m_iMarginY))), new Size(width, m_iSizeY))                          //, CB_AUTO_EXPORT_PBR
                , new Rectangle(new Point(10, posY + (int)(5.6 * (m_iSizeY + m_iMarginY))), new Size(width2, m_iSizeY))                         //, LABEL_SHEDULE_EXPORT_PBR
                , new Rectangle(new Point(10 + width2 + 2 * iMarginX, posY + (int)(5.6 * (m_iSizeY + m_iMarginY))), new Size(width2, m_iSizeY)) //, LABEL_PERIOD_EXPORT_PBR
                , new Rectangle(new Point(10, posY + (int)(6.5 * (m_iSizeY + m_iMarginY))), new Size(width2, m_iSizeY))                         //, DTP_SHEDULE_EXPORT_PBR
                , new Rectangle(new Point(10 + width2 + 2 * iMarginX, posY + (int)(6.5 * (m_iSizeY + m_iMarginY))), new Size(width2, m_iSizeY)) //, DTP_PERIOD_EXPORT_PBR
            };

            this.btnImportCSV_PBRValues            = new Button();
            this.btnImportCSV_AdminDefaultValues   = new Button();
            this.btnExport_PBRValues               = new Button();
            this.cbMSExcelVisibledExport_PBRValues = new CheckBox();
            this.cbAutoExport_PBRValues            = new CheckBox();
            this.labelSheduleExport_PBRValues      = new Label();
            this.dtpSheduleStartExport_PBRValues   = new DateTimePicker();
            this.dtpShedulePeriodExport_PBRValues  = new DateTimePicker();
            this.labelPeriodExport_PBRValues       = new Label();
            this.gbxDividerChoice = new GroupBoxDividerChoice();
            this.dgwAdminTable    = new DataGridViewAdminKomDisp();

            this.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgwAdminTable)).BeginInit();

            this.m_panelManagement.Controls.Add(this.btnImportCSV_PBRValues);
            this.m_panelManagement.Controls.Add(this.btnImportCSV_AdminDefaultValues);
            this.m_panelManagement.Controls.Add(this.gbxDividerChoice);
            this.m_panelManagement.Controls.Add(this.btnExport_PBRValues);
            this.m_panelManagement.Controls.Add(this.cbMSExcelVisibledExport_PBRValues);
            this.m_panelManagement.Controls.Add(this.cbAutoExport_PBRValues);
            this.m_panelManagement.Controls.Add(this.labelSheduleExport_PBRValues);
            this.m_panelManagement.Controls.Add(this.labelPeriodExport_PBRValues);
            this.m_panelManagement.Controls.Add(this.dtpSheduleStartExport_PBRValues);
            this.m_panelManagement.Controls.Add(this.dtpShedulePeriodExport_PBRValues);
            this.m_panelRDGValues.Controls.Add(this.dgwAdminTable);

            //
            // btnImportCSV_PBRValues
            //
            indx = (int)INDEX_CONTROL_UI.BUTTON_CSV_IMPORT_PBR;
            this.btnImportCSV_PBRValues.Location = arRectControlUI [indx].Location;
            this.btnImportCSV_PBRValues.Name     = "btnImportCSV_PBRValues";
            this.btnImportCSV_PBRValues.Size     = arRectControlUI[indx].Size;
            this.btnImportCSV_PBRValues.TabIndex = 2;
            this.btnImportCSV_PBRValues.Text     = "Импорт из формата CSV";
            this.btnImportCSV_PBRValues.UseVisualStyleBackColor = true;
            this.btnImportCSV_PBRValues.Click  += new System.EventHandler(this.btnImportCSV_PBRValues_Click);
            this.btnImportCSV_PBRValues.Enabled = true;
            //
            // btnImportCSV_AdminDefaultValues
            //
            indx = (int)INDEX_CONTROL_UI.BUTTON_CSV_IMPORT_ADMINVALUESDEFAULT;
            this.btnImportCSV_AdminDefaultValues.Location = arRectControlUI[indx].Location;
            this.btnImportCSV_AdminDefaultValues.Name     = "btnImportCSV_AdminDefaultValues";
            this.btnImportCSV_AdminDefaultValues.Size     = arRectControlUI[indx].Size;
            this.btnImportCSV_AdminDefaultValues.TabIndex = 2;
            this.btnImportCSV_AdminDefaultValues.Text     = "Реком. по умолчанию";
            this.btnImportCSV_AdminDefaultValues.UseVisualStyleBackColor = true;
            this.btnImportCSV_AdminDefaultValues.Click += new System.EventHandler(this.btnImportCSV_AdminValuesDefault_Click);
            //this.ckbImportCSV_AdminDefaultValues.CheckedChanged += new EventHandler(ckbImportCSV_AdminDefaultValues_CheckedChanged);
            this.btnImportCSV_AdminDefaultValues.Enabled = true;
            //
            // gbxDividerChoice
            //
            gbxDividerChoice.Initialize(posY + 0 * (m_iSizeY + m_iMarginY));
            //
            // btnExport_PBRValues
            //
            indx = (int)INDEX_CONTROL_UI.BUTTON_EXPORT_PBR;
            this.btnExport_PBRValues.Location = arRectControlUI[indx].Location;
            this.btnExport_PBRValues.Name     = "btnExport_PBRValues";
            this.btnExport_PBRValues.Size     = arRectControlUI[indx].Size;
            this.btnExport_PBRValues.TabIndex = 2;
            this.btnExport_PBRValues.Text     = "Экспорт ПБР";
            this.btnExport_PBRValues.UseVisualStyleBackColor = true;
            this.btnExport_PBRValues.Click  += new System.EventHandler(this.btnExport_PBRValues_Click);
            this.btnExport_PBRValues.Enabled = EnabledExportPBRValues;
            //
            // cbMSExcelVisibledExport_PBRValues
            //
            indx = (int)INDEX_CONTROL_UI.CB_MSECEL_VISIBLED_EXPORT_PBR;
            this.cbMSExcelVisibledExport_PBRValues.Location        = arRectControlUI[indx].Location;
            this.cbMSExcelVisibledExport_PBRValues.Name            = "cbMSExcelVisibledExport_PBRValues";
            this.cbMSExcelVisibledExport_PBRValues.Size            = arRectControlUI[indx].Size;
            this.cbMSExcelVisibledExport_PBRValues.TabIndex        = 2;
            this.cbMSExcelVisibledExport_PBRValues.Text            = "Просмотр результата";
            this.cbMSExcelVisibledExport_PBRValues.CheckedChanged += cbMSExcelVisibledExport_PBRValues_CheckedChanged;
            this.cbMSExcelVisibledExport_PBRValues.Enabled         = AllowUserSetModeExportPBRValues;
            this.cbMSExcelVisibledExport_PBRValues.Appearance      = Appearance.Button;
            this.cbMSExcelVisibledExport_PBRValues.TextAlign       = this.cbMSExcelVisibledExport_PBRValues.Appearance == Appearance.Normal
                ? ContentAlignment.MiddleLeft
                    : this.cbMSExcelVisibledExport_PBRValues.Appearance == Appearance.Button
                        ? ContentAlignment.MiddleCenter
                            : ContentAlignment.MiddleLeft;
            //
            // cbAutoExport_PBRValues
            //
            indx = (int)INDEX_CONTROL_UI.CB_AUTO_EXPORT_PBR;
            this.cbAutoExport_PBRValues.Location        = arRectControlUI[indx].Location;
            this.cbAutoExport_PBRValues.Name            = "cbAutoExport_PBRValues";
            this.cbAutoExport_PBRValues.Size            = arRectControlUI[indx].Size;
            this.cbAutoExport_PBRValues.TabIndex        = 2;
            this.cbAutoExport_PBRValues.Text            = "Автоматически (тек.)";
            this.cbAutoExport_PBRValues.CheckedChanged += cbAutoExport_PBRValues_CheckedChanged;
            this.cbAutoExport_PBRValues.Enabled         = AllowUserSetModeExportPBRValues;
            //
            // labelSheduleExport_PBRValues
            //
            indx = (int)INDEX_CONTROL_UI.LABEL_SHEDULE_EXPORT_PBR;
            this.labelSheduleExport_PBRValues.Location = arRectControlUI[indx].Location;
            this.labelSheduleExport_PBRValues.Name     = "labelSheduleExport_PBRValues";
            this.labelSheduleExport_PBRValues.Size     = arRectControlUI[indx].Size;
            this.labelSheduleExport_PBRValues.TabIndex = 2;
            this.labelSheduleExport_PBRValues.Text     = "Начинать с:";
            //
            // labelPeriodExport_PBRValues
            //
            indx = (int)INDEX_CONTROL_UI.LABEL_PERIOD_EXPORT_PBR;
            this.labelPeriodExport_PBRValues.Location = arRectControlUI[indx].Location;
            this.labelPeriodExport_PBRValues.Name     = "labelPeriodExport_PBRValues";
            this.labelPeriodExport_PBRValues.Size     = arRectControlUI[indx].Size;
            this.labelPeriodExport_PBRValues.TabIndex = 2;
            this.labelPeriodExport_PBRValues.Text     = "Каждые:";
            //
            // dtpSheduleStartExport_PBRValues
            //
            indx = (int)INDEX_CONTROL_UI.DTP_SHEDULE_EXPORT_PBR;
            this.dtpSheduleStartExport_PBRValues.Location      = arRectControlUI[indx].Location;
            this.dtpSheduleStartExport_PBRValues.Name          = "dtpSheduleStartExport_PBRValues";
            this.dtpSheduleStartExport_PBRValues.Size          = arRectControlUI[indx].Size;
            this.dtpSheduleStartExport_PBRValues.TabIndex      = 2;
            this.dtpSheduleStartExport_PBRValues.Format        = DateTimePickerFormat.Custom;
            this.dtpSheduleStartExport_PBRValues.CustomFormat  = "00:mm:ss";
            this.dtpSheduleStartExport_PBRValues.ShowUpDown    = true;
            this.dtpSheduleStartExport_PBRValues.Value         = new DateTime(1970, 1, 1).AddSeconds(AdminTS_KomDisp.SEC_SHEDULE_START_EXPORT_PBR % 3600);
            this.dtpSheduleStartExport_PBRValues.ValueChanged += dtpSheduleStartExport_PBRValues_ValueChanged;
            this.dtpSheduleStartExport_PBRValues.Enabled       = AllowUserChangeSheduleStartExportPBRValues;
            //
            // dtpShedulePeriodExport_PBRValues
            //
            indx = (int)INDEX_CONTROL_UI.DTP_PERIOD_EXPORT_PBR;
            this.dtpShedulePeriodExport_PBRValues.Location      = arRectControlUI[indx].Location;
            this.dtpShedulePeriodExport_PBRValues.Name          = "dtpShedulePeriodExport_PBRValues";
            this.dtpShedulePeriodExport_PBRValues.Size          = arRectControlUI[indx].Size;
            this.dtpShedulePeriodExport_PBRValues.TabIndex      = 2;
            this.dtpShedulePeriodExport_PBRValues.Format        = DateTimePickerFormat.Custom;
            this.dtpShedulePeriodExport_PBRValues.CustomFormat  = "HH:mm:ss";
            this.dtpShedulePeriodExport_PBRValues.ShowUpDown    = true;
            this.dtpShedulePeriodExport_PBRValues.Value         = new DateTime(1970, 1, 1).AddSeconds(AdminTS_KomDisp.SEC_SHEDULE_PERIOD_EXPORT_PBR);
            this.dtpShedulePeriodExport_PBRValues.ValueChanged += dtpShedulePeriodExport_PBRValues_ValueChanged;;
            this.dtpShedulePeriodExport_PBRValues.Enabled       = AllowUserChangeShedulePeriodExportPBRValues;
            //
            // dgwAdminTable
            //
            this.dgwAdminTable.Location = new System.Drawing.Point(9, 9);
            this.dgwAdminTable.Size     = new System.Drawing.Size(714, 591);
            this.dgwAdminTable.TabIndex = 1;
            //this.dgwAdminTable.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgwAdminTable_CellClick);
            //this.dgwAdminTable.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgwAdminTable_CellValidated);
            ((System.ComponentModel.ISupportInitialize)(this.dgwAdminTable)).EndInit();

            this.ResumeLayout();

            cbAutoExport_PBRValues.Checked = EnabledExportPBRValues
                                             & (HStatisticUsers.IsAllowed((int)HStatisticUsers.ID_ALLOWED.AUTO_EXPORT_PBRVALUES_KOMDISP));
        }
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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmThkcb));
     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.makp       = new System.Windows.Forms.CheckedListBox();
     this.madoituong = new System.Windows.Forms.ComboBox();
     this.label8     = new System.Windows.Forms.Label();
     this.sothe      = new System.Windows.Forms.TextBox();
     this.label7     = new System.Windows.Forms.Label();
     this.vitri      = new System.Windows.Forms.NumericUpDown();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.butIn      = new System.Windows.Forms.Button();
     this.loaidt     = new System.Windows.Forms.ComboBox();
     this.groupBox1  = new System.Windows.Forms.GroupBox();
     this.rb2        = new System.Windows.Forms.RadioButton();
     this.rb1        = new System.Windows.Forms.RadioButton();
     ((System.ComponentModel.ISupportInitialize)(this.vitri)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 8);
     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, 8);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(36, 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, 8);
     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, 8);
     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);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(0, 32);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Đối tượng :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // makp
     //
     this.makp.CheckOnClick = true;
     this.makp.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makp.Location     = new System.Drawing.Point(64, 80);
     this.makp.Name         = "makp";
     this.makp.Size         = new System.Drawing.Size(200, 148);
     this.makp.TabIndex     = 11;
     this.makp.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // madoituong
     //
     this.madoituong.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     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, 32);
     this.madoituong.Name          = "madoituong";
     this.madoituong.Size          = new System.Drawing.Size(96, 21);
     this.madoituong.TabIndex      = 5;
     this.madoituong.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(176, 59);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(48, 16);
     this.label8.TabIndex  = 9;
     this.label8.Text      = "Vị trí :";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // sothe
     //
     this.sothe.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     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(64, 56);
     this.sothe.Name            = "sothe";
     this.sothe.Size            = new System.Drawing.Size(120, 21);
     this.sothe.TabIndex        = 8;
     this.sothe.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(0, 59);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(64, 16);
     this.label7.TabIndex  = 7;
     this.label7.Text      = "Lọc thẻ :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // vitri
     //
     this.vitri.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.vitri.Location = new System.Drawing.Point(224, 56);
     this.vitri.Maximum  = new decimal(new int[] {
         16,
         0,
         0,
         0
     });
     this.vitri.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.vitri.Name     = "vitri";
     this.vitri.Size     = new System.Drawing.Size(40, 21);
     this.vitri.TabIndex = 10;
     this.vitri.Value    = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.vitri.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = global::Medisoft.Properties.Resources.exit1;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(138, 271);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(98, 25);
     this.butKetthuc.TabIndex   = 13;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // 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(49, 271);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(86, 25);
     this.butIn.TabIndex   = 12;
     this.butIn.Text       = "&In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // loaidt
     //
     this.loaidt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loaidt.Items.AddRange(new object[] {
         "Bắt buộc + tự nguyện",
         "Bắt buộc",
         "Tự nguyện"
     });
     this.loaidt.Location = new System.Drawing.Point(160, 32);
     this.loaidt.Name     = "loaidt";
     this.loaidt.Size     = new System.Drawing.Size(104, 21);
     this.loaidt.TabIndex = 6;
     this.loaidt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.rb2);
     this.groupBox1.Controls.Add(this.rb1);
     this.groupBox1.Location = new System.Drawing.Point(64, 232);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(200, 32);
     this.groupBox1.TabIndex = 14;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Số liệu";
     //
     // rb2
     //
     this.rb2.Location = new System.Drawing.Point(111, 11);
     this.rb2.Name     = "rb2";
     this.rb2.Size     = new System.Drawing.Size(72, 16);
     this.rb2.TabIndex = 1;
     this.rb2.Text     = "Viện phí";
     //
     // rb1
     //
     this.rb1.Checked  = true;
     this.rb1.Location = new System.Drawing.Point(55, 11);
     this.rb1.Name     = "rb1";
     this.rb1.Size     = new System.Drawing.Size(56, 16);
     this.rb1.TabIndex = 0;
     this.rb1.TabStop  = true;
     this.rb1.Text     = "Khoa";
     //
     // frmThkcb
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(272, 309);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.loaidt);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.vitri);
     this.Controls.Add(this.madoituong);
     this.Controls.Add(this.makp);
     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.Controls.Add(this.label7);
     this.Controls.Add(this.sothe);
     this.Controls.Add(this.label8);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmThkcb";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Bảng tổng hợp chi phí điều trị nội trú";
     this.Load         += new System.EventHandler(this.frmThkcb_Load);
     ((System.ComponentModel.ISupportInitialize)(this.vitri)).EndInit();
     this.groupBox1.ResumeLayout(false);
     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(frmBieu101));
     this.label1     = new System.Windows.Forms.Label();
     this.ngay       = new System.Windows.Forms.DateTimePicker();
     this.cmbNgay    = 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.butKetthuc = new System.Windows.Forms.Button();
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.ten        = new System.Windows.Forms.TextBox();
     this.dk         = new System.Windows.Forms.TextBox();
     this.label2     = new System.Windows.Forms.Label();
     this.butHuy     = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(16, 4);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(40, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "&Ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ngay
     //
     this.ngay.CustomFormat = "dd/MM/yyyy";
     this.ngay.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.ngay.Location     = new System.Drawing.Point(56, 4);
     this.ngay.Name         = "ngay";
     this.ngay.Size         = new System.Drawing.Size(88, 20);
     this.ngay.TabIndex     = 1;
     this.ngay.Visible      = false;
     this.ngay.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     //
     // cmbNgay
     //
     this.cmbNgay.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbNgay.Location              = new System.Drawing.Point(56, 4);
     this.cmbNgay.Name                  = "cmbNgay";
     this.cmbNgay.Size                  = new System.Drawing.Size(88, 21);
     this.cmbNgay.TabIndex              = 2;
     this.cmbNgay.SelectedIndexChanged += new System.EventHandler(this.cmbNgay_SelectedIndexChanged);
     this.cmbNgay.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.cmbNgay_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(171, 501);
     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);
     //
     // 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(242, 501);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(71, 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(313, 501);
     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(384, 501);
     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);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = global::Medisoft.Properties.Resources.exit1;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(526, 501);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(71, 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);
     //
     // 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, 10);
     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, 485);
     this.dataGrid1.TabIndex            = 3;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // ten
     //
     this.ten.BackColor = System.Drawing.SystemColors.HighlightText;
     this.ten.Enabled   = false;
     this.ten.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location  = new System.Drawing.Point(147, 4);
     this.ten.Name      = "ten";
     this.ten.Size      = new System.Drawing.Size(310, 21);
     this.ten.TabIndex  = 42;
     //
     // dk
     //
     this.dk.BackColor = System.Drawing.SystemColors.HighlightText;
     this.dk.Enabled   = false;
     this.dk.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dk.Location  = new System.Drawing.Point(474, 4);
     this.dk.Name      = "dk";
     this.dk.Size      = new System.Drawing.Size(310, 21);
     this.dk.TabIndex  = 43;
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(461, 3);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(8, 23);
     this.label2.TabIndex  = 44;
     this.label2.Text      = "=";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // 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(455, 501);
     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);
     //
     // frmBieu101
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 573);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.dk);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.cmbNgay);
     this.Controls.Add(this.ngay);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmBieu101";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Hoạt động tài chính";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Load         += new System.EventHandler(this.frmBieu101_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 34
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.btnClose              = new System.Windows.Forms.Button();
     this.btnAddUser            = new System.Windows.Forms.Button();
     this.userStatus            = new System.Windows.Forms.CheckBox();
     this.label2                = new System.Windows.Forms.Label();
     this.dateTimePicker1       = new System.Windows.Forms.DateTimePicker();
     this.txtConfirm            = new System.Windows.Forms.TextBox();
     this.txtPasswd             = new System.Windows.Forms.TextBox();
     this.txtRealName           = new System.Windows.Forms.TextBox();
     this.txtUser               = new System.Windows.Forms.TextBox();
     this.label1                = 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.label3                = new System.Windows.Forms.Label();
     this.label4                = new System.Windows.Forms.Label();
     this.department            = new System.Windows.Forms.ComboBox();
     this.dividerPanel1         = new DividerPanel.DividerPanel();
     this.dividerPanel2         = new DividerPanel.DividerPanel();
     this.chkSystmeAdmin        = new System.Windows.Forms.CheckBox();
     this.chkDeptAdmin          = new System.Windows.Forms.CheckBox();
     this.backgroundWorkerBtnOK = new System.ComponentModel.BackgroundWorker();
     this.dividerPanel1.SuspendLayout();
     this.dividerPanel2.SuspendLayout();
     this.SuspendLayout();
     //
     // btnClose
     //
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.Location     = new System.Drawing.Point(293, 16);
     this.btnClose.Name         = "btnClose";
     this.btnClose.Size         = new System.Drawing.Size(75, 23);
     this.btnClose.TabIndex     = 34;
     this.btnClose.Text         = "取消";
     this.btnClose.Click       += new System.EventHandler(this.btnClose_Click);
     //
     // btnAddUser
     //
     this.btnAddUser.Location = new System.Drawing.Point(200, 16);
     this.btnAddUser.Name     = "btnAddUser";
     this.btnAddUser.Size     = new System.Drawing.Size(75, 23);
     this.btnAddUser.TabIndex = 33;
     this.btnAddUser.Text     = "确认";
     this.btnAddUser.Click   += new System.EventHandler(this.btnAddUser_Click);
     //
     // userStatus
     //
     this.userStatus.Location = new System.Drawing.Point(16, 272);
     this.userStatus.Name     = "userStatus";
     this.userStatus.Size     = new System.Drawing.Size(88, 24);
     this.userStatus.TabIndex = 46;
     this.userStatus.Text     = "停用该帐户";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 240);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(80, 16);
     this.label2.TabIndex = 44;
     this.label2.Text     = "使用时效:";
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.Format   = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker1.Location = new System.Drawing.Point(88, 240);
     this.dateTimePicker1.Name     = "dateTimePicker1";
     this.dateTimePicker1.Size     = new System.Drawing.Size(280, 21);
     this.dateTimePicker1.TabIndex = 43;
     this.dateTimePicker1.Value    = new System.DateTime(2006, 2, 23, 9, 55, 50, 703);
     //
     // txtConfirm
     //
     this.txtConfirm.Location     = new System.Drawing.Point(88, 128);
     this.txtConfirm.Name         = "txtConfirm";
     this.txtConfirm.PasswordChar = '*';
     this.txtConfirm.Size         = new System.Drawing.Size(280, 21);
     this.txtConfirm.TabIndex     = 42;
     //
     // txtPasswd
     //
     this.txtPasswd.Location     = new System.Drawing.Point(88, 96);
     this.txtPasswd.Name         = "txtPasswd";
     this.txtPasswd.PasswordChar = '*';
     this.txtPasswd.Size         = new System.Drawing.Size(280, 21);
     this.txtPasswd.TabIndex     = 41;
     //
     // txtRealName
     //
     this.txtRealName.Location = new System.Drawing.Point(88, 168);
     this.txtRealName.Name     = "txtRealName";
     this.txtRealName.Size     = new System.Drawing.Size(280, 21);
     this.txtRealName.TabIndex = 40;
     //
     // txtUser
     //
     this.txtUser.Location = new System.Drawing.Point(88, 64);
     this.txtUser.Name     = "txtUser";
     this.txtUser.Size     = new System.Drawing.Size(280, 21);
     this.txtUser.TabIndex = 39;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 128);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 14);
     this.label1.TabIndex = 38;
     this.label1.Text     = "确认密码:";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(8, 96);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(72, 16);
     this.label6.TabIndex = 37;
     this.label6.Text     = "密  码:";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(8, 168);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(72, 16);
     this.label7.TabIndex = 36;
     this.label7.Text     = "真实姓名:";
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(8, 64);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(72, 16);
     this.label8.TabIndex = 35;
     this.label8.Text     = "用 户 名:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 16);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(384, 16);
     this.label3.TabIndex = 61;
     this.label3.Text     = "所添加帐号为本系统管理游戏所用,请在添加完毕后设置可用权限";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 200);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(72, 16);
     this.label4.TabIndex = 64;
     this.label4.Text     = "所在部门:";
     //
     // department
     //
     this.department.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.department.Location      = new System.Drawing.Point(88, 200);
     this.department.Name          = "department";
     this.department.Size          = new System.Drawing.Size(280, 20);
     this.department.TabIndex      = 65;
     //
     // dividerPanel1
     //
     this.dividerPanel1.AllowDrop  = true;
     this.dividerPanel1.BackColor  = System.Drawing.SystemColors.Window;
     this.dividerPanel1.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
     this.dividerPanel1.Controls.Add(this.label3);
     this.dividerPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.dividerPanel1.Location = new System.Drawing.Point(0, 0);
     this.dividerPanel1.Name     = "dividerPanel1";
     this.dividerPanel1.Size     = new System.Drawing.Size(386, 48);
     this.dividerPanel1.TabIndex = 66;
     //
     // dividerPanel2
     //
     this.dividerPanel2.AllowDrop  = true;
     this.dividerPanel2.BorderSide = System.Windows.Forms.Border3DSide.Top;
     this.dividerPanel2.Controls.Add(this.btnAddUser);
     this.dividerPanel2.Controls.Add(this.btnClose);
     this.dividerPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.dividerPanel2.Location = new System.Drawing.Point(0, 323);
     this.dividerPanel2.Name     = "dividerPanel2";
     this.dividerPanel2.Size     = new System.Drawing.Size(386, 48);
     this.dividerPanel2.TabIndex = 67;
     //
     // chkSystmeAdmin
     //
     this.chkSystmeAdmin.AutoSize = true;
     this.chkSystmeAdmin.Location = new System.Drawing.Point(16, 301);
     this.chkSystmeAdmin.Name     = "chkSystmeAdmin";
     this.chkSystmeAdmin.Size     = new System.Drawing.Size(108, 16);
     this.chkSystmeAdmin.TabIndex = 68;
     this.chkSystmeAdmin.Text     = "系统超级管理员";
     this.chkSystmeAdmin.UseVisualStyleBackColor = true;
     this.chkSystmeAdmin.Click += new System.EventHandler(this.chkSystmeAdmin_Click);
     //
     // chkDeptAdmin
     //
     this.chkDeptAdmin.AutoSize = true;
     this.chkDeptAdmin.Location = new System.Drawing.Point(130, 301);
     this.chkDeptAdmin.Name     = "chkDeptAdmin";
     this.chkDeptAdmin.Size     = new System.Drawing.Size(108, 16);
     this.chkDeptAdmin.TabIndex = 69;
     this.chkDeptAdmin.Text     = "部门级别管理员";
     this.chkDeptAdmin.UseVisualStyleBackColor = true;
     this.chkDeptAdmin.Click += new System.EventHandler(this.chkDeptAdmin_Click);
     //
     // backgroundWorkerBtnOK
     //
     this.backgroundWorkerBtnOK.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorkerBtnOK_DoWork);
     this.backgroundWorkerBtnOK.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorkerBtnOK_RunWorkerCompleted);
     //
     // NewUser
     //
     this.AcceptButton      = this.btnAddUser;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.btnClose;
     this.ClientSize        = new System.Drawing.Size(386, 371);
     this.Controls.Add(this.chkDeptAdmin);
     this.Controls.Add(this.chkSystmeAdmin);
     this.Controls.Add(this.dividerPanel2);
     this.Controls.Add(this.dividerPanel1);
     this.Controls.Add(this.department);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.userStatus);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.dateTimePicker1);
     this.Controls.Add(this.txtConfirm);
     this.Controls.Add(this.txtPasswd);
     this.Controls.Add(this.txtRealName);
     this.Controls.Add(this.txtUser);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label8);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "NewUser";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "用户添加";
     this.Load           += new System.EventHandler(this.NewUser_Load);
     this.dividerPanel1.ResumeLayout(false);
     this.dividerPanel2.ResumeLayout(false);
     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.panel1                   = new System.Windows.Forms.Panel();
     this.buttonCancel             = new System.Windows.Forms.Button();
     this.buttonOk                 = new System.Windows.Forms.Button();
     this.button2                  = new System.Windows.Forms.Button();
     this.button4                  = new System.Windows.Forms.Button();
     this.button5                  = new System.Windows.Forms.Button();
     this.panel2                   = new System.Windows.Forms.Panel();
     this.MODVersionRelease        = new System.Windows.Forms.TextBox();
     this.MODVersionMajor          = new System.Windows.Forms.NumericUpDown();
     this.MODVersionMinor          = new System.Windows.Forms.NumericUpDown();
     this.MODVersionRevision       = new System.Windows.Forms.NumericUpDown();
     this.MODHistorydtp            = new System.Windows.Forms.DateTimePicker();
     this.panel3                   = new System.Windows.Forms.Panel();
     this.button1                  = new System.Windows.Forms.Button();
     this.label1                   = new System.Windows.Forms.Label();
     this.comboBoxLanguages        = new System.Windows.Forms.ComboBox();
     this.button3                  = new System.Windows.Forms.Button();
     this.listViewModChanges       = new System.Windows.Forms.ListView();
     this.columnHeader1            = new System.Windows.Forms.ColumnHeader();
     this.noteEditorDialog1        = new ModStudio.NoteEditorDialog();
     this.languageSelectionDialog1 = new ModFormControls.LanguageSelectionDialog();
     this.ModVersionStage          = new System.Windows.Forms.ComboBox();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.MODVersionMajor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.MODVersionMinor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.MODVersionRevision)).BeginInit();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.buttonCancel);
     this.panel1.Controls.Add(this.buttonOk);
     this.panel1.Controls.Add(this.button2);
     this.panel1.Controls.Add(this.button4);
     this.panel1.Controls.Add(this.button5);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location = new System.Drawing.Point(0, 184);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(524, 40);
     this.panel1.TabIndex = 2;
     //
     // buttonCancel
     //
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.buttonCancel.Location     = new System.Drawing.Point(344, 8);
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.Size         = new System.Drawing.Size(75, 23);
     this.buttonCancel.TabIndex     = 3;
     this.buttonCancel.Text         = "&Cancel";
     this.buttonCancel.Click       += new System.EventHandler(this.buttonCancel_Click);
     //
     // buttonOk
     //
     this.buttonOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.buttonOk.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.buttonOk.Location     = new System.Drawing.Point(424, 8);
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.Size         = new System.Drawing.Size(75, 23);
     this.buttonOk.TabIndex     = 2;
     this.buttonOk.Text         = "&OK";
     this.buttonOk.Click       += new System.EventHandler(this.buttonOk_Click);
     //
     // button2
     //
     this.button2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button2.Location  = new System.Drawing.Point(8, 8);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(75, 23);
     this.button2.TabIndex  = 3;
     this.button2.Text      = "Add Change";
     this.button2.Click    += new System.EventHandler(this.button2_Click);
     //
     // button4
     //
     this.button4.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button4.Location  = new System.Drawing.Point(88, 8);
     this.button4.Name      = "button4";
     this.button4.Size      = new System.Drawing.Size(75, 23);
     this.button4.TabIndex  = 3;
     this.button4.Text      = "Edit Change";
     this.button4.Click    += new System.EventHandler(this.button4_Click);
     //
     // button5
     //
     this.button5.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button5.Location  = new System.Drawing.Point(168, 8);
     this.button5.Name      = "button5";
     this.button5.Size      = new System.Drawing.Size(96, 23);
     this.button5.TabIndex  = 3;
     this.button5.Text      = "Remove Change";
     this.button5.Click    += new System.EventHandler(this.button5_Click);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.ModVersionStage);
     this.panel2.Controls.Add(this.MODVersionRelease);
     this.panel2.Controls.Add(this.MODVersionMajor);
     this.panel2.Controls.Add(this.MODVersionMinor);
     this.panel2.Controls.Add(this.MODVersionRevision);
     this.panel2.Controls.Add(this.MODHistorydtp);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(524, 32);
     this.panel2.TabIndex = 3;
     //
     // MODVersionRelease
     //
     this.MODVersionRelease.Location  = new System.Drawing.Point(475, 8);
     this.MODVersionRelease.MaxLength = 1;
     this.MODVersionRelease.Name      = "MODVersionRelease";
     this.MODVersionRelease.Size      = new System.Drawing.Size(40, 20);
     this.MODVersionRelease.TabIndex  = 12;
     //
     // MODVersionMajor
     //
     this.MODVersionMajor.Location = new System.Drawing.Point(208, 8);
     this.MODVersionMajor.Maximum  = new decimal(new int[] {
         99,
         0,
         0,
         0
     });
     this.MODVersionMajor.Name     = "MODVersionMajor";
     this.MODVersionMajor.Size     = new System.Drawing.Size(40, 20);
     this.MODVersionMajor.TabIndex = 11;
     //
     // MODVersionMinor
     //
     this.MODVersionMinor.Location = new System.Drawing.Point(256, 8);
     this.MODVersionMinor.Maximum  = new decimal(new int[] {
         99,
         0,
         0,
         0
     });
     this.MODVersionMinor.Name     = "MODVersionMinor";
     this.MODVersionMinor.Size     = new System.Drawing.Size(40, 20);
     this.MODVersionMinor.TabIndex = 10;
     //
     // MODVersionRevision
     //
     this.MODVersionRevision.Location = new System.Drawing.Point(413, 8);
     this.MODVersionRevision.Maximum  = new decimal(new int[] {
         9999,
         0,
         0,
         0
     });
     this.MODVersionRevision.Name     = "MODVersionRevision";
     this.MODVersionRevision.Size     = new System.Drawing.Size(56, 20);
     this.MODVersionRevision.TabIndex = 9;
     //
     // MODHistorydtp
     //
     this.MODHistorydtp.Location = new System.Drawing.Point(8, 8);
     this.MODHistorydtp.Name     = "MODHistorydtp";
     this.MODHistorydtp.Size     = new System.Drawing.Size(200, 20);
     this.MODHistorydtp.TabIndex = 8;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.button1);
     this.panel3.Controls.Add(this.label1);
     this.panel3.Controls.Add(this.comboBoxLanguages);
     this.panel3.Controls.Add(this.button3);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 32);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(524, 24);
     this.panel3.TabIndex = 4;
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button1.Location  = new System.Drawing.Point(216, 0);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(88, 23);
     this.button1.TabIndex  = 2;
     this.button1.Text      = "Add Language";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(8, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 23);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Language:";
     //
     // comboBoxLanguages
     //
     this.comboBoxLanguages.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxLanguages.Location              = new System.Drawing.Point(88, 0);
     this.comboBoxLanguages.Name                  = "comboBoxLanguages";
     this.comboBoxLanguages.Size                  = new System.Drawing.Size(121, 21);
     this.comboBoxLanguages.TabIndex              = 0;
     this.comboBoxLanguages.SelectedIndexChanged += new System.EventHandler(this.comboBoxLanguages_SelectedIndexChanged);
     //
     // button3
     //
     this.button3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button3.Location  = new System.Drawing.Point(312, 0);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(104, 23);
     this.button3.TabIndex  = 2;
     this.button3.Text      = "Remove Language";
     this.button3.Click    += new System.EventHandler(this.button3_Click);
     //
     // listViewModChanges
     //
     this.listViewModChanges.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1
     });
     this.listViewModChanges.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.listViewModChanges.FullRowSelect = true;
     this.listViewModChanges.GridLines     = true;
     this.listViewModChanges.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listViewModChanges.Location      = new System.Drawing.Point(0, 56);
     this.listViewModChanges.MultiSelect   = false;
     this.listViewModChanges.Name          = "listViewModChanges";
     this.listViewModChanges.Size          = new System.Drawing.Size(524, 128);
     this.listViewModChanges.TabIndex      = 5;
     this.listViewModChanges.UseCompatibleStateImageBehavior = false;
     this.listViewModChanges.View         = System.Windows.Forms.View.List;
     this.listViewModChanges.DoubleClick += new System.EventHandler(this.listViewModChanges_DoubleClick);
     //
     // columnHeader1
     //
     this.columnHeader1.Text = "Changes";
     //
     // noteEditorDialog1
     //
     this.noteEditorDialog1.Save += new ModStudio.NoteEditorDialogBox.NoteEditorDialogBoxSaveHandler(this.noteEditorDialog1_Save);
     //
     // languageSelectionDialog1
     //
     this.languageSelectionDialog1.Language = "en";
     this.languageSelectionDialog1.Save    += new ModFormControls.LanguageSelectionDialogBox.LanguageSelectionDialogBoxSaveHandler(this.languageSelectionDialog1_Save);
     //
     // ModVersionStage
     //
     this.ModVersionStage.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ModVersionStage.FormattingEnabled = true;
     this.ModVersionStage.Items.AddRange(new object[] {
         "Stable",
         "Alpha",
         "Beta",
         "ReleaseCandidate"
     });
     this.ModVersionStage.Location = new System.Drawing.Point(302, 8);
     this.ModVersionStage.Name     = "ModVersionStage";
     this.ModVersionStage.Size     = new System.Drawing.Size(105, 21);
     this.ModVersionStage.TabIndex = 41;
     //
     // HistoryEditorDialogBox
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(524, 224);
     this.ControlBox        = false;
     this.Controls.Add(this.listViewModChanges);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "HistoryEditorDialogBox";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "History Entry";
     this.Load           += new System.EventHandler(this.HistoryEditorDialogBox_Load);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.MODVersionMajor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.MODVersionMinor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.MODVersionRevision)).EndInit();
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 36
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataGrid1    = new System.Windows.Forms.DataGrid();
     this.groupBox3    = new System.Windows.Forms.GroupBox();
     this.txtTolCount  = new System.Windows.Forms.TextBox();
     this.label9       = new System.Windows.Forms.Label();
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     this.sbtnAdd      = new System.Windows.Forms.Button();
     this.sbtnOk       = new System.Windows.Forms.Button();
     this.sbtnRollback = new System.Windows.Forms.Button();
     this.dtpCheckDate = new System.Windows.Forms.DateTimePicker();
     this.label1       = new System.Windows.Forms.Label();
     this.label14      = new System.Windows.Forms.Label();
     this.txtCount     = new System.Windows.Forms.TextBox();
     this.label8       = new System.Windows.Forms.Label();
     this.txtPrice     = new System.Windows.Forms.TextBox();
     this.label6       = new System.Windows.Forms.Label();
     this.lblNotice    = new System.Windows.Forms.Label();
     this.cmbGoodsName = new System.Windows.Forms.ComboBox();
     this.label5       = new System.Windows.Forms.Label();
     this.txtGoodsID   = new System.Windows.Forms.TextBox();
     this.label3       = new System.Windows.Forms.Label();
     this.sbtnCancel   = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.groupBox3.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location        = new System.Drawing.Point(232, 0);
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.Size            = new System.Drawing.Size(672, 526);
     this.dataGrid1.TabIndex        = 6;
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.txtTolCount);
     this.groupBox3.Controls.Add(this.label9);
     this.groupBox3.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.groupBox3.Location = new System.Drawing.Point(232, 526);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(672, 64);
     this.groupBox3.TabIndex = 7;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "盘点合计:";
     //
     // txtTolCount
     //
     this.txtTolCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtTolCount.Location    = new System.Drawing.Point(120, 24);
     this.txtTolCount.MaxLength   = 10;
     this.txtTolCount.Name        = "txtTolCount";
     this.txtTolCount.Size        = new System.Drawing.Size(96, 21);
     this.txtTolCount.TabIndex    = 4;
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(56, 32);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(64, 16);
     this.label9.TabIndex = 3;
     this.label9.Text     = "总数量:";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.sbtnCancel);
     this.groupBox1.Controls.Add(this.sbtnAdd);
     this.groupBox1.Controls.Add(this.sbtnOk);
     this.groupBox1.Controls.Add(this.sbtnRollback);
     this.groupBox1.Controls.Add(this.dtpCheckDate);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.label14);
     this.groupBox1.Controls.Add(this.txtCount);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.txtPrice);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.lblNotice);
     this.groupBox1.Controls.Add(this.cmbGoodsName);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.txtGoodsID);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Dock      = System.Windows.Forms.DockStyle.Left;
     this.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.groupBox1.Location  = new System.Drawing.Point(0, 0);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(232, 590);
     this.groupBox1.TabIndex  = 4;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "盘点栏目";
     //
     // sbtnAdd
     //
     this.sbtnAdd.Location = new System.Drawing.Point(130, 192);
     this.sbtnAdd.Name     = "sbtnAdd";
     this.sbtnAdd.Size     = new System.Drawing.Size(75, 23);
     this.sbtnAdd.TabIndex = 27;
     this.sbtnAdd.Text     = "确定(F7)";
     this.sbtnAdd.UseVisualStyleBackColor = true;
     this.sbtnAdd.Click += new System.EventHandler(this.sbtnAdd_Click);
     //
     // sbtnOk
     //
     this.sbtnOk.Location = new System.Drawing.Point(34, 261);
     this.sbtnOk.Name     = "sbtnOk";
     this.sbtnOk.Size     = new System.Drawing.Size(75, 23);
     this.sbtnOk.TabIndex = 26;
     this.sbtnOk.Text     = "盘点(F6)";
     this.sbtnOk.UseVisualStyleBackColor = true;
     this.sbtnOk.Click += new System.EventHandler(this.sbtnOk_Click);
     //
     // sbtnRollback
     //
     this.sbtnRollback.Location = new System.Drawing.Point(34, 192);
     this.sbtnRollback.Name     = "sbtnRollback";
     this.sbtnRollback.Size     = new System.Drawing.Size(75, 23);
     this.sbtnRollback.TabIndex = 25;
     this.sbtnRollback.Text     = "<<撤消";
     this.sbtnRollback.UseVisualStyleBackColor = true;
     this.sbtnRollback.Click += new System.EventHandler(this.sbtnRollback_Click);
     //
     // dtpCheckDate
     //
     this.dtpCheckDate.CustomFormat = "yyyy-MM-dd";
     this.dtpCheckDate.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtpCheckDate.Location     = new System.Drawing.Point(80, 32);
     this.dtpCheckDate.Name         = "dtpCheckDate";
     this.dtpCheckDate.Size         = new System.Drawing.Size(136, 21);
     this.dtpCheckDate.TabIndex     = 24;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 40);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(64, 16);
     this.label1.TabIndex = 23;
     this.label1.Text     = "入库日期";
     //
     // label14
     //
     this.label14.Location = new System.Drawing.Point(192, 128);
     this.label14.Name     = "label14";
     this.label14.Size     = new System.Drawing.Size(24, 16);
     this.label14.TabIndex = 20;
     this.label14.Text     = "元";
     //
     // txtCount
     //
     this.txtCount.Location  = new System.Drawing.Point(80, 160);
     this.txtCount.MaxLength = 10;
     this.txtCount.Name      = "txtCount";
     this.txtCount.Size      = new System.Drawing.Size(136, 21);
     this.txtCount.TabIndex  = 2;
     this.txtCount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtCount_KeyPress);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(32, 168);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(40, 16);
     this.label8.TabIndex = 19;
     this.label8.Text     = "数量";
     //
     // txtPrice
     //
     this.txtPrice.Location  = new System.Drawing.Point(80, 128);
     this.txtPrice.MaxLength = 10;
     this.txtPrice.Name      = "txtPrice";
     this.txtPrice.Size      = new System.Drawing.Size(112, 21);
     this.txtPrice.TabIndex  = 1;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(32, 136);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(40, 16);
     this.label6.TabIndex = 17;
     this.label6.Text     = "单价";
     //
     // lblNotice
     //
     this.lblNotice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lblNotice.FlatStyle   = System.Windows.Forms.FlatStyle.Flat;
     this.lblNotice.Location    = new System.Drawing.Point(24, 392);
     this.lblNotice.Name        = "lblNotice";
     this.lblNotice.Size        = new System.Drawing.Size(192, 192);
     this.lblNotice.TabIndex    = 13;
     //
     // cmbGoodsName
     //
     this.cmbGoodsName.Location              = new System.Drawing.Point(80, 96);
     this.cmbGoodsName.Name                  = "cmbGoodsName";
     this.cmbGoodsName.Size                  = new System.Drawing.Size(136, 20);
     this.cmbGoodsName.TabIndex              = 0;
     this.cmbGoodsName.SelectedIndexChanged += new System.EventHandler(this.cmbGoodsName_SelectedIndexChanged);
     this.cmbGoodsName.KeyPress             += new System.Windows.Forms.KeyPressEventHandler(this.cmbGoodsName_KeyPress);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(16, 96);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(64, 16);
     this.label5.TabIndex = 11;
     this.label5.Text     = "商品名称";
     //
     // txtGoodsID
     //
     this.txtGoodsID.Location  = new System.Drawing.Point(80, 64);
     this.txtGoodsID.MaxLength = 10;
     this.txtGoodsID.Name      = "txtGoodsID";
     this.txtGoodsID.Size      = new System.Drawing.Size(136, 21);
     this.txtGoodsID.TabIndex  = 15;
     this.txtGoodsID.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtGoodsID_KeyPress);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 72);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(64, 16);
     this.label3.TabIndex = 3;
     this.label3.Text     = "商品编号";
     //
     // sbtnCancel
     //
     this.sbtnCancel.Location = new System.Drawing.Point(130, 260);
     this.sbtnCancel.Name     = "sbtnCancel";
     this.sbtnCancel.Size     = new System.Drawing.Size(75, 23);
     this.sbtnCancel.TabIndex = 28;
     this.sbtnCancel.Text     = "关闭";
     this.sbtnCancel.UseVisualStyleBackColor = true;
     this.sbtnCancel.Click += new System.EventHandler(this.sbtnCancel_Click);
     //
     // frmSaleCheck
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(904, 590);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox1);
     this.KeyPreview    = true;
     this.Name          = "frmSaleCheck";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "销售盘点";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Load         += new System.EventHandler(this.frmSaleCheck_Load);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmSaleCheck_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 37
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frmylfltj));
     this.groupBox1               = new System.Windows.Forms.GroupBox();
     this.butprintmx              = new System.Windows.Forms.Button();
     this.cmbyjks                 = new System.Windows.Forms.ComboBox();
     this.label3                  = new System.Windows.Forms.Label();
     this.dtp2                    = new System.Windows.Forms.DateTimePicker();
     this.label2                  = new System.Windows.Forms.Label();
     this.dtp1                    = new System.Windows.Forms.DateTimePicker();
     this.label1                  = new System.Windows.Forms.Label();
     this.butquit                 = new System.Windows.Forms.Button();
     this.butprint                = new System.Windows.Forms.Button();
     this.buttj                   = new System.Windows.Forms.Button();
     this.statusBar1              = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1         = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2         = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel3         = new System.Windows.Forms.StatusBarPanel();
     this.myDataGrid1             = new myDataGrid.myDataGrid();
     this.dataGridTableStyle1     = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn4  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn5  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.panel1                  = new System.Windows.Forms.Panel();
     this.panel3                  = new System.Windows.Forms.Panel();
     this.tabControl1             = new System.Windows.Forms.TabControl();
     this.tabPage1                = new System.Windows.Forms.TabPage();
     this.tabPage2                = new System.Windows.Forms.TabPage();
     this.myDataGrid2             = new myDataGrid.myDataGrid();
     this.dataGridTableStyle2     = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn6  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn7  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn8  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn9  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.splitter1               = new System.Windows.Forms.Splitter();
     this.panel2                  = new System.Windows.Forms.Panel();
     this.treeView1               = new System.Windows.Forms.TreeView();
     this.imageList1              = new System.Windows.Forms.ImageList(this.components);
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.butprintmx);
     this.groupBox1.Controls.Add(this.cmbyjks);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.dtp2);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.dtp1);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.butquit);
     this.groupBox1.Controls.Add(this.butprint);
     this.groupBox1.Controls.Add(this.buttj);
     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(944, 64);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     //
     // butprintmx
     //
     this.butprintmx.Location = new System.Drawing.Point(632, 16);
     this.butprintmx.Name     = "butprintmx";
     this.butprintmx.Size     = new System.Drawing.Size(88, 32);
     this.butprintmx.TabIndex = 18;
     this.butprintmx.Text     = "打印明细(&P)";
     this.butprintmx.Click   += new System.EventHandler(this.butprintmx_Click);
     //
     // cmbyjks
     //
     this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbyjks.Location      = new System.Drawing.Point(68, 22);
     this.cmbyjks.Name          = "cmbyjks";
     this.cmbyjks.Size          = new System.Drawing.Size(96, 20);
     this.cmbyjks.TabIndex      = 17;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 26);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(66, 16);
     this.label3.TabIndex = 16;
     this.label3.Text     = "药剂科室";
     //
     // dtp2
     //
     this.dtp2.Location = new System.Drawing.Point(336, 24);
     this.dtp2.Name     = "dtp2";
     this.dtp2.Size     = new System.Drawing.Size(112, 21);
     this.dtp2.TabIndex = 15;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(320, 29);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(16, 16);
     this.label2.TabIndex = 14;
     this.label2.Text     = "到";
     //
     // dtp1
     //
     this.dtp1.Location = new System.Drawing.Point(208, 24);
     this.dtp1.Name     = "dtp1";
     this.dtp1.Size     = new System.Drawing.Size(110, 21);
     this.dtp1.TabIndex = 13;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(168, 29);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 16);
     this.label1.TabIndex = 12;
     this.label1.Text     = "日期从";
     //
     // butquit
     //
     this.butquit.Location = new System.Drawing.Point(720, 16);
     this.butquit.Name     = "butquit";
     this.butquit.Size     = new System.Drawing.Size(72, 32);
     this.butquit.TabIndex = 11;
     this.butquit.Text     = "退出(&Q)";
     this.butquit.Click   += new System.EventHandler(this.butquit_Click);
     //
     // butprint
     //
     this.butprint.Location = new System.Drawing.Point(544, 16);
     this.butprint.Name     = "butprint";
     this.butprint.Size     = new System.Drawing.Size(88, 32);
     this.butprint.TabIndex = 10;
     this.butprint.Text     = "打印汇总(&D)";
     this.butprint.Click   += new System.EventHandler(this.butprint_Click);
     //
     // buttj
     //
     this.buttj.Location = new System.Drawing.Point(464, 16);
     this.buttj.Name     = "buttj";
     this.buttj.Size     = new System.Drawing.Size(78, 32);
     this.buttj.TabIndex = 9;
     this.buttj.Text     = "统计(&T)";
     this.buttj.Click   += new System.EventHandler(this.buttj_Click);
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 502);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1,
         this.statusBarPanel2,
         this.statusBarPanel3
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(944, 23);
     this.statusBar1.TabIndex   = 1;
     this.statusBar1.Text       = "statusBar1";
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Name  = "statusBarPanel1";
     this.statusBarPanel1.Width = 150;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.Name  = "statusBarPanel2";
     this.statusBarPanel2.Width = 150;
     //
     // statusBarPanel3
     //
     this.statusBarPanel3.Name  = "statusBarPanel3";
     this.statusBarPanel3.Width = 1000;
     //
     // myDataGrid1
     //
     this.myDataGrid1.BackgroundColor    = System.Drawing.Color.White;
     this.myDataGrid1.CaptionBackColor   = System.Drawing.Color.Silver;
     this.myDataGrid1.CaptionFont        = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.myDataGrid1.DataMember         = "";
     this.myDataGrid1.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.myDataGrid1.Font               = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.myDataGrid1.HeaderForeColor    = System.Drawing.SystemColors.ControlText;
     this.myDataGrid1.Location           = new System.Drawing.Point(0, 0);
     this.myDataGrid1.Name               = "myDataGrid1";
     this.myDataGrid1.PreferredRowHeight = 20;
     this.myDataGrid1.ReadOnly           = true;
     this.myDataGrid1.Size               = new System.Drawing.Size(725, 413);
     this.myDataGrid1.TabIndex           = 0;
     this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.AllowSorting = false;
     this.dataGridTableStyle1.DataGrid     = this.myDataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn2,
         this.dataGridTextBoxColumn3,
         this.dataGridTextBoxColumn4,
         this.dataGridTextBoxColumn5
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format     = "";
     this.dataGridTextBoxColumn1.FormatInfo = null;
     this.dataGridTextBoxColumn1.HeaderText = "名称";
     this.dataGridTextBoxColumn1.Width      = 250;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format     = "";
     this.dataGridTextBoxColumn2.FormatInfo = null;
     this.dataGridTextBoxColumn2.HeaderText = "金额";
     this.dataGridTextBoxColumn2.Width      = 150;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format     = "";
     this.dataGridTextBoxColumn3.FormatInfo = null;
     this.dataGridTextBoxColumn3.HeaderText = "百分比";
     this.dataGridTextBoxColumn3.Width      = 75;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Format     = "";
     this.dataGridTextBoxColumn4.FormatInfo = null;
     this.dataGridTextBoxColumn4.HeaderText = "总金额";
     this.dataGridTextBoxColumn4.Width      = 0;
     //
     // dataGridTextBoxColumn5
     //
     this.dataGridTextBoxColumn5.Format     = "";
     this.dataGridTextBoxColumn5.FormatInfo = null;
     this.dataGridTextBoxColumn5.HeaderText = "id";
     this.dataGridTextBoxColumn5.Width      = 0;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.splitter1);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 64);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(944, 438);
     this.panel1.TabIndex = 2;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.tabControl1);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(211, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(733, 438);
     this.panel3.TabIndex = 3;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location      = new System.Drawing.Point(0, 0);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(733, 438);
     this.tabControl1.TabIndex      = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.myDataGrid1);
     this.tabPage1.Location = new System.Drawing.Point(4, 21);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(725, 413);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "汇总";
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.myDataGrid2);
     this.tabPage2.Location = new System.Drawing.Point(4, 21);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(914, 453);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "明细";
     //
     // myDataGrid2
     //
     this.myDataGrid2.BackgroundColor    = System.Drawing.Color.White;
     this.myDataGrid2.CaptionBackColor   = System.Drawing.Color.Silver;
     this.myDataGrid2.CaptionFont        = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.myDataGrid2.CaptionVisible     = false;
     this.myDataGrid2.DataMember         = "";
     this.myDataGrid2.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.myDataGrid2.Font               = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.myDataGrid2.HeaderForeColor    = System.Drawing.SystemColors.ControlText;
     this.myDataGrid2.Location           = new System.Drawing.Point(0, 0);
     this.myDataGrid2.Name               = "myDataGrid2";
     this.myDataGrid2.PreferredRowHeight = 20;
     this.myDataGrid2.ReadOnly           = true;
     this.myDataGrid2.Size               = new System.Drawing.Size(914, 453);
     this.myDataGrid2.TabIndex           = 1;
     this.myDataGrid2.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle2
     });
     //
     // dataGridTableStyle2
     //
     this.dataGridTableStyle2.AllowSorting = false;
     this.dataGridTableStyle2.DataGrid     = this.myDataGrid2;
     this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn6,
         this.dataGridTextBoxColumn7,
         this.dataGridTextBoxColumn8,
         this.dataGridTextBoxColumn9,
         this.dataGridTextBoxColumn10,
         this.dataGridTextBoxColumn11,
         this.dataGridTextBoxColumn12,
         this.dataGridTextBoxColumn13,
         this.dataGridTextBoxColumn15,
         this.dataGridTextBoxColumn14
     });
     this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     //
     // dataGridTextBoxColumn6
     //
     this.dataGridTextBoxColumn6.Format     = "";
     this.dataGridTextBoxColumn6.FormatInfo = null;
     this.dataGridTextBoxColumn6.HeaderText = "cjid";
     this.dataGridTextBoxColumn6.Width      = 0;
     //
     // dataGridTextBoxColumn7
     //
     this.dataGridTextBoxColumn7.Format     = "";
     this.dataGridTextBoxColumn7.FormatInfo = null;
     this.dataGridTextBoxColumn7.HeaderText = "品名";
     this.dataGridTextBoxColumn7.Width      = 180;
     //
     // dataGridTextBoxColumn8
     //
     this.dataGridTextBoxColumn8.Format     = "";
     this.dataGridTextBoxColumn8.FormatInfo = null;
     this.dataGridTextBoxColumn8.HeaderText = "规格";
     this.dataGridTextBoxColumn8.Width      = 120;
     //
     // dataGridTextBoxColumn9
     //
     this.dataGridTextBoxColumn9.Format     = "";
     this.dataGridTextBoxColumn9.FormatInfo = null;
     this.dataGridTextBoxColumn9.HeaderText = "厂家";
     this.dataGridTextBoxColumn9.Width      = 120;
     //
     // dataGridTextBoxColumn10
     //
     this.dataGridTextBoxColumn10.Format     = "";
     this.dataGridTextBoxColumn10.FormatInfo = null;
     this.dataGridTextBoxColumn10.HeaderText = "零售价";
     this.dataGridTextBoxColumn10.Width      = 70;
     //
     // dataGridTextBoxColumn11
     //
     this.dataGridTextBoxColumn11.Format     = "";
     this.dataGridTextBoxColumn11.FormatInfo = null;
     this.dataGridTextBoxColumn11.HeaderText = "数量";
     this.dataGridTextBoxColumn11.Width      = 65;
     //
     // dataGridTextBoxColumn12
     //
     this.dataGridTextBoxColumn12.Format     = "";
     this.dataGridTextBoxColumn12.FormatInfo = null;
     this.dataGridTextBoxColumn12.HeaderText = "单位";
     this.dataGridTextBoxColumn12.Width      = 40;
     //
     // dataGridTextBoxColumn13
     //
     this.dataGridTextBoxColumn13.Format     = "";
     this.dataGridTextBoxColumn13.FormatInfo = null;
     this.dataGridTextBoxColumn13.HeaderText = "金额";
     this.dataGridTextBoxColumn13.Width      = 80;
     //
     // dataGridTextBoxColumn15
     //
     this.dataGridTextBoxColumn15.Format     = "";
     this.dataGridTextBoxColumn15.FormatInfo = null;
     this.dataGridTextBoxColumn15.HeaderText = "百分比";
     this.dataGridTextBoxColumn15.Width      = 55;
     //
     // dataGridTextBoxColumn14
     //
     this.dataGridTextBoxColumn14.Format     = "";
     this.dataGridTextBoxColumn14.FormatInfo = null;
     this.dataGridTextBoxColumn14.HeaderText = "总金额";
     this.dataGridTextBoxColumn14.Width      = 0;
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(208, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 438);
     this.splitter1.TabIndex = 2;
     this.splitter1.TabStop  = false;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.treeView1);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(208, 438);
     this.panel2.TabIndex = 1;
     //
     // treeView1
     //
     this.treeView1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.treeView1.Location = new System.Drawing.Point(0, 0);
     this.treeView1.Name     = "treeView1";
     this.treeView1.Size     = new System.Drawing.Size(208, 438);
     this.treeView1.TabIndex = 1;
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     //
     // Frmylfltj
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(944, 525);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.statusBar1);
     this.Controls.Add(this.groupBox1);
     this.Name        = "Frmylfltj";
     this.Text        = "药理分类统计";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.Frmxspm_Load);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid2)).EndInit();
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 38
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1              = new System.Windows.Forms.Label();
     this.txtBillNo           = new System.Windows.Forms.TextBox();
     this.txtProvideCompany   = new System.Windows.Forms.TextBox();
     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.dtpDeliveryDate     = new System.Windows.Forms.DateTimePicker();
     this.txtSignerCompany    = new System.Windows.Forms.TextBox();
     this.label6              = new System.Windows.Forms.Label();
     this.txtSigner           = new System.Windows.Forms.TextBox();
     this.label7              = new System.Windows.Forms.Label();
     this.txtReceiveCount     = new System.Windows.Forms.TextBox();
     this.label8              = new System.Windows.Forms.Label();
     this.txtCount            = new System.Windows.Forms.TextBox();
     this.label9              = new System.Windows.Forms.Label();
     this.txtProvideMan       = new System.Windows.Forms.TextBox();
     this.label11             = new System.Windows.Forms.Label();
     this.txtDeliveryMan      = new System.Windows.Forms.TextBox();
     this.label12             = new System.Windows.Forms.Label();
     this.sbtnOk              = new DevExpress.XtraEditors.SimpleButton();
     this.sbtnClose           = new DevExpress.XtraEditors.SimpleButton();
     this.label17             = new System.Windows.Forms.Label();
     this.cmbGoodsName        = new System.Windows.Forms.ComboBox();
     this.cmbGoodsType        = new System.Windows.Forms.ComboBox();
     this.label18             = new System.Windows.Forms.Label();
     this.dtpProvideBeginDate = new System.Windows.Forms.DateTimePicker();
     this.label10             = new System.Windows.Forms.Label();
     this.dtpProvideEndDate   = new System.Windows.Forms.DateTimePicker();
     this.label13             = new System.Windows.Forms.Label();
     this.dtpTimeOfValidity   = new System.Windows.Forms.DateTimePicker();
     this.label16             = new System.Windows.Forms.Label();
     this.label19             = new System.Windows.Forms.Label();
     this.txtSpecialFee       = new System.Windows.Forms.TextBox();
     this.txtSpecialUnitPrice = new System.Windows.Forms.TextBox();
     this.label14             = new System.Windows.Forms.Label();
     this.label15             = new System.Windows.Forms.Label();
     this.cmbDeliveryCompany  = new System.Windows.Forms.ComboBox();
     this.cmbContractNo       = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(40, 64);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 16);
     this.label1.TabIndex = 24;
     this.label1.Text     = "领料单字号";
     //
     // txtBillNo
     //
     this.txtBillNo.Font      = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.txtBillNo.Location  = new System.Drawing.Point(112, 56);
     this.txtBillNo.MaxLength = 20;
     this.txtBillNo.Name      = "txtBillNo";
     this.txtBillNo.Size      = new System.Drawing.Size(184, 22);
     this.txtBillNo.TabIndex  = 3;
     this.txtBillNo.Text      = "";
     //
     // txtProvideCompany
     //
     this.txtProvideCompany.Font      = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.txtProvideCompany.Location  = new System.Drawing.Point(112, 96);
     this.txtProvideCompany.MaxLength = 50;
     this.txtProvideCompany.Name      = "txtProvideCompany";
     this.txtProvideCompany.Size      = new System.Drawing.Size(184, 22);
     this.txtProvideCompany.TabIndex  = 5;
     this.txtProvideCompany.Text      = "";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(48, 104);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(64, 16);
     this.label2.TabIndex = 26;
     this.label2.Text     = "供货单位";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(304, 64);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(64, 16);
     this.label3.TabIndex = 27;
     this.label3.Text     = "提货单位";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(304, 104);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(64, 16);
     this.label4.TabIndex = 25;
     this.label4.Text     = "合同编号";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(48, 224);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(64, 16);
     this.label5.TabIndex = 32;
     this.label5.Text     = "提货时间";
     //
     // dtpDeliveryDate
     //
     this.dtpDeliveryDate.Font     = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.dtpDeliveryDate.Location = new System.Drawing.Point(112, 216);
     this.dtpDeliveryDate.Name     = "dtpDeliveryDate";
     this.dtpDeliveryDate.Size     = new System.Drawing.Size(184, 22);
     this.dtpDeliveryDate.TabIndex = 11;
     //
     // txtSignerCompany
     //
     this.txtSignerCompany.Enabled   = false;
     this.txtSignerCompany.Font      = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.txtSignerCompany.Location  = new System.Drawing.Point(112, 296);
     this.txtSignerCompany.MaxLength = 20;
     this.txtSignerCompany.Name      = "txtSignerCompany";
     this.txtSignerCompany.Size      = new System.Drawing.Size(232, 22);
     this.txtSignerCompany.TabIndex  = 16;
     this.txtSignerCompany.Text      = "";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(48, 304);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(64, 16);
     this.label6.TabIndex = 37;
     this.label6.Text     = "签发单位";
     //
     // txtSigner
     //
     this.txtSigner.Font      = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.txtSigner.Location  = new System.Drawing.Point(408, 296);
     this.txtSigner.MaxLength = 10;
     this.txtSigner.Name      = "txtSigner";
     this.txtSigner.Size      = new System.Drawing.Size(144, 22);
     this.txtSigner.TabIndex  = 17;
     this.txtSigner.Text      = "";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(352, 304);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(56, 16);
     this.label7.TabIndex = 38;
     this.label7.Text     = "签发人";
     //
     // txtReceiveCount
     //
     this.txtReceiveCount.Font      = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.txtReceiveCount.Location  = new System.Drawing.Point(112, 128);
     this.txtReceiveCount.Name      = "txtReceiveCount";
     this.txtReceiveCount.Size      = new System.Drawing.Size(184, 22);
     this.txtReceiveCount.TabIndex  = 9;
     this.txtReceiveCount.Text      = "";
     this.txtReceiveCount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtReceiveCount_KeyPress);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(48, 136);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(64, 16);
     this.label8.TabIndex = 30;
     this.label8.Text     = "领用数量";
     //
     // txtCount
     //
     this.txtCount.Font         = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.txtCount.Location     = new System.Drawing.Point(368, 128);
     this.txtCount.Name         = "txtCount";
     this.txtCount.Size         = new System.Drawing.Size(264, 22);
     this.txtCount.TabIndex     = 10;
     this.txtCount.Text         = "";
     this.txtCount.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.txtCount_KeyPress);
     this.txtCount.TextChanged += new System.EventHandler(this.txtCount_TextChanged);
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(304, 136);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(64, 16);
     this.label9.TabIndex = 31;
     this.label9.Text     = "实发数量";
     //
     // txtProvideMan
     //
     this.txtProvideMan.Font      = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.txtProvideMan.Location  = new System.Drawing.Point(408, 256);
     this.txtProvideMan.MaxLength = 10;
     this.txtProvideMan.Name      = "txtProvideMan";
     this.txtProvideMan.Size      = new System.Drawing.Size(144, 22);
     this.txtProvideMan.TabIndex  = 15;
     this.txtProvideMan.Text      = "";
     //
     // label11
     //
     this.label11.Location = new System.Drawing.Point(336, 264);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(72, 16);
     this.label11.TabIndex = 36;
     this.label11.Text     = "发货业务员";
     //
     // txtDeliveryMan
     //
     this.txtDeliveryMan.Font      = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.txtDeliveryMan.Location  = new System.Drawing.Point(112, 256);
     this.txtDeliveryMan.MaxLength = 10;
     this.txtDeliveryMan.Name      = "txtDeliveryMan";
     this.txtDeliveryMan.Size      = new System.Drawing.Size(184, 22);
     this.txtDeliveryMan.TabIndex  = 14;
     this.txtDeliveryMan.Text      = "";
     //
     // label12
     //
     this.label12.Location = new System.Drawing.Point(48, 264);
     this.label12.Name     = "label12";
     this.label12.Size     = new System.Drawing.Size(64, 16);
     this.label12.TabIndex = 35;
     this.label12.Text     = "提货人";
     //
     // sbtnOk
     //
     this.sbtnOk.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.sbtnOk.Location    = new System.Drawing.Point(216, 344);
     this.sbtnOk.Name        = "sbtnOk";
     this.sbtnOk.Size        = new System.Drawing.Size(72, 23);
     this.sbtnOk.Style       = new DevExpress.Utils.ViewStyle("ControlStyle", null, new System.Drawing.Font("Microsoft Sans Serif", 8F), "", DevExpress.Utils.StyleOptions.StyleEnabled, true, false, false, DevExpress.Utils.HorzAlignment.Center, DevExpress.Utils.VertAlignment.Center, null, System.Drawing.Color.CornflowerBlue, System.Drawing.SystemColors.ControlText);
     this.sbtnOk.TabIndex    = 19;
     this.sbtnOk.Text        = "确定";
     this.sbtnOk.Click      += new System.EventHandler(this.sbtnOk_Click);
     //
     // sbtnClose
     //
     this.sbtnClose.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.sbtnClose.Location    = new System.Drawing.Point(480, 344);
     this.sbtnClose.Name        = "sbtnClose";
     this.sbtnClose.Size        = new System.Drawing.Size(56, 23);
     this.sbtnClose.Style       = new DevExpress.Utils.ViewStyle("ControlStyle", null, new System.Drawing.Font("Microsoft Sans Serif", 8F), "", DevExpress.Utils.StyleOptions.StyleEnabled, true, false, false, DevExpress.Utils.HorzAlignment.Center, DevExpress.Utils.VertAlignment.Center, null, System.Drawing.Color.CornflowerBlue, System.Drawing.SystemColors.ControlText);
     this.sbtnClose.TabIndex    = 20;
     this.sbtnClose.Text        = "关闭";
     this.sbtnClose.Click      += new System.EventHandler(this.sbtnClose_Click);
     //
     // label17
     //
     this.label17.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label17.Location  = new System.Drawing.Point(48, 24);
     this.label17.Name      = "label17";
     this.label17.Size      = new System.Drawing.Size(64, 16);
     this.label17.TabIndex  = 21;
     this.label17.Text      = "物料名称";
     //
     // cmbGoodsName
     //
     this.cmbGoodsName.Font                  = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.cmbGoodsName.Location              = new System.Drawing.Point(112, 16);
     this.cmbGoodsName.Name                  = "cmbGoodsName";
     this.cmbGoodsName.Size                  = new System.Drawing.Size(184, 21);
     this.cmbGoodsName.TabIndex              = 1;
     this.cmbGoodsName.SelectedIndexChanged += new System.EventHandler(this.cmbGoodsName_SelectedIndexChanged);
     //
     // cmbGoodsType
     //
     this.cmbGoodsType.Location = new System.Drawing.Point(368, 16);
     this.cmbGoodsType.Name     = "cmbGoodsType";
     this.cmbGoodsType.Size     = new System.Drawing.Size(264, 20);
     this.cmbGoodsType.TabIndex = 2;
     //
     // label18
     //
     this.label18.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label18.Location  = new System.Drawing.Point(304, 24);
     this.label18.Name      = "label18";
     this.label18.Size      = new System.Drawing.Size(64, 16);
     this.label18.TabIndex  = 22;
     this.label18.Text      = "物料型号";
     this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // dtpProvideBeginDate
     //
     this.dtpProvideBeginDate.Font     = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.dtpProvideBeginDate.Location = new System.Drawing.Point(368, 216);
     this.dtpProvideBeginDate.Name     = "dtpProvideBeginDate";
     this.dtpProvideBeginDate.Size     = new System.Drawing.Size(144, 22);
     this.dtpProvideBeginDate.TabIndex = 12;
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(296, 224);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(88, 16);
     this.label10.TabIndex = 33;
     this.label10.Text     = "发货起始时间";
     //
     // dtpProvideEndDate
     //
     this.dtpProvideEndDate.Font     = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.dtpProvideEndDate.Location = new System.Drawing.Point(624, 216);
     this.dtpProvideEndDate.Name     = "dtpProvideEndDate";
     this.dtpProvideEndDate.Size     = new System.Drawing.Size(144, 22);
     this.dtpProvideEndDate.TabIndex = 13;
     //
     // label13
     //
     this.label13.Location = new System.Drawing.Point(536, 224);
     this.label13.Name     = "label13";
     this.label13.Size     = new System.Drawing.Size(88, 16);
     this.label13.TabIndex = 34;
     this.label13.Text     = "发货终止时间";
     //
     // dtpTimeOfValidity
     //
     this.dtpTimeOfValidity.Font     = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.dtpTimeOfValidity.Location = new System.Drawing.Point(624, 296);
     this.dtpTimeOfValidity.Name     = "dtpTimeOfValidity";
     this.dtpTimeOfValidity.Size     = new System.Drawing.Size(144, 22);
     this.dtpTimeOfValidity.TabIndex = 18;
     //
     // label16
     //
     this.label16.Location = new System.Drawing.Point(568, 304);
     this.label16.Name     = "label16";
     this.label16.Size     = new System.Drawing.Size(56, 16);
     this.label16.TabIndex = 39;
     this.label16.Text     = "有效期";
     //
     // label19
     //
     this.label19.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label19.Location  = new System.Drawing.Point(640, 24);
     this.label19.Name      = "label19";
     this.label19.Size      = new System.Drawing.Size(104, 16);
     this.label19.TabIndex  = 23;
     this.label19.Text      = "单位:KG";
     this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtSpecialFee
     //
     this.txtSpecialFee.Enabled   = false;
     this.txtSpecialFee.Font      = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.txtSpecialFee.Location  = new System.Drawing.Point(368, 168);
     this.txtSpecialFee.Name      = "txtSpecialFee";
     this.txtSpecialFee.Size      = new System.Drawing.Size(264, 22);
     this.txtSpecialFee.TabIndex  = 8;
     this.txtSpecialFee.Text      = "0";
     this.txtSpecialFee.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtSpecialFee_KeyPress);
     //
     // txtSpecialUnitPrice
     //
     this.txtSpecialUnitPrice.Enabled   = false;
     this.txtSpecialUnitPrice.Font      = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.txtSpecialUnitPrice.Location  = new System.Drawing.Point(112, 168);
     this.txtSpecialUnitPrice.Name      = "txtSpecialUnitPrice";
     this.txtSpecialUnitPrice.Size      = new System.Drawing.Size(184, 22);
     this.txtSpecialUnitPrice.TabIndex  = 7;
     this.txtSpecialUnitPrice.Text      = "";
     this.txtSpecialUnitPrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtSpecialUnitPrice_KeyPress);
     //
     // label14
     //
     this.label14.Location = new System.Drawing.Point(304, 176);
     this.label14.Name     = "label14";
     this.label14.Size     = new System.Drawing.Size(64, 16);
     this.label14.TabIndex = 29;
     this.label14.Text     = "专供金额";
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(48, 176);
     this.label15.Name     = "label15";
     this.label15.Size     = new System.Drawing.Size(64, 16);
     this.label15.TabIndex = 28;
     this.label15.Text     = "专供单价";
     //
     // cmbDeliveryCompany
     //
     this.cmbDeliveryCompany.Location         = new System.Drawing.Point(368, 56);
     this.cmbDeliveryCompany.MaxDropDownItems = 15;
     this.cmbDeliveryCompany.Name             = "cmbDeliveryCompany";
     this.cmbDeliveryCompany.Size             = new System.Drawing.Size(264, 20);
     this.cmbDeliveryCompany.TabIndex         = 40;
     this.cmbDeliveryCompany.Click           += new System.EventHandler(this.cmbDeliveryCompany_Click);
     //
     // cmbContractNo
     //
     this.cmbContractNo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbContractNo.Location      = new System.Drawing.Point(368, 96);
     this.cmbContractNo.Name          = "cmbContractNo";
     this.cmbContractNo.Size          = new System.Drawing.Size(264, 20);
     this.cmbContractNo.TabIndex      = 41;
     this.cmbContractNo.Click        += new System.EventHandler(this.cmbContractNo_Click);
     //
     // frmBillOfMaterialsAdd
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(776, 382);
     this.ControlBox        = false;
     this.Controls.Add(this.cmbContractNo);
     this.Controls.Add(this.cmbDeliveryCompany);
     this.Controls.Add(this.txtSpecialFee);
     this.Controls.Add(this.txtSpecialUnitPrice);
     this.Controls.Add(this.txtDeliveryMan);
     this.Controls.Add(this.txtProvideMan);
     this.Controls.Add(this.txtCount);
     this.Controls.Add(this.txtReceiveCount);
     this.Controls.Add(this.txtSigner);
     this.Controls.Add(this.txtSignerCompany);
     this.Controls.Add(this.txtProvideCompany);
     this.Controls.Add(this.txtBillNo);
     this.Controls.Add(this.label14);
     this.Controls.Add(this.label15);
     this.Controls.Add(this.label19);
     this.Controls.Add(this.dtpTimeOfValidity);
     this.Controls.Add(this.label16);
     this.Controls.Add(this.dtpProvideEndDate);
     this.Controls.Add(this.label13);
     this.Controls.Add(this.dtpProvideBeginDate);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.cmbGoodsType);
     this.Controls.Add(this.label18);
     this.Controls.Add(this.cmbGoodsName);
     this.Controls.Add(this.label17);
     this.Controls.Add(this.sbtnClose);
     this.Controls.Add(this.sbtnOk);
     this.Controls.Add(this.label12);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.dtpDeliveryDate);
     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.Name          = "frmBillOfMaterialsAdd";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "专供油领料单录入";
     this.Load         += new System.EventHandler(this.frmBillOfMaterialsAdd_Load);
     this.ResumeLayout(false);
 }
Esempio n. 39
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(frmNXkhoa));
     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.label3     = new System.Windows.Forms.Label();
     this.theo       = new System.Windows.Forms.ComboBox();
     this.makp       = new System.Windows.Forms.ComboBox();
     this.label4     = new System.Windows.Forms.Label();
     this.label5     = new System.Windows.Forms.Label();
     this.loaiba     = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(0, 8);
     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(136, 8);
     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(56, 8);
     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(168, 8);
     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.Image      = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(58, 111);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 10;
     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(129, 111);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 11;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(8, 32);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(48, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Theo :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // theo
     //
     this.theo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.theo.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.theo.Items.AddRange(new object[] {
         "Nhập khoa",
         "Xuất khoa"
     });
     this.theo.Location = new System.Drawing.Point(56, 32);
     this.theo.Name     = "theo";
     this.theo.Size     = new System.Drawing.Size(192, 21);
     this.theo.TabIndex = 5;
     this.theo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // 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(56, 56);
     this.makp.Name          = "makp";
     this.makp.Size          = new System.Drawing.Size(192, 21);
     this.makp.TabIndex      = 7;
     this.makp.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(8, 56);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(48, 23);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Khoa :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(8, 80);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(48, 23);
     this.label5.TabIndex  = 8;
     this.label5.Text      = "Điều trị :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // loaiba
     //
     this.loaiba.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.loaiba.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loaiba.Items.AddRange(new object[] {
         "Nội trú",
         "Ngoại trú"
     });
     this.loaiba.Location = new System.Drawing.Point(56, 80);
     this.loaiba.Name     = "loaiba";
     this.loaiba.Size     = new System.Drawing.Size(192, 21);
     this.loaiba.TabIndex = 9;
     this.loaiba.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // frmNXkhoa
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(256, 157);
     this.Controls.Add(this.loaiba);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.theo);
     this.Controls.Add(this.label3);
     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.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmNXkhoa";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Nhập xuất khoa";
     this.Load         += new System.EventHandler(this.frmNXkhoa_Load);
     this.ResumeLayout(false);
 }
Esempio n. 40
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmChonkham));
     this.label1    = new System.Windows.Forms.Label();
     this.label2    = new System.Windows.Forms.Label();
     this.makp      = new System.Windows.Forms.ComboBox();
     this.butOk     = new System.Windows.Forms.Button();
     this.butCancel = new System.Windows.Forms.Button();
     this.ngay      = new System.Windows.Forms.DateTimePicker();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(6, 14);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(40, 18);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(6, 35);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(40, 24);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Khoa :";
     this.label2.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, ((System.Byte)(0)));
     this.makp.Location      = new System.Drawing.Point(45, 35);
     this.makp.Name          = "makp";
     this.makp.Size          = new System.Drawing.Size(171, 21);
     this.makp.TabIndex      = 2;
     this.makp.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.makp_KeyDown);
     //
     // butOk
     //
     this.butOk.Image      = ((System.Drawing.Bitmap)(resources.GetObject("butOk.Image")));
     this.butOk.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butOk.Location   = new System.Drawing.Point(38, 67);
     this.butOk.Name       = "butOk";
     this.butOk.Size       = new System.Drawing.Size(74, 28);
     this.butOk.TabIndex   = 3;
     this.butOk.Text       = "      Đồng ý";
     this.butOk.Click     += new System.EventHandler(this.butOk_Click);
     //
     // butCancel
     //
     this.butCancel.Image      = ((System.Drawing.Bitmap)(resources.GetObject("butCancel.Image")));
     this.butCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butCancel.Location   = new System.Drawing.Point(115, 67);
     this.butCancel.Name       = "butCancel";
     this.butCancel.Size       = new System.Drawing.Size(74, 28);
     this.butCancel.TabIndex   = 4;
     this.butCancel.Text       = "&Kết thúc";
     this.butCancel.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butCancel.Click     += new System.EventHandler(this.butCancel_Click);
     //
     // ngay
     //
     this.ngay.CustomFormat = "dd/MM/yyyy";
     this.ngay.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.ngay.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.ngay.Location     = new System.Drawing.Point(45, 12);
     this.ngay.Name         = "ngay";
     this.ngay.Size         = new System.Drawing.Size(83, 21);
     this.ngay.TabIndex     = 0;
     this.ngay.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.ngay_KeyDown);
     this.ngay.Validated   += new System.EventHandler(this.ngay_Validated);
     //
     // frmChonkham
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(226, 111);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.ngay,
         this.butCancel,
         this.butOk,
         this.makp,
         this.label2,
         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            = "frmChonkham";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Chọn khoa";
     this.Load           += new System.EventHandler(this.frmChonkham_Load);
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmGRVPromotion));
     this.components      = new System.ComponentModel.Container();
     this.ToolTip1        = new System.Windows.Forms.ToolTip(components);
     this.ShapeContainer1 = new Microsoft.VisualBasic.PowerPacks.ShapeContainer();
     this._DTFields_3     = new System.Windows.Forms.DateTimePicker();
     this._DTFields_2     = new System.Windows.Forms.DateTimePicker();
     this._chkFields_2    = new System.Windows.Forms.CheckBox();
     this.cmdDelete       = new System.Windows.Forms.Button();
     this.cmdAdd          = new System.Windows.Forms.Button();
     this.lvPromotion     = new System.Windows.Forms.ListView();
     this._chkFields_1    = new System.Windows.Forms.CheckBox();
     this._chkFields_0    = new System.Windows.Forms.CheckBox();
     this._DTFields_0     = new System.Windows.Forms.DateTimePicker();
     this._txtFields_0    = new System.Windows.Forms.TextBox();
     this.picButtons      = new System.Windows.Forms.Panel();
     this.cmdPrint        = new System.Windows.Forms.Button();
     this.cmdClose        = new System.Windows.Forms.Button();
     this.cmdCancel       = new System.Windows.Forms.Button();
     this._DTFields_1     = new System.Windows.Forms.DateTimePicker();
     this.Label2          = new System.Windows.Forms.Label();
     this.Label1          = new System.Windows.Forms.Label();
     this._lblLabels_1    = new System.Windows.Forms.Label();
     this._lblLabels_0    = new System.Windows.Forms.Label();
     this._lblLabels_38   = new System.Windows.Forms.Label();
     this._Shape1_2       = new Microsoft.VisualBasic.PowerPacks.RectangleShape();
     this._lbl_5          = new System.Windows.Forms.Label();
     //Me.DTFields = New AxDTPickerArray(components)
     //Me.chkFields = New Microsoft.VisualBasic.Compatibility.VB6.CheckBoxArray(components)
     //Me.lbl = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
     //Me.lblLabels = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
     //Me.txtFields = New Microsoft.VisualBasic.Compatibility.VB6.TextBoxArray(components)
     this.Shape1 = new RectangleShapeArray(components);
     this.picButtons.SuspendLayout();
     this.SuspendLayout();
     this.ToolTip1.Active = true;
     ((System.ComponentModel.ISupportInitialize) this._DTFields_3).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_2).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_0).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_1).BeginInit();
     //CType(Me.DTFields, System.ComponentModel.ISupportInitialize).BeginInit()
     //CType(Me.chkFields, System.ComponentModel.ISupportInitialize).BeginInit()
     //CType(Me.lbl, System.ComponentModel.ISupportInitialize).BeginInit()
     //CType(Me.lblLabels, System.ComponentModel.ISupportInitialize).BeginInit()
     //CType(Me.txtFields, System.ComponentModel.ISupportInitialize).BeginInit()
     ((System.ComponentModel.ISupportInitialize) this.Shape1).BeginInit();
     this.BackColor       = System.Drawing.Color.FromArgb(224, 224, 224);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Text            = "Edit GRV Deal Details";
     this.ClientSize      = new System.Drawing.Size(455, 460);
     this.Location        = new System.Drawing.Point(73, 22);
     this.ControlBox      = false;
     this.KeyPreview      = true;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.AutoScaleMode   = System.Windows.Forms.AutoScaleMode.Font;
     this.Enabled         = true;
     this.Cursor          = System.Windows.Forms.Cursors.Default;
     this.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.ShowInTaskbar   = true;
     this.HelpButton      = false;
     this.WindowState     = System.Windows.Forms.FormWindowState.Normal;
     this.Name            = "frmGRVPromotion";
     //_DTFields_3.OcxState = CType(resources.GetObject("_DTFields_3.OcxState"), System.Windows.Forms.AxHost.State)
     this._DTFields_3.Size     = new System.Drawing.Size(130, 21);
     this._DTFields_3.Location = new System.Drawing.Point(291, 112);
     this._DTFields_3.TabIndex = 20;
     this._DTFields_3.Visible  = false;
     this._DTFields_3.Name     = "_DTFields_3";
     //_DTFields_2.OcxState = CType(resources.GetObject("_DTFields_2.OcxState"), System.Windows.Forms.AxHost.State)
     this._DTFields_2.Size              = new System.Drawing.Size(130, 21);
     this._DTFields_2.Location          = new System.Drawing.Point(104, 112);
     this._DTFields_2.TabIndex          = 19;
     this._DTFields_2.Visible           = false;
     this._DTFields_2.Name              = "_DTFields_2";
     this._chkFields_2.CheckAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._chkFields_2.FlatStyle        = System.Windows.Forms.FlatStyle.Flat;
     this._chkFields_2.BackColor        = System.Drawing.Color.FromArgb(192, 192, 255);
     this._chkFields_2.Text             = "Only for Specific Time";
     this._chkFields_2.ForeColor        = System.Drawing.SystemColors.WindowText;
     this._chkFields_2.Size             = new System.Drawing.Size(151, 17);
     this._chkFields_2.Location         = new System.Drawing.Point(270, 152);
     this._chkFields_2.TabIndex         = 16;
     this._chkFields_2.Visible          = false;
     this._chkFields_2.CausesValidation = true;
     this._chkFields_2.Enabled          = true;
     this._chkFields_2.Cursor           = System.Windows.Forms.Cursors.Default;
     this._chkFields_2.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this._chkFields_2.Appearance       = System.Windows.Forms.Appearance.Normal;
     this._chkFields_2.TabStop          = true;
     this._chkFields_2.CheckState       = System.Windows.Forms.CheckState.Unchecked;
     this._chkFields_2.Name             = "_chkFields_2";
     this.cmdDelete.TextAlign           = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdDelete.Text             = "&Delete";
     this.cmdDelete.Size             = new System.Drawing.Size(94, 25);
     this.cmdDelete.Location         = new System.Drawing.Point(352, 176);
     this.cmdDelete.TabIndex         = 14;
     this.cmdDelete.TabStop          = false;
     this.cmdDelete.BackColor        = System.Drawing.SystemColors.Control;
     this.cmdDelete.CausesValidation = true;
     this.cmdDelete.Enabled          = true;
     this.cmdDelete.ForeColor        = System.Drawing.SystemColors.ControlText;
     this.cmdDelete.Cursor           = System.Windows.Forms.Cursors.Default;
     this.cmdDelete.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this.cmdDelete.Name             = "cmdDelete";
     this.cmdAdd.TextAlign           = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdAdd.Text                   = "&Add";
     this.cmdAdd.Size                   = new System.Drawing.Size(94, 25);
     this.cmdAdd.Location               = new System.Drawing.Point(2, 176);
     this.cmdAdd.TabIndex               = 13;
     this.cmdAdd.TabStop                = false;
     this.cmdAdd.BackColor              = System.Drawing.SystemColors.Control;
     this.cmdAdd.CausesValidation       = true;
     this.cmdAdd.Enabled                = true;
     this.cmdAdd.ForeColor              = System.Drawing.SystemColors.ControlText;
     this.cmdAdd.Cursor                 = System.Windows.Forms.Cursors.Default;
     this.cmdAdd.RightToLeft            = System.Windows.Forms.RightToLeft.No;
     this.cmdAdd.Name                   = "cmdAdd";
     this.lvPromotion.Size              = new System.Drawing.Size(445, 250);
     this.lvPromotion.Location          = new System.Drawing.Point(2, 206);
     this.lvPromotion.TabIndex          = 11;
     this.lvPromotion.View              = System.Windows.Forms.View.Details;
     this.lvPromotion.LabelWrap         = true;
     this.lvPromotion.HideSelection     = false;
     this.lvPromotion.FullRowSelect     = true;
     this.lvPromotion.GridLines         = true;
     this.lvPromotion.ForeColor         = System.Drawing.SystemColors.WindowText;
     this.lvPromotion.BackColor         = System.Drawing.SystemColors.Window;
     this.lvPromotion.LabelEdit         = true;
     this.lvPromotion.BorderStyle       = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lvPromotion.Name              = "lvPromotion";
     this._chkFields_1.CheckAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._chkFields_1.FlatStyle        = System.Windows.Forms.FlatStyle.Flat;
     this._chkFields_1.BackColor        = System.Drawing.Color.FromArgb(192, 192, 255);
     this._chkFields_1.Text             = "Disabled:";
     this._chkFields_1.ForeColor        = System.Drawing.SystemColors.WindowText;
     this._chkFields_1.Size             = new System.Drawing.Size(64, 13);
     this._chkFields_1.Location         = new System.Drawing.Point(54, 138);
     this._chkFields_1.TabIndex         = 7;
     this._chkFields_1.CausesValidation = true;
     this._chkFields_1.Enabled          = true;
     this._chkFields_1.Cursor           = System.Windows.Forms.Cursors.Default;
     this._chkFields_1.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this._chkFields_1.Appearance       = System.Windows.Forms.Appearance.Normal;
     this._chkFields_1.TabStop          = true;
     this._chkFields_1.CheckState       = System.Windows.Forms.CheckState.Unchecked;
     this._chkFields_1.Visible          = true;
     this._chkFields_1.Name             = "_chkFields_1";
     this._chkFields_0.CheckAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._chkFields_0.FlatStyle        = System.Windows.Forms.FlatStyle.Flat;
     this._chkFields_0.BackColor        = System.Drawing.Color.FromArgb(192, 192, 255);
     this._chkFields_0.Text             = "Apply Only to POS Channel";
     this._chkFields_0.ForeColor        = System.Drawing.SystemColors.WindowText;
     this._chkFields_0.Size             = new System.Drawing.Size(151, 13);
     this._chkFields_0.Location         = new System.Drawing.Point(270, 138);
     this._chkFields_0.TabIndex         = 8;
     this._chkFields_0.Visible          = false;
     this._chkFields_0.CausesValidation = true;
     this._chkFields_0.Enabled          = true;
     this._chkFields_0.Cursor           = System.Windows.Forms.Cursors.Default;
     this._chkFields_0.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this._chkFields_0.Appearance       = System.Windows.Forms.Appearance.Normal;
     this._chkFields_0.TabStop          = true;
     this._chkFields_0.CheckState       = System.Windows.Forms.CheckState.Unchecked;
     this._chkFields_0.Name             = "_chkFields_0";
     //_DTFields_0.OcxState = CType(resources.GetObject("_DTFields_0.OcxState"), System.Windows.Forms.AxHost.State)
     this._DTFields_0.Size              = new System.Drawing.Size(130, 22);
     this._DTFields_0.Location          = new System.Drawing.Point(105, 87);
     this._DTFields_0.TabIndex          = 4;
     this._DTFields_0.Name              = "_DTFields_0";
     this._txtFields_0.AutoSize         = false;
     this._txtFields_0.Size             = new System.Drawing.Size(315, 19);
     this._txtFields_0.Location         = new System.Drawing.Point(105, 66);
     this._txtFields_0.TabIndex         = 2;
     this._txtFields_0.AcceptsReturn    = true;
     this._txtFields_0.TextAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this._txtFields_0.BackColor        = System.Drawing.SystemColors.Window;
     this._txtFields_0.CausesValidation = true;
     this._txtFields_0.Enabled          = true;
     this._txtFields_0.ForeColor        = System.Drawing.SystemColors.WindowText;
     this._txtFields_0.HideSelection    = true;
     this._txtFields_0.ReadOnly         = false;
     this._txtFields_0.MaxLength        = 0;
     this._txtFields_0.Cursor           = System.Windows.Forms.Cursors.IBeam;
     this._txtFields_0.Multiline        = false;
     this._txtFields_0.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this._txtFields_0.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this._txtFields_0.TabStop          = true;
     this._txtFields_0.Visible          = true;
     this._txtFields_0.BorderStyle      = System.Windows.Forms.BorderStyle.FixedSingle;
     this._txtFields_0.Name             = "_txtFields_0";
     this.picButtons.Dock             = System.Windows.Forms.DockStyle.Top;
     this.picButtons.BackColor        = System.Drawing.Color.Blue;
     this.picButtons.Size             = new System.Drawing.Size(455, 39);
     this.picButtons.Location         = new System.Drawing.Point(0, 0);
     this.picButtons.TabIndex         = 10;
     this.picButtons.TabStop          = false;
     this.picButtons.CausesValidation = true;
     this.picButtons.Enabled          = true;
     this.picButtons.ForeColor        = System.Drawing.SystemColors.ControlText;
     this.picButtons.Cursor           = System.Windows.Forms.Cursors.Default;
     this.picButtons.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this.picButtons.Visible          = true;
     this.picButtons.BorderStyle      = System.Windows.Forms.BorderStyle.Fixed3D;
     this.picButtons.Name             = "picButtons";
     this.cmdPrint.TextAlign          = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdPrint.Text              = "&Print";
     this.cmdPrint.Size              = new System.Drawing.Size(73, 29);
     this.cmdPrint.Location          = new System.Drawing.Point(192, 3);
     this.cmdPrint.TabIndex          = 15;
     this.cmdPrint.TabStop           = false;
     this.cmdPrint.BackColor         = System.Drawing.SystemColors.Control;
     this.cmdPrint.CausesValidation  = true;
     this.cmdPrint.Enabled           = true;
     this.cmdPrint.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.cmdPrint.Cursor            = System.Windows.Forms.Cursors.Default;
     this.cmdPrint.RightToLeft       = System.Windows.Forms.RightToLeft.No;
     this.cmdPrint.Name              = "cmdPrint";
     this.cmdClose.TextAlign         = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdClose.Text              = "E&xit";
     this.cmdClose.Size              = new System.Drawing.Size(73, 29);
     this.cmdClose.Location          = new System.Drawing.Point(369, 3);
     this.cmdClose.TabIndex          = 12;
     this.cmdClose.TabStop           = false;
     this.cmdClose.BackColor         = System.Drawing.SystemColors.Control;
     this.cmdClose.CausesValidation  = true;
     this.cmdClose.Enabled           = true;
     this.cmdClose.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.cmdClose.Cursor            = System.Windows.Forms.Cursors.Default;
     this.cmdClose.RightToLeft       = System.Windows.Forms.RightToLeft.No;
     this.cmdClose.Name              = "cmdClose";
     this.cmdCancel.TextAlign        = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdCancel.Text             = "&Undo";
     this.cmdCancel.Size             = new System.Drawing.Size(73, 29);
     this.cmdCancel.Location         = new System.Drawing.Point(5, 3);
     this.cmdCancel.TabIndex         = 9;
     this.cmdCancel.TabStop          = false;
     this.cmdCancel.BackColor        = System.Drawing.SystemColors.Control;
     this.cmdCancel.CausesValidation = true;
     this.cmdCancel.Enabled          = true;
     this.cmdCancel.ForeColor        = System.Drawing.SystemColors.ControlText;
     this.cmdCancel.Cursor           = System.Windows.Forms.Cursors.Default;
     this.cmdCancel.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this.cmdCancel.Name             = "cmdCancel";
     //_DTFields_1.OcxState = CType(resources.GetObject("_DTFields_1.OcxState"), System.Windows.Forms.AxHost.State)
     this._DTFields_1.Size          = new System.Drawing.Size(130, 22);
     this._DTFields_1.Location      = new System.Drawing.Point(291, 87);
     this._DTFields_1.TabIndex      = 6;
     this._DTFields_1.Name          = "_DTFields_1";
     this.Label2.BackColor          = System.Drawing.Color.FromArgb(192, 192, 255);
     this.Label2.Text               = "To Time:";
     this.Label2.Size               = new System.Drawing.Size(51, 15);
     this.Label2.Location           = new System.Drawing.Point(238, 116);
     this.Label2.TabIndex           = 18;
     this.Label2.Visible            = false;
     this.Label2.TextAlign          = System.Drawing.ContentAlignment.TopLeft;
     this.Label2.Enabled            = true;
     this.Label2.ForeColor          = System.Drawing.SystemColors.ControlText;
     this.Label2.Cursor             = System.Windows.Forms.Cursors.Default;
     this.Label2.RightToLeft        = System.Windows.Forms.RightToLeft.No;
     this.Label2.UseMnemonic        = true;
     this.Label2.AutoSize           = false;
     this.Label2.BorderStyle        = System.Windows.Forms.BorderStyle.None;
     this.Label2.Name               = "Label2";
     this.Label1.BackColor          = System.Drawing.Color.FromArgb(192, 192, 255);
     this.Label1.Text               = "From Time:";
     this.Label1.Size               = new System.Drawing.Size(57, 17);
     this.Label1.Location           = new System.Drawing.Point(48, 116);
     this.Label1.TabIndex           = 17;
     this.Label1.Visible            = false;
     this.Label1.TextAlign          = System.Drawing.ContentAlignment.TopLeft;
     this.Label1.Enabled            = true;
     this.Label1.ForeColor          = System.Drawing.SystemColors.ControlText;
     this.Label1.Cursor             = System.Windows.Forms.Cursors.Default;
     this.Label1.RightToLeft        = System.Windows.Forms.RightToLeft.No;
     this.Label1.UseMnemonic        = true;
     this.Label1.AutoSize           = false;
     this.Label1.BorderStyle        = System.Windows.Forms.BorderStyle.None;
     this.Label1.Name               = "Label1";
     this._lblLabels_1.TextAlign    = System.Drawing.ContentAlignment.TopRight;
     this._lblLabels_1.Text         = "End Date:";
     this._lblLabels_1.Size         = new System.Drawing.Size(48, 13);
     this._lblLabels_1.Location     = new System.Drawing.Point(240, 90);
     this._lblLabels_1.TabIndex     = 5;
     this._lblLabels_1.BackColor    = System.Drawing.Color.Transparent;
     this._lblLabels_1.Enabled      = true;
     this._lblLabels_1.ForeColor    = System.Drawing.SystemColors.ControlText;
     this._lblLabels_1.Cursor       = System.Windows.Forms.Cursors.Default;
     this._lblLabels_1.RightToLeft  = System.Windows.Forms.RightToLeft.No;
     this._lblLabels_1.UseMnemonic  = true;
     this._lblLabels_1.Visible      = true;
     this._lblLabels_1.AutoSize     = true;
     this._lblLabels_1.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this._lblLabels_1.Name         = "_lblLabels_1";
     this._lblLabels_0.TextAlign    = System.Drawing.ContentAlignment.TopRight;
     this._lblLabels_0.Text         = "Start Date:";
     this._lblLabels_0.Size         = new System.Drawing.Size(51, 13);
     this._lblLabels_0.Location     = new System.Drawing.Point(52, 90);
     this._lblLabels_0.TabIndex     = 3;
     this._lblLabels_0.BackColor    = System.Drawing.Color.Transparent;
     this._lblLabels_0.Enabled      = true;
     this._lblLabels_0.ForeColor    = System.Drawing.SystemColors.ControlText;
     this._lblLabels_0.Cursor       = System.Windows.Forms.Cursors.Default;
     this._lblLabels_0.RightToLeft  = System.Windows.Forms.RightToLeft.No;
     this._lblLabels_0.UseMnemonic  = true;
     this._lblLabels_0.Visible      = true;
     this._lblLabels_0.AutoSize     = true;
     this._lblLabels_0.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this._lblLabels_0.Name         = "_lblLabels_0";
     this._lblLabels_38.TextAlign   = System.Drawing.ContentAlignment.TopRight;
     this._lblLabels_38.Text        = "Deal Name:";
     this._lblLabels_38.Size        = new System.Drawing.Size(56, 13);
     this._lblLabels_38.Location    = new System.Drawing.Point(44, 69);
     this._lblLabels_38.TabIndex    = 1;
     this._lblLabels_38.BackColor   = System.Drawing.Color.Transparent;
     this._lblLabels_38.Enabled     = true;
     this._lblLabels_38.ForeColor   = System.Drawing.SystemColors.ControlText;
     this._lblLabels_38.Cursor      = System.Windows.Forms.Cursors.Default;
     this._lblLabels_38.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this._lblLabels_38.UseMnemonic = true;
     this._lblLabels_38.Visible     = true;
     this._lblLabels_38.AutoSize    = true;
     this._lblLabels_38.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this._lblLabels_38.Name        = "_lblLabels_38";
     this._Shape1_2.BackColor       = System.Drawing.Color.FromArgb(192, 192, 255);
     this._Shape1_2.BackStyle       = Microsoft.VisualBasic.PowerPacks.BackStyle.Opaque;
     this._Shape1_2.Size            = new System.Drawing.Size(415, 112);
     this._Shape1_2.Location        = new System.Drawing.Point(15, 60);
     this._Shape1_2.BorderColor     = System.Drawing.SystemColors.WindowText;
     this._Shape1_2.BorderStyle     = System.Drawing.Drawing2D.DashStyle.Solid;
     this._Shape1_2.BorderWidth     = 1;
     this._Shape1_2.FillColor       = System.Drawing.Color.Black;
     this._Shape1_2.FillStyle       = Microsoft.VisualBasic.PowerPacks.FillStyle.Transparent;
     this._Shape1_2.Visible         = true;
     this._Shape1_2.Name            = "_Shape1_2";
     this._lbl_5.BackColor          = System.Drawing.Color.Transparent;
     this._lbl_5.Text               = "&1. General";
     this._lbl_5.Font               = new System.Drawing.Font("Arial", 8.25f, System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(178));
     this._lbl_5.Size               = new System.Drawing.Size(60, 13);
     this._lbl_5.Location           = new System.Drawing.Point(15, 45);
     this._lbl_5.TabIndex           = 0;
     this._lbl_5.TextAlign          = System.Drawing.ContentAlignment.TopLeft;
     this._lbl_5.Enabled            = true;
     this._lbl_5.ForeColor          = System.Drawing.SystemColors.ControlText;
     this._lbl_5.Cursor             = System.Windows.Forms.Cursors.Default;
     this._lbl_5.RightToLeft        = System.Windows.Forms.RightToLeft.No;
     this._lbl_5.UseMnemonic        = true;
     this._lbl_5.Visible            = true;
     this._lbl_5.AutoSize           = true;
     this._lbl_5.BorderStyle        = System.Windows.Forms.BorderStyle.None;
     this._lbl_5.Name               = "_lbl_5";
     this.Controls.Add(_DTFields_3);
     this.Controls.Add(_DTFields_2);
     this.Controls.Add(_chkFields_2);
     this.Controls.Add(cmdDelete);
     this.Controls.Add(cmdAdd);
     this.Controls.Add(lvPromotion);
     this.Controls.Add(_chkFields_1);
     this.Controls.Add(_chkFields_0);
     this.Controls.Add(_DTFields_0);
     this.Controls.Add(_txtFields_0);
     this.Controls.Add(picButtons);
     this.Controls.Add(_DTFields_1);
     this.Controls.Add(Label2);
     this.Controls.Add(Label1);
     this.Controls.Add(_lblLabels_1);
     this.Controls.Add(_lblLabels_0);
     this.Controls.Add(_lblLabels_38);
     this.ShapeContainer1.Shapes.Add(_Shape1_2);
     this.Controls.Add(_lbl_5);
     this.Controls.Add(ShapeContainer1);
     this.picButtons.Controls.Add(cmdPrint);
     this.picButtons.Controls.Add(cmdClose);
     this.picButtons.Controls.Add(cmdCancel);
     //Me.DTFields.SetIndex(_DTFields_3, CType(3, Short))
     //Me.DTFields.SetIndex(_DTFields_2, CType(2, Short))
     //Me.DTFields.SetIndex(_DTFields_0, CType(0, Short))
     //Me.DTFields.SetIndex(_DTFields_1, CType(1, Short))
     //Me.chkFields.SetIndex(_chkFields_2, CType(2, Short))
     //Me.chkFields.SetIndex(_chkFields_1, CType(1, Short))
     //Me.chkFields.SetIndex(_chkFields_0, CType(0, Short))
     //Me.lbl.SetIndex(_lbl_5, CType(5, Short))
     //Me.lblLabels.SetIndex(_lblLabels_1, CType(1, Short))
     //Me.lblLabels.SetIndex(_lblLabels_0, CType(0, Short))
     //Me.lblLabels.SetIndex(_lblLabels_38, CType(38, Short))
     //Me.txtFields.SetIndex(_txtFields_0, CType(0, Short))
     this.Shape1.SetIndex(_Shape1_2, Convert.ToInt16(2));
     ((System.ComponentModel.ISupportInitialize) this.Shape1).EndInit();
     //CType(Me.txtFields, System.ComponentModel.ISupportInitialize).EndInit()
     //CType(Me.lblLabels, System.ComponentModel.ISupportInitialize).EndInit()
     //CType(Me.lbl, System.ComponentModel.ISupportInitialize).EndInit()
     //CType(Me.chkFields, System.ComponentModel.ISupportInitialize).EndInit()
     //CType(Me.DTFields, System.ComponentModel.ISupportInitialize).EndInit()
     ((System.ComponentModel.ISupportInitialize) this._DTFields_1).EndInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_0).EndInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_2).EndInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_3).EndInit();
     this.picButtons.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 42
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(rptNhap_th));
     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.manguon    = new System.Windows.Forms.ComboBox();
     this.label4     = new System.Windows.Forms.Label();
     this.nhom       = new System.Windows.Forms.CheckedListBox();
     this.chkIn      = new System.Windows.Forms.CheckBox();
     this.muamoi     = new System.Windows.Forms.CheckBox();
     this.kho        = new System.Windows.Forms.CheckedListBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(1, 15);
     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(134, 15);
     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(56, 15);
     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(169, 15);
     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);
     //
     // butIn
     //
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(174, 275);
     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);
     //
     // butKetthuc
     //
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(247, 275);
     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);
     //
     // 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(56, 38);
     this.manguon.Name     = "manguon";
     this.manguon.Size     = new System.Drawing.Size(192, 21);
     this.manguon.TabIndex = 2;
     this.manguon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(1, 38);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(56, 23);
     this.label4.TabIndex  = 8;
     this.label4.Text      = "Nguồn :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // nhom
     //
     this.nhom.CheckOnClick = true;
     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(252, 16);
     this.nhom.Name         = "nhom";
     this.nhom.Size         = new System.Drawing.Size(224, 244);
     this.nhom.TabIndex     = 5;
     //
     // chkIn
     //
     this.chkIn.Location = new System.Drawing.Point(336, 264);
     this.chkIn.Name     = "chkIn";
     this.chkIn.Size     = new System.Drawing.Size(144, 24);
     this.chkIn.TabIndex = 11;
     this.chkIn.Text     = "Không in nhóm đã chọn";
     //
     // muamoi
     //
     this.muamoi.Checked    = true;
     this.muamoi.CheckState = System.Windows.Forms.CheckState.Checked;
     this.muamoi.Location   = new System.Drawing.Point(336, 284);
     this.muamoi.Name       = "muamoi";
     this.muamoi.Size       = new System.Drawing.Size(104, 24);
     this.muamoi.TabIndex   = 12;
     this.muamoi.Text       = "Chỉ in mua mới";
     //
     // kho
     //
     this.kho.CheckOnClick = true;
     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(56, 63);
     this.kho.Name         = "kho";
     this.kho.Size         = new System.Drawing.Size(192, 196);
     this.kho.TabIndex     = 4;
     //
     // rptNhap_th
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(490, 319);
     this.Controls.Add(this.muamoi);
     this.Controls.Add(this.chkIn);
     this.Controls.Add(this.nhom);
     this.Controls.Add(this.kho);
     this.Controls.Add(this.manguon);
     this.Controls.Add(this.label4);
     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            = "rptNhap_th";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Bảng kê nhập tổng hợp";
     this.Load           += new System.EventHandler(this.rptNhap_th_Load);
     this.MouseMove      += new System.Windows.Forms.MouseEventHandler(this.rptNhap_th_MouseMove);
     this.ResumeLayout(false);
 }
Esempio n. 43
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(frmDSBacsi));
     this.label1     = new System.Windows.Forms.Label();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label3     = new System.Windows.Forms.Label();
     this.butXem     = new System.Windows.Forms.Button();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.quay       = new System.Windows.Forms.CheckedListBox();
     this.label2     = new System.Windows.Forms.Label();
     this.tyle       = new System.Windows.Forms.NumericUpDown();
     this.label4     = new System.Windows.Forms.Label();
     this.butExcel   = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.tyle)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(10, 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;
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = global::Duoc.Properties.Resources.close_r;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(169, 208);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 6;
     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(135, 5);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(40, 23);
     this.label3.TabIndex  = 12;
     this.label3.Text      = "đến :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butXem
     //
     this.butXem.Image      = global::Duoc.Properties.Resources.Print1;
     this.butXem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butXem.Location   = new System.Drawing.Point(29, 208);
     this.butXem.Name       = "butXem";
     this.butXem.Size       = new System.Drawing.Size(70, 25);
     this.butXem.TabIndex   = 4;
     this.butXem.Text       = "     &In";
     this.butXem.Click     += new System.EventHandler(this.butXem_Click);
     //
     // tu
     //
     this.tu.CalendarFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(65, 5);
     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.CalendarFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.CustomFormat = "dd/MM/yyyy";
     this.den.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(177, 5);
     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);
     //
     // quay
     //
     this.quay.CheckOnClick = true;
     this.quay.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.quay.Location     = new System.Drawing.Point(65, 28);
     this.quay.Name         = "quay";
     this.quay.Size         = new System.Drawing.Size(192, 148);
     this.quay.TabIndex     = 2;
     this.quay.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(-9, 176);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(80, 23);
     this.label2.TabIndex  = 13;
     this.label2.Text      = "Trích thưởng :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tyle
     //
     this.tyle.Location = new System.Drawing.Point(65, 178);
     this.tyle.Name     = "tyle";
     this.tyle.Size     = new System.Drawing.Size(167, 20);
     this.tyle.TabIndex = 3;
     this.tyle.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.tyle.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(237, 176);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(16, 23);
     this.label4.TabIndex  = 15;
     this.label4.Text      = "%";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // butExcel
     //
     this.butExcel.Image      = global::Duoc.Properties.Resources.Export;
     this.butExcel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butExcel.Location   = new System.Drawing.Point(99, 208);
     this.butExcel.Name       = "butExcel";
     this.butExcel.Size       = new System.Drawing.Size(70, 25);
     this.butExcel.TabIndex   = 5;
     this.butExcel.Text       = "     &Excel";
     this.butExcel.Click     += new System.EventHandler(this.butExcel_Click);
     //
     // frmDSBacsi
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(266, 247);
     this.Controls.Add(this.butExcel);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.tyle);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.butXem);
     this.Controls.Add(this.quay);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.butKetthuc);
     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            = "frmDSBacsi";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Báo cáo doanh thu theo bác sĩ";
     this.Load           += new System.EventHandler(this.frmDSBacsi_Load);
     ((System.ComponentModel.ISupportInitialize)(this.tyle)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 44
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(Bieu11_khoa));
     this.label1     = new System.Windows.Forms.Label();
     this.loaibc     = new System.Windows.Forms.ComboBox();
     this.ky         = new System.Windows.Forms.ComboBox();
     this.label2     = new System.Windows.Forms.Label();
     this.label3     = new System.Windows.Forms.Label();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.groupBox1  = new System.Windows.Forms.GroupBox();
     this.phatsinh   = new System.Windows.Forms.RadioButton();
     this.mau        = new System.Windows.Forms.RadioButton();
     this.label4     = new System.Windows.Forms.Label();
     this.nam        = new System.Windows.Forms.NumericUpDown();
     this.butXem     = new System.Windows.Forms.Button();
     this.makp       = new System.Windows.Forms.CheckedListBox();
     this.time       = new System.Windows.Forms.CheckBox();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nam)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label1.Location  = new System.Drawing.Point(-2, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(80, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Báo cáo theo :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // loaibc
     //
     this.loaibc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.loaibc.Font          = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loaibc.Items.AddRange(new object[] {
         "Kỳ",
         "Ngày"
     });
     this.loaibc.Location              = new System.Drawing.Point(76, 11);
     this.loaibc.Name                  = "loaibc";
     this.loaibc.Size                  = new System.Drawing.Size(56, 22);
     this.loaibc.TabIndex              = 0;
     this.loaibc.SelectedIndexChanged += new System.EventHandler(this.loaibc_SelectedIndexChanged);
     this.loaibc.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.loaibc_KeyDown);
     //
     // ky
     //
     this.ky.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.ky.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ky.Font          = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ky.Items.AddRange(new object[] {
         "03 tháng",
         "06 tháng",
         "09 tháng",
         "12 tháng"
     });
     this.ky.Location = new System.Drawing.Point(132, 11);
     this.ky.Name     = "ky";
     this.ky.Size     = new System.Drawing.Size(79, 22);
     this.ky.TabIndex = 1;
     this.ky.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ky_KeyDown);
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(-2, 33);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(80, 23);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Từ ngày :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label3.Location  = new System.Drawing.Point(166, 35);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(38, 23);
     this.label3.TabIndex  = 5;
     this.label3.Text      = "đến :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 9F, 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(76, 35);
     this.tu.Name         = "tu";
     this.tu.Size         = new System.Drawing.Size(92, 22);
     this.tu.TabIndex     = 4;
     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", 9F, 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(204, 35);
     this.den.Name         = "den";
     this.den.Size         = new System.Drawing.Size(92, 22);
     this.den.TabIndex     = 6;
     this.den.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.den_KeyDown);
     //
     // butIn
     //
     this.butIn.ForeColor  = System.Drawing.SystemColors.ControlText;
     this.butIn.Image      = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(148, 162);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 10;
     this.butIn.Text       = "      &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.ForeColor  = System.Drawing.SystemColors.ControlText;
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(218, 162);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 11;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.phatsinh);
     this.groupBox1.Controls.Add(this.mau);
     this.groupBox1.Location = new System.Drawing.Point(76, 56);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(220, 72);
     this.groupBox1.TabIndex = 8;
     this.groupBox1.TabStop  = false;
     //
     // phatsinh
     //
     this.phatsinh.ForeColor = System.Drawing.SystemColors.ControlText;
     this.phatsinh.Location  = new System.Drawing.Point(8, 40);
     this.phatsinh.Name      = "phatsinh";
     this.phatsinh.Size      = new System.Drawing.Size(208, 24);
     this.phatsinh.TabIndex  = 1;
     this.phatsinh.Text      = "Chỉ xem có mục có số liệu phát sinh";
     this.phatsinh.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.phatsinh_KeyDown);
     //
     // mau
     //
     this.mau.ForeColor = System.Drawing.SystemColors.ControlText;
     this.mau.Location  = new System.Drawing.Point(8, 15);
     this.mau.Name      = "mau";
     this.mau.Size      = new System.Drawing.Size(200, 24);
     this.mau.TabIndex  = 0;
     this.mau.Text      = "Tổng hợp theo mẫu báo cáo";
     this.mau.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.mau_KeyDown);
     //
     // label4
     //
     this.label4.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label4.Location  = new System.Drawing.Point(204, 11);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(40, 23);
     this.label4.TabIndex  = 2;
     this.label4.Text      = "Năm :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // nam
     //
     this.nam.BackColor = System.Drawing.SystemColors.HighlightText;
     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(244, 11);
     this.nam.Maximum   = new decimal(new int[] {
         3000,
         0,
         0,
         0
     });
     this.nam.Minimum = new decimal(new int[] {
         1997,
         0,
         0,
         0
     });
     this.nam.Name      = "nam";
     this.nam.Size      = new System.Drawing.Size(52, 22);
     this.nam.TabIndex  = 3;
     this.nam.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.nam.Value     = new decimal(new int[] {
         2000,
         0,
         0,
         0
     });
     this.nam.KeyDown += new System.Windows.Forms.KeyEventHandler(this.nam_KeyDown);
     //
     // butXem
     //
     this.butXem.ForeColor  = System.Drawing.SystemColors.ControlText;
     this.butXem.Image      = ((System.Drawing.Image)(resources.GetObject("butXem.Image")));
     this.butXem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butXem.Location   = new System.Drawing.Point(78, 162);
     this.butXem.Name       = "butXem";
     this.butXem.Size       = new System.Drawing.Size(70, 25);
     this.butXem.TabIndex   = 9;
     this.butXem.Text       = "     &Xem";
     this.butXem.Click     += new System.EventHandler(this.butXem_Click);
     //
     // makp
     //
     this.makp.CheckOnClick = true;
     this.makp.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makp.Location     = new System.Drawing.Point(304, 8);
     this.makp.Name         = "makp";
     this.makp.Size         = new System.Drawing.Size(184, 164);
     this.makp.TabIndex     = 12;
     this.makp.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // time
     //
     this.time.ForeColor = System.Drawing.SystemColors.ControlText;
     this.time.Location  = new System.Drawing.Point(77, 133);
     this.time.Name      = "time";
     this.time.Size      = new System.Drawing.Size(219, 16);
     this.time.TabIndex  = 106;
     this.time.Text      = "checkBox1";
     //
     // Bieu11_khoa
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(496, 205);
     this.Controls.Add(this.time);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.den);
     this.Controls.Add(this.butXem);
     this.Controls.Add(this.ky);
     this.Controls.Add(this.nam);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.loaibc);
     this.Controls.Add(this.label1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "Bieu11_khoa";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Tình hình bệnh tật,tử vong theo khoa";
     this.Load         += new System.EventHandler(this.Bieu11_khoa_Load);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.nam)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 45
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmAddress));
     this.grpControls            = new System.Windows.Forms.GroupBox();
     this.btnQuit                = new System.Windows.Forms.Button();
     this.btnSave                = new System.Windows.Forms.Button();
     this.btnCancel              = new System.Windows.Forms.Button();
     this.btnDelete              = new System.Windows.Forms.Button();
     this.btnAdd                 = new System.Windows.Forms.Button();
     this.btnEdit                = new System.Windows.Forms.Button();
     this.grdAddress             = new System.Windows.Forms.DataGrid();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.groupBox1              = new System.Windows.Forms.GroupBox();
     this.txtSearchByName        = new System.Windows.Forms.TextBox();
     this.label1                 = new System.Windows.Forms.Label();
     this.grpFields              = new System.Windows.Forms.GroupBox();
     this.txtOtherDetails        = new System.Windows.Forms.RichTextBox();
     this.txtMailId              = new System.Windows.Forms.TextBox();
     this.txtDesignation         = new System.Windows.Forms.TextBox();
     this.txtNationality         = new System.Windows.Forms.TextBox();
     this.txtQualification       = new System.Windows.Forms.TextBox();
     this.dtDOB         = new System.Windows.Forms.DateTimePicker();
     this.txtFatherName = new System.Windows.Forms.TextBox();
     this.label13       = new System.Windows.Forms.Label();
     this.txtPhone      = new System.Windows.Forms.TextBox();
     this.txtAddress    = new System.Windows.Forms.TextBox();
     this.txtName       = new System.Windows.Forms.TextBox();
     this.label12       = new System.Windows.Forms.Label();
     this.label11       = new System.Windows.Forms.Label();
     this.label10       = new System.Windows.Forms.Label();
     this.label9        = new System.Windows.Forms.Label();
     this.label8        = new System.Windows.Forms.Label();
     this.label6        = new System.Windows.Forms.Label();
     this.label4        = new System.Windows.Forms.Label();
     this.label3        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.grpControls.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grdAddress)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.grpFields.SuspendLayout();
     this.SuspendLayout();
     //
     // grpControls
     //
     this.grpControls.Controls.Add(this.btnQuit);
     this.grpControls.Controls.Add(this.btnSave);
     this.grpControls.Controls.Add(this.btnCancel);
     this.grpControls.Controls.Add(this.btnDelete);
     this.grpControls.Controls.Add(this.btnAdd);
     this.grpControls.Controls.Add(this.btnEdit);
     this.grpControls.Controls.Add(this.grdAddress);
     this.grpControls.Dock     = System.Windows.Forms.DockStyle.Top;
     this.grpControls.Location = new System.Drawing.Point(0, 0);
     this.grpControls.Name     = "grpControls";
     this.grpControls.Size     = new System.Drawing.Size(804, 248);
     this.grpControls.TabIndex = 0;
     this.grpControls.TabStop  = false;
     //
     // btnQuit
     //
     this.btnQuit.BackColor  = System.Drawing.Color.LightCyan;
     this.btnQuit.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.btnQuit.Image      = ((System.Drawing.Image)(resources.GetObject("btnQuit.Image")));
     this.btnQuit.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
     this.btnQuit.Location   = new System.Drawing.Point(560, 16);
     this.btnQuit.Name       = "btnQuit";
     this.btnQuit.Size       = new System.Drawing.Size(71, 40);
     this.btnQuit.TabIndex   = 43;
     this.btnQuit.Text       = "C&lose";
     this.btnQuit.TextAlign  = System.Drawing.ContentAlignment.BottomCenter;
     this.btnQuit.Click     += new System.EventHandler(this.btnQuit_Click);
     //
     // btnSave
     //
     this.btnSave.BackColor  = System.Drawing.Color.LightCyan;
     this.btnSave.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.btnSave.Image      = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
     this.btnSave.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
     this.btnSave.Location   = new System.Drawing.Point(384, 16);
     this.btnSave.Name       = "btnSave";
     this.btnSave.Size       = new System.Drawing.Size(72, 40);
     this.btnSave.TabIndex   = 42;
     this.btnSave.Text       = "&Save";
     this.btnSave.TextAlign  = System.Drawing.ContentAlignment.BottomCenter;
     this.btnSave.Click     += new System.EventHandler(this.btnSave_Click);
     //
     // btnCancel
     //
     this.btnCancel.BackColor  = System.Drawing.Color.LightCyan;
     this.btnCancel.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.btnCancel.Image      = ((System.Drawing.Image)(resources.GetObject("btnCancel.Image")));
     this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
     this.btnCancel.Location   = new System.Drawing.Point(472, 16);
     this.btnCancel.Name       = "btnCancel";
     this.btnCancel.Size       = new System.Drawing.Size(72, 40);
     this.btnCancel.TabIndex   = 36;
     this.btnCancel.Text       = "&Cancel";
     this.btnCancel.TextAlign  = System.Drawing.ContentAlignment.BottomCenter;
     this.btnCancel.Click     += new System.EventHandler(this.btnCancel_Click);
     //
     // btnDelete
     //
     this.btnDelete.BackColor  = System.Drawing.Color.LightCyan;
     this.btnDelete.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.btnDelete.Image      = ((System.Drawing.Image)(resources.GetObject("btnDelete.Image")));
     this.btnDelete.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
     this.btnDelete.Location   = new System.Drawing.Point(296, 16);
     this.btnDelete.Name       = "btnDelete";
     this.btnDelete.Size       = new System.Drawing.Size(72, 40);
     this.btnDelete.TabIndex   = 35;
     this.btnDelete.Text       = "&Delete";
     this.btnDelete.TextAlign  = System.Drawing.ContentAlignment.BottomCenter;
     this.btnDelete.Click     += new System.EventHandler(this.btnDelete_Click);
     //
     // btnAdd
     //
     this.btnAdd.BackColor  = System.Drawing.Color.LightCyan;
     this.btnAdd.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.btnAdd.Image      = ((System.Drawing.Image)(resources.GetObject("btnAdd.Image")));
     this.btnAdd.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
     this.btnAdd.Location   = new System.Drawing.Point(120, 16);
     this.btnAdd.Name       = "btnAdd";
     this.btnAdd.Size       = new System.Drawing.Size(72, 40);
     this.btnAdd.TabIndex   = 33;
     this.btnAdd.Text       = "&AddNew";
     this.btnAdd.TextAlign  = System.Drawing.ContentAlignment.BottomCenter;
     this.btnAdd.Click     += new System.EventHandler(this.btnAdd_Click);
     //
     // btnEdit
     //
     this.btnEdit.BackColor  = System.Drawing.Color.LightCyan;
     this.btnEdit.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.btnEdit.Image      = ((System.Drawing.Image)(resources.GetObject("btnEdit.Image")));
     this.btnEdit.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
     this.btnEdit.Location   = new System.Drawing.Point(208, 16);
     this.btnEdit.Name       = "btnEdit";
     this.btnEdit.Size       = new System.Drawing.Size(72, 40);
     this.btnEdit.TabIndex   = 34;
     this.btnEdit.Text       = "&Edit";
     this.btnEdit.TextAlign  = System.Drawing.ContentAlignment.BottomCenter;
     this.btnEdit.Click     += new System.EventHandler(this.btnEdit_Click);
     //
     // grdAddress
     //
     this.grdAddress.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.grdAddress.CaptionText     = "Address Book";
     this.grdAddress.DataMember      = "";
     this.grdAddress.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.grdAddress.Location        = new System.Drawing.Point(40, 64);
     this.grdAddress.Name            = "grdAddress";
     this.grdAddress.ReadOnly        = true;
     this.grdAddress.Size            = new System.Drawing.Size(752, 168);
     this.grdAddress.TabIndex        = 6;
     this.grdAddress.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     this.grdAddress.CurrentCellChanged += new System.EventHandler(this.grdAddress_CurrentCellChanged);
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.grdAddress;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn6,
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn2,
         this.dataGridTextBoxColumn3,
         this.dataGridTextBoxColumn4
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName     = "AddressDB";
     this.dataGridTableStyle1.ReadOnly        = true;
     //
     // dataGridTextBoxColumn6
     //
     this.dataGridTextBoxColumn6.Format      = "";
     this.dataGridTextBoxColumn6.FormatInfo  = null;
     this.dataGridTextBoxColumn6.MappingName = "RecId";
     this.dataGridTextBoxColumn6.NullText    = "";
     this.dataGridTextBoxColumn6.ReadOnly    = true;
     this.dataGridTextBoxColumn6.Width       = 0;
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format      = "";
     this.dataGridTextBoxColumn1.FormatInfo  = null;
     this.dataGridTextBoxColumn1.HeaderText  = "Name";
     this.dataGridTextBoxColumn1.MappingName = "Name";
     this.dataGridTextBoxColumn1.NullText    = "";
     this.dataGridTextBoxColumn1.ReadOnly    = true;
     this.dataGridTextBoxColumn1.Width       = 130;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format      = "";
     this.dataGridTextBoxColumn2.FormatInfo  = null;
     this.dataGridTextBoxColumn2.HeaderText  = "Address";
     this.dataGridTextBoxColumn2.MappingName = "Address";
     this.dataGridTextBoxColumn2.NullText    = "";
     this.dataGridTextBoxColumn2.ReadOnly    = true;
     this.dataGridTextBoxColumn2.Width       = 140;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format      = "";
     this.dataGridTextBoxColumn3.FormatInfo  = null;
     this.dataGridTextBoxColumn3.HeaderText  = "Phone";
     this.dataGridTextBoxColumn3.MappingName = "Phone";
     this.dataGridTextBoxColumn3.NullText    = "";
     this.dataGridTextBoxColumn3.ReadOnly    = true;
     this.dataGridTextBoxColumn3.Width       = 120;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Format      = "";
     this.dataGridTextBoxColumn4.FormatInfo  = null;
     this.dataGridTextBoxColumn4.HeaderText  = "E-mail";
     this.dataGridTextBoxColumn4.MappingName = "Email";
     this.dataGridTextBoxColumn4.NullText    = "";
     this.dataGridTextBoxColumn4.ReadOnly    = true;
     this.dataGridTextBoxColumn4.Width       = 140;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.txtSearchByName);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.groupBox1.Location = new System.Drawing.Point(0, 248);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(804, 48);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     //
     // txtSearchByName
     //
     this.txtSearchByName.BackColor    = System.Drawing.Color.White;
     this.txtSearchByName.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtSearchByName.Location     = new System.Drawing.Point(100, 14);
     this.txtSearchByName.Name         = "txtSearchByName";
     this.txtSearchByName.Size         = new System.Drawing.Size(180, 20);
     this.txtSearchByName.TabIndex     = 1;
     this.txtSearchByName.Text         = "";
     this.txtSearchByName.TextChanged += new System.EventHandler(this.txtSearchByName_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 16);
     this.label1.Name     = "label1";
     this.label1.TabIndex = 0;
     this.label1.Text     = "Search by Name:";
     //
     // grpFields
     //
     this.grpFields.Controls.Add(this.txtOtherDetails);
     this.grpFields.Controls.Add(this.txtMailId);
     this.grpFields.Controls.Add(this.txtDesignation);
     this.grpFields.Controls.Add(this.txtNationality);
     this.grpFields.Controls.Add(this.txtQualification);
     this.grpFields.Controls.Add(this.dtDOB);
     this.grpFields.Controls.Add(this.txtFatherName);
     this.grpFields.Controls.Add(this.label13);
     this.grpFields.Controls.Add(this.txtPhone);
     this.grpFields.Controls.Add(this.txtAddress);
     this.grpFields.Controls.Add(this.txtName);
     this.grpFields.Controls.Add(this.label12);
     this.grpFields.Controls.Add(this.label11);
     this.grpFields.Controls.Add(this.label10);
     this.grpFields.Controls.Add(this.label9);
     this.grpFields.Controls.Add(this.label8);
     this.grpFields.Controls.Add(this.label6);
     this.grpFields.Controls.Add(this.label4);
     this.grpFields.Controls.Add(this.label3);
     this.grpFields.Controls.Add(this.label2);
     this.grpFields.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.grpFields.Location = new System.Drawing.Point(0, 296);
     this.grpFields.Name     = "grpFields";
     this.grpFields.Size     = new System.Drawing.Size(804, 245);
     this.grpFields.TabIndex = 2;
     this.grpFields.TabStop  = false;
     //
     // txtOtherDetails
     //
     this.txtOtherDetails.BackColor = System.Drawing.Color.White;
     this.txtOtherDetails.Location  = new System.Drawing.Point(512, 124);
     this.txtOtherDetails.Name      = "txtOtherDetails";
     this.txtOtherDetails.Size      = new System.Drawing.Size(256, 116);
     this.txtOtherDetails.TabIndex  = 23;
     this.txtOtherDetails.Text      = "";
     //
     // txtMailId
     //
     this.txtMailId.BackColor   = System.Drawing.Color.White;
     this.txtMailId.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtMailId.Location    = new System.Drawing.Point(512, 96);
     this.txtMailId.Name        = "txtMailId";
     this.txtMailId.Size        = new System.Drawing.Size(180, 20);
     this.txtMailId.TabIndex    = 22;
     this.txtMailId.Text        = "";
     //
     // txtDesignation
     //
     this.txtDesignation.BackColor   = System.Drawing.Color.White;
     this.txtDesignation.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtDesignation.Location    = new System.Drawing.Point(512, 70);
     this.txtDesignation.Name        = "txtDesignation";
     this.txtDesignation.Size        = new System.Drawing.Size(180, 20);
     this.txtDesignation.TabIndex    = 21;
     this.txtDesignation.Text        = "";
     //
     // txtNationality
     //
     this.txtNationality.BackColor   = System.Drawing.Color.White;
     this.txtNationality.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtNationality.Location    = new System.Drawing.Point(512, 43);
     this.txtNationality.Name        = "txtNationality";
     this.txtNationality.Size        = new System.Drawing.Size(180, 20);
     this.txtNationality.TabIndex    = 20;
     this.txtNationality.Text        = "";
     //
     // txtQualification
     //
     this.txtQualification.BackColor   = System.Drawing.Color.White;
     this.txtQualification.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtQualification.Location    = new System.Drawing.Point(512, 16);
     this.txtQualification.Name        = "txtQualification";
     this.txtQualification.Size        = new System.Drawing.Size(180, 20);
     this.txtQualification.TabIndex    = 19;
     this.txtQualification.Text        = "";
     //
     // dtDOB
     //
     this.dtDOB.CalendarMonthBackground = System.Drawing.Color.White;
     this.dtDOB.CustomFormat            = "dd/MMM/yyyy";
     this.dtDOB.Format   = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtDOB.Location = new System.Drawing.Point(100, 194);
     this.dtDOB.Name     = "dtDOB";
     this.dtDOB.Size     = new System.Drawing.Size(96, 20);
     this.dtDOB.TabIndex = 17;
     //
     // txtFatherName
     //
     this.txtFatherName.BackColor   = System.Drawing.Color.White;
     this.txtFatherName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtFatherName.Location    = new System.Drawing.Point(100, 140);
     this.txtFatherName.Name        = "txtFatherName";
     this.txtFatherName.Size        = new System.Drawing.Size(180, 20);
     this.txtFatherName.TabIndex    = 15;
     this.txtFatherName.Text        = "";
     //
     // label13
     //
     this.label13.Location = new System.Drawing.Point(12, 142);
     this.label13.Name     = "label13";
     this.label13.TabIndex = 14;
     this.label13.Text     = "FatherName:";
     //
     // txtPhone
     //
     this.txtPhone.BackColor   = System.Drawing.Color.White;
     this.txtPhone.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtPhone.Location    = new System.Drawing.Point(100, 113);
     this.txtPhone.Name        = "txtPhone";
     this.txtPhone.Size        = new System.Drawing.Size(180, 20);
     this.txtPhone.TabIndex    = 13;
     this.txtPhone.Text        = "";
     //
     // txtAddress
     //
     this.txtAddress.BackColor   = System.Drawing.Color.White;
     this.txtAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtAddress.Location    = new System.Drawing.Point(100, 42);
     this.txtAddress.Multiline   = true;
     this.txtAddress.Name        = "txtAddress";
     this.txtAddress.Size        = new System.Drawing.Size(180, 64);
     this.txtAddress.TabIndex    = 12;
     this.txtAddress.Text        = "";
     //
     // txtName
     //
     this.txtName.BackColor   = System.Drawing.Color.White;
     this.txtName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtName.Location    = new System.Drawing.Point(100, 14);
     this.txtName.Name        = "txtName";
     this.txtName.Size        = new System.Drawing.Size(180, 20);
     this.txtName.TabIndex    = 11;
     this.txtName.Text        = "";
     //
     // label12
     //
     this.label12.Location = new System.Drawing.Point(408, 120);
     this.label12.Name     = "label12";
     this.label12.TabIndex = 10;
     this.label12.Text     = "Other details:";
     //
     // label11
     //
     this.label11.Location = new System.Drawing.Point(408, 74);
     this.label11.Name     = "label11";
     this.label11.TabIndex = 9;
     this.label11.Text     = "Designation:";
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(408, 98);
     this.label10.Name     = "label10";
     this.label10.TabIndex = 8;
     this.label10.Text     = "MailId:";
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(408, 16);
     this.label9.Name     = "label9";
     this.label9.TabIndex = 7;
     this.label9.Text     = "Qualifications:";
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(408, 43);
     this.label8.Name     = "label8";
     this.label8.TabIndex = 6;
     this.label8.Text     = "Nationality:";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(11, 196);
     this.label6.Name     = "label6";
     this.label6.TabIndex = 4;
     this.label6.Text     = "Date of Birth:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(12, 112);
     this.label4.Name     = "label4";
     this.label4.TabIndex = 2;
     this.label4.Text     = "Phone:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(12, 42);
     this.label3.Name     = "label3";
     this.label3.TabIndex = 1;
     this.label3.Text     = "Address:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(12, 16);
     this.label2.Name     = "label2";
     this.label2.TabIndex = 0;
     this.label2.Text     = "Name:";
     //
     // frmAddress
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.MintCream;
     this.ClientSize        = new System.Drawing.Size(804, 541);
     this.Controls.Add(this.grpFields);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.grpControls);
     this.MaximizeBox = false;
     this.Name        = "frmAddress";
     this.Text        = "My AddressBook";
     this.Load       += new System.EventHandler(this.frmAddress_Load);
     this.grpControls.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grdAddress)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.grpFields.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 46
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(frmThthbn));
     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.label3      = new System.Windows.Forms.Label();
     this.makp        = new System.Windows.Forms.ComboBox();
     this.time        = new System.Windows.Forms.CheckBox();
     this.chkDoituong = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label1.Location  = new System.Drawing.Point(3, 19);
     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(60, 19);
     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(172, 19);
     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.ForeColor = System.Drawing.SystemColors.WindowText;
     this.label2.Location  = new System.Drawing.Point(140, 19);
     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.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.butIn.Image      = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(59, 114);
     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);
     //
     // butKetthuc
     //
     this.butKetthuc.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(131, 114);
     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);
     //
     // 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;
     //
     // 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(60, 43);
     this.makp.Name     = "makp";
     this.makp.Size     = new System.Drawing.Size(191, 21);
     this.makp.TabIndex = 5;
     this.makp.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // time
     //
     this.time.ForeColor = System.Drawing.SystemColors.ControlText;
     this.time.Location  = new System.Drawing.Point(59, 71);
     this.time.Name      = "time";
     this.time.Size      = new System.Drawing.Size(156, 16);
     this.time.TabIndex  = 105;
     this.time.Text      = "checkBox1";
     //
     // chkDoituong
     //
     this.chkDoituong.ForeColor = System.Drawing.SystemColors.ControlText;
     this.chkDoituong.Location  = new System.Drawing.Point(59, 92);
     this.chkDoituong.Name      = "chkDoituong";
     this.chkDoituong.Size      = new System.Drawing.Size(156, 16);
     this.chkDoituong.TabIndex  = 106;
     this.chkDoituong.Text      = "Theo đối tượng";
     //
     // frmThthbn
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(256, 151);
     this.Controls.Add(this.chkDoituong);
     this.Controls.Add(this.time);
     this.Controls.Add(this.makp);
     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.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "frmThthbn";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Tổng hợp tình hình người bệnh";
     this.Load           += new System.EventHandler(this.frmThthbn_Load);
     this.ResumeLayout(false);
 }
Esempio n. 47
0
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmTableType));
     this.CrystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.GroupBox1            = new System.Windows.Forms.GroupBox();
     this.DateTimePicker3      = new System.Windows.Forms.DateTimePicker();
     this.DateTimePicker4      = new System.Windows.Forms.DateTimePicker();
     this.DateTimePicker2      = new System.Windows.Forms.DateTimePicker();
     this.DateTimePicker1      = new System.Windows.Forms.DateTimePicker();
     this.Label1         = new System.Windows.Forms.Label();
     this.Label2         = new System.Windows.Forms.Label();
     this.Button1        = new System.Windows.Forms.Button();
     this.Button1.Click += new System.EventHandler(this.Button1_Click);
     this.GroupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     //CrystalReportViewer1
     //
     this.CrystalReportViewer1.ActiveViewIndex = -1;
     this.CrystalReportViewer1.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.CrystalReportViewer1.Location        = new System.Drawing.Point(0, 96);
     this.CrystalReportViewer1.Name            = "CrystalReportViewer1";
     this.CrystalReportViewer1.ReportSource    = null;
     this.CrystalReportViewer1.Size            = new System.Drawing.Size(640, 376);
     this.CrystalReportViewer1.TabIndex        = 18;
     //
     //GroupBox1
     //
     this.GroupBox1.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.GroupBox1.Controls.Add(this.DateTimePicker3);
     this.GroupBox1.Controls.Add(this.DateTimePicker4);
     this.GroupBox1.Controls.Add(this.DateTimePicker2);
     this.GroupBox1.Controls.Add(this.DateTimePicker1);
     this.GroupBox1.Controls.Add(this.Label1);
     this.GroupBox1.Controls.Add(this.Label2);
     this.GroupBox1.Controls.Add(this.Button1);
     this.GroupBox1.Location = new System.Drawing.Point(8, 8);
     this.GroupBox1.Name     = "GroupBox1";
     this.GroupBox1.Size     = new System.Drawing.Size(624, 83);
     this.GroupBox1.TabIndex = 17;
     this.GroupBox1.TabStop  = false;
     this.GroupBox1.Text     = "查询条件";
     //
     //DateTimePicker3
     //
     this.DateTimePicker3.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.DateTimePicker3.Location = new System.Drawing.Point(40, 48);
     this.DateTimePicker3.Name     = "DateTimePicker3";
     this.DateTimePicker3.Size     = new System.Drawing.Size(96, 21);
     this.DateTimePicker3.TabIndex = 9;
     //
     //DateTimePicker4
     //
     this.DateTimePicker4.Format     = System.Windows.Forms.DateTimePickerFormat.Time;
     this.DateTimePicker4.Location   = new System.Drawing.Point(144, 48);
     this.DateTimePicker4.Name       = "DateTimePicker4";
     this.DateTimePicker4.ShowUpDown = true;
     this.DateTimePicker4.Size       = new System.Drawing.Size(88, 21);
     this.DateTimePicker4.TabIndex   = 8;
     //
     //DateTimePicker2
     //
     this.DateTimePicker2.Format     = System.Windows.Forms.DateTimePickerFormat.Time;
     this.DateTimePicker2.Location   = new System.Drawing.Point(144, 24);
     this.DateTimePicker2.Name       = "DateTimePicker2";
     this.DateTimePicker2.ShowUpDown = true;
     this.DateTimePicker2.Size       = new System.Drawing.Size(88, 21);
     this.DateTimePicker2.TabIndex   = 1;
     //
     //DateTimePicker1
     //
     this.DateTimePicker1.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.DateTimePicker1.Location = new System.Drawing.Point(40, 24);
     this.DateTimePicker1.Name     = "DateTimePicker1";
     this.DateTimePicker1.Size     = new System.Drawing.Size(96, 21);
     this.DateTimePicker1.TabIndex = 0;
     //
     //Label1
     //
     this.Label1.Location  = new System.Drawing.Point(16, 24);
     this.Label1.Name      = "Label1";
     this.Label1.Size      = new System.Drawing.Size(24, 23);
     this.Label1.TabIndex  = 6;
     this.Label1.Text      = "从";
     this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     //Label2
     //
     this.Label2.Location  = new System.Drawing.Point(16, 48);
     this.Label2.Name      = "Label2";
     this.Label2.Size      = new System.Drawing.Size(24, 23);
     this.Label2.TabIndex  = 7;
     this.Label2.Text      = "到";
     this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     //Button1
     //
     this.Button1.Image      = (System.Drawing.Image)(resources.GetObject("Button1.Image"));
     this.Button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.Button1.Location   = new System.Drawing.Point(248, 24);
     this.Button1.Name       = "Button1";
     this.Button1.Size       = new System.Drawing.Size(88, 48);
     this.Button1.TabIndex   = 4;
     this.Button1.Text       = "查询(&Q)";
     this.Button1.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     //frmTableType
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(640, 470);
     this.Controls.Add(this.CrystalReportViewer1);
     this.Controls.Add(this.GroupBox1);
     this.Icon = (System.Drawing.Icon)(resources.GetObject("$this.Icon"));
     this.Name = "frmTableType";
     this.Text = "厅堂使用及收入汇总";
     this.GroupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 48
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(frmPhieuxuat_ng));
     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.kho        = new System.Windows.Forms.CheckedListBox();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.makp       = new System.Windows.Forms.CheckedListBox();
     this.loai       = new System.Windows.Forms.CheckedListBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(4, 6);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(136, 6);
     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;
     //
     // butIn
     //
     this.butIn.Image      = global::Duoc.Properties.Resources.Print1;
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(87, 189);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 7;
     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(157, 189);
     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);
     //
     // kho
     //
     this.kho.CheckOnClick = true;
     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(59, 100);
     this.kho.Name         = "kho";
     this.kho.Size         = new System.Drawing.Size(192, 84);
     this.kho.TabIndex     = 5;
     this.kho.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // tu
     //
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(59, 6);
     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(171, 6);
     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);
     //
     // makp
     //
     this.makp.CheckOnClick = true;
     this.makp.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makp.Location     = new System.Drawing.Point(254, 5);
     this.makp.Name         = "makp";
     this.makp.Size         = new System.Drawing.Size(192, 212);
     this.makp.TabIndex     = 6;
     this.makp.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // loai
     //
     this.loai.CheckOnClick = true;
     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(59, 30);
     this.loai.Name         = "loai";
     this.loai.Size         = new System.Drawing.Size(192, 68);
     this.loai.TabIndex     = 4;
     this.loai.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // frmPhieuxuat_ng
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(458, 223);
     this.Controls.Add(this.loai);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.kho);
     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            = "frmPhieuxuat_ng";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "In phiếu xuất";
     this.Load           += new System.EventHandler(this.frmPhieuxuat_ng_Load);
     this.ResumeLayout(false);
 }
Esempio n. 49
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. 50
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1               = new System.Windows.Forms.GroupBox();
     this.butexcel                = new System.Windows.Forms.Button();
     this.checkBox1               = new System.Windows.Forms.CheckBox();
     this.txtypmc                 = new System.Windows.Forms.TextBox();
     this.lblypmc                 = new System.Windows.Forms.Label();
     this.label1                  = new System.Windows.Forms.Label();
     this.rdo2                    = new System.Windows.Forms.RadioButton();
     this.butquit                 = new System.Windows.Forms.Button();
     this.butprint                = new System.Windows.Forms.Button();
     this.buttj                   = new System.Windows.Forms.Button();
     this.dtp2                    = new System.Windows.Forms.DateTimePicker();
     this.label2                  = new System.Windows.Forms.Label();
     this.dtp1                    = new System.Windows.Forms.DateTimePicker();
     this.rdo1                    = new System.Windows.Forms.RadioButton();
     this.radioButton1            = new System.Windows.Forms.RadioButton();
     this.statusBar1              = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1         = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2         = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel3         = new System.Windows.Forms.StatusBarPanel();
     this.groupBox2               = new System.Windows.Forms.GroupBox();
     this.myDataGrid1             = new myDataGrid.myDataGrid();
     this.dataGridTableStyle2     = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn4  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn9  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.厂家 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.科室 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn1  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.butexcel);
     this.groupBox1.Controls.Add(this.checkBox1);
     this.groupBox1.Controls.Add(this.txtypmc);
     this.groupBox1.Controls.Add(this.lblypmc);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.rdo2);
     this.groupBox1.Controls.Add(this.butquit);
     this.groupBox1.Controls.Add(this.butprint);
     this.groupBox1.Controls.Add(this.buttj);
     this.groupBox1.Controls.Add(this.dtp2);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.dtp1);
     this.groupBox1.Controls.Add(this.rdo1);
     this.groupBox1.Controls.Add(this.radioButton1);
     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(944, 80);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "查询";
     //
     // butexcel
     //
     this.butexcel.Location = new System.Drawing.Point(776, 24);
     this.butexcel.Name     = "butexcel";
     this.butexcel.Size     = new System.Drawing.Size(64, 32);
     this.butexcel.TabIndex = 19;
     this.butexcel.Text     = "导出(&E)";
     this.butexcel.Click   += new System.EventHandler(this.butexcel_Click);
     //
     // checkBox1
     //
     this.checkBox1.AutoSize = true;
     this.checkBox1.Location = new System.Drawing.Point(504, 35);
     this.checkBox1.Name     = "checkBox1";
     this.checkBox1.Size     = new System.Drawing.Size(96, 16);
     this.checkBox1.TabIndex = 17;
     this.checkBox1.Text     = "区分开单科室";
     this.checkBox1.UseVisualStyleBackColor = true;
     //
     // txtypmc
     //
     this.txtypmc.Location = new System.Drawing.Point(224, 50);
     this.txtypmc.Name     = "txtypmc";
     this.txtypmc.Size     = new System.Drawing.Size(238, 21);
     this.txtypmc.TabIndex = 16;
     this.txtypmc.KeyUp   += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp);
     //
     // lblypmc
     //
     this.lblypmc.Location = new System.Drawing.Point(169, 53);
     this.lblypmc.Name     = "lblypmc";
     this.lblypmc.Size     = new System.Drawing.Size(64, 17);
     this.lblypmc.TabIndex = 15;
     this.lblypmc.Text     = "药品名称";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(169, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(53, 17);
     this.label1.TabIndex = 14;
     this.label1.Text     = "发药日期";
     //
     // rdo2
     //
     this.rdo2.Location        = new System.Drawing.Point(33, 30);
     this.rdo2.Name            = "rdo2";
     this.rdo2.Size            = new System.Drawing.Size(88, 24);
     this.rdo2.TabIndex        = 13;
     this.rdo2.Text            = "住院部分";
     this.rdo2.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged);
     //
     // butquit
     //
     this.butquit.Location = new System.Drawing.Point(849, 24);
     this.butquit.Name     = "butquit";
     this.butquit.Size     = new System.Drawing.Size(64, 32);
     this.butquit.TabIndex = 11;
     this.butquit.Text     = "退出(&Q)";
     this.butquit.Click   += new System.EventHandler(this.butquit_Click);
     //
     // butprint
     //
     this.butprint.Location = new System.Drawing.Point(703, 24);
     this.butprint.Name     = "butprint";
     this.butprint.Size     = new System.Drawing.Size(64, 32);
     this.butprint.TabIndex = 10;
     this.butprint.Text     = "打印(&P)";
     this.butprint.Click   += new System.EventHandler(this.butprint_Click);
     //
     // buttj
     //
     this.buttj.Location = new System.Drawing.Point(630, 24);
     this.buttj.Name     = "buttj";
     this.buttj.Size     = new System.Drawing.Size(64, 32);
     this.buttj.TabIndex = 9;
     this.buttj.Text     = "统计(&T)";
     this.buttj.Click   += new System.EventHandler(this.buttj_Click);
     //
     // dtp2
     //
     this.dtp2.Location = new System.Drawing.Point(350, 20);
     this.dtp2.Name     = "dtp2";
     this.dtp2.Size     = new System.Drawing.Size(112, 21);
     this.dtp2.TabIndex = 5;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(335, 25);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(17, 16);
     this.label2.TabIndex = 4;
     this.label2.Text     = "到";
     //
     // dtp1
     //
     this.dtp1.Location = new System.Drawing.Point(224, 20);
     this.dtp1.Name     = "dtp1";
     this.dtp1.Size     = new System.Drawing.Size(110, 21);
     this.dtp1.TabIndex = 3;
     //
     // rdo1
     //
     this.rdo1.Location        = new System.Drawing.Point(33, 51);
     this.rdo1.Name            = "rdo1";
     this.rdo1.Size            = new System.Drawing.Size(96, 24);
     this.rdo1.TabIndex        = 12;
     this.rdo1.Text            = "门诊部份";
     this.rdo1.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged);
     //
     // radioButton1
     //
     this.radioButton1.Checked         = true;
     this.radioButton1.Location        = new System.Drawing.Point(33, 10);
     this.radioButton1.Name            = "radioButton1";
     this.radioButton1.Size            = new System.Drawing.Size(88, 24);
     this.radioButton1.TabIndex        = 18;
     this.radioButton1.TabStop         = true;
     this.radioButton1.Text            = "全部";
     this.radioButton1.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged);
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 502);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1,
         this.statusBarPanel2,
         this.statusBarPanel3
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(944, 23);
     this.statusBar1.TabIndex   = 1;
     this.statusBar1.Text       = "statusBar1";
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Name  = "statusBarPanel1";
     this.statusBarPanel1.Width = 150;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.Name  = "statusBarPanel2";
     this.statusBarPanel2.Width = 150;
     //
     // statusBarPanel3
     //
     this.statusBarPanel3.Name  = "statusBarPanel3";
     this.statusBarPanel3.Width = 1000;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.myDataGrid1);
     this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox2.Location = new System.Drawing.Point(0, 80);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(944, 422);
     this.groupBox2.TabIndex = 2;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "统计情况";
     //
     // myDataGrid1
     //
     this.myDataGrid1.BackgroundColor = System.Drawing.Color.White;
     this.myDataGrid1.CaptionVisible  = false;
     this.myDataGrid1.DataMember      = "";
     this.myDataGrid1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.myDataGrid1.Location        = new System.Drawing.Point(3, 17);
     this.myDataGrid1.Name            = "myDataGrid1";
     this.myDataGrid1.Size            = new System.Drawing.Size(938, 402);
     this.myDataGrid1.TabIndex        = 0;
     this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle2
     });
     this.myDataGrid1.Navigate += new System.Windows.Forms.NavigateEventHandler(this.myDataGrid1_Navigate);
     //
     // dataGridTableStyle2
     //
     this.dataGridTableStyle2.AllowSorting = false;
     this.dataGridTableStyle2.DataGrid     = this.myDataGrid1;
     this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn4,
         this.dataGridTextBoxColumn9,
         this.dataGridTextBoxColumn11,
         this.厂家,
         this.科室,
         this.dataGridTextBoxColumn17,
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn2,
         this.dataGridTextBoxColumn3
     });
     this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle2.ReadOnly        = true;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Format     = "";
     this.dataGridTextBoxColumn4.FormatInfo = null;
     this.dataGridTextBoxColumn4.HeaderText = "序号";
     this.dataGridTextBoxColumn4.Width      = 30;
     //
     // dataGridTextBoxColumn9
     //
     this.dataGridTextBoxColumn9.Format     = "";
     this.dataGridTextBoxColumn9.FormatInfo = null;
     this.dataGridTextBoxColumn9.HeaderText = "品名";
     this.dataGridTextBoxColumn9.Width      = 150;
     //
     // dataGridTextBoxColumn11
     //
     this.dataGridTextBoxColumn11.Format     = "";
     this.dataGridTextBoxColumn11.FormatInfo = null;
     this.dataGridTextBoxColumn11.HeaderText = "规格";
     this.dataGridTextBoxColumn11.Width      = 75;
     //
     // 厂家
     //
     this.厂家.Format     = "";
     this.厂家.FormatInfo = null;
     this.厂家.HeaderText = "厂家";
     this.厂家.Width      = 0;
     //
     // 科室
     //
     this.科室.Format     = "";
     this.科室.FormatInfo = null;
     this.科室.HeaderText = "科室";
     this.科室.Width      = 75;
     //
     // dataGridTextBoxColumn17
     //
     this.dataGridTextBoxColumn17.Format     = "";
     this.dataGridTextBoxColumn17.FormatInfo = null;
     this.dataGridTextBoxColumn17.HeaderText = "医生";
     this.dataGridTextBoxColumn17.Width      = 80;
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format     = "";
     this.dataGridTextBoxColumn1.FormatInfo = null;
     this.dataGridTextBoxColumn1.HeaderText = "数量";
     this.dataGridTextBoxColumn1.Width      = 60;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format     = "";
     this.dataGridTextBoxColumn2.FormatInfo = null;
     this.dataGridTextBoxColumn2.HeaderText = "单位";
     this.dataGridTextBoxColumn2.Width      = 40;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format     = "";
     this.dataGridTextBoxColumn3.FormatInfo = null;
     this.dataGridTextBoxColumn3.HeaderText = "金额";
     this.dataGridTextBoxColumn3.Width      = 75;
     //
     // Frmzzyptj
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(944, 525);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.statusBar1);
     this.Controls.Add(this.groupBox1);
     this.Name        = "Frmzzyptj";
     this.Text        = "自制药品统计";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.Frmxspm_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit();
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 51
0
 private void Diseño_Forma()
 {
     pic_Logo   = new System.Windows.Forms.PictureBox();
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Caja));
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator             = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator2            = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     movimientoToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     retirarToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     ingresarToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     realizarCorteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     pic_Caja         = new System.Windows.Forms.PictureBox();
     groupBoxdatos    = new System.Windows.Forms.GroupBox();
     dateTime_Fecha   = new System.Windows.Forms.DateTimePicker();
     combo_Concepto   = new System.Windows.Forms.ComboBox();
     lbl_Unidad       = new System.Windows.Forms.Label();
     txt_DineroActual = new System.Windows.Forms.TextBox();
     txt_Movimiento   = new System.Windows.Forms.TextBox();
     txt_DineroCaja   = new System.Windows.Forms.TextBox();
     lbl_Fecha        = new System.Windows.Forms.Label();
     lbl_Concepto     = new System.Windows.Forms.Label();
     lbl_Movimiento   = new System.Windows.Forms.Label();
     lbl_MontoInicial = new System.Windows.Forms.Label();
     errorProvider1   = new System.Windows.Forms.ErrorProvider(components);
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Caja)).BeginInit();
     groupBoxdatos.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     SuspendLayout();
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         archivoToolStripMenuItem,
         movimientoToolStripMenuItem,
         ayudaToolStripMenuItem
     });
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name     = "menuStrip1";
     menuStrip1.Size     = new System.Drawing.Size(572, 24);
     menuStrip1.TabIndex = 1;
     menuStrip1.Text     = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         nuevoToolStripMenuItem,
         toolStripSeparator,
         guardarToolStripMenuItem,
         toolStripSeparator2,
         salirToolStripMenuItem
     });
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name         = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size         = new System.Drawing.Size(156, 22);
     nuevoToolStripMenuItem.Text         = "&Nuevo";
     nuevoToolStripMenuItem.Click       += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // toolStripSeparator
     //
     toolStripSeparator.Name = "toolStripSeparator";
     toolStripSeparator.Size = new System.Drawing.Size(153, 6);
     //
     // guardarToolStripMenuItem
     //
     guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
     guardarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Guardar;
     guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     guardarToolStripMenuItem.Name         = "guardarToolStripMenuItem";
     guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     guardarToolStripMenuItem.Size         = new System.Drawing.Size(156, 22);
     guardarToolStripMenuItem.Text         = "&Guardar";
     guardarToolStripMenuItem.Click       += new System.EventHandler(guardarToolStripMenuItem_Click);
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new System.Drawing.Size(153, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name   = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size   = new System.Drawing.Size(156, 22);
     salirToolStripMenuItem.Text   = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // movimientoToolStripMenuItem
     //
     movimientoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         retirarToolStripMenuItem,
         ingresarToolStripMenuItem,
         realizarCorteToolStripMenuItem
     });
     movimientoToolStripMenuItem.Name = "movimientoToolStripMenuItem";
     movimientoToolStripMenuItem.Size = new System.Drawing.Size(84, 20);
     movimientoToolStripMenuItem.Text = "Movimiento";
     //
     // retirarToolStripMenuItem
     //
     retirarToolStripMenuItem.Name   = "retirarToolStripMenuItem";
     retirarToolStripMenuItem.Image  = global::Sistema_Shajobe.Properties.Resources.Retirar;
     retirarToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     retirarToolStripMenuItem.Text   = "Retirar";
     retirarToolStripMenuItem.Click += new System.EventHandler(retirarToolStripMenuItem_Click);
     //
     // ingresarToolStripMenuItem
     //
     ingresarToolStripMenuItem.Name   = "ingresarToolStripMenuItem";
     ingresarToolStripMenuItem.Image  = global::Sistema_Shajobe.Properties.Resources.Ingresar;
     ingresarToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     ingresarToolStripMenuItem.Text   = "Ingresar";
     ingresarToolStripMenuItem.Click += new System.EventHandler(ingresarToolStripMenuItem_Click);
     //
     // realizarCorteToolStripMenuItem
     //
     realizarCorteToolStripMenuItem.Name   = "realizarCorteToolStripMenuItem";
     realizarCorteToolStripMenuItem.Image  = global::Sistema_Shajobe.Properties.Resources.Calcular;
     realizarCorteToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     realizarCorteToolStripMenuItem.Text   = "Realizar corte";
     realizarCorteToolStripMenuItem.Click += new System.EventHandler(CorteCajaToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         acercadeToolStripMenuItem
     });
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(135, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // pic_Caja
     //
     pic_Caja.BackgroundImage       = global::Sistema_Shajobe.Properties.Resources.Caja;
     pic_Caja.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Caja.Location = new System.Drawing.Point(473, 25);
     pic_Caja.Name     = "pic_Caja";
     pic_Caja.Size     = new System.Drawing.Size(85, 67);
     pic_Caja.TabIndex = 23;
     pic_Caja.TabStop  = false;
     //
     // groupBoxdatos
     //
     groupBoxdatos.Controls.Add(dateTime_Fecha);
     groupBoxdatos.Controls.Add(pic_Logo);
     groupBoxdatos.Controls.Add(combo_Concepto);
     groupBoxdatos.Controls.Add(lbl_Unidad);
     groupBoxdatos.Controls.Add(txt_DineroActual);
     groupBoxdatos.Controls.Add(txt_Movimiento);
     groupBoxdatos.Controls.Add(txt_DineroCaja);
     groupBoxdatos.Controls.Add(lbl_Fecha);
     groupBoxdatos.Controls.Add(lbl_Concepto);
     groupBoxdatos.Controls.Add(lbl_Movimiento);
     groupBoxdatos.Controls.Add(lbl_MontoInicial);
     groupBoxdatos.Location = new System.Drawing.Point(4, 43);
     groupBoxdatos.Name     = "groupBoxdatos";
     groupBoxdatos.Size     = new System.Drawing.Size(555, 186);
     groupBoxdatos.TabIndex = 22;
     groupBoxdatos.TabStop  = false;
     groupBoxdatos.Text     = "Datos de movimientos de caja";
     //
     // dateTime_Fecha
     //
     dateTime_Fecha.Location = new System.Drawing.Point(126, 89);
     dateTime_Fecha.Name     = "dateTime_Fecha";
     dateTime_Fecha.Size     = new System.Drawing.Size(200, 20);
     dateTime_Fecha.TabIndex = 58;
     dateTime_Fecha.Enabled  = false;
     //
     // combo_Concepto
     //
     combo_Concepto.FormattingEnabled = true;
     combo_Concepto.Location          = new System.Drawing.Point(126, 116);
     combo_Concepto.Name     = "combo_Concepto";
     combo_Concepto.Size     = new System.Drawing.Size(156, 21);
     combo_Concepto.TabIndex = 57;
     combo_Concepto.Enabled  = false;
     //
     // lbl_Unidad
     //
     lbl_Unidad.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                               | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Unidad.AutoSize = true;
     lbl_Unidad.Location = new System.Drawing.Point(27, 151);
     lbl_Unidad.Name     = "lbl_Unidad";
     lbl_Unidad.Size     = new System.Drawing.Size(70, 13);
     lbl_Unidad.TabIndex = 55;
     lbl_Unidad.Text     = "Dinero actual";
     //
     // txt_DineroActual
     //
     txt_DineroActual.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)));
     txt_DineroActual.Enabled   = false;
     txt_DineroActual.Location  = new System.Drawing.Point(126, 144);
     txt_DineroActual.MaxLength = 9;
     txt_DineroActual.Name      = "txt_DineroActual";
     txt_DineroActual.Size      = new System.Drawing.Size(127, 20);
     txt_DineroActual.TabIndex  = 53;
     //
     // txt_Movimiento
     //
     txt_Movimiento.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     txt_Movimiento.Enabled   = false;
     txt_Movimiento.Location  = new System.Drawing.Point(126, 62);
     txt_Movimiento.MaxLength = 25;
     txt_Movimiento.Name      = "txt_Movimiento";
     txt_Movimiento.Size      = new System.Drawing.Size(127, 20);
     txt_Movimiento.TabIndex  = 46;
     //
     // txt_DineroCaja
     //
     txt_DineroCaja.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     txt_DineroCaja.Enabled   = false;
     txt_DineroCaja.Location  = new System.Drawing.Point(126, 35);
     txt_DineroCaja.MaxLength = 8;
     txt_DineroCaja.Name      = "txt_DineroCaja";
     txt_DineroCaja.Size      = new System.Drawing.Size(127, 20);
     txt_DineroCaja.TabIndex  = 37;
     //
     // lbl_Fecha
     //
     lbl_Fecha.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                              | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Fecha.AutoSize = true;
     lbl_Fecha.Location = new System.Drawing.Point(27, 96);
     lbl_Fecha.Name     = "lbl_Fecha";
     lbl_Fecha.Size     = new System.Drawing.Size(37, 13);
     lbl_Fecha.TabIndex = 44;
     lbl_Fecha.Text     = "Fecha";
     //
     // lbl_Concepto
     //
     lbl_Concepto.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Concepto.AutoSize = true;
     lbl_Concepto.Location = new System.Drawing.Point(27, 124);
     lbl_Concepto.Name     = "lbl_Concepto";
     lbl_Concepto.Size     = new System.Drawing.Size(53, 13);
     lbl_Concepto.TabIndex = 38;
     lbl_Concepto.Text     = "Concepto";
     //
     // lbl_Movimiento
     //
     lbl_Movimiento.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Movimiento.AutoSize = true;
     lbl_Movimiento.Location = new System.Drawing.Point(27, 69);
     lbl_Movimiento.Name     = "lbl_Movimiento";
     lbl_Movimiento.Size     = new System.Drawing.Size(61, 13);
     lbl_Movimiento.TabIndex = 36;
     lbl_Movimiento.Text     = "Movimiento";
     //
     // lbl_MontoInicial
     //
     lbl_MontoInicial.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)));
     lbl_MontoInicial.AutoSize = true;
     lbl_MontoInicial.Location = new System.Drawing.Point(27, 42);
     lbl_MontoInicial.Name     = "lbl_MontoInicial";
     lbl_MontoInicial.Size     = new System.Drawing.Size(76, 13);
     lbl_MontoInicial.TabIndex = 35;
     lbl_MontoInicial.Text     = "Dinero en caja";
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage       = global::Sistema_Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(380, 80);
     pic_Logo.Name     = "pic_Logo";
     pic_Logo.Size     = new System.Drawing.Size(166, 84);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop  = false;
     //
     // Caja
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize          = new System.Drawing.Size(572, 238);
     Controls.Add(pic_Caja);
     Controls.Add(groupBoxdatos);
     Controls.Add(menuStrip1);
     Icon          = global::Sistema_Shajobe.Properties.Resources.Caja_ICO;
     MaximizeBox   = false;
     Name          = "Caja";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     Text          = "Caja";
     Load         += new System.EventHandler(Caja_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Caja)).EndInit();
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER);
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER | AnimateWindowFlags.AW_SLIDE);
     ResumeLayout(false);
     PerformLayout();
 }
Esempio n. 52
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(frmPhieulinh_ng));
     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.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.loai       = new System.Windows.Forms.CheckedListBox();
     this.tim        = new System.Windows.Forms.TextBox();
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.butList    = new System.Windows.Forms.Button();
     this.groupBox1  = new System.Windows.Forms.GroupBox();
     this.rb2        = new System.Windows.Forms.RadioButton();
     this.rb1        = new System.Windows.Forms.RadioButton();
     this.makp       = new System.Windows.Forms.ComboBox();
     this.kho        = new System.Windows.Forms.ComboBox();
     this.label3     = new System.Windows.Forms.Label();
     this.label4     = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(3, 6);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(136, 6);
     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;
     //
     // butIn
     //
     this.butIn.Image      = global::Duoc.Properties.Resources.Print1;
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(236, 249);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 7;
     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(306, 249);
     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);
     //
     // 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(59, 6);
     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(171, 6);
     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);
     //
     // loai
     //
     this.loai.CheckOnClick = true;
     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(59, 75);
     this.loai.Name         = "loai";
     this.loai.Size         = new System.Drawing.Size(192, 116);
     this.loai.TabIndex     = 6;
     this.loai.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // tim
     //
     this.tim.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tim.Location     = new System.Drawing.Point(254, 1);
     this.tim.Name         = "tim";
     this.tim.Size         = new System.Drawing.Size(260, 21);
     this.tim.TabIndex     = 25;
     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);
     //
     // 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(256, 4);
     this.dataGrid1.Name             = "dataGrid1";
     this.dataGrid1.RowHeaderWidth   = 5;
     this.dataGrid1.Size             = new System.Drawing.Size(258, 233);
     this.dataGrid1.TabIndex         = 26;
     //
     // butList
     //
     this.butList.Image      = global::Duoc.Properties.Resources.chonkhoa;
     this.butList.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butList.Location   = new System.Drawing.Point(152, 249);
     this.butList.Name       = "butList";
     this.butList.Size       = new System.Drawing.Size(84, 25);
     this.butList.TabIndex   = 9;
     this.butList.Text       = "&Danh sách";
     this.butList.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butList.Click     += new System.EventHandler(this.butList_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.rb2);
     this.groupBox1.Controls.Add(this.rb1);
     this.groupBox1.Location = new System.Drawing.Point(59, 187);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(192, 54);
     this.groupBox1.TabIndex = 28;
     this.groupBox1.TabStop  = false;
     //
     // rb2
     //
     this.rb2.AutoSize = true;
     this.rb2.Location = new System.Drawing.Point(6, 29);
     this.rb2.Name     = "rb2";
     this.rb2.Size     = new System.Drawing.Size(94, 17);
     this.rb2.TabIndex = 1;
     this.rb2.Text     = "Phiếu hoàn trả";
     this.rb2.UseVisualStyleBackColor = true;
     //
     // rb1
     //
     this.rb1.AutoSize = true;
     this.rb1.Checked  = true;
     this.rb1.Location = new System.Drawing.Point(6, 10);
     this.rb1.Name     = "rb1";
     this.rb1.Size     = new System.Drawing.Size(75, 17);
     this.rb1.TabIndex = 0;
     this.rb1.TabStop  = true;
     this.rb1.Text     = "Phiếu xuất";
     this.rb1.UseVisualStyleBackColor = true;
     //
     // 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.FormattingEnabled = true;
     this.makp.Location          = new System.Drawing.Point(59, 29);
     this.makp.Name              = "makp";
     this.makp.Size              = new System.Drawing.Size(192, 21);
     this.makp.TabIndex          = 4;
     this.makp.KeyDown          += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // kho
     //
     this.kho.BackColor         = System.Drawing.SystemColors.HighlightText;
     this.kho.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kho.Font              = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kho.FormattingEnabled = true;
     this.kho.Location          = new System.Drawing.Point(59, 52);
     this.kho.Name              = "kho";
     this.kho.Size              = new System.Drawing.Size(192, 21);
     this.kho.TabIndex          = 5;
     this.kho.KeyDown          += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(21, 33);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(38, 13);
     this.label3.TabIndex = 29;
     this.label3.Text     = "Khoa :";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(27, 57);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(32, 13);
     this.label4.TabIndex = 30;
     this.label4.Text     = "Kho :";
     //
     // frmPhieulinh_ng
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(519, 289);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.loai);
     this.Controls.Add(this.kho);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.butList);
     this.Controls.Add(this.tim);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     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            = "frmPhieulinh_ng";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "In phiếu lĩnh";
     this.Load           += new System.EventHandler(this.frmPhieulinh_ng_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 53
0
 [System.Diagnostics.DebuggerStepThrough()] private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmAppoint));
     this.DateTimePicker1         = new System.Windows.Forms.DateTimePicker();
     base.Load                   += new System.EventHandler(frmAppoint_Load);
     base.Closed                 += new System.EventHandler(frmAppoint_Closed);
     this.DateTimePicker2         = new System.Windows.Forms.DateTimePicker();
     this.ComboBox1               = new System.Windows.Forms.ComboBox();
     this.Label1                  = 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.ComboBox2               = new System.Windows.Forms.ComboBox();
     this.GroupBox1               = new System.Windows.Forms.GroupBox();
     this.RadioButton3            = new System.Windows.Forms.RadioButton();
     this.RadioButton2            = new System.Windows.Forms.RadioButton();
     this.RadioButton1            = new System.Windows.Forms.RadioButton();
     this.dgAppointBill           = new System.Windows.Forms.DataGrid();
     this.DataGridTableStyle1     = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn4  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn5  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn6  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn3  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn8  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn7  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn9  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1     = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Button1                 = new System.Windows.Forms.Button();
     this.Button1.Click          += new System.EventHandler(this.Button1_Click);
     this.Button2                 = new System.Windows.Forms.Button();
     this.Button2.Click          += new System.EventHandler(this.Button2_Click);
     this.Button3                 = new System.Windows.Forms.Button();
     this.Button3.Click          += new System.EventHandler(this.Button3_Click);
     this.Button4                 = new System.Windows.Forms.Button();
     this.Button4.Click          += new System.EventHandler(this.Button4_Click);
     this.Button5                 = new System.Windows.Forms.Button();
     this.Button5.Click          += new System.EventHandler(this.Button5_Click);
     this.GroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize) this.dgAppointBill).BeginInit();
     this.SuspendLayout();
     //
     //DateTimePicker1
     //
     this.DateTimePicker1.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.DateTimePicker1.Location = new System.Drawing.Point(24, 8);
     this.DateTimePicker1.Name     = "DateTimePicker1";
     this.DateTimePicker1.Size     = new System.Drawing.Size(96, 21);
     this.DateTimePicker1.TabIndex = 0;
     this.DateTimePicker1.Value    = new DateTime(2005, 1, 21, 17, 36, 0, 0);
     //
     //DateTimePicker2
     //
     this.DateTimePicker2.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.DateTimePicker2.Location = new System.Drawing.Point(152, 8);
     this.DateTimePicker2.Name     = "DateTimePicker2";
     this.DateTimePicker2.Size     = new System.Drawing.Size(96, 21);
     this.DateTimePicker2.TabIndex = 1;
     //
     //ComboBox1
     //
     this.ComboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ComboBox1.Location      = new System.Drawing.Point(320, 8);
     this.ComboBox1.Name          = "ComboBox1";
     this.ComboBox1.Size          = new System.Drawing.Size(80, 20);
     this.ComboBox1.TabIndex      = 2;
     //
     //Label1
     //
     this.Label1.Location  = new System.Drawing.Point(264, 8);
     this.Label1.Name      = "Label1";
     this.Label1.Size      = new System.Drawing.Size(56, 23);
     this.Label1.TabIndex  = 3;
     this.Label1.Text      = "时间段:";
     this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     //Label3
     //
     this.Label3.Location  = new System.Drawing.Point(408, 8);
     this.Label3.Name      = "Label3";
     this.Label3.Size      = new System.Drawing.Size(56, 23);
     this.Label3.TabIndex  = 5;
     this.Label3.Text      = "操作员:";
     this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     //Label4
     //
     this.Label4.Location  = new System.Drawing.Point(8, 8);
     this.Label4.Name      = "Label4";
     this.Label4.Size      = new System.Drawing.Size(16, 23);
     this.Label4.TabIndex  = 6;
     this.Label4.Text      = "从";
     this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     //Label5
     //
     this.Label5.Location  = new System.Drawing.Point(128, 8);
     this.Label5.Name      = "Label5";
     this.Label5.Size      = new System.Drawing.Size(16, 23);
     this.Label5.TabIndex  = 7;
     this.Label5.Text      = "到";
     this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     //ComboBox2
     //
     this.ComboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ComboBox2.Location      = new System.Drawing.Point(464, 8);
     this.ComboBox2.Name          = "ComboBox2";
     this.ComboBox2.Size          = new System.Drawing.Size(88, 20);
     this.ComboBox2.TabIndex      = 9;
     //
     //GroupBox1
     //
     this.GroupBox1.Controls.Add(this.RadioButton3);
     this.GroupBox1.Controls.Add(this.RadioButton2);
     this.GroupBox1.Controls.Add(this.RadioButton1);
     this.GroupBox1.Location = new System.Drawing.Point(8, 40);
     this.GroupBox1.Name     = "GroupBox1";
     this.GroupBox1.Size     = new System.Drawing.Size(328, 48);
     this.GroupBox1.TabIndex = 10;
     this.GroupBox1.TabStop  = false;
     this.GroupBox1.Text     = "订单状态";
     //
     //RadioButton3
     //
     this.RadioButton3.Location = new System.Drawing.Point(224, 16);
     this.RadioButton3.Name     = "RadioButton3";
     this.RadioButton3.Size     = new System.Drawing.Size(88, 24);
     this.RadioButton3.TabIndex = 2;
     this.RadioButton3.Text     = "完成";
     //
     //RadioButton2
     //
     this.RadioButton2.Location = new System.Drawing.Point(128, 16);
     this.RadioButton2.Name     = "RadioButton2";
     this.RadioButton2.Size     = new System.Drawing.Size(80, 24);
     this.RadioButton2.TabIndex = 1;
     this.RadioButton2.Text     = "预订中";
     //
     //RadioButton1
     //
     this.RadioButton1.Checked  = true;
     this.RadioButton1.Location = new System.Drawing.Point(24, 16);
     this.RadioButton1.Name     = "RadioButton1";
     this.RadioButton1.Size     = new System.Drawing.Size(88, 24);
     this.RadioButton1.TabIndex = 0;
     this.RadioButton1.TabStop  = true;
     this.RadioButton1.Text     = "全部";
     //
     //dgAppointBill
     //
     this.dgAppointBill.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dgAppointBill.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.dgAppointBill.BackColor           = System.Drawing.Color.WhiteSmoke;
     this.dgAppointBill.BackgroundColor     = System.Drawing.Color.LightGray;
     this.dgAppointBill.BorderStyle         = System.Windows.Forms.BorderStyle.FixedSingle;
     this.dgAppointBill.CaptionBackColor    = System.Drawing.Color.LightSteelBlue;
     this.dgAppointBill.CaptionForeColor    = System.Drawing.Color.MidnightBlue;
     this.dgAppointBill.CaptionText         = "订单列表";
     this.dgAppointBill.DataMember          = "";
     this.dgAppointBill.FlatMode            = true;
     this.dgAppointBill.Font                = new System.Drawing.Font("Tahoma", 8.0F);
     this.dgAppointBill.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dgAppointBill.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dgAppointBill.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dgAppointBill.HeaderBackColor     = System.Drawing.Color.MidnightBlue;
     this.dgAppointBill.HeaderFont          = new System.Drawing.Font("Tahoma", 8.0F, System.Drawing.FontStyle.Bold);
     this.dgAppointBill.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dgAppointBill.LinkColor           = System.Drawing.Color.Teal;
     this.dgAppointBill.Location            = new System.Drawing.Point(8, 96);
     this.dgAppointBill.Name                = "dgAppointBill";
     this.dgAppointBill.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dgAppointBill.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgAppointBill.ReadOnly            = true;
     this.dgAppointBill.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dgAppointBill.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dgAppointBill.Size                = new System.Drawing.Size(568, 336);
     this.dgAppointBill.TabIndex            = 11;
     this.dgAppointBill.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.DataGridTableStyle1 });
     //
     //DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgAppointBill;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.DataGridTextBoxColumn1, this.DataGridTextBoxColumn4, this.DataGridTextBoxColumn5, this.DataGridTextBoxColumn6, this.DataGridTextBoxColumn2, this.DataGridTextBoxColumn3, this.DataGridTextBoxColumn8, this.DataGridTextBoxColumn7, this.DataGridTextBoxColumn9, this.DataGridBoolColumn1, this.DataGridTextBoxColumn10, this.DataGridTextBoxColumn12 });
     this.DataGridTableStyle1.HeaderFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName     = "AppointBill";
     //
     //DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format      = "";
     this.DataGridTextBoxColumn1.FormatInfo  = null;
     this.DataGridTextBoxColumn1.HeaderText  = "订单编号";
     this.DataGridTextBoxColumn1.MappingName = "appointno";
     this.DataGridTextBoxColumn1.Width       = 65;
     //
     //DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn4.Format      = "";
     this.DataGridTextBoxColumn4.FormatInfo  = null;
     this.DataGridTextBoxColumn4.HeaderText  = "客户名称";
     this.DataGridTextBoxColumn4.MappingName = "customername";
     this.DataGridTextBoxColumn4.Width       = 60;
     //
     //DataGridTextBoxColumn5
     //
     this.DataGridTextBoxColumn5.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn5.Format      = "";
     this.DataGridTextBoxColumn5.FormatInfo  = null;
     this.DataGridTextBoxColumn5.HeaderText  = "预订人";
     this.DataGridTextBoxColumn5.MappingName = "orderman";
     this.DataGridTextBoxColumn5.Width       = 75;
     //
     //DataGridTextBoxColumn6
     //
     this.DataGridTextBoxColumn6.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn6.Format      = "";
     this.DataGridTextBoxColumn6.FormatInfo  = null;
     this.DataGridTextBoxColumn6.HeaderText  = "联系电话";
     this.DataGridTextBoxColumn6.MappingName = "ordermantel";
     this.DataGridTextBoxColumn6.Width       = 75;
     //
     //DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format      = "";
     this.DataGridTextBoxColumn2.FormatInfo  = null;
     this.DataGridTextBoxColumn2.HeaderText  = "创建日期";
     this.DataGridTextBoxColumn2.MappingName = "orderdate";
     this.DataGridTextBoxColumn2.Width       = 70;
     //
     //DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format      = "";
     this.DataGridTextBoxColumn3.FormatInfo  = null;
     this.DataGridTextBoxColumn3.HeaderText  = "预订日期";
     this.DataGridTextBoxColumn3.MappingName = "arrivedate";
     this.DataGridTextBoxColumn3.Width       = 70;
     //
     //DataGridTextBoxColumn8
     //
     this.DataGridTextBoxColumn8.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn8.Format      = "";
     this.DataGridTextBoxColumn8.FormatInfo  = null;
     this.DataGridTextBoxColumn8.HeaderText  = "时间段";
     this.DataGridTextBoxColumn8.MappingName = "timeblock";
     this.DataGridTextBoxColumn8.Width       = 60;
     //
     //DataGridTextBoxColumn7
     //
     this.DataGridTextBoxColumn7.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn7.Format      = "";
     this.DataGridTextBoxColumn7.FormatInfo  = null;
     this.DataGridTextBoxColumn7.HeaderText  = "估计人数";
     this.DataGridTextBoxColumn7.MappingName = "est_quantity";
     this.DataGridTextBoxColumn7.Width       = 75;
     //
     //DataGridTextBoxColumn9
     //
     this.DataGridTextBoxColumn9.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn9.Format      = "";
     this.DataGridTextBoxColumn9.FormatInfo  = null;
     this.DataGridTextBoxColumn9.HeaderText  = "定金";
     this.DataGridTextBoxColumn9.MappingName = "ordermoney";
     this.DataGridTextBoxColumn9.Width       = 55;
     //
     //DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue  = "0";
     this.DataGridBoolColumn1.HeaderText  = "完成预订";
     this.DataGridBoolColumn1.MappingName = "status";
     this.DataGridBoolColumn1.NullValue   = resources.GetObject("DataGridBoolColumn1.NullValue");
     this.DataGridBoolColumn1.TrueValue   = "1";
     this.DataGridBoolColumn1.Width       = 55;
     //
     //DataGridTextBoxColumn10
     //
     this.DataGridTextBoxColumn10.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn10.Format      = "";
     this.DataGridTextBoxColumn10.FormatInfo  = null;
     this.DataGridTextBoxColumn10.HeaderText  = "操作员";
     this.DataGridTextBoxColumn10.MappingName = "operator";
     this.DataGridTextBoxColumn10.Width       = 60;
     //
     //DataGridTextBoxColumn12
     //
     this.DataGridTextBoxColumn12.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn12.Format      = "";
     this.DataGridTextBoxColumn12.FormatInfo  = null;
     this.DataGridTextBoxColumn12.HeaderText  = "备注";
     this.DataGridTextBoxColumn12.MappingName = "note";
     this.DataGridTextBoxColumn12.NullText    = "";
     this.DataGridTextBoxColumn12.Width       = 140;
     //
     //Button1
     //
     this.Button1.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.Button1.Location = new System.Drawing.Point(584, 104);
     this.Button1.Name     = "Button1";
     this.Button1.TabIndex = 12;
     this.Button1.Text     = "修改(&E)";
     //
     //Button2
     //
     this.Button2.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.Button2.Location = new System.Drawing.Point(584, 136);
     this.Button2.Name     = "Button2";
     this.Button2.TabIndex = 13;
     this.Button2.Text     = "完成(&C)";
     //
     //Button3
     //
     this.Button3.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.Button3.Location = new System.Drawing.Point(584, 168);
     this.Button3.Name     = "Button3";
     this.Button3.TabIndex = 14;
     this.Button3.Text     = "删除(&D)";
     //
     //Button4
     //
     this.Button4.Anchor   = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this.Button4.Location = new System.Drawing.Point(584, 408);
     this.Button4.Name     = "Button4";
     this.Button4.TabIndex = 15;
     this.Button4.Text     = "关闭(&X)";
     //
     //Button5
     //
     this.Button5.Image      = (System.Drawing.Image)(resources.GetObject("Button5.Image"));
     this.Button5.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.Button5.Location   = new System.Drawing.Point(344, 44);
     this.Button5.Name       = "Button5";
     this.Button5.Size       = new System.Drawing.Size(88, 48);
     this.Button5.TabIndex   = 16;
     this.Button5.Text       = "查询(&Q)";
     this.Button5.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     //frmAppoint
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(664, 438);
     this.Controls.Add(this.Button5);
     this.Controls.Add(this.Button4);
     this.Controls.Add(this.Button3);
     this.Controls.Add(this.Button2);
     this.Controls.Add(this.Button1);
     this.Controls.Add(this.dgAppointBill);
     this.Controls.Add(this.GroupBox1);
     this.Controls.Add(this.ComboBox2);
     this.Controls.Add(this.Label5);
     this.Controls.Add(this.Label4);
     this.Controls.Add(this.Label3);
     this.Controls.Add(this.ComboBox1);
     this.Controls.Add(this.Label1);
     this.Controls.Add(this.DateTimePicker2);
     this.Controls.Add(this.DateTimePicker1);
     this.Icon = (System.Drawing.Icon)(resources.GetObject("$this.Icon"));
     this.Name = "frmAppoint";
     this.Text = "预订管理";
     this.GroupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize) this.dgAppointBill).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 54
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.btnPLivro     = new System.Windows.Forms.Button();
     this.edtLivro      = new System.Windows.Forms.TextBox();
     this.edtISBN       = new System.Windows.Forms.TextBox();
     this.labISBN       = new System.Windows.Forms.Label();
     this.labDtHrVenda  = new System.Windows.Forms.Label();
     this.edtDtVenda    = new System.Windows.Forms.DateTimePicker();
     this.edtHrVenda    = new System.Windows.Forms.DateTimePicker();
     this.btnPCliente   = new System.Windows.Forms.Button();
     this.edtCliente    = new System.Windows.Forms.TextBox();
     this.labCLiente    = new System.Windows.Forms.Label();
     this.labLivro      = new System.Windows.Forms.Label();
     this.edtPrecoTotal = new System.Windows.Forms.TextBox();
     this.labPrecoTotal = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridConsulta)).BeginInit();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsConsulta)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.labLivro);
     this.panel1.Controls.Add(this.btnPCliente);
     this.panel1.Controls.Add(this.edtCliente);
     this.panel1.Controls.Add(this.edtHrVenda);
     this.panel1.Controls.Add(this.labDtHrVenda);
     this.panel1.Controls.Add(this.edtDtVenda);
     this.panel1.Controls.Add(this.btnPLivro);
     this.panel1.Controls.Add(this.edtLivro);
     this.panel1.Controls.Add(this.edtISBN);
     this.panel1.Controls.Add(this.labISBN);
     this.panel1.Controls.Add(this.labCLiente);
     this.panel1.Dock = System.Windows.Forms.DockStyle.None;
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(1128, 136);
     //
     // btnPesquisar
     //
     this.btnPesquisar.Location = new System.Drawing.Point(232, 24);
     this.btnPesquisar.Name     = "btnPesquisar";
     this.btnPesquisar.TabIndex = 3;
     this.btnPesquisar.Click   += new System.EventHandler(this.btnPesquisar_Click);
     //
     // edtDescricao
     //
     this.edtDescricao.Location  = new System.Drawing.Point(8, 64);
     this.edtDescricao.Name      = "edtDescricao";
     this.edtDescricao.Size      = new System.Drawing.Size(128, 20);
     this.edtDescricao.TabIndex  = 5;
     this.edtDescricao.MaxLength = 14;
     this.edtDescricao.Leave    += new System.EventHandler(this.edtDescricao_Leave);
     //
     // labDescricao
     //
     this.labDescricao.Location = new System.Drawing.Point(8, 48);
     this.labDescricao.Name     = "labDescricao";
     this.labDescricao.TabIndex = 4;
     this.labDescricao.Text     = "CPF:";
     //
     // gridConsulta
     //
     this.gridConsulta.Location = new System.Drawing.Point(0, 136);
     this.gridConsulta.Name     = "gridConsulta";
     this.gridConsulta.Size     = new System.Drawing.Size(456, 136);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.edtPrecoTotal);
     this.panel2.Controls.Add(this.labPrecoTotal);
     this.panel2.Location = new System.Drawing.Point(0, 272);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(464, 72);
     //
     // btnLimpar
     //
     this.btnLimpar.Location = new System.Drawing.Point(296, 40);
     this.btnLimpar.Name     = "btnLimpar";
     this.btnLimpar.TabIndex = 3;
     this.btnLimpar.Click   += new System.EventHandler(this.btnLimpar_Click);
     //
     // btnFechar
     //
     this.btnFechar.Location = new System.Drawing.Point(376, 40);
     this.btnFechar.Name     = "btnFechar";
     this.btnFechar.TabIndex = 4;
     //
     // labRegistros
     //
     this.labRegistros.Location = new System.Drawing.Point(11, 40);
     this.labRegistros.Name     = "labRegistros";
     this.labRegistros.TabIndex = 2;
     //
     // dsConsulta
     //
     this.dsConsulta.DataSetName = "Consulta";
     this.dsConsulta.Locale      = new System.Globalization.CultureInfo("pt-BR");
     //
     // btnPLivro
     //
     this.btnPLivro.Location = new System.Drawing.Point(424, 104);
     this.btnPLivro.Name     = "btnPLivro";
     this.btnPLivro.Size     = new System.Drawing.Size(22, 20);
     this.btnPLivro.TabIndex = 13;
     this.btnPLivro.Text     = "...";
     this.btnPLivro.Click   += new System.EventHandler(this.btnPLivro_Click);
     //
     // edtLivro
     //
     this.edtLivro.Enabled   = false;
     this.edtLivro.Location  = new System.Drawing.Point(144, 104);
     this.edtLivro.MaxLength = 30;
     this.edtLivro.Name      = "edtLivro";
     this.edtLivro.Size      = new System.Drawing.Size(280, 20);
     this.edtLivro.TabIndex  = 12;
     this.edtLivro.Text      = "";
     //
     // edtISBN
     //
     this.edtISBN.Location  = new System.Drawing.Point(8, 104);
     this.edtISBN.MaxLength = 13;
     this.edtISBN.Name      = "edtISBN";
     this.edtISBN.Size      = new System.Drawing.Size(128, 20);
     this.edtISBN.TabIndex  = 10;
     this.edtISBN.Text      = "";
     this.edtISBN.Leave    += new System.EventHandler(this.edtISBN_Leave);
     //
     // labISBN
     //
     this.labISBN.Location = new System.Drawing.Point(8, 88);
     this.labISBN.Name     = "labISBN";
     this.labISBN.Size     = new System.Drawing.Size(52, 16);
     this.labISBN.TabIndex = 9;
     this.labISBN.Text     = "ISBN:";
     //
     // labDtHrVenda
     //
     this.labDtHrVenda.Location = new System.Drawing.Point(8, 8);
     this.labDtHrVenda.Name     = "labDtHrVenda";
     this.labDtHrVenda.Size     = new System.Drawing.Size(96, 16);
     this.labDtHrVenda.TabIndex = 0;
     this.labDtHrVenda.Text     = "Data/Hora Venda:";
     //
     // edtDtVenda
     //
     this.edtDtVenda.Checked      = false;
     this.edtDtVenda.Format       = System.Windows.Forms.DateTimePickerFormat.Short;
     this.edtDtVenda.Location     = new System.Drawing.Point(8, 24);
     this.edtDtVenda.Name         = "edtDtVenda";
     this.edtDtVenda.ShowCheckBox = true;
     this.edtDtVenda.Size         = new System.Drawing.Size(104, 20);
     this.edtDtVenda.TabIndex     = 1;
     //
     // edtHrVenda
     //
     this.edtHrVenda.Checked      = false;
     this.edtHrVenda.Format       = System.Windows.Forms.DateTimePickerFormat.Time;
     this.edtHrVenda.Location     = new System.Drawing.Point(120, 24);
     this.edtHrVenda.Name         = "edtHrVenda";
     this.edtHrVenda.ShowCheckBox = true;
     this.edtHrVenda.ShowUpDown   = true;
     this.edtHrVenda.Size         = new System.Drawing.Size(104, 20);
     this.edtHrVenda.TabIndex     = 2;
     //
     // btnPCliente
     //
     this.btnPCliente.Location = new System.Drawing.Point(424, 62);
     this.btnPCliente.Name     = "btnPCliente";
     this.btnPCliente.Size     = new System.Drawing.Size(22, 20);
     this.btnPCliente.TabIndex = 8;
     this.btnPCliente.Text     = "...";
     this.btnPCliente.Click   += new System.EventHandler(this.btnPCliente_Click);
     //
     // edtCliente
     //
     this.edtCliente.Enabled   = false;
     this.edtCliente.Location  = new System.Drawing.Point(144, 62);
     this.edtCliente.MaxLength = 30;
     this.edtCliente.Name      = "edtCliente";
     this.edtCliente.Size      = new System.Drawing.Size(280, 20);
     this.edtCliente.TabIndex  = 7;
     this.edtCliente.Text      = "";
     //
     // labCLiente
     //
     this.labCLiente.Location = new System.Drawing.Point(144, 48);
     this.labCLiente.Name     = "labCLiente";
     this.labCLiente.Size     = new System.Drawing.Size(52, 16);
     this.labCLiente.TabIndex = 6;
     this.labCLiente.Text     = "Cliente:";
     //
     // labLivro
     //
     this.labLivro.Location = new System.Drawing.Point(144, 88);
     this.labLivro.Name     = "labLivro";
     this.labLivro.Size     = new System.Drawing.Size(52, 16);
     this.labLivro.TabIndex = 11;
     this.labLivro.Text     = "Livro:";
     //
     // edtPrecoTotal
     //
     this.edtPrecoTotal.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.edtPrecoTotal.Enabled   = false;
     this.edtPrecoTotal.Location  = new System.Drawing.Point(320, 8);
     this.edtPrecoTotal.MaxLength = 10;
     this.edtPrecoTotal.Name      = "edtPrecoTotal";
     this.edtPrecoTotal.Size      = new System.Drawing.Size(128, 20);
     this.edtPrecoTotal.TabIndex  = 1;
     this.edtPrecoTotal.Text      = "";
     //
     // labPrecoTotal
     //
     this.labPrecoTotal.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labPrecoTotal.Location = new System.Drawing.Point(248, 8);
     this.labPrecoTotal.Name     = "labPrecoTotal";
     this.labPrecoTotal.Size     = new System.Drawing.Size(64, 16);
     this.labPrecoTotal.TabIndex = 0;
     this.labPrecoTotal.Text     = "Preço total:";
     //
     // frmConVendas
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(456, 341);
     this.Name     = "frmConVendas";
     this.Text     = "Consulta de Vendas Realizadas";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.frmConVendas_Closing);
     this.Load    += new System.EventHandler(this.frmConVendas_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridConsulta)).EndInit();
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dsConsulta)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 55
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.CancelBTN        = new System.Windows.Forms.Button();
     this.ButtonsPN        = new System.Windows.Forms.Panel();
     this.OkBTN            = new System.Windows.Forms.Button();
     this.MainPN           = new System.Windows.Forms.Panel();
     this.TimestampCTRL    = new System.Windows.Forms.DateTimePicker();
     this.TimestampLB      = new System.Windows.Forms.Label();
     this.UserLB           = new System.Windows.Forms.Label();
     this.CreationTimeLB   = new System.Windows.Forms.Label();
     this.ValueLB          = new System.Windows.Forms.Label();
     this.CreationTimeCTRL = new System.Windows.Forms.DateTimePicker();
     this.UserTB           = new System.Windows.Forms.TextBox();
     this.AnnotationTB     = new System.Windows.Forms.TextBox();
     this.ButtonsPN.SuspendLayout();
     this.MainPN.SuspendLayout();
     this.SuspendLayout();
     //
     // CancelBTN
     //
     this.CancelBTN.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.CancelBTN.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.CancelBTN.Location     = new System.Drawing.Point(288, 8);
     this.CancelBTN.Name         = "CancelBTN";
     this.CancelBTN.TabIndex     = 0;
     this.CancelBTN.Text         = "Cancel";
     //
     // ButtonsPN
     //
     this.ButtonsPN.Controls.Add(this.OkBTN);
     this.ButtonsPN.Controls.Add(this.CancelBTN);
     this.ButtonsPN.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.ButtonsPN.Location = new System.Drawing.Point(0, 98);
     this.ButtonsPN.Name     = "ButtonsPN";
     this.ButtonsPN.Size     = new System.Drawing.Size(368, 36);
     this.ButtonsPN.TabIndex = 0;
     //
     // OkBTN
     //
     this.OkBTN.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.OkBTN.Location     = new System.Drawing.Point(4, 8);
     this.OkBTN.Name         = "OkBTN";
     this.OkBTN.TabIndex     = 1;
     this.OkBTN.Text         = "OK";
     //
     // MainPN
     //
     this.MainPN.Controls.Add(this.AnnotationTB);
     this.MainPN.Controls.Add(this.UserTB);
     this.MainPN.Controls.Add(this.CreationTimeCTRL);
     this.MainPN.Controls.Add(this.TimestampCTRL);
     this.MainPN.Controls.Add(this.TimestampLB);
     this.MainPN.Controls.Add(this.UserLB);
     this.MainPN.Controls.Add(this.CreationTimeLB);
     this.MainPN.Controls.Add(this.ValueLB);
     this.MainPN.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.MainPN.DockPadding.Left  = 4;
     this.MainPN.DockPadding.Right = 4;
     this.MainPN.DockPadding.Top   = 4;
     this.MainPN.Location          = new System.Drawing.Point(0, 0);
     this.MainPN.Name              = "MainPN";
     this.MainPN.Size              = new System.Drawing.Size(368, 98);
     this.MainPN.TabIndex          = 1;
     //
     // TimestampCTRL
     //
     this.TimestampCTRL.CustomFormat = "yyyy-MM-dd HH:mm:ss";
     this.TimestampCTRL.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.TimestampCTRL.Location     = new System.Drawing.Point(80, 28);
     this.TimestampCTRL.Name         = "TimestampCTRL";
     this.TimestampCTRL.Size         = new System.Drawing.Size(132, 20);
     this.TimestampCTRL.TabIndex     = 4;
     //
     // TimestampLB
     //
     this.TimestampLB.Location  = new System.Drawing.Point(4, 28);
     this.TimestampLB.Name      = "TimestampLB";
     this.TimestampLB.Size      = new System.Drawing.Size(76, 23);
     this.TimestampLB.TabIndex  = 3;
     this.TimestampLB.Text      = "Timestamp";
     this.TimestampLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // UserLB
     //
     this.UserLB.Location  = new System.Drawing.Point(4, 76);
     this.UserLB.Name      = "UserLB";
     this.UserLB.Size      = new System.Drawing.Size(76, 23);
     this.UserLB.TabIndex  = 7;
     this.UserLB.Text      = "User";
     this.UserLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // CreationTimeLB
     //
     this.CreationTimeLB.Location  = new System.Drawing.Point(4, 52);
     this.CreationTimeLB.Name      = "CreationTimeLB";
     this.CreationTimeLB.Size      = new System.Drawing.Size(76, 23);
     this.CreationTimeLB.TabIndex  = 5;
     this.CreationTimeLB.Text      = "Creation Time";
     this.CreationTimeLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ValueLB
     //
     this.ValueLB.Location  = new System.Drawing.Point(4, 4);
     this.ValueLB.Name      = "ValueLB";
     this.ValueLB.Size      = new System.Drawing.Size(76, 23);
     this.ValueLB.TabIndex  = 0;
     this.ValueLB.Text      = "Annotation";
     this.ValueLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // CreationTimeCTRL
     //
     this.CreationTimeCTRL.CustomFormat = "yyyy-MM-dd HH:mm:ss";
     this.CreationTimeCTRL.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.CreationTimeCTRL.Location     = new System.Drawing.Point(80, 52);
     this.CreationTimeCTRL.Name         = "CreationTimeCTRL";
     this.CreationTimeCTRL.Size         = new System.Drawing.Size(132, 20);
     this.CreationTimeCTRL.TabIndex     = 9;
     //
     // UserTB
     //
     this.UserTB.Location = new System.Drawing.Point(80, 76);
     this.UserTB.Name     = "UserTB";
     this.UserTB.Size     = new System.Drawing.Size(132, 20);
     this.UserTB.TabIndex = 10;
     this.UserTB.Text     = "";
     //
     // AnnotationTB
     //
     this.AnnotationTB.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.AnnotationTB.Location = new System.Drawing.Point(80, 4);
     this.AnnotationTB.Name     = "AnnotationTB";
     this.AnnotationTB.Size     = new System.Drawing.Size(284, 20);
     this.AnnotationTB.TabIndex = 11;
     this.AnnotationTB.Text     = "";
     //
     // AnnotationValueEditDlg
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(368, 134);
     this.Controls.Add(this.MainPN);
     this.Controls.Add(this.ButtonsPN);
     this.Name          = "AnnotationValueEditDlg";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Edit Annotation";
     this.ButtonsPN.ResumeLayout(false);
     this.MainPN.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 56
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmlhthongso));
     this.label1  = new System.Windows.Forms.Label();
     this.label2  = new System.Windows.Forms.Label();
     this.dtp1    = new System.Windows.Forms.DateTimePicker();
     this.dtp2    = new System.Windows.Forms.DateTimePicker();
     this.button1 = new System.Windows.Forms.Button();
     this.button2 = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(56, 16);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Từ Ngày";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(128, 8);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(56, 16);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Ðến Ngày";
     //
     // dtp1
     //
     this.dtp1.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dtp1.Location = new System.Drawing.Point(16, 32);
     this.dtp1.Name     = "dtp1";
     this.dtp1.Size     = new System.Drawing.Size(88, 20);
     this.dtp1.TabIndex = 2;
     //
     // dtp2
     //
     this.dtp2.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dtp2.Location = new System.Drawing.Point(128, 32);
     this.dtp2.Name     = "dtp2";
     this.dtp2.Size     = new System.Drawing.Size(88, 20);
     this.dtp2.TabIndex = 3;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(16, 72);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(88, 32);
     this.button1.TabIndex = 4;
     this.button1.Text     = "Ðồng ý";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(128, 72);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(88, 32);
     this.button2.TabIndex = 5;
     this.button2.Text     = "Kết thúc";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // frmlhthongso
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(232, 125);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.button2,
         this.button1,
         this.dtp2,
         this.dtp1,
         this.label2,
         this.label1
     });
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "frmlhthongso";
     this.Text        = "Chọn Thông Số";
     this.ResumeLayout(false);
 }
Esempio n. 57
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmReportQuery));
     this.m_palList             = new System.Windows.Forms.Panel();
     this.m_lsvReportList       = new System.Windows.Forms.ListView();
     this.columnHeader2         = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3         = new System.Windows.Forms.ColumnHeader();
     this.columnHeader1         = new System.Windows.Forms.ColumnHeader();
     this.columnHeader5         = new System.Windows.Forms.ColumnHeader();
     this.columnHeader6         = new System.Windows.Forms.ColumnHeader();
     this.columnHeader4         = new System.Windows.Forms.ColumnHeader();
     this.columnHeader7         = new System.Windows.Forms.ColumnHeader();
     this.columnHeader8         = new System.Windows.Forms.ColumnHeader();
     this.columnHeader9         = new System.Windows.Forms.ColumnHeader();
     this.m_palHeader           = new System.Windows.Forms.Panel();
     this.btnExit               = new PinkieControls.ButtonXP();
     this.btnPrint              = new PinkieControls.ButtonXP();
     this.m_txtPatientCardNO    = new System.Windows.Forms.TextBox();
     this.label29               = new System.Windows.Forms.Label();
     this.label26               = new System.Windows.Forms.Label();
     this.m_cboConfirmState     = new System.Windows.Forms.ComboBox();
     this.label6                = new System.Windows.Forms.Label();
     this.m_txtBedNO            = new System.Windows.Forms.TextBox();
     this.m_txtAppDept          = new com.digitalwave.Utility.ctlDeptTextBox();
     this.m_txtAppDoct          = new com.digitalwave.Utility.ctlEmpTextBox();
     this.label5                = new System.Windows.Forms.Label();
     this.label4                = new System.Windows.Forms.Label();
     this.m_txtInhospNO         = new System.Windows.Forms.TextBox();
     this.label2                = new System.Windows.Forms.Label();
     this.m_txtPatientNameQuery = new System.Windows.Forms.TextBox();
     this.label21               = new System.Windows.Forms.Label();
     this.label7                = new System.Windows.Forms.Label();
     this.label3                = new System.Windows.Forms.Label();
     this.m_dtpFromDate         = new System.Windows.Forms.DateTimePicker();
     this.m_dtpToDate           = new System.Windows.Forms.DateTimePicker();
     this.m_btnQuery            = new PinkieControls.ButtonXP();
     this.m_palList.SuspendLayout();
     this.m_palHeader.SuspendLayout();
     this.SuspendLayout();
     //
     // m_palList
     //
     this.m_palList.Controls.Add(this.m_lsvReportList);
     this.m_palList.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.m_palList.Location = new System.Drawing.Point(0, 98);
     this.m_palList.Name     = "m_palList";
     this.m_palList.Size     = new System.Drawing.Size(892, 299);
     this.m_palList.TabIndex = 134;
     //
     // m_lsvReportList
     //
     this.m_lsvReportList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader1,
         this.columnHeader5,
         this.columnHeader6,
         this.columnHeader4,
         this.columnHeader7,
         this.columnHeader8,
         this.columnHeader9
     });
     this.m_lsvReportList.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.m_lsvReportList.FullRowSelect = true;
     this.m_lsvReportList.GridLines     = true;
     this.m_lsvReportList.HideSelection = false;
     this.m_lsvReportList.Location      = new System.Drawing.Point(0, 0);
     this.m_lsvReportList.MultiSelect   = false;
     this.m_lsvReportList.Name          = "m_lsvReportList";
     this.m_lsvReportList.Size          = new System.Drawing.Size(892, 299);
     this.m_lsvReportList.TabIndex      = 132;
     this.m_lsvReportList.UseCompatibleStateImageBehavior = false;
     this.m_lsvReportList.View                  = System.Windows.Forms.View.Details;
     this.m_lsvReportList.DoubleClick          += new System.EventHandler(this.m_lsvReportList_DoubleClick);
     this.m_lsvReportList.SelectedIndexChanged += new System.EventHandler(this.m_lsvReportList_SelectedIndexChanged);
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "患者姓名";
     this.columnHeader2.Width = 80;
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "检验项目";
     this.columnHeader3.Width = 80;
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "住院号";
     this.columnHeader1.Width = 80;
     //
     // columnHeader5
     //
     this.columnHeader5.Text = "床号";
     //
     // columnHeader6
     //
     this.columnHeader6.Text  = "申请科室";
     this.columnHeader6.Width = 80;
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "申请医生";
     this.columnHeader4.Width = 80;
     //
     // columnHeader7
     //
     this.columnHeader7.Text  = "申请时间";
     this.columnHeader7.Width = 151;
     //
     // columnHeader8
     //
     this.columnHeader8.Text  = "检验报告时间";
     this.columnHeader8.Width = 152;
     //
     // columnHeader9
     //
     this.columnHeader9.Text  = "状态";
     this.columnHeader9.Width = 40;
     //
     // m_palHeader
     //
     this.m_palHeader.Controls.Add(this.btnExit);
     this.m_palHeader.Controls.Add(this.btnPrint);
     this.m_palHeader.Controls.Add(this.m_txtPatientCardNO);
     this.m_palHeader.Controls.Add(this.label29);
     this.m_palHeader.Controls.Add(this.label26);
     this.m_palHeader.Controls.Add(this.m_cboConfirmState);
     this.m_palHeader.Controls.Add(this.label6);
     this.m_palHeader.Controls.Add(this.m_txtBedNO);
     this.m_palHeader.Controls.Add(this.m_txtAppDept);
     this.m_palHeader.Controls.Add(this.m_txtAppDoct);
     this.m_palHeader.Controls.Add(this.label5);
     this.m_palHeader.Controls.Add(this.label4);
     this.m_palHeader.Controls.Add(this.m_txtInhospNO);
     this.m_palHeader.Controls.Add(this.label2);
     this.m_palHeader.Controls.Add(this.m_txtPatientNameQuery);
     this.m_palHeader.Controls.Add(this.label21);
     this.m_palHeader.Controls.Add(this.label7);
     this.m_palHeader.Controls.Add(this.label3);
     this.m_palHeader.Controls.Add(this.m_dtpFromDate);
     this.m_palHeader.Controls.Add(this.m_dtpToDate);
     this.m_palHeader.Controls.Add(this.m_btnQuery);
     this.m_palHeader.Dock     = System.Windows.Forms.DockStyle.Top;
     this.m_palHeader.Location = new System.Drawing.Point(0, 0);
     this.m_palHeader.Name     = "m_palHeader";
     this.m_palHeader.Size     = new System.Drawing.Size(892, 98);
     this.m_palHeader.TabIndex = 0;
     //
     // btnExit
     //
     this.btnExit.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.btnExit.DefaultScheme = true;
     this.btnExit.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.btnExit.Hint          = "";
     this.btnExit.Location      = new System.Drawing.Point(871, 10);
     this.btnExit.Name          = "btnExit";
     this.btnExit.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.btnExit.Size          = new System.Drawing.Size(92, 31);
     this.btnExit.TabIndex      = 146;
     this.btnExit.Text          = "关闭(&C)";
     this.btnExit.Click        += new System.EventHandler(this.btnExit_Click);
     //
     // btnPrint
     //
     this.btnPrint.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.btnPrint.DefaultScheme = true;
     this.btnPrint.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.btnPrint.Hint          = "";
     this.btnPrint.Location      = new System.Drawing.Point(771, 46);
     this.btnPrint.Name          = "btnPrint";
     this.btnPrint.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.btnPrint.Size          = new System.Drawing.Size(92, 31);
     this.btnPrint.TabIndex      = 145;
     this.btnPrint.Text          = "打印(F8)";
     this.btnPrint.Click        += new System.EventHandler(this.btnPrint_Click);
     //
     // m_txtPatientCardNO
     //
     this.m_txtPatientCardNO.Location = new System.Drawing.Point(72, 60);
     this.m_txtPatientCardNO.Name     = "m_txtPatientCardNO";
     this.m_txtPatientCardNO.Size     = new System.Drawing.Size(104, 23);
     this.m_txtPatientCardNO.TabIndex = 8;
     //
     // label29
     //
     this.label29.AutoSize = true;
     this.label29.Location = new System.Drawing.Point(8, 64);
     this.label29.Name     = "label29";
     this.label29.Size     = new System.Drawing.Size(63, 14);
     this.label29.TabIndex = 144;
     this.label29.Text     = "诊疗卡号";
     //
     // label26
     //
     this.label26.AutoSize  = true;
     this.label26.Location  = new System.Drawing.Point(180, 40);
     this.label26.Name      = "label26";
     this.label26.Size      = new System.Drawing.Size(63, 14);
     this.label26.TabIndex  = 142;
     this.label26.Text      = "审核状态";
     this.label26.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // m_cboConfirmState
     //
     this.m_cboConfirmState.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.m_cboConfirmState.Items.AddRange(new object[] {
         "未审核",
         "已审核",
         "全  部"
     });
     this.m_cboConfirmState.Location = new System.Drawing.Point(248, 36);
     this.m_cboConfirmState.Name     = "m_cboConfirmState";
     this.m_cboConfirmState.Size     = new System.Drawing.Size(96, 22);
     this.m_cboConfirmState.TabIndex = 3;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(208, 16);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(35, 14);
     this.label6.TabIndex = 140;
     this.label6.Text     = "床号";
     //
     // m_txtBedNO
     //
     this.m_txtBedNO.Location  = new System.Drawing.Point(248, 12);
     this.m_txtBedNO.MaxLength = 4;
     this.m_txtBedNO.Name      = "m_txtBedNO";
     this.m_txtBedNO.Size      = new System.Drawing.Size(96, 23);
     this.m_txtBedNO.TabIndex  = 2;
     //
     // m_txtAppDept
     //
     this.m_txtAppDept.EnableAutoValidation   = true;
     this.m_txtAppDept.EnableEnterKeyValidate = true;
     this.m_txtAppDept.EnableEscapeKeyUndo    = true;
     this.m_txtAppDept.EnableLastValidValue   = true;
     this.m_txtAppDept.ErrorProvider          = null;
     this.m_txtAppDept.ErrorProviderMessage   = "Invalid value";
     this.m_txtAppDept.Font            = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.m_txtAppDept.ForceFormatText = true;
     this.m_txtAppDept.Location        = new System.Drawing.Point(428, 12);
     this.m_txtAppDept.m_StrDeptID     = null;
     this.m_txtAppDept.m_StrDeptName   = null;
     this.m_txtAppDept.MaxLength       = 20;
     this.m_txtAppDept.Name            = "m_txtAppDept";
     this.m_txtAppDept.SetDepartment   = com.digitalwave.Utility.ctlDeptTextBox.eDeptArea.All;
     this.m_txtAppDept.Size            = new System.Drawing.Size(104, 23);
     this.m_txtAppDept.TabIndex        = 4;
     //
     // m_txtAppDoct
     //
     this.m_txtAppDoct.EnableAutoValidation   = true;
     this.m_txtAppDoct.EnableEnterKeyValidate = true;
     this.m_txtAppDoct.EnableEscapeKeyUndo    = true;
     this.m_txtAppDoct.EnableLastValidValue   = true;
     this.m_txtAppDoct.ErrorProvider          = null;
     this.m_txtAppDoct.ErrorProviderMessage   = "Invalid value";
     this.m_txtAppDoct.Font              = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.m_txtAppDoct.ForceFormatText   = true;
     this.m_txtAppDoct.Location          = new System.Drawing.Point(428, 36);
     this.m_txtAppDoct.m_intShowOtherEmp = 0;
     this.m_txtAppDoct.m_StrDeptID       = "*";
     this.m_txtAppDoct.m_StrEmployeeID   = null;
     this.m_txtAppDoct.m_StrEmployeeName = null;
     this.m_txtAppDoct.MaxLength         = 20;
     this.m_txtAppDoct.Name              = "m_txtAppDoct";
     this.m_txtAppDoct.Size              = new System.Drawing.Size(104, 23);
     this.m_txtAppDoct.TabIndex          = 5;
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.Location  = new System.Drawing.Point(360, 40);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(63, 14);
     this.label5.TabIndex  = 136;
     this.label5.Text      = "申请医生";
     this.label5.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Location  = new System.Drawing.Point(360, 16);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(63, 14);
     this.label4.TabIndex  = 134;
     this.label4.Text      = "申请科室";
     this.label4.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // m_txtInhospNO
     //
     this.m_txtInhospNO.Location  = new System.Drawing.Point(72, 36);
     this.m_txtInhospNO.MaxLength = 50;
     this.m_txtInhospNO.Name      = "m_txtInhospNO";
     this.m_txtInhospNO.Size      = new System.Drawing.Size(104, 23);
     this.m_txtInhospNO.TabIndex  = 1;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Location  = new System.Drawing.Point(20, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(49, 14);
     this.label2.TabIndex  = 132;
     this.label2.Text      = "住院号";
     this.label2.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // m_txtPatientNameQuery
     //
     this.m_txtPatientNameQuery.Location  = new System.Drawing.Point(72, 12);
     this.m_txtPatientNameQuery.MaxLength = 50;
     this.m_txtPatientNameQuery.Name      = "m_txtPatientNameQuery";
     this.m_txtPatientNameQuery.Size      = new System.Drawing.Size(104, 23);
     this.m_txtPatientNameQuery.TabIndex  = 0;
     //
     // label21
     //
     this.label21.AutoSize = true;
     this.label21.Location = new System.Drawing.Point(556, 16);
     this.label21.Name     = "label21";
     this.label21.Size     = new System.Drawing.Size(63, 14);
     this.label21.TabIndex = 130;
     this.label21.Text     = "申请日期";
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.Location  = new System.Drawing.Point(8, 16);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(63, 14);
     this.label7.TabIndex  = 128;
     this.label7.Text      = "病人姓名";
     this.label7.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(584, 40);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(21, 14);
     this.label3.TabIndex = 122;
     this.label3.Text     = "至";
     //
     // m_dtpFromDate
     //
     this.m_dtpFromDate.CustomFormat = "yyyy-MM-dd";
     this.m_dtpFromDate.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.m_dtpFromDate.Location     = new System.Drawing.Point(624, 12);
     this.m_dtpFromDate.Name         = "m_dtpFromDate";
     this.m_dtpFromDate.Size         = new System.Drawing.Size(96, 23);
     this.m_dtpFromDate.TabIndex     = 6;
     //
     // m_dtpToDate
     //
     this.m_dtpToDate.CustomFormat = "yyyy-MM-dd";
     this.m_dtpToDate.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.m_dtpToDate.Location     = new System.Drawing.Point(624, 36);
     this.m_dtpToDate.Name         = "m_dtpToDate";
     this.m_dtpToDate.Size         = new System.Drawing.Size(96, 23);
     this.m_dtpToDate.TabIndex     = 7;
     //
     // m_btnQuery
     //
     this.m_btnQuery.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.m_btnQuery.DefaultScheme = true;
     this.m_btnQuery.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnQuery.Hint          = "";
     this.m_btnQuery.Location      = new System.Drawing.Point(771, 10);
     this.m_btnQuery.Name          = "m_btnQuery";
     this.m_btnQuery.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnQuery.Size          = new System.Drawing.Size(92, 31);
     this.m_btnQuery.TabIndex      = 100;
     this.m_btnQuery.Text          = "查询(F4)";
     this.m_btnQuery.Click        += new System.EventHandler(this.m_btnQuery_Click);
     //
     // frmReportQuery
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 16);
     this.ClientSize        = new System.Drawing.Size(892, 397);
     this.Controls.Add(this.m_palList);
     this.Controls.Add(this.m_palHeader);
     this.Font       = new System.Drawing.Font("宋体", 10.5F);
     this.Icon       = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name       = "frmReportQuery";
     this.Text       = "检验报告查询";
     this.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.frmReportQuery_KeyDown);
     this.Load      += new System.EventHandler(this.frmReportQuery_Load);
     this.m_palList.ResumeLayout(false);
     this.m_palHeader.ResumeLayout(false);
     this.m_palHeader.PerformLayout();
     this.ResumeLayout(false);
 }
Esempio n. 58
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.cryReportViewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.m_btnQulReg     = new PinkieControls.ButtonXP();
     this.m_daFinDate     = new System.Windows.Forms.DateTimePicker();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.label2          = new System.Windows.Forms.Label();
     this.m_btnPrint      = new PinkieControls.ButtonXP();
     this.groupBox2       = new System.Windows.Forms.GroupBox();
     this.m_btnExit       = new PinkieControls.ButtonXP();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // cryReportViewer
     //
     this.cryReportViewer.ActiveViewIndex = -1;
     this.cryReportViewer.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.cryReportViewer.DisplayGroupTree   = false;
     this.cryReportViewer.DockPadding.Bottom = 5;
     this.cryReportViewer.Location           = new System.Drawing.Point(8, 22);
     this.cryReportViewer.Name         = "cryReportViewer";
     this.cryReportViewer.ReportSource = null;
     this.cryReportViewer.Size         = new System.Drawing.Size(816, 418);
     this.cryReportViewer.TabIndex     = 59;
     //
     // m_btnQulReg
     //
     this.m_btnQulReg.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200)));
     this.m_btnQulReg.DefaultScheme = true;
     this.m_btnQulReg.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnQulReg.Hint          = "";
     this.m_btnQulReg.Location      = new System.Drawing.Point(264, 24);
     this.m_btnQulReg.Name          = "m_btnQulReg";
     this.m_btnQulReg.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnQulReg.Size          = new System.Drawing.Size(72, 24);
     this.m_btnQulReg.TabIndex      = 2;
     this.m_btnQulReg.Text          = "确定(F5)";
     this.m_btnQulReg.Click        += new System.EventHandler(this.m_btnQulReg_Click);
     this.m_btnQulReg.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.m_btnQulReg_KeyDown);
     //
     // m_daFinDate
     //
     this.m_daFinDate.Location = new System.Drawing.Point(120, 25);
     this.m_daFinDate.Name     = "m_daFinDate";
     this.m_daFinDate.Size     = new System.Drawing.Size(128, 23);
     this.m_daFinDate.TabIndex = 1;
     this.m_daFinDate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.m_daFinDate_KeyDown);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.m_btnExit);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.m_btnQulReg);
     this.groupBox1.Controls.Add(this.m_daFinDate);
     this.groupBox1.Controls.Add(this.m_btnPrint);
     this.groupBox1.Location = new System.Drawing.Point(8, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(832, 56);
     this.groupBox1.TabIndex = 61;
     this.groupBox1.TabStop  = false;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Location  = new System.Drawing.Point(40, 27);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(70, 19);
     this.label2.TabIndex  = 63;
     this.label2.Text      = "统计日期:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // m_btnPrint
     //
     this.m_btnPrint.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200)));
     this.m_btnPrint.DefaultScheme = true;
     this.m_btnPrint.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnPrint.Enabled       = false;
     this.m_btnPrint.Hint          = "";
     this.m_btnPrint.Location      = new System.Drawing.Point(376, 24);
     this.m_btnPrint.Name          = "m_btnPrint";
     this.m_btnPrint.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnPrint.Size          = new System.Drawing.Size(88, 24);
     this.m_btnPrint.TabIndex      = 3;
     this.m_btnPrint.Text          = "结帐(F2)";
     this.m_btnPrint.Click        += new System.EventHandler(this.m_btnPrint_Click);
     //
     // groupBox2
     //
     this.groupBox2.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.groupBox2.Controls.Add(this.cryReportViewer);
     this.groupBox2.Location = new System.Drawing.Point(8, 64);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(832, 448);
     this.groupBox2.TabIndex = 62;
     this.groupBox2.TabStop  = false;
     //
     // m_btnExit
     //
     this.m_btnExit.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(212)), ((System.Byte)(208)), ((System.Byte)(200)));
     this.m_btnExit.DefaultScheme = true;
     this.m_btnExit.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnExit.Hint          = "";
     this.m_btnExit.Location      = new System.Drawing.Point(488, 24);
     this.m_btnExit.Name          = "m_btnExit";
     this.m_btnExit.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnExit.Size          = new System.Drawing.Size(88, 24);
     this.m_btnExit.TabIndex      = 66;
     this.m_btnExit.Text          = "退出(Esc)";
     this.m_btnExit.Click        += new System.EventHandler(this.m_btnExit_Click);
     //
     // frmReckoningReport
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 16);
     this.ClientSize        = new System.Drawing.Size(848, 517);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Font       = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.KeyPreview = true;
     this.Name       = "frmReckoningReport";
     this.Text       = "操作员日实收数";
     this.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.frmReckoningReport_KeyDown);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 59
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung.
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     this.components         = new System.ComponentModel.Container();
     this.lbMasks            = new System.Windows.Forms.ListBox();
     this.lbName             = new System.Windows.Forms.Label();
     this.txName             = new System.Windows.Forms.TextBox();
     this.lbDate             = new System.Windows.Forms.Label();
     this.dtXDate            = new System.Windows.Forms.DateTimePicker();
     this.lbIDate            = new System.Windows.Forms.Label();
     this.dtIDate            = new System.Windows.Forms.DateTimePicker();
     this.lbIndex1           = new System.Windows.Forms.Label();
     this.txIndex1           = new System.Windows.Forms.TextBox();
     this.txIndex2           = new System.Windows.Forms.TextBox();
     this.lbIndex2           = new System.Windows.Forms.Label();
     this.txIndex3           = new System.Windows.Forms.TextBox();
     this.lbIndex3           = new System.Windows.Forms.Label();
     this.rtDesc             = new System.Windows.Forms.RichTextBox();
     this.bnOK               = new System.Windows.Forms.Button();
     this.bnCancel           = new System.Windows.Forms.Button();
     this.cbSordType         = new System.Windows.Forms.ComboBox();
     this.imageListSordTypes = new System.Windows.Forms.ImageList(this.components);
     this.pbSordType         = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pbSordType)).BeginInit();
     this.SuspendLayout();
     //
     // lbMasks
     //
     this.lbMasks.Location              = new System.Drawing.Point(8, 8);
     this.lbMasks.Name                  = "lbMasks";
     this.lbMasks.Size                  = new System.Drawing.Size(120, 381);
     this.lbMasks.TabIndex              = 0;
     this.lbMasks.SelectedIndexChanged += new System.EventHandler(this.lbMasks_SelectedIndexChanged);
     //
     // lbName
     //
     this.lbName.Location = new System.Drawing.Point(136, 8);
     this.lbName.Name     = "lbName";
     this.lbName.Size     = new System.Drawing.Size(100, 23);
     this.lbName.TabIndex = 1;
     this.lbName.Text     = "Short description";
     //
     // txName
     //
     this.txName.Location = new System.Drawing.Point(240, 8);
     this.txName.Name     = "txName";
     this.txName.Size     = new System.Drawing.Size(200, 20);
     this.txName.TabIndex = 2;
     this.txName.Text     = "txName";
     //
     // lbDate
     //
     this.lbDate.Location = new System.Drawing.Point(136, 48);
     this.lbDate.Name     = "lbDate";
     this.lbDate.Size     = new System.Drawing.Size(100, 23);
     this.lbDate.TabIndex = 3;
     this.lbDate.Text     = "Date";
     //
     // dtXDate
     //
     this.dtXDate.Checked      = false;
     this.dtXDate.Location     = new System.Drawing.Point(240, 48);
     this.dtXDate.Name         = "dtXDate";
     this.dtXDate.ShowCheckBox = true;
     this.dtXDate.Size         = new System.Drawing.Size(200, 20);
     this.dtXDate.TabIndex     = 4;
     this.dtXDate.Value        = new System.DateTime(2004, 10, 13, 16, 30, 34, 985);
     //
     // lbIDate
     //
     this.lbIDate.Location = new System.Drawing.Point(136, 88);
     this.lbIDate.Name     = "lbIDate";
     this.lbIDate.Size     = new System.Drawing.Size(100, 23);
     this.lbIDate.TabIndex = 5;
     this.lbIDate.Text     = "Archiving date";
     //
     // dtIDate
     //
     this.dtIDate.Location = new System.Drawing.Point(240, 88);
     this.dtIDate.Name     = "dtIDate";
     this.dtIDate.Size     = new System.Drawing.Size(200, 20);
     this.dtIDate.TabIndex = 6;
     this.dtIDate.Value    = new System.DateTime(2004, 10, 13, 16, 30, 34, 985);
     //
     // lbIndex1
     //
     this.lbIndex1.Location = new System.Drawing.Point(136, 160);
     this.lbIndex1.Name     = "lbIndex1";
     this.lbIndex1.Size     = new System.Drawing.Size(100, 23);
     this.lbIndex1.TabIndex = 7;
     this.lbIndex1.Text     = "lbIndex1";
     //
     // txIndex1
     //
     this.txIndex1.Location = new System.Drawing.Point(240, 160);
     this.txIndex1.Name     = "txIndex1";
     this.txIndex1.Size     = new System.Drawing.Size(200, 20);
     this.txIndex1.TabIndex = 8;
     this.txIndex1.Text     = "txIndex1";
     //
     // txIndex2
     //
     this.txIndex2.Location = new System.Drawing.Point(240, 192);
     this.txIndex2.Name     = "txIndex2";
     this.txIndex2.Size     = new System.Drawing.Size(200, 20);
     this.txIndex2.TabIndex = 10;
     this.txIndex2.Text     = "txIndex2";
     //
     // lbIndex2
     //
     this.lbIndex2.Location = new System.Drawing.Point(136, 192);
     this.lbIndex2.Name     = "lbIndex2";
     this.lbIndex2.Size     = new System.Drawing.Size(100, 23);
     this.lbIndex2.TabIndex = 9;
     this.lbIndex2.Text     = "lbIndex2";
     //
     // txIndex3
     //
     this.txIndex3.Location = new System.Drawing.Point(240, 224);
     this.txIndex3.Name     = "txIndex3";
     this.txIndex3.Size     = new System.Drawing.Size(200, 20);
     this.txIndex3.TabIndex = 12;
     this.txIndex3.Text     = "txIndex3";
     //
     // lbIndex3
     //
     this.lbIndex3.Location = new System.Drawing.Point(136, 224);
     this.lbIndex3.Name     = "lbIndex3";
     this.lbIndex3.Size     = new System.Drawing.Size(100, 23);
     this.lbIndex3.TabIndex = 11;
     this.lbIndex3.Text     = "lbIndex3";
     //
     // rtDesc
     //
     this.rtDesc.Location = new System.Drawing.Point(144, 256);
     this.rtDesc.Name     = "rtDesc";
     this.rtDesc.Size     = new System.Drawing.Size(296, 136);
     this.rtDesc.TabIndex = 13;
     this.rtDesc.Text     = "rtDesc";
     //
     // bnOK
     //
     this.bnOK.Location = new System.Drawing.Point(456, 8);
     this.bnOK.Name     = "bnOK";
     this.bnOK.Size     = new System.Drawing.Size(88, 23);
     this.bnOK.TabIndex = 14;
     this.bnOK.Text     = "OK";
     this.bnOK.Click   += new System.EventHandler(this.bnOK_Click);
     //
     // bnCancel
     //
     this.bnCancel.Location = new System.Drawing.Point(456, 40);
     this.bnCancel.Name     = "bnCancel";
     this.bnCancel.Size     = new System.Drawing.Size(88, 24);
     this.bnCancel.TabIndex = 15;
     this.bnCancel.Text     = "Cancel";
     this.bnCancel.Click   += new System.EventHandler(this.bnCancel_Click);
     //
     // cbSordType
     //
     this.cbSordType.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbSordType.Location              = new System.Drawing.Point(240, 120);
     this.cbSordType.Name                  = "cbSordType";
     this.cbSordType.Size                  = new System.Drawing.Size(200, 21);
     this.cbSordType.TabIndex              = 16;
     this.cbSordType.SelectedIndexChanged += new System.EventHandler(this.cbSordType_SelectedIndexChanged);
     //
     // imageListSordTypes
     //
     this.imageListSordTypes.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageListSordTypes.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageListSordTypes.TransparentColor = System.Drawing.Color.Transparent;
     //
     // pbSordType
     //
     this.pbSordType.Location = new System.Drawing.Point(472, 120);
     this.pbSordType.Name     = "pbSordType";
     this.pbSordType.Size     = new System.Drawing.Size(32, 32);
     this.pbSordType.TabIndex = 17;
     this.pbSordType.TabStop  = false;
     //
     // ViewAndEditSordDlg
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(552, 405);
     this.Controls.Add(this.pbSordType);
     this.Controls.Add(this.cbSordType);
     this.Controls.Add(this.bnCancel);
     this.Controls.Add(this.bnOK);
     this.Controls.Add(this.rtDesc);
     this.Controls.Add(this.txIndex3);
     this.Controls.Add(this.lbIndex3);
     this.Controls.Add(this.txIndex2);
     this.Controls.Add(this.lbIndex2);
     this.Controls.Add(this.txIndex1);
     this.Controls.Add(this.lbIndex1);
     this.Controls.Add(this.dtIDate);
     this.Controls.Add(this.lbIDate);
     this.Controls.Add(this.dtXDate);
     this.Controls.Add(this.lbDate);
     this.Controls.Add(this.txName);
     this.Controls.Add(this.lbName);
     this.Controls.Add(this.lbMasks);
     this.Name  = "ViewAndEditSordDlg";
     this.Text  = "ViewAndEditSord";
     this.Load += new System.EventHandler(this.ViewAndEditSord_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pbSordType)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 60
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(rptLaigop));
     this.label1     = new System.Windows.Forms.Label();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label3     = new System.Windows.Forms.Label();
     this.kho        = new System.Windows.Forms.CheckedListBox();
     this.butXem     = new System.Windows.Forms.Button();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(-3, 5);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butKetthuc
     //
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(139, 136);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 4;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(132, 5);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(40, 23);
     this.label3.TabIndex  = 12;
     this.label3.Text      = "đến :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // kho
     //
     this.kho.CheckOnClick = true;
     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, 29);
     this.kho.Name         = "kho";
     this.kho.Size         = new System.Drawing.Size(200, 100);
     this.kho.TabIndex     = 2;
     this.kho.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // butXem
     //
     this.butXem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butXem.Location   = new System.Drawing.Point(69, 136);
     this.butXem.Name       = "butXem";
     this.butXem.Size       = new System.Drawing.Size(70, 25);
     this.butXem.TabIndex   = 3;
     this.butXem.Text       = "&In";
     this.butXem.Click     += new System.EventHandler(this.butXem_Click);
     //
     // tu
     //
     this.tu.CalendarFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(52, 5);
     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.CalendarFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.CustomFormat = "dd/MM/yyyy";
     this.den.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(172, 5);
     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);
     //
     // rptLaigop
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(260, 172);
     this.Controls.Add(this.kho);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.butXem);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.butKetthuc);
     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            = "rptLaigop";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Tổng kết lãi gộp";
     this.Load           += new System.EventHandler(this.rptLaigop_Load);
     this.ResumeLayout(false);
 }