Exemplo n.º 1
0
        protected override void ProcessLine(string line)
        {
            try
            {
                VSSBindingRemover.Library.VSSBindingRemover vssRemover = new VSSBindingRemover.Library.VSSBindingRemover(line);
                vssRemover.RemoveBindings();

                this.Out.WriteLine("Processing completed without errors.");
            }
            catch (Exception ex)
            {
                this.Error.WriteLine(ex.ToString());
            }
        }
        protected override void ProcessLine(string line)
        {
            try
            {
                VSSBindingRemover.Library.VSSBindingRemover vssRemover = new VSSBindingRemover.Library.VSSBindingRemover(line);
                vssRemover.RemoveBindings();

                this.Out.WriteLine("Processing completed without errors.");
            }
            catch (Exception ex)
            {
                this.Error.WriteLine(ex.ToString());
            }
        }
Exemplo n.º 3
0
        private void button2_Click(object sender, EventArgs e)
        {
            try
            {
                VSSBindingRemover.Library.VSSBindingRemover vssRemover = new VSSBindingRemover.Library.VSSBindingRemover(this.textBox1.Text);
                vssRemover.RemoveBindings();

                MessageBox.Show("Processing completed without errors.", "Success", MessageBoxButtons.OK,
                                MessageBoxIcon.Information);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
        private void button2_Click(object sender, EventArgs e)
        {
            try
            {
                VSSBindingRemover.Library.VSSBindingRemover vssRemover = new VSSBindingRemover.Library.VSSBindingRemover(this.textBox1.Text);
                vssRemover.RemoveBindings();

                MessageBox.Show("Processing completed without errors.", "Success", MessageBoxButtons.OK,
                                MessageBoxIcon.Information);

            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }