百度OCR

百度OCR

注意点:  图像数据, base64编码后,记得要urlencode, 否则会提示image format wrong

winform 多窗体相互切换form

    public partial class FrmSideBar : Form
{
private Form1 mainForm = null;
public FrmSideBar(IntPtr frmPtr)
{
InitializeComponent();
this.mainForm = (Form1)Form1.FromHandle(frmPtr); int Y = Screen.PrimaryScreen.Bounds.Height- this.Height- ;
int X = Screen.PrimaryScreen.Bounds.Width - this.Width; this.Location = new Point(X,Y);
}
}
            Program.frmSideBar = new FrmSideBar(this.Handle);
Program.frmSideBar.ShowDialog();
    static class Program
{ public static Form1 form1 = null;
public static FrmSideBar frmSideBar = null; }
上一篇:highchart 添加新的series


下一篇:linux shell date的用法