public void OnConnection(object Application, ext_ConnectMode ConnectMode, object AddInInst, ref Array custom) { application = Application as Application; EscDialog dialog = new EscDialog(); dialog.ShowDialog(); }
private void button1_Click(object sender, EventArgs e) { EscDialog dialog = new EscDialog(); dialog.ShowDialog(); }