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(); }
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(); }