Esempio n. 1
0
        public static void FillIn(ComboBox combobox, Label label)
        {
            var protParmId = ProtParamContr.FindParamByName(label);
            var texts      = TemplContr.GiveMeTemplTexts(protParmId);

            combobox.DataSource    = texts;
            combobox.DisplayMember = "Name";
            combobox.ValueMember   = "";
        }
Esempio n. 2
0
        public static void newTempl(string text, Label label)
        {
            var protParmId = ProtParamContr.FindParamByName(label);

            TemplContr.Add(text, protParmId);
        }