Exemplo n.º 1
0
        /// <summary>
        /// Add new editor action to list ()
        /// </summary>
        private void CreateContextAction_btn_Click(object sender, RoutedEventArgs e)
        {
            ActionList_SP.Children.Add(new ContextActionComponent());
            ContextActionComponent Temp = ((ContextActionComponent)ActionList_SP.Children[ActionList_SP.Children.Count - 1]);

            Temp.Height             = 60;
            Temp.Width              = 450;
            NumberOfActions_TB.Text = "Number of Context Actions: " + ActionList_SP.Children.Count;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Add new editor action to list ()
 /// </summary>
 private void CreateContextAction_btn_Click(object sender, RoutedEventArgs e)
 {
     Actions.Children.Add(new ContextActionComponent());
     ContextActionComponent Temp = ((ContextActionComponent)Actions.Children[Actions.Children.Count - 1]);
 }