コード例 #1
0
ファイル: Types.cs プロジェクト: vendstor/vendstor
        private void BtnAddType_Click(object sender, EventArgs e)
        {
            ///Add Blur
            Blur blur = new Blur(this.ParentForm, UIConstants.FormBlurOpacity);

            blur.Show();

            Forms.Products.Type type = new Forms.Products.Type
            {
                OnCreate = OnCreateType,
                Task     = Enums.Task.Create,
                TopMost  = true
            };

            type.ShowWithResult();

            //Remove Blur
            blur.Close();
        }