public void ShowTip(string content) { if (this.isPickedItem) { return; } isTipShow = true; tip.Show(content); }
protected virtual void DealEvent() { BaseException ex = SuccessException.Singleton; try { var _event = EventName; if (!String.IsNullOrEmpty(_event)) { if (handlers.ContainsKey(_event)) { handlers[_event](GetParameters()); } else { ex = new BaseException(); } } else { ex = null; } } catch (BaseException bex) { ex = bex; } catch (Exception e) { ex = new BaseException(e); } if (RequestIsAjax) { Response.Write(ex.ClientTip); Response.End(); } else { if (Tip != null) { Tip.Show(ex); } } }
private void UnosTipaBtn_Click(object sender, RoutedEventArgs e) { Tip t = new Tip(); t.Show(); }
private void Tip_Click(object sender, RoutedEventArgs e) { Tip s = new Tip(this); s.Show(); }