Welcome to mirror list, hosted at ThFree Co, Russian Federation.

EntryMenuItem.cs « Components « UI - github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d9f75515d3c47f4afb93f2f5e3ea000c4346132b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace com.clusterrr.hakchi_gui.UI.Components
{
    public class EntryMenuItem : System.Windows.Forms.ToolStripMenuItem
    {
        Manager.BookManager.Entry _TheEntry;
        public EntryMenuItem(Manager.BookManager.Entry entr):base(entr.Label)
        {
            _TheEntry = entr;
            ToolStripMenuItem entryEdititm = new ToolStripMenuItem("Edit");
            entryEdititm.Click += EntryEdititm_Click;
          
            this.DropDownItems.Add(entryEdititm);
            ToolStripMenuItem entryDeleteitm = new ToolStripMenuItem("Delete");
            entryDeleteitm.Click += EntryDeleteitm_Click; ; ;

            this.DropDownItems.Add(entryDeleteitm);
        }

        private void EntryDeleteitm_Click(object sender, EventArgs e)
        {
            throw new NotImplementedException();
        }

        private void EntryEdititm_Click(object sender, EventArgs e)
        {
            throw new NotImplementedException();
        }
    }
}