Ejemplo n.º 1
0
        private void Edit_Button_Click(object sender, EventArgs e)
        {
            Edit_Contact edit = new Edit_Contact();

            edit.ShowDialog();
            this.ShowGroup();
        }
Ejemplo n.º 2
0
        private void ListShowAll_DoubleClick(object sender, EventArgs e)
        {
            Edit_Contact edit = new Edit_Contact();

            edit.TextEdit_ID.Text = ListShowAll.CurrentRow.Cells[0].Value.ToString().Trim();
            edit.Find();
            edit.ShowDialog();
        }
Ejemplo n.º 3
0
        private void Remove_contact_Button_Click(object sender, EventArgs e)
        {
            Edit_Contact edit = new Edit_Contact();

            edit.TextEdit_ID.Text = ID_Textbox.Text;
            if (ID_Textbox.Text == "")
            {
                XtraMessageBox.Show("The textbox incorrect format", "Delete contact", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }
Ejemplo n.º 4
0
        private void Select_Button_Click(object sender, EventArgs e)
        {
            Edit_Contact edit = new Edit_Contact();

            edit.TextEdit_ID.Text = ID_Textbox.Text;
            if (ID_Textbox.Text == "")
            {
                XtraMessageBox.Show("The textbox incorrect format", "Find contact", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
            else
            {
                edit.Find();
                edit.ShowDialog();
            }
        }