Exemple #1
0
        public Control Setup()
        {
            if (_channels.Count == 0)
            {
                MessageBox.Show(Resources.NoChannelsInProfile, Vendor.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Hand);
            }
            else
            {
                _setupDialog = new APSetupDialog(_setupData, _setupNode, _channels, _startChannel);
                _setupDialog.ShowDialog();
                _setupDialog.Dispose();
            }

            return(null);
        }
Exemple #2
0
        public Control Setup()
        {
            if (_channels.Count == 0) {
                MessageBox.Show(Resources.NoChannelsInProfile, Vendor.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Hand);
            }
            else {
                _setupDialog = new APSetupDialog(_setupData, _setupNode, _channels, _startChannel);
                _setupDialog.ShowDialog();
                _setupDialog.Dispose();
            }

            return null;
        }