Exemple #1
0
        private Menu GetSettings()
        {
            Menu val = new Menu();

            val.Add(SubMenu("Internal Sun Rise Set", g_SunRiseSet.SettingsItems()));
            val.Add(SubMenu("Gov Weather", g_Weather.SettingsItems()));
            return((Menu)(object)val);
        }
Exemple #2
0
        private Menu GetSettings()
        {
            //IL_0000: Unknown result type (might be due to invalid IL or missing references)
            //IL_0005: Unknown result type (might be due to invalid IL or missing references)
            //IL_0020: Unknown result type (might be due to invalid IL or missing references)
            //IL_003c: Expected O, but got Unknown
            Menu val = new Menu();

            ((Container)val).Add((Widget)(object)SubMenu("Internal Sun Rise Set", g_SunRiseSet.SettingsItems()));
            ((Container)val).Add((Widget)(object)SubMenu("Gov Weather", g_Weather.SettingsItems()));
            return((Menu)(object)val);
        }
Exemple #3
0
 private MenuItem[] GetSettings()
 {
     return(new MenuItem[] { new MenuItem("Global", GlobalMenuSettings()), new MenuItem(g_SunRiseSet.GetType().Name, g_SunRiseSet.SettingsItems()), new MenuItem(g_Weather.GetType().Name, g_Weather.SettingsItems()) });
 }