public AmazonSearchForm() { InitializeComponent(); this.amazonSimpleQueryControl_multiLine.WordVisible = false; ListViewProperty prop = new ListViewProperty(); this.listView_browse.Tag = prop; }
Hashtable m_biblioTable = new Hashtable(); // 书目记录路径 --> 书目信息 public Marc856SearchForm() { InitializeComponent(); ListViewProperty prop = new ListViewProperty(); this.listView_records.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(COLUMN_RECPATH, ColumnSortStyle.RecPath); prop.SetSortStyle(COLUMN_FIELDINDEX, ColumnSortStyle.RightAlign); }
/// <summary> /// 构造函数 /// </summary> public ZhongcihaoForm() { InitializeComponent(); ListViewProperty prop = new ListViewProperty(); this.listView_number.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.RecPath); prop.GetColumnTitles -= new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.GetColumnTitles += new GetColumnTitlesEventHandler(prop_GetColumnTitles); }
public BrowseSearchResultForm() { InitializeComponent(); ListViewProperty prop = new ListViewProperty(); this.listView_records.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.RecPath); prop.GetColumnTitles -= new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.GetColumnTitles += new GetColumnTitlesEventHandler(prop_GetColumnTitles); }
/// <summary> /// DefultListViewInit /// </summary> private void DefultListViewInit() { ListViewProperty.SetProperty(listView1); listView1.Columns.Add("異常起始時間", 150, HorizontalAlignment.Center); listView1.Columns.Add("異常訊息", listView1.Width - 280, HorizontalAlignment.Left); listView1.Columns.Add("異常代碼", 130, HorizontalAlignment.Center); GlobalData.ListView_Show_OnCode_比對用 = string.Empty; GlobalData.dvTable_All_Error.Columns.Add("Time"); GlobalData.dvTable_All_Error.Columns.Add("Message"); GlobalData.dvTable_All_Error.Columns.Add("ID"); }
public BiblioDupDialog() { InitializeComponent(); ListViewProperty prop = new ListViewProperty(); this.listView_browse.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.RecPath); prop.GetColumnTitles -= new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.GetColumnTitles += new GetColumnTitlesEventHandler(prop_GetColumnTitles); }
public dp2SearchForm() { InitializeComponent(); ListViewProperty prop = new ListViewProperty(); this.listView_browse.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.RecPath); prop.GetColumnTitles -= new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.GetColumnTitles += new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.ParsePath -= new ParsePathEventHandler(prop_ParsePath); prop.ParsePath += new ParsePathEventHandler(prop_ParsePath); }
/// <summary> /// 构造函数 /// </summary> public DupForm() { InitializeComponent(); //this.panel1.MaximumSize = new System.Drawing.Size(500, 0); //this.panel2.MaximumSize = new System.Drawing.Size(500, 0); //this.listView_browse.Size = new System.Drawing.Size(200, this.listView_browse.Size.Height); //this.tableLayoutPanel1.Size = new System.Drawing.Size(200, this.tableLayoutPanel1.Size.Height); //this.tableLayoutPanel1.PerformLayout(); ListViewProperty prop = new ListViewProperty(); this.listView_browse.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.RecPath); // 第二列特殊,权值和,右对齐 prop.SetSortStyle(1, ColumnSortStyle.RightAlign); prop.GetColumnTitles -= new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.GetColumnTitles += new GetColumnTitlesEventHandler(prop_GetColumnTitles); }
public InventoryForm() { InitializeComponent(); this.DbType = "inventory"; _chargingForm = new QuickChargingForm(); this.tabPage_scan.Padding = new Padding(4, 4, 4, 4); this.tabPage_scan.Controls.Add(_chargingForm.MainPanel); _chargingForm.MainPanel.Dock = DockStyle.Fill; { ListViewProperty prop = new ListViewProperty(); this.listView_inventoryList_records.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.RecPath); prop.GetColumnTitles -= new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.GetColumnTitles += new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.CompareColumn -= new CompareEventHandler(prop_CompareColumn); prop.CompareColumn += new CompareEventHandler(prop_CompareColumn); } { ListViewProperty prop = new ListViewProperty(); this.listView_baseList_records.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.RecPath); prop.GetColumnTitles -= new GetColumnTitlesEventHandler(prop_GetBaseListColumnTitles); prop.GetColumnTitles += new GetColumnTitlesEventHandler(prop_GetBaseListColumnTitles); prop.CompareColumn -= new CompareEventHandler(prop_CompareColumn2); prop.CompareColumn += new CompareEventHandler(prop_CompareColumn2); } }
// bool m_bChanged = false; /// <summary> /// 构造函数 /// </summary> public AmerceForm() { InitializeComponent(); ListViewProperty prop = new ListViewProperty(); this.listView_amerced.Tag = prop; prop.SetSortStyle(COLUMN_AMERCED_RECPATH, ColumnSortStyle.RecPath); prop.SetSortStyle(COLUMN_AMERCED_PRICE, ColumnSortStyle.RightAlign); prop.SetSortStyle(COLUMN_AMERCED_BORROWPERIOD, ColumnSortStyle.RightAlign); ListViewProperty prop_1 = new ListViewProperty(); this.listView_overdues.Tag = prop_1; prop_1.SetSortStyle(COLUMN_AMERCING_PRICE, ColumnSortStyle.RightAlign); prop_1.SetSortStyle(COLUMN_AMERCING_BORROWPERIOD, ColumnSortStyle.RightAlign); }
/// <summary> /// 构造函数 /// </summary> public ManagerForm() { InitializeComponent(); this.listView_opacDatabases.SmallImageList = this.imageList_opacDatabaseType; this.listView_opacDatabases.LargeImageList = this.imageList_opacDatabaseType; this.listView_databases.SmallImageList = this.imageList_opacDatabaseType; this.listView_databases.LargeImageList = this.imageList_opacDatabaseType; this.treeView_opacBrowseFormats.ImageList = this.imageList_opacBrowseFormatType; this.treeView_zhongcihao.ImageList = this.imageList_zhongcihao; this.treeView_arrangement.ImageList = this.imageList_arrangement; ListViewProperty prop = new ListViewProperty(); this.listView_calendar.Tag = prop; ColumnSortStyle style = new ColumnSortStyle("calendar_name"); style.CompareFunc += new CompareEventHandler(prop_CompareColumn); // 第一列特殊,记录路径 prop.SetSortStyle(0, style); //prop.CompareColumn -= new CompareEventHandler(prop_CompareColumn); //prop.CompareColumn += new CompareEventHandler(prop_CompareColumn); this.loanPolicyControlWrapper1.LoanPolicyControl.Owner = this; this.loanPolicyControlWrapper1.PropertyChanged += new PropertyChangedEventHandler(loanPolicyControlWrapper1_PropertyChanged); ListViewProperty prop1 = new ListViewProperty(); this.listView_location_list.Tag = prop1; }
/// <summary> /// 构造函数 /// </summary> public CallNumberForm() { InitializeComponent(); ListViewProperty prop = new ListViewProperty(); this.listView_number.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.RecPath); }
/* public LibraryChannel Channel = new LibraryChannel(); // public ApplicationInfo ap = null; public string Lang = "zh"; public MainForm MainForm = null; DigitalPlatform.Stop stop = null; * */ /// <summary> /// 构造函数 /// </summary> public ReaderSearchForm() { this.DbType = "patron"; InitializeComponent(); _listviewRecords = this.listView_records; ListViewProperty prop = new ListViewProperty(); this.listView_records.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.RecPath); prop.GetColumnTitles -= new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.GetColumnTitles += new GetColumnTitlesEventHandler(prop_GetColumnTitles); }
void ClearListViewPropertyCache() { ListViewProperty prop = (ListViewProperty)this.listView_browse.Tag; prop.ClearCache(); }
/// <summary> /// 构造函数 /// </summary> public DupForm() { InitializeComponent(); ListViewProperty prop = new ListViewProperty(); this.listView_browse.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.RecPath); // 第二列特殊,权值和,右对齐 prop.SetSortStyle(1, ColumnSortStyle.RightAlign); prop.GetColumnTitles -= new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.GetColumnTitles += new GetColumnTitlesEventHandler(prop_GetColumnTitles); }
public SearchForm() { // // Required for Windows Form Designer support // InitializeComponent(); ListViewProperty prop = new ListViewProperty(); this.listView_browse.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.LongRecPath); prop.GetColumnTitles -= new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.GetColumnTitles += new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.ParsePath -= new ParsePathEventHandler(prop_ParsePath); prop.ParsePath += new ParsePathEventHandler(prop_ParsePath); }
/// <summary> /// 构造函数 /// </summary> public ItemSearchForm() { InitializeComponent(); _listviewRecords = this.listView_records; ListViewProperty prop = new ListViewProperty(); this.listView_records.Tag = prop; // 第一列特殊,记录路径 prop.SetSortStyle(0, ColumnSortStyle.RecPath); prop.GetColumnTitles -= new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.GetColumnTitles += new GetColumnTitlesEventHandler(prop_GetColumnTitles); prop.CompareColumn -= new CompareEventHandler(prop_CompareColumn); prop.CompareColumn += new CompareEventHandler(prop_CompareColumn); }