Developer technologies | Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
i have follow instruction from where to get the job done https://stackoverflow.com/a/10803307/9359783
but see this one https://stackoverflow.com/a/27173509/9359783
guide me how to implement it ?
i want design should be same as image given there. i am talking about this image https://i.stack.imgur.com/gY8Xf.png
the image has nice divider....how to have it ? image has arrow....does it created by code ?
thanks
See the following custom control.
My test
using System;
using System.Windows.Forms;
namespace SplitButtonDemo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void firstToolStripMenuItem_Click(object sender, EventArgs e)
{
MessageBox.Show($@"Hello from {((ToolStripMenuItem)sender).Name}");
}
private void OptionsButton_Click(object sender, EventArgs e)
{
MessageBox.Show("Clicked");
}
}
}