unit PhSetDlg;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

type
  TfPhSetDlg = class(TForm)
    GroupBox1: TGroupBox;
    Label1: TLabel;
    Edit1: TEdit;
    Label2: TLabel;
    Edit2: TEdit;
    Label3: TLabel;
    ComboBox1: TComboBox;
    Button1: TButton;
    Button2: TButton;
    procedure Button2Click(Sender: TObject);
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fPhSetDlg: TfPhSetDlg;

implementation
uses Setdlg,fRRU1881demomain;
{$R *.dfm}

procedure TfPhSetDlg.Button2Click(Sender: TObject);
begin
  fSetdlg.Enabled:=True;
  fPhSetDlg.Close ;
end;

procedure TfPhSetDlg.Button1Click(Sender: TObject);
begin
  frmRRU1881demomain.ml:=Edit1.Text;
  frmRRU1881demomain.md:=Edit2.Text;
  frmRRU1881demomain.rc:=IntToStr(ComboBox1.ItemIndex);
  fSetdlg.Enabled:=True;
  fPhSetDlg.Close ;
end;

end.

