Exemple #1
0
        private void viewContractToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Contract contract = (Contract)listView1.SelectedItems[0].Tag;

            using (ViewContractDialog dialog = new ViewContractDialog(contract))
            {
                dialog.ShowDialog();
            }
        }
Exemple #2
0
        private void viewContractToolStripMenuItem_Click(object sender, EventArgs e)
        {
            WalletAccount account = (WalletAccount)listView1.SelectedItems[0].Tag;

            using (ViewContractDialog dialog = new ViewContractDialog(account.Contract))
            {
                dialog.ShowDialog();
            }
        }