コード例 #1
0
        /// <summary>
        /// Initilaizes this instance.
        /// </summary>
        /// <param name="form">The form.</param>
        /// <param name="statisticsMenu">The statistics menu.</param>
        public void Initilaize(MainFormBase form, ToolStripMenuItem statisticsMenu)
        {
            form.AddConsole <MiningConsole>("Шахта");

            var statisticsMinerMenu = new ToolStripMenuItem("Шахта");

            statisticsMenu.DropDownItems.Add(statisticsMinerMenu);

            //TODO: Uncomment
            //        statisticsMinerMenu.DropDownItems.Add("Распределение кристалов в шахте")
            //            .BindCommand(new ShowMineDistributionStatisticsCommand());

            //        statisticsMinerMenu.DropDownItems.Add("Суммарная статистика")
            //.BindCommand(new ShowMineTotalStatisticsCommand());
        }
コード例 #2
0
 /// <summary>
 /// Initilaizes this instance.
 /// </summary>
 /// <param name="form">The form.</param>
 /// <param name="statisticsMenu">The statistics menu.</param>
 public void Initilaize(MainFormBase form, ToolStripMenuItem statisticsMenu)
 {
     form.AddConsole <FightingConsole>("Бодалка");
     form.AddConsole <CowsFarmConsole>("Ферма");
 }
コード例 #3
0
 /// <summary>
 /// Initilaizes this instance.
 /// </summary>
 /// <param name="form">The form.</param>
 /// <param name="statisticsMenu">The statistics menu.</param>
 public void Initilaize(MainFormBase form, ToolStripMenuItem statisticsMenu)
 {
     form.AddConsole <AccountantConsole>("Бухгалтерия");
     form.AddConsole <TopSearchConsole>("Поиск в ТОПе");
     form.AddConsole <ToolsConsole>("Утилиты");
 }
コード例 #4
0
 /// <summary>
 /// Initilaizes this instance.
 /// </summary>
 /// <param name="form">The form.</param>
 /// <param name="statisticsMenu">The statistics menu.</param>
 public void Initilaize(MainFormBase form, ToolStripMenuItem statisticsMenu)
 {
     form.AddConsole <TraderConsole>("Сбытница");
 }