Beispiel #1
0
        private void differenceToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ArithmeticalOperations arithmetical       = new ArithmeticalOperations();
            BinaryOperation        binaryOperation    = new BinaryOperation(arithmetical.Difference);
            ArithmeticalWindow     arithmeticalWindow = new ArithmeticalWindow(Image, updateImage, binaryOperation);

            arithmeticalWindow.Owner = this;
            arithmeticalWindow.Show();
        }
Beispiel #2
0
        private void logicalXORToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ArithmeticalOperations arithmetical       = new ArithmeticalOperations();
            BinaryOperation        binaryOperation    = new BinaryOperation(arithmetical.ExclusiveDisjunct);
            ArithmeticalWindow     arithmeticalWindow = new ArithmeticalWindow(Image, updateImage, binaryOperation);

            arithmeticalWindow.Owner = this;
            arithmeticalWindow.Show();
        }