HYPDM.WinUI.ProductsAndParts.Material.MaterialConfForm.MaterialConfForm C# (CSharp) Method

MaterialConfForm() public method

public MaterialConfForm ( string t_productId, int p_type, Boolean isWFDetailView ) : System
t_productId string
p_type int
isWFDetailView Boolean
return System
        public MaterialConfForm(string t_productId, int p_type, Boolean isWFDetailView)
        {
            InitializeComponent();

            this.m_type = p_type;
            this.opStatus = false;
            service_Init();
            this.m_product = m_MaterailService.GetById(t_productId);
            allinit();
            if (isWFDetailView)
            {
                this.toolBase.Enabled = false;
                this.tsb_DocAdd.Enabled = false;
                this.tsb_DocDel.Enabled = false;
                this.toolDrawAdd.Enabled = false;
                this.toolDrawDel.Enabled = false;
            }
        }

Same methods

MaterialConfForm::MaterialConfForm ( ) : System
MaterialConfForm::MaterialConfForm ( int p_type ) : System
MaterialConfForm::MaterialConfForm ( string t_productId, int p_type ) : System