Esempio n. 1
0
        private void button9_Click(object sender, EventArgs e)
        {
            String                name       = "목 삭제";
            string                cell_name  = this.관data.Rows[k.RowIndex].Cells[1].Value.ToString();
            string                cell_order = this.관data.Rows[k.RowIndex].Cells[2].Value.ToString();
            cellContent           gCell      = new cellContent(cell_name, this.관data.RowCount, int.Parse(cell_order));
            Setting_budget_delete deleteForm = new Setting_budget_delete(name, strPath, gCell, this);

            deleteForm.StartPosition = FormStartPosition.Manual;
            deleteForm.Location      = new Point(250, 300);
            deleteForm.Show();
        }
Esempio n. 2
0
 private void button6_Click(object sender, EventArgs e)
 {
     try {
         String                name       = "항 삭제";
         string                cell_name  = this.항data.Rows[h.RowIndex].Cells[1].Value.ToString();
         string                cell_order = this.항data.Rows[h.RowIndex].Cells[2].Value.ToString();
         cellContent           gCell      = new cellContent(cell_name, this.항data.RowCount, int.Parse(cell_order));
         Setting_budget_delete deleteForm = new Setting_budget_delete(name, strPath, gCell, this);
         deleteForm.StartPosition = FormStartPosition.Manual;
         deleteForm.Location      = new Point(250, 300);
         deleteForm.Show();
     }
     catch {
         MessageBox.Show("지정된 자료가 없습니다.", "오류");
     }
 }