コード例 #1
0
        /// <summary>
        /// Shows the window for new families
        /// </summary>
        public static void ShowWindow()
        {
            PlantFamily           family = new PlantFamily("", "");
            EditPlantFamilyWindow win    = new EditPlantFamilyWindow(family, true);

            win.ShowAll();
        }
コード例 #2
0
        /// <summary>
        /// Shows the window for families that already exist.
        /// </summary>
        public static void ShowWindow(PlantFamily family, bool create = false)
        {
            EditPlantFamilyWindow win = new EditPlantFamilyWindow(family, create);

            win.ShowAll();
        }