Exemplo n.º 1
0
        public void OnContextMenuTest()
        {
            TestControlDesigner controlDesigner = new TestControlDesigner();

            try
            {
                controlDesigner.OnContextMenuMethod(0, 0);
            }
            catch (Exception ex)
            {
                Assert.True(false, "Expected no exception, but got: " + ex.Message);
            }
        }
Exemplo n.º 2
0
 public void OnContextMenuTest()
 {
     using TestControlDesigner controlDesigner = new TestControlDesigner();
     controlDesigner.OnContextMenuMethod(0, 0);
 }