コード例 #1
0
        private void startupBackgroundTasks_startUpTasksCompleted(object sender, environmentVarsCore enVarsResult)
        {
            enVars = enVarsResult;
            var dataUpdate = new updateMainAppClass();

            dataUpdate.envars     = enVars;
            dataUpdate.updateTask = updateMainAppClass.UPDATE_MAIN;
            updateMainApp.Invoke(this, dataUpdate);
            this.Close();
        }
コード例 #2
0
 private void selectPanelBackColor_Click(object sender, EventArgs e)
 {
     if (ColorPickerDialog.ShowDialog() == DialogResult.OK)
     {
         envars.layoutDesign.PanelBackColor = ColorPickerDialog.Color;
         var dataUpdate = new updateMainAppClass();
         dataUpdate.envars     = envars;
         dataUpdate.updateTask = updateMainAppClass.UPDATE_LAYOUT;
         updateMainApp.Invoke(this, ref dataUpdate);
     }
 }