public void ShowTray() { if (_Tray == null) { _Tray = new V.Tray.ATray(this); _Tray.InitData(); //_Tray.Init(_Apps); } _Amon = _Tray; _Tray.Visible = true; this.Visible = false; }
public void ShowGuid() { if (_Guid == null) { _Guid = new V.Guid.AGuid(this); _Guid.Location = new System.Drawing.Point(0, 0); //_Guid.Name = "panel1"; //_Guid.CallBack = new AmonHandler<string>(ShowDApp); _Guid.InitData(); this.Controls.Clear(); this.Controls.Add(_Guid); this.Size = _Guid.Size; } //_Guid.ShowDApp(0); _Amon = _Guid; if (_Tray != null) { _Tray.Visible = false; } this.Visible = true; }