Пример #1
0
        private void brushButton_Click(object sender, EventArgs e)
        {
            if (brushDialog == null || brushDialog.IsDisposed)
            {
                brushDialog = new BrushDialog(this, renderTarget);
            }

            brushDialog.Show();
            brushDialog.Activate();
        }
        private void brushButton_Click(object sender, EventArgs e)
        {
            if (brushDialog == null || brushDialog.IsDisposed)
                brushDialog = new BrushDialog(this, renderTarget);

            brushDialog.Show();
            brushDialog.Activate();
        }