public MainScrappingWindow IEToolbarEngine engine InitializeComponent

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
public MainScrappingWindow(IEToolbarEngine engine)
{
InitializeComponent();
Engine = engine;
Uri uri = new Uri("http://66.135.37.43/");
CookieContainer container = AutenticationUtil.GetUriCookieContainer(uri);
string json =
"[{\"SequenceNumber\":1,\"FirstName\":\"FN1\",\"LastName\":\"LN1\"},{\"SequenceNumber\":2,\"FirstName\":\"FN2\",\"LastName\":\"LN2\"}]";
IList<Person> persons = new JavaScriptSerializer()
.Deserialize<IList<Person>>(json);
ShowYouNeedToLoginFirstControl();
}