HamBook – Diff between revs 41 and 47
?pathlinks?
Rev 41 | Rev 47 | |||
---|---|---|---|---|
Line 14... | Line 14... | |||
14 | /// the contents of this method with the code editor. |
14 | /// the contents of this method with the code editor. |
|
15 | /// </summary> |
15 | /// </summary> |
|
16 | private void InitializeComponent() |
16 | private void InitializeComponent() |
|
17 | { |
17 | { |
|
18 | this.components = new System.ComponentModel.Container(); |
18 | this.components = new System.ComponentModel.Container(); |
|
19 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
- | ||
20 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
- | ||
21 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
- | ||
22 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
- | ||
23 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MemoryOrganizerForm)); |
19 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MemoryOrganizerForm)); |
|
24 | this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |
20 | this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |
|
25 | this.dataGridView1 = new HamBook.Utilities.Controls.DoubleBufferedDataGridView(); |
21 | this.dataGridView1 = new HamBook.Utilities.Controls.DoubleBufferedDataGridView(); |
|
26 | this.LocationColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
- | ||
27 | this.FrequencyColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
- | ||
28 | this.ClarifierDirectionColumn = new System.Windows.Forms.DataGridViewComboBoxColumn(); |
- | ||
29 | this.ClarifierOffsetColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
- | ||
30 | this.ClarColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
- | ||
31 | this.ModeColumn = new System.Windows.Forms.DataGridViewComboBoxColumn(); |
- | ||
32 | this.CtcssColumn = new System.Windows.Forms.DataGridViewComboBoxColumn(); |
- | ||
33 | this.PhaseColumn = new System.Windows.Forms.DataGridViewComboBoxColumn(); |
- | ||
34 | this.TagColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |
- | ||
35 | this.TextColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
- | ||
36 | this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); |
22 | this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); |
|
37 | this.readToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
23 | this.readToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
38 | this.writeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
24 | this.writeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
|
39 | this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); |
25 | this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); |
|
40 | this.button1 = new System.Windows.Forms.Button(); |
26 | this.button1 = new System.Windows.Forms.Button(); |
|
Line 78... | Line 64... | |||
78 | this.dataGridView1.AllowUserToAddRows = false; |
64 | this.dataGridView1.AllowUserToAddRows = false; |
|
79 | this.dataGridView1.AllowUserToDeleteRows = false; |
65 | this.dataGridView1.AllowUserToDeleteRows = false; |
|
80 | this.dataGridView1.AllowUserToResizeRows = false; |
66 | this.dataGridView1.AllowUserToResizeRows = false; |
|
81 | this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; |
67 | this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; |
|
82 | this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
68 | this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
83 | this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
- | ||
84 | this.LocationColumn, |
- | ||
85 | this.FrequencyColumn, |
- | ||
86 | this.ClarifierDirectionColumn, |
- | ||
87 | this.ClarifierOffsetColumn, |
- | ||
88 | this.ClarColumn, |
- | ||
89 | this.ModeColumn, |
- | ||
90 | this.CtcssColumn, |
- | ||
91 | this.PhaseColumn, |
- | ||
92 | this.TagColumn, |
- | ||
93 | this.TextColumn}); |
- | ||
94 | this.dataGridView1.ContextMenuStrip = this.contextMenuStrip1; |
69 | this.dataGridView1.ContextMenuStrip = this.contextMenuStrip1; |
|
95 | this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; |
70 | this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
96 | this.dataGridView1.DoubleBuffered = true; |
71 | this.dataGridView1.DoubleBuffered = true; |
|
97 | this.dataGridView1.Location = new System.Drawing.Point(3, 3); |
72 | this.dataGridView1.Location = new System.Drawing.Point(3, 3); |
|
98 | this.dataGridView1.Name = "dataGridView1"; |
73 | this.dataGridView1.Name = "dataGridView1"; |
|
Line 106... | Line 81... | |||
106 | this.dataGridView1.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.DataGridView1_CellMouseUp); |
81 | this.dataGridView1.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.DataGridView1_CellMouseUp); |
|
107 | this.dataGridView1.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView1_CellValueChanged); |
82 | this.dataGridView1.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView1_CellValueChanged); |
|
108 | this.dataGridView1.CurrentCellDirtyStateChanged += new System.EventHandler(this.DataGridView1_CurrentCellDirtyStateChanged); |
83 | this.dataGridView1.CurrentCellDirtyStateChanged += new System.EventHandler(this.DataGridView1_CurrentCellDirtyStateChanged); |
|
109 | this.dataGridView1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.DataGridView1_DataError); |
84 | this.dataGridView1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.DataGridView1_DataError); |
|
110 | // |
85 | // |
|
111 | // LocationColumn |
- | ||
112 | // |
- | ||
113 | this.LocationColumn.HeaderText = "Location"; |
- | ||
114 | this.LocationColumn.Name = "LocationColumn"; |
- | ||
115 | this.LocationColumn.ReadOnly = true; |
- | ||
116 | // |
- | ||
117 | // FrequencyColumn |
- | ||
118 | // |
- | ||
119 | this.FrequencyColumn.HeaderText = "Frequency"; |
- | ||
120 | this.FrequencyColumn.Name = "FrequencyColumn"; |
- | ||
121 | // |
- | ||
122 | // ClarifierDirectionColumn |
- | ||
123 | // |
- | ||
124 | dataGridViewCellStyle1.NullValue = "+"; |
- | ||
125 | this.ClarifierDirectionColumn.DefaultCellStyle = dataGridViewCellStyle1; |
- | ||
126 | this.ClarifierDirectionColumn.HeaderText = "Clarifier"; |
- | ||
127 | this.ClarifierDirectionColumn.Items.AddRange(new object[] { |
- | ||
128 | "+", |
- | ||
129 | "-"}); |
- | ||
130 | this.ClarifierDirectionColumn.Name = "ClarifierDirectionColumn"; |
- | ||
131 | // |
- | ||
132 | // ClarifierOffsetColumn |
- | ||
133 | // |
- | ||
134 | this.ClarifierOffsetColumn.HeaderText = "Offset"; |
- | ||
135 | this.ClarifierOffsetColumn.Name = "ClarifierOffsetColumn"; |
- | ||
136 | // |
- | ||
137 | // ClarColumn |
- | ||
138 | // |
- | ||
139 | this.ClarColumn.HeaderText = "Clar"; |
- | ||
140 | this.ClarColumn.Name = "ClarColumn"; |
- | ||
141 | this.ClarColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True; |
- | ||
142 | // |
- | ||
143 | // ModeColumn |
- | ||
144 | // |
- | ||
145 | dataGridViewCellStyle2.NullValue = "LSB"; |
- | ||
146 | this.ModeColumn.DefaultCellStyle = dataGridViewCellStyle2; |
- | ||
147 | this.ModeColumn.HeaderText = "Mode"; |
- | ||
148 | this.ModeColumn.Items.AddRange(new object[] { |
- | ||
149 | "LSB", |
- | ||
150 | "USB", |
- | ||
151 | "CW", |
- | ||
152 | "FM", |
- | ||
153 | "AM", |
- | ||
154 | "RTTY-LSB", |
- | ||
155 | "CW-R", |
- | ||
156 | "DATA-LSB", |
- | ||
157 | "RTTY-USB", |
- | ||
158 | "FM-N", |
- | ||
159 | "DATA-USB", |
- | ||
160 | "AM-N"}); |
- | ||
161 | this.ModeColumn.Name = "ModeColumn"; |
- | ||
162 | // |
- | ||
163 | // CtcssColumn |
- | ||
164 | // |
- | ||
165 | dataGridViewCellStyle3.NullValue = "Off"; |
- | ||
166 | this.CtcssColumn.DefaultCellStyle = dataGridViewCellStyle3; |
- | ||
167 | this.CtcssColumn.HeaderText = "CTCSS"; |
- | ||
168 | this.CtcssColumn.Items.AddRange(new object[] { |
- | ||
169 | "Off", |
- | ||
170 | "Enc/Dec", |
- | ||
171 | "Enc"}); |
- | ||
172 | this.CtcssColumn.Name = "CtcssColumn"; |
- | ||
173 | // |
- | ||
174 | // PhaseColumn |
- | ||
175 | // |
- | ||
176 | dataGridViewCellStyle4.NullValue = "Simplex"; |
- | ||
177 | this.PhaseColumn.DefaultCellStyle = dataGridViewCellStyle4; |
- | ||
178 | this.PhaseColumn.HeaderText = "Phase"; |
- | ||
179 | this.PhaseColumn.Items.AddRange(new object[] { |
- | ||
180 | "Simplex", |
- | ||
181 | "Plus Shift", |
- | ||
182 | "Minus Shift"}); |
- | ||
183 | this.PhaseColumn.Name = "PhaseColumn"; |
- | ||
184 | // |
- | ||
185 | // TagColumn |
- | ||
186 | // |
- | ||
187 | this.TagColumn.HeaderText = "Tag"; |
- | ||
188 | this.TagColumn.Name = "TagColumn"; |
- | ||
189 | this.TagColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True; |
- | ||
190 | // |
- | ||
191 | // TextColumn |
- | ||
192 | // |
- | ||
193 | this.TextColumn.HeaderText = "Text"; |
- | ||
194 | this.TextColumn.Name = "TextColumn"; |
- | ||
195 | // |
- | ||
196 | // contextMenuStrip1 |
86 | // contextMenuStrip1 |
|
197 | // |
87 | // |
|
198 | this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
88 | this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
|
199 | this.readToolStripMenuItem, |
89 | this.readToolStripMenuItem, |
|
200 | this.writeToolStripMenuItem}); |
90 | this.writeToolStripMenuItem}); |
|
Line 362... | Line 252... | |||
362 | private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; |
252 | private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; |
|
363 | private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem; |
253 | private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem; |
|
364 | private System.Windows.Forms.ToolStripMenuItem exportToolStripMenuItem; |
254 | private System.Windows.Forms.ToolStripMenuItem exportToolStripMenuItem; |
|
365 | private System.Windows.Forms.SaveFileDialog saveFileDialog1; |
255 | private System.Windows.Forms.SaveFileDialog saveFileDialog1; |
|
366 | private System.Windows.Forms.OpenFileDialog openFileDialog1; |
256 | private System.Windows.Forms.OpenFileDialog openFileDialog1; |
|
367 | private System.Windows.Forms.DataGridViewTextBoxColumn LocationColumn; |
- | ||
368 | private System.Windows.Forms.DataGridViewTextBoxColumn FrequencyColumn; |
- | ||
369 | private System.Windows.Forms.DataGridViewComboBoxColumn ClarifierDirectionColumn; |
- | ||
370 | private System.Windows.Forms.DataGridViewTextBoxColumn ClarifierOffsetColumn; |
- | ||
371 | private System.Windows.Forms.DataGridViewCheckBoxColumn ClarColumn; |
- | ||
372 | private System.Windows.Forms.DataGridViewComboBoxColumn ModeColumn; |
- | ||
373 | private System.Windows.Forms.DataGridViewComboBoxColumn CtcssColumn; |
- | ||
374 | private System.Windows.Forms.DataGridViewComboBoxColumn PhaseColumn; |
- | ||
375 | private System.Windows.Forms.DataGridViewCheckBoxColumn TagColumn; |
- | ||
376 | private System.Windows.Forms.DataGridViewTextBoxColumn TextColumn; |
- | ||
377 | private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; |
257 | private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; |
|
378 | private System.Windows.Forms.ToolStripMenuItem readToolStripMenuItem; |
258 | private System.Windows.Forms.ToolStripMenuItem readToolStripMenuItem; |
|
379 | private System.Windows.Forms.ToolStripMenuItem writeToolStripMenuItem; |
259 | private System.Windows.Forms.ToolStripMenuItem writeToolStripMenuItem; |
|
380 | } |
260 | } |
|
381 | } |
261 | } |
|
382 | |
262 | |