private void PrepareChecksList() { ListChecks = new GKListView(); ListChecks.MouseDoubleClick += ListChecks_DblClick; ListChecks.AddCheckedColumn(@"x", 50, false); ListChecks.AddColumn(LangMan.LS(LSID.LSID_Record), 400, false); ListChecks.AddColumn(LangMan.LS(LSID.LSID_Problem), 200, false); ListChecks.AddColumn(LangMan.LS(LSID.LSID_Solve), 200, false); panProblemsContainer.Content = ListChecks; }
public TTTreeCheckDlg(IBaseWindow baseWin) { InitializeComponent(); btnClose.Image = UIHelper.LoadResourceImage("Resources.btn_cancel.gif"); fController = new TreeCheckController(this); fController.Init(baseWin); ListChecks = UIHelper.CreateListView(panProblemsContainer); ListChecks.MouseDoubleClick += ListChecks_DblClick; ListChecks.AddCheckedColumn(@"x", 50, false); ListChecks.AddColumn(LangMan.LS(LSID.LSID_Record), 400, false); ListChecks.AddColumn(LangMan.LS(LSID.LSID_Problem), 200, false); ListChecks.AddColumn(LangMan.LS(LSID.LSID_Solve), 200, false); SetLang(); }