public GridViewBurn(Main main)
        {
            _main = main;

              // Setup message queue for receiving Messages
              IMessageQueue queueMessage = ServiceScope.Get<IMessageBroker>().GetOrCreate("message");
              queueMessage.OnMessageReceive += OnMessageReceive;

              InitializeComponent();

              _main.BurnButtonsEnabled = false;

              // Create the Temp Directory for the burner
              if (!Directory.Exists(tmpBurnDirectory))
            Directory.CreateDirectory(tmpBurnDirectory);

              // Load the Settings
              gridColumns = new GridViewColumnsBurn();

              dataGridViewBurn.AutoGenerateColumns = false;
              dataGridViewBurn.DataSource = bindingList;

              // Now Setup the columns, we want to display
              CreateColumns();

              CreateContextMenu();

              lbBurningStatus.Text = localisation.ToString("Burning", "DragAndDrop");
            // "Use Drag & Drop to order the tracks for burning";
        }
Пример #2
0
        public GridViewBurn(Main main)
        {
            _main = main;

            // Setup message queue for receiving Messages
            IMessageQueue queueMessage = ServiceScope.Get <IMessageBroker>().GetOrCreate("message");

            queueMessage.OnMessageReceive += OnMessageReceive;

            InitializeComponent();

            _main.BurnButtonsEnabled = false;

            // Create the Temp Directory for the burner
            if (!Directory.Exists(tmpBurnDirectory))
            {
                Directory.CreateDirectory(tmpBurnDirectory);
            }

            // Load the Settings
            gridColumns = new GridViewColumnsBurn();

            dataGridViewBurn.AutoGenerateColumns = false;
            dataGridViewBurn.DataSource          = bindingList;

            // Now Setup the columns, we want to display
            CreateColumns();

            CreateContextMenu();

            lbBurningStatus.Text = localisation.ToString("Burning", "DragAndDrop");
            // "Use Drag & Drop to order the tracks for burning";
        }