예제 #1
0
 void panelEx1_SelectionChanged(DataPanelViewRow item)
 {
 }
예제 #2
0
 DataPanelViewRowControl panelEx1_SetItemTemplate(DataPanelViewRow item)
 {
     DataPanelViewRowControl control = null;
     DateTime startTime = DateTime.Now;
     if (cbxIsEqualHeight.Checked)
     {
         WorkBench pnl = new WorkBench();
         pnl.DataPanelRow = item;
         pnl.RefreshData();
         control = pnl;
     }
     else
     {
         ReplyModel model = item as ReplyModel;
         model.ReplyData = GetReply(int.Parse(model.DataRow[0].ToString()));
         ReplyUserControl pnl = new ReplyUserControl();
         pnl.DataPanelRow = model;
         control = pnl;
     }
     richTextBox1.AppendText((DateTime.Now - startTime).TotalMilliseconds + "\n");
     richTextBox1.ScrollToCaret();
     return control;
 }
예제 #3
0
 void panelEx1_ItemHeightChanged(DataPanelViewRow item)
 {
     //DataPanelViewRowControl pnl = sender as DataPanelViewRowControl;
     //this.panelEx1.Refresh(pnl.DataPanelRow.RowIndex);
 }