Exemplo n.º 1
0
		public NCSNgClient(NCSPlugin.NGType type, string source, DateTime regTime) : base(PluginTypeToApiType(type), source, regTime)
		{

		}
Exemplo n.º 2
0
		/// <summary>
		/// カラムを追加する
		/// </summary>
		/// <param name="columnExtention"></param>
		public void AddColumnExtention(NCSPlugin.IColumnExtention columnExtention)
		{
			if (columnExtention != null && columnExtention.Column != null) {
				if (columnExtention.Column.SortMode == DataGridViewColumnSortMode.Automatic) {
					columnExtention.Column.SortMode = DataGridViewColumnSortMode.Programmatic;
				}
				dataGridView1.Columns.Add(columnExtention.Column);
				_columnExtention.Add(columnExtention);
			}
		}
Exemplo n.º 3
0
		private void ColoringOwnerComment(NCSPlugin.IChat chat, System.Windows.Forms.DataGridViewCellFormattingEventArgs e) {
			if (e.ColumnIndex == 1 && chat.IsOwnerComment) {
				e.CellStyle.ForeColor = System.Drawing.Color.OrangeRed;
			}
		}