public NoteEditDlg(IBaseWindow baseWin) { InitializeComponent(); btnAccept.Image = UIHelper.LoadResourceImage("Resources.btn_accept.gif"); btnCancel.Image = UIHelper.LoadResourceImage("Resources.btn_cancel.gif"); // SetLang() btnAccept.Text = LangMan.LS(LSID.LSID_DlgAccept); btnCancel.Text = LangMan.LS(LSID.LSID_DlgCancel); Title = LangMan.LS(LSID.LSID_Note); fController = new NoteEditDlgController(this); fController.Init(baseWin); }
public NoteEditDlgEx(IBaseWindow baseWin) { InitializeComponent(); FillSizes(); btnAccept.Image = UIHelper.LoadResourceImage("Resources.btn_accept.gif"); btnCancel.Image = UIHelper.LoadResourceImage("Resources.btn_cancel.gif"); // SetLocale() btnAccept.Text = LangMan.LS(LSID.LSID_DlgAccept); btnCancel.Text = LangMan.LS(LSID.LSID_DlgCancel); Title = LangMan.LS(LSID.LSID_Note); ddbtnActions.Text = LangMan.LS(LSID.LSID_Actions); miSelectAndCopy.Text = LangMan.LS(LSID.LSID_SelectAndCopy); miImport.Text = LangMan.LS(LSID.LSID_Import); miExport.Text = LangMan.LS(LSID.LSID_MIExport); miClear.Text = LangMan.LS(LSID.LSID_Clear); pageEditor.Text = LangMan.LS(LSID.LSID_Note); pagePreview.Text = LangMan.LS(LSID.LSID_DocPreview); fController = new NoteEditDlgController(this); fController.Init(baseWin); }