private void button1_Click_2(object sender, EventArgs e) { Xmloperation xmlop = new Xmloperation(@"WxData.xml"); Wx_alogin Frlogin = new Wx_alogin(xmlop); Frlogin.StartPosition = FormStartPosition.CenterScreen; Frlogin.ShowDialog(); }
private void bt_alogin_Click(object sender, EventArgs e) { Xmloperation xmlop = new Xmloperation(@"WxData.xml"); Wx_alogin Frlogin = new Wx_alogin(xmlop); Frlogin.StartPosition = FormStartPosition.WindowsDefaultLocation; Frlogin.ShowDialog(); }
public Wx_alogin(Xmloperation xmlop) : this() { this.xmlop = xmlop; //try //{ // QRCodeDecoder decoder = new QRCodeDecoder(); // String decodedString = decoder.decode(new QRCodeBitmapImage(new Bitmap(pictureCapture.Image))); // tbDecodeResult.Text = decodedString; // LoadData(); // LoadAcount(); //} //catch (Exception wechartex) //{ // WechartLog.WriteLog(wechartex); //} }
public Wx_MainLogin(Xmloperation xmlop) : this() { this.xmlop = xmlop; }