예제 #1
0
        public AddRisk()
        {
            InitializeComponent();
            DatabaseMethods _data = new DatabaseMethods();
            var             items = _data.GetAllActionsDropdown();

            ddlAction.ItemsSource = items;
            //lbTodoList.Items.Add(new ComboBoxItem { Content = "A1" });
            ddlAction.DisplayMemberPath = "Name";
            ddlAction.SelectedValuePath = "Id";
        }