public void InputMethodContextActivated() { tlog.Debug(tag, $"InputMethodContextActivated START"); InputMethodContext a1 = new InputMethodContext(); a1.Activated += A1_Activated; a1.Activated -= A1_Activated; object o1 = new object(); InputMethodContext.ActivatedEventArgs e = new InputMethodContext.ActivatedEventArgs(); A1_Activated(o1, e); a1.Dispose(); tlog.Debug(tag, $"InputMethodContextActivated END (OK)"); Assert.Pass("InputMethodContextActivated"); }
private void A1_Activated(object sender, InputMethodContext.ActivatedEventArgs e) { InputMethodContext a1 = e.InputMethodContext; e.InputMethodContext = a1; }