Example #1
0
        // Close the actions panel
        private void actionCancelButton_Click(object sender, EventArgs e)
        {
            currentAction = new ActionItem();
            mainViewPanel.BringToFront();
            mainViewPanel.Visible = true;
            actionViewPanel.Visible = false;

            clearActionsPanel();
        }
Example #2
0
 // Add actions
 public void addAction(string actionName, ActionItem action)
 {
     actions.Add(actionName, action);
 }
Example #3
0
 // Manipulate the actions for objects
 private void addActionButton_Click(object sender, EventArgs e)
 {
     currentAction = new ActionItem();
     actionViewPanel.BringToFront();
     mainViewPanel.Visible = false;
     actionViewPanel.Visible = true;
     actionViewLabel.Text = "Adding an action to a " + layoutState.ToString().ToLower() + ".";
 }