상속: System.Windows.Forms.UserControl
예제 #1
0
        public CheckListEditor(CheckListControl parent)
        {
            _parent = parent;

            InitializeComponent();

            reload();
        }
예제 #2
0
        public CheckListEditor(CheckListControl parent)
        {
            _parent = parent;

            InitializeComponent();

            reload();
        }
예제 #3
0
        public CheckListEditor(CheckListControl parent)
        {
            _parent = parent;

            InitializeComponent();

            if (DesignMode)
            {
                _parent.CheckListItems.Add(new CheckListItem()
                {
                    Description = "desc", Name = "name", Text = "text"
                });
            }

            reload();
        }
예제 #4
0
        public CheckListInput(CheckListControl parent, CheckListItem item)
        {
            _parent = parent;

            InitializeComponent();

            CheckListItem.defaultsrc = MainV2.comPort.MAV.cs;
            item.SetField(item.Name);

            CMB_condition.DataSource = Enum.GetNames(typeof(CheckListItem.Conditional));

            CMB_Source.DataSource = item.GetOptions();

            CMB_colour1.DataSource = Enum.GetNames(typeof(KnownColor));
            CMB_colour2.DataSource = Enum.GetNames(typeof(KnownColor));

            CheckListItem = item;

            updateDisplay();
        }
예제 #5
0
        public CheckListInput(CheckListControl parent, CheckListItem item)
        {
            _parent = parent;

            InitializeComponent();

            CheckListItem.defaultsrc = MainV2.comPort.MAV.cs;
            item.SetField(item.Name);

            CMB_condition.DataSource = Enum.GetNames(typeof(CheckListItem.Conditional));

            CMB_Source.DataSource = item.GetOptions();

            CMB_colour1.DataSource = Enum.GetNames(typeof(KnownColor));
            CMB_colour2.DataSource = Enum.GetNames(typeof(KnownColor));

            CheckListItem = item;

            updateDisplay();
        }
예제 #6
0
        public CheckListInput(CheckListControl parent)
        {
            _parent = parent;

            InitializeComponent();
        }
예제 #7
0
        public CheckListInput(CheckListControl parent)
        {
            _parent = parent;

            InitializeComponent();
        }