Beispiel #1
0
        private void frmEditMaterial_Load(object sender, EventArgs e)
        {
            ComboboxUtility.BindSupplier(cbbSupplier);
            ComboboxUtility.BindGroupPart(cbbGroupPart);
            ComboboxUtility.BindTypePartWidthALl(cbbTypePart, "0");
            ComboboxUtility.BindSeriesParttWidthALl(cbbSeriesPart, "0");
            ComboboxUtility.BindUnit(cbbUnit);
            FormUtility.FormatForm(this);
            FormUtility.ResetForm(this);

            if (!materialRequestDataBase.IsEdit)
            {
                this.Text = UI.MateralCreateTilteForm;
            }
            else
            {
                this.Text = UI.MateralEditTilteForm;
            }

            InititalizeForm(m_Material);
        }