コード例 #1
0
ファイル: Material.cs プロジェクト: GianiWVL/VUYLSTEKE
        public Material(PROF_IT.Common.Enumerations.TypeForm typeForm, MaterialObject material)
        {
            try
            {
                InitializeComponent();

                _material = material;
                _materialOriginal = material.Clone();
                _typeForm = typeForm;
                if (_typeForm == PROF_IT.Common.Enumerations.TypeForm.NewForm)
                {
                    throw new NotImplementedException();
                }
                else
                {
                    Initialize();
                    InitializePropertyForm();
                    SetPermissions();
                }
            }
            catch (System.Exception exception1)
            {
                System.Exception innerException = exception1;
                throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
            }
        }