コード例 #1
0
 public void UpdateFrmAssemblies(FrmAssembliesData BoxType, string UpdatedValue)
 {
     try
     {
         this.Invoke(updateFrmAssembliesDelegate, BoxType, UpdatedValue);
     }
     catch { }
 }
コード例 #2
0
        private void UpdateFrmAssembliesDelegateFunc(FrmAssembliesData BoxType, string UpdatedValue)
        {
            try
            {
                switch (BoxType)
                {
                case FrmAssembliesData.LoadConvErrMsg:
                    lblErrMsg0.Text = UpdatedValue;
                    break;

                case FrmAssembliesData.UnloadConvErrMsg:
                    lblErrMsg1.Text = UpdatedValue;
                    break;

                case FrmAssembliesData.IndexTableErrMsg:
                    lblErrMsg2.Text = UpdatedValue;
                    break;
                }
            }
            catch { }
        }