Exemple #1
0
        public void LineStyleControlConstructorTest1()
        {
            IWindowsFormsEditorService DialogProvider = null; // TODO: Initialize to an appropriate value
            LineStyleControl           target         = new LineStyleControl(DialogProvider);

            Assert.Inconclusive("TODO: Implement code to verify target");
        }
Exemple #2
0
        public void SelectedValueTest()
        {
            LineStyleControl target = new LineStyleControl(); // TODO: Initialize to an appropriate value
            LineStyles       actual;

            actual = target.SelectedValue;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Exemple #3
0
        public override object EditValue(ITypeDescriptorContext context,
                                         IServiceProvider provider, object Value)
        {
            // this editor is used for Border and Border.Lines properties
            edSvc = (IWindowsFormsEditorService)provider.GetService(typeof(IWindowsFormsEditorService));
            LineStyleControl ls = new LineStyleControl();

            ls.Style          = (LineStyle)Value;
            ls.LineWidth      = 2;
            ls.StyleSelected += new EventHandler(ls_StyleSelected);

            edSvc.DropDownControl(ls);
            return(ls.Style);
        }
Exemple #4
0
        public void LineStyleControlConstructorTest()
        {
            LineStyleControl target = new LineStyleControl();

            Assert.Inconclusive("TODO: Implement code to verify target");
        }