Exemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();

            listWords.ContextMenuStrip = listWordsMenu;
            listSynonim.ContextMenuStrip = listSynonimMenu;
            supplierList.ContextMenuStrip = listSupplierMenu;

            LocalWords = new ListWords();
            ListSupplier = new List<SupplierType>();

            LoadData();
            LoadSupplier();

            if (ListSupplier.Count > 0)
            {
                LoadItems(supplierList, ListSupplier);
            }

            if (listWords.Items.Count > 0)
                listWords.SelectedIndex = 0;
        }
Exemplo n.º 2
0
 public SupplierType()
 {
     ListCell = new List<Cell>();
     ListWords = new ListWords();
 }