private void Form1_Load(object sender, EventArgs e) { try { UC.f = this; UC.start("https://twitter.com/"); if (!File.Exists(Application.StartupPath + "\\context.xml")) { setForm sf = new setForm(this); sf.ShowDialog(); } else { xmlload(Application.StartupPath + "\\context.xml"); } Thread runkiritan = new Thread(Runkiritan); runkiritan.Start(); TCPage1.Parent = null; kiritanimg.SizeMode = PictureBoxSizeMode.StretchImage; //twitterData(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
private void settingToolStripMenuItem_Click(object sender, EventArgs e) { setForm setf = new setForm(this); setf.ShowDialog(); }