Пример #1
0
        /// <summary>
        /// Make a function for option 0 from ToolStripMenu
        /// </summary>
        /// <param name="sender">>object: Support all classes in the .NET Framework class hierachy and provides low-level service to derived classes.</param>
        /// <param name="e">RhinoNestEventArgs: Class used in events.</param>
        private void MenuClick(object sender, EventArgs e)
        {
            var send = sender as ToolStripMenuItem;

            if (send != null)
            {
                SetNewCriter(Criter.SetCriterion((ObjectCriterion)send.Tag));
            }
        }
Пример #2
0
 /// <summary>
 /// Constructor Empty
 /// </summary>
 public Criterion()
     : base("Criterion", "Criterion", "Criterion data for nesting", "RhinoNest", "Nesting")
 {
     SetNewCriter(Criter.SetCriterion(ObjectCriterion.GivenOrientationAsBasicOne));
 }