예제 #1
0
        private void OpenStorage()
        {
            if (!_debugger.SmartContractDeployed)
            {
                MessageBox.Show("Please deploy the smart contract first!");
                return;
            }

            var form = new StorageForm(_debugger.Emulator);

            form.ShowDialog();
        }
예제 #2
0
        private void OpenStorage()
        {
            if (this.debugger == null || this.debugger.currentAddress == null)
            {
                MessageBox.Show("Please deploy the smart contract first!");
                return;
            }

            var form = new StorageForm();

            form.debugger = this.debugger;
            form.ShowDialog();
        }