public EventMenu()
        {
            Instance  = this;
            eventMenu = (Panel)MainBody.Instance.mainBody.Controls["EventMenu"];

            confirmBtn        = (Button)eventMenu.Controls["Confirm"];
            confirmBtn.Click += new EventHandler(OnClick_Confrim);

            concelBtn        = (Button)eventMenu.Controls["Concel"];
            concelBtn.Click += new EventHandler(OnClick_Concel);
        }
Beispiel #2
0
 public MainForm()
 {
     Instance = this;
     InitializeComponent();
     TopMenu        topMenu        = new TopMenu();
     MainBody       mainBody       = new MainBody();
     EventMenu      eventMenu      = new EventMenu();
     EventInfo      eventInfo      = new EventInfo();
     Utils          utils          = new Utils();
     MoveMenu       moveMenu       = new MoveMenu();
     EventOperation eventOperation = new EventOperation();
 }