コード例 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (pmv == null)
     {
         pmv      = new PaletteMV(this);
         pmv.Text = "Dodaj paletę";
         pmv.Show();
     }
 }
コード例 #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (pmv == null && dataGridView1.Rows.Count != 0)
     {
         pmv      = new PaletteMV(this, dataGridView1.Rows[dataGridView1.CurrentCellAddress.Y].Cells[1].Value.ToString(), dataGridView1.Rows[dataGridView1.CurrentCellAddress.Y].Cells[2].Value.ToString(), dataGridView1.Rows[dataGridView1.CurrentCellAddress.Y].Cells[3].Value.ToString());
         pmv.Text = "Zmień dane palety";
         pmv.Show();
     }
 }
コード例 #3
0
 public void deleteSmallWindow()
 {
     pmv = null;
 }