免费获取|
论文天下网
  • 论文天下网 |
  • 原创毕业论文 |
  • 论文范文 |
  • 论文下载 |
  • 计算机论文 |
  • 论文降重 |
  • 毕业论文 |
  • 外文翻译 |
  • 免费论文 |
  • 开题报告 |
  • 心得体会 |

当前位置:论文天下网 -> 免费论文 -> 计算机论文

商品销售管理系统论文(十一)

   CPXSGL := CPXSGL + '\DATA\'
        else
          CPXSGL := CPXSGL + 'DATA\';
      end;
      if rb_auto.Checked then
        S_autosave := '1'
      else
        S_autosave := '0';
      S_savedays := trim(e_backupdays.text);
    end;
    messagedlg('系统设置数据信息保存完毕!', mtwarning, [mbok], 0);
    MainForm.Caption := Application.Title + ' - ' + S_name + '【' + CPXSGL + '】';
    B_save := true;
  finally
    Reg.CloseKey;
    Reg.Free;
  end;
  self.Close;
end;

procedure TSetupForm.FormShow(Sender: TObject);
var
  reg: TRegistry;
begin
  inherited;
  reg := TRegistry.Create;
  try
    Reg.RootKey := HKEY_CURRENT_USER;
    if (Reg.OpenKey(S_RegTree, False)) = False then
    begin
      Reg.CreateKey(S_RegTree);
    end;
    Reg.OpenKey(S_RegTree, True);
    E_allname.text := reg.ReadString('Coname');
    e_name.text := reg.ReadString('Username');
    E_tel.text := reg.ReadString('Cotel');
    E_address.text := reg.ReadString('Address');
    LE_datapath.Text := reg.ReadString('DataPath');
    if LE_datapath.Text = '' then LE_datapath.Text := '【系统默认】';
    if reg.Readstring('autosave') = '1' then
      rb_auto.Checked := true
    else
      rb_user.Checked := true;
    e_backupdays.text := Reg.readString('savedays');
    if trim(e_backupdays.text) = '' then
      e_backupdays.text := '10';
    Reg.CloseKey;
  finally
    Reg.CloseKey;
    Reg.Free;
  end;
  sb_save.Enabled := false;

end;

procedure TSetupForm.SB_selectpathClick(Sender: TObject);
begin
  Application.CreateForm(TSelectDir, SelectDir);
  SelectDir.DriveComboBox1.Text := ExtractFileDrive(LE_datapath.Text);
  if (FileExists(LE_datapath.Text)) then
    SelectDir.DirectoryListBox1.Directory := LE_datapath.Text;
  if (SelectDir.ShowModal = mrOK) then
    LE_datapath.Text := SelectDir.DirectoryListBox1.Directory; //Frm_select_dir.Label2.Caption;
  SelectDir.free;
end;

procedure TSetupForm.SB_aboutClick(Sender: TObject);
begin
  Application.CreateForm(TAboutForm, AboutForm);
  AboutForm.showmodal;
  AboutForm.free;
end;

procedure TSetupForm.e_allnameChange(Sender: TObject);
begin
  sb_save.Enabled := true;
end;

procedure TSetupForm.e_allnameKeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
  if (key = 13) or (key = 40) then { 判断是按执行键}
 

首页 上一页 8 9 10 11 12 13 14 下一页 尾页 11/16/16

相关论文
上一篇:分布式多层数据库系统的应用 下一篇:ASP交友系统设计
推荐论文 本专业最新论文
Tags:商品 销售 管理系统 论文 【返回顶部】

相关栏目

自动化相关
计算机论文
工程管理论文
法律论文
医学论文
人力资源
电子专业
电气工程
英语论文
行政管理
电子商务
社科文学
教育论文
物流专业
金融专业
财务管理
会计专业
化学化工材料科学
电子通信
环境科学
经济类
机械模具类
报告,总结,申请书
其他专业论文


关于我们 | 联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 原创毕业论文

 

论文天下网提供论文检测,论文降重,论文范文,论文排版,网站永久域名WWW.GEPUW.NET

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 893628136@qq.com

Copyright@ 2009-2022 GEPUW.NET 论文天下网 版权所有