Пример #1
0
        public RecordSelectDlg(IBaseWindow baseWin, GEDCOMRecordType recType)
        {
            InitializeComponent();

            btnSelect.Image = UIHelper.LoadResourceImage("Resources.btn_accept.gif");
            btnCancel.Image = UIHelper.LoadResourceImage("Resources.btn_cancel.gif");

            // SetLang()
            Text           = LangMan.LS(LSID.LSID_WinRecordSelect);
            btnCreate.Text = LangMan.LS(LSID.LSID_DlgAppend);
            btnSelect.Text = LangMan.LS(LSID.LSID_DlgSelect);
            btnCancel.Text = LangMan.LS(LSID.LSID_DlgCancel);

            fController = new RecordSelectDlgController(this);
            fController.Init(baseWin);
            fController.RecType = recType;
            UpdateRecordsView();
            FastFilter = "*";
        }