Exemplo n.º 1
0
 public FEditMenuElem(Core.MenuItem _menuItem)
 {
     InitializeComponent();
       menuItem = _menuItem;
       Header.Text = menuItem.Header;
       filePath.Text = menuItem.VideoPath;
       Info.Text = menuItem.Info;
 }
Exemplo n.º 2
0
 public MenuItemControl(Core.MenuItem _menuItem)
 {
     InitializeComponent();
       this.menuItem = _menuItem;
       this.Header.Text = menuItem.Header;
       this.Info.Text = menuItem.Info;
       this.FilePath.Text = menuItem.VideoPath;
       this.ID = menuItem.ID;
 }
Exemplo n.º 3
0
 public void EditElementByID(int ID, MenuItem value)
 {
     menuItemsCollection.Where(x => x.ID == ID).First().Info = value.Info;
       menuItemsCollection.Where(x => x.ID == ID).First().VideoPath = value.VideoPath;
       menuItemsCollection.Where(x => x.ID == ID).First().Header = value.Header;
 }
Exemplo n.º 4
0
 public void AddItem(string Header, string info, string filePath)
 {
     Core.MenuItem item = new MenuItem(Header, info, filePath);
 }
Exemplo n.º 5
0
 public FEditMenuElem()
 {
     InitializeComponent();
       menuItem = new Core.MenuItem();
 }