public void OnClick(object sender, EventArgs e) { ToolWindow con = ComponentStorage.Get("container") as ToolWindow; ws.Display(con); }