private void cmdOpen_Click(object sender, EventArgs e) { if (cbDesignName.Text.Trim() == "") { MessageBox.Show("Please select a design name to open.", "Beacher", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); return; } OpenClick?.Invoke(cbDesignName.Text); this.Close(); }
private void tsmiOpen_Click(object sender, EventArgs e) { OpenClick.Invoke(sender, e); }
private void BtnOpen_Click(object sender, EventArgs e) { OpenClick?.Invoke(this, EventArgs.Empty); }
private void Open(object sender, RoutedEventArgs e) { OpenClick.Invoke(sender, e); }