private static void ShowForm() { if (GHManager.Launcher.FormVisible) { FormType n = GHManager.GetActiveForm(); if (n == FormType.Launcher) { int idx = GHManager.Launcher.SelectIndex; if (GroupManager.CheckRange(idx - 1)) { GHManager.ItemList.KeyboardActive = true; GroupManager.ShowItemList(GroupManager.Items[idx - 1]); } if (idx == 0) { if (GHManager.MysetList.FormVisible) { GHManager.MysetList.FixedActive = false; GHManager.MysetList.MysetList_Hide(); } else { if (MysetManager.Items.Count > 0) { GHManager.MysetList.FixedActive = true; GHManager.MysetList.MysetList_Show(); } } } } else if (n == FormType.MysetList) { int idx = GHManager.MysetList.SelectIndex; if (0 <= idx && idx < MysetManager.Items.Count) { GHManager.MysetList.KeyboardActive = true; MysetManager.SetMysetNum(MysetManager.Items[idx]); } } else { } } else { GHManager.Launcher.KeyboardActive = true; } }
/// <summary> /// 時間が経ったらアイテムを表示 /// </summary> private void Myset_Control_Timer(object sender, EventArgs e) { timer.Stop(); MysetManager.SetMysetNum(this); }