Click here to Skip to main content
15,912,082 members
Home / Discussions / C#
   

C#

 
AnswerRe: Respond to other application window's resize event Pin
Giorgi Dalakishvili10-Jul-07 10:50
mentorGiorgi Dalakishvili10-Jul-07 10:50 
QuestionDataGridView Link Cell Pin
rahvyn610-Jul-07 9:36
rahvyn610-Jul-07 9:36 
AnswerRe: DataGridView Link Cell Pin
Ketty Avashia10-Jul-07 9:48
Ketty Avashia10-Jul-07 9:48 
GeneralRe: DataGridView Link Cell Pin
rahvyn610-Jul-07 9:49
rahvyn610-Jul-07 9:49 
GeneralRe: DataGridView Link Cell Pin
Ketty Avashia10-Jul-07 10:02
Ketty Avashia10-Jul-07 10:02 
GeneralRe: DataGridView Link Cell Pin
rahvyn610-Jul-07 10:13
rahvyn610-Jul-07 10:13 
GeneralRe: DataGridView Link Cell Pin
rahvyn610-Jul-07 10:28
rahvyn610-Jul-07 10:28 
GeneralRe: DataGridView Link Cell Pin
Ketty Avashia10-Jul-07 10:29
Ketty Avashia10-Jul-07 10:29 
This is simple Designer generated code.
How to reach that property.
1. Select ur DataGridView control on designer.
2. F4
3. Columns (collection)
4. Select <column1>
5 On right side u see all column properties.
6. Change ColumnType to DataGridViewLinkColumn
<br />
namespace WindowsApplication1<br />
{<br />
    partial class Form1<br />
    {<br />
        /// <summary><br />
        /// Required designer variable.<br />
        /// </summary><br />
        private System.ComponentModel.IContainer components = null;<br />
<br />
        /// <summary><br />
        /// Clean up any resources being used.<br />
        /// </summary><br />
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param><br />
        protected override void Dispose(bool disposing)<br />
        {<br />
            if (disposing && (components != null))<br />
            {<br />
                components.Dispose();<br />
            }<br />
            base.Dispose(disposing);<br />
        }<br />
<br />
        #region Windows Form Designer generated code<br />
<br />
        /// <summary><br />
        /// Required method for Designer support - do not modify<br />
        /// the contents of this method with the code editor.<br />
        /// </summary><br />
        private void InitializeComponent()<br />
        {<br />
            this.components = new System.ComponentModel.Container();<br />
            this.dataGridView1 = new System.Windows.Forms.DataGridView();<br />
            this.actionTypesBindingSource = new System.Windows.Forms.BindingSource(this.components);<br />
            this.fISM0702DataSet = new WindowsApplication1.FISM0702DataSet();<br />
            this.actionTypesTableAdapter = new WindowsApplication1.FISM0702DataSetTableAdapters.ActionTypesTableAdapter();<br />
            this.actionTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewLinkColumn();            this.descriptionDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();<br />
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();<br />
            ((System.ComponentModel.ISupportInitialize)(this.actionTypesBindingSource)).BeginInit();<br />
            ((System.ComponentModel.ISupportInitialize)(this.fISM0702DataSet)).BeginInit();<br />
            this.SuspendLayout();<br />
            // <br />
            // dataGridView1<br />
            // <br />
            this.dataGridView1.AutoGenerateColumns = false;<br />
            this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;<br />
            this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {<br />
            this.actionTypeDataGridViewTextBoxColumn,<br />
            this.descriptionDataGridViewTextBoxColumn});<br />
            this.dataGridView1.DataSource = this.actionTypesBindingSource;<br />
            this.dataGridView1.Location = new System.Drawing.Point(213, 281);<br />
            this.dataGridView1.Name = "dataGridView1";<br />
            this.dataGridView1.Size = new System.Drawing.Size(240, 150);<br />
            this.dataGridView1.TabIndex = 3;<br />
            // <br />
            // actionTypesBindingSource<br />
            // <br />
            this.actionTypesBindingSource.DataMember = "ActionTypes";<br />
            this.actionTypesBindingSource.DataSource = this.fISM0702DataSet;<br />
            // <br />
            // fISM0702DataSet<br />
            // <br />
            this.fISM0702DataSet.DataSetName = "FISM0702DataSet";<br />
            this.fISM0702DataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;<br />
            // <br />
            // actionTypesTableAdapter<br />
            // <br />
            this.actionTypesTableAdapter.ClearBeforeFill = true;<br />
            // <br />
            // actionTypeDataGridViewTextBoxColumn<br />
            // <br />
            this.actionTypeDataGridViewTextBoxColumn.DataPropertyName = "ActionType";<br />
            this.actionTypeDataGridViewTextBoxColumn.HeaderText = "ActionType";<br />
            this.actionTypeDataGridViewTextBoxColumn.Name = "actionTypeDataGridViewTextBoxColumn";<br />
            this.actionTypeDataGridViewTextBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;<br />
            this.actionTypeDataGridViewTextBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;<br />
            // <br />
            // descriptionDataGridViewTextBoxColumn<br />
            // <br />
            this.descriptionDataGridViewTextBoxColumn.DataPropertyName = "Description";<br />
            this.descriptionDataGridViewTextBoxColumn.HeaderText = "Description";<br />
            this.descriptionDataGridViewTextBoxColumn.Name = "descriptionDataGridViewTextBoxColumn";<br />
            // <br />
            // Form1<br />
            // <br />
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);<br />
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;<br />
            this.ClientSize = new System.Drawing.Size(636, 562);<br />
            this.Controls.Add(this.dataGridView1);<br />
            this.Name = "Form1";<br />
            this.Text = "Form1";<br />
            this.Load += new System.EventHandler(this.Form1_Load);<br />
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();<br />
            ((System.ComponentModel.ISupportInitialize)(this.actionTypesBindingSource)).EndInit();<br />
            ((System.ComponentModel.ISupportInitialize)(this.fISM0702DataSet)).EndInit();<br />
            this.ResumeLayout(false);<br />
<br />
        }<br />
<br />
        #endregion<br />
<br />
        private System.Windows.Forms.DataGridView dataGridView1;<br />
        private FISM0702DataSet fISM0702DataSet;<br />
        private System.Windows.Forms.BindingSource actionTypesBindingSource;<br />
        private WindowsApplication1.FISM0702DataSetTableAdapters.ActionTypesTableAdapter actionTypesTableAdapter;<br />
        private System.Windows.Forms.DataGridViewLinkColumn actionTypeDataGridViewTextBoxColumn;<br />
        private System.Windows.Forms.DataGridViewTextBoxColumn descriptionDataGridViewTextBoxColumn;<br />
    }<br />
}<br />


Are you binding ur grid on runtime????


Ketty

GeneralRe: DataGridView Link Cell Pin
rahvyn610-Jul-07 10:32
rahvyn610-Jul-07 10:32 
QuestionExecute User written Code Pin
Ketty Avashia10-Jul-07 9:34
Ketty Avashia10-Jul-07 9:34 
AnswerRe: Execute User written Code Pin
Guffa10-Jul-07 9:40
Guffa10-Jul-07 9:40 
GeneralRe: Execute User written Code Pin
Ketty Avashia10-Jul-07 10:05
Ketty Avashia10-Jul-07 10:05 
JokeRe: Execute User written Code Pin
PhilDanger10-Jul-07 10:58
PhilDanger10-Jul-07 10:58 
GeneralRe: Execute User written Code Pin
Ketty Avashia10-Jul-07 11:32
Ketty Avashia10-Jul-07 11:32 
GeneralRe: Execute User written Code Pin
PhilDanger11-Jul-07 2:58
PhilDanger11-Jul-07 2:58 
GeneralRe: Execute User written Code Pin
Ketty Avashia11-Jul-07 5:34
Ketty Avashia11-Jul-07 5:34 
AnswerRe: Execute User written Code Pin
Cyrilix11-Jul-07 8:28
Cyrilix11-Jul-07 8:28 
Questionquestion??? Pin
sarvenaz8410-Jul-07 8:47
sarvenaz8410-Jul-07 8:47 
AnswerRe: question??? Pin
Christian Graus10-Jul-07 9:06
protectorChristian Graus10-Jul-07 9:06 
Questionjfo's Splitbutton... Pin
Faredegyn10-Jul-07 8:12
Faredegyn10-Jul-07 8:12 
QuestionRe: jfo's Splitbutton... Pin
Faredegyn11-Jul-07 3:24
Faredegyn11-Jul-07 3:24 
QuestionC# Having the Font resize accordingly with the label and the form it is in. Pin
Minosknight10-Jul-07 7:12
Minosknight10-Jul-07 7:12 
AnswerRe: C# Having the Font resize accordingly with the label and the form it is in. Pin
Christian Graus10-Jul-07 7:15
protectorChristian Graus10-Jul-07 7:15 
GeneralRe: C# Having the Font resize accordingly with the label and the form it is in. Pin
Minosknight10-Jul-07 7:18
Minosknight10-Jul-07 7:18 
GeneralRe: C# Having the Font resize accordingly with the label and the form it is in. Pin
Christian Graus10-Jul-07 7:32
protectorChristian Graus10-Jul-07 7:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.