過去 2 日間、Visual Studio の動作がおかしくなりました。すでに再インストールしましたが、問題は解決しませんでした。
他のクラスやフォームを呼び出すことができません:
クラス : http://snag.gy/7W4dl.jpg
フォーム: http://snag.gy/lfm8Y.jpg
Properties.Settings を使用できません: http://snag.gy/W3VJn.jpg
コードオープン改造フォーム:
private void button2_Click_1(object sender, EventArgs e)
{
Mods modsForm = new Mods();
modsForm.ShowDialog();
}
Properties.Settings を使用してクラスのものを呼び出すコード
if (SAVE_UN_CHECK.Checked)
{
if (SAVE_UN_CHECK.Text != "")
{
string clearText = SAVE_UN_CHECK.Text.Trim();
string cipherText = CryptorEngine.Encrypt(clearText, true);
//Save textbox text to file
Properties.Settings.Default.USER_USERNAME = cipherText;
USERNAME_TEXT.Text = cipherText;
}
}
何をすべきか?これらの奇妙なエラーは一度もありませんでした。私はすでに Visual Studio 2012 と SQL Server などの他のすべてのものを再インストールしました。しかし、それは問題を解決しませんでした。
これらは using ステートメントです。
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;