예제 #1
0
        public GagesForm()
        {
            InitializeComponent();
            List <Pack> packs = ModelPackList.load("pack_gage");

            foreach (Pack p in packs)
            {
                comboBoxPackGages.Items.Add(p);
            }
        }
예제 #2
0
        public QuestionsForm()
        {
            InitializeComponent();
            List <Pack> packs = ModelPackList.load("pack_question");

            foreach (Pack p in packs)
            {
                comboBoxQuestions.Items.Add(p);
            }
        }
예제 #3
0
        public PacksListForm()
        {
            InitializeComponent();

            List <Pack> packsG = ModelPackList.load("pack_gage");
            List <Pack> packsQ = ModelPackList.load("pack_question");

            foreach (Pack p in packsG)
            {
                listItemGages.Items.Add(p);
            }
            foreach (Pack p in packsQ)
            {
                listItemQuestions.Items.Add(p);
            }
        }