public static void AppIni() { InI.filePath = InIPath; if (string.IsNullOrEmpty(InI.ReadValue("app", "svr"))) { InI.Writue("app", "svr", ""); } }
private void frmLogin_Shown(object sender, EventArgs e) { this.txtOperId.Text = InI.ReadValue("app", "oper_id"); this.txtOperId.SelectionStart = this.txtOperId.TextLength; }