private void btn_modify_Click(object sender, EventArgs e) { object item = this.checkedListBox.SelectedItem; if (item == null) { return; } config modify = new config(item.ToString()); modify.ShowDialog(); this.display_ip_list(); }
private void btn_add_Click( object sender, EventArgs e ) { config add = new config(); add.ShowDialog(); this.display_ip_list(); }
private void btn_modify_Click( object sender, EventArgs e ) { object item = this.checkedListBox.SelectedItem; if( item == null ) return; config modify = new config( item.ToString() ); modify.ShowDialog(); this.display_ip_list(); }