[C#] 纯文本查看 复制代码
private void View_Load(object sender, EventArgs e)
{
if (!base.DesignMode)
{
timer_0.Enabled = true;
timer_1.Enabled = true;
Class4.string_0 = (string_1 = method_0());
if (Convert.ToInt32(INIOperationClass.INIGetStringValue(string_1 + "\\config.ini", "Setting", "Lng", "").Trim()) == 2)
{
Class4.qMwhKqroo5 = "ALGVIEWEXENU";
}
string string_0 = INIOperationClass.INIGetStringValue(string_1 + "\\config.ini", "Authorization", "RegisterCode", "").Trim();
Task.Run(delegate
{
LIS.GetLis(string_1, string_0);
});
Class4.bool_0 = Convert.ToBoolean(INIOperationClass.INIGetStringValue(string_1 + "\\config.ini", "Setting", "Run", "").Trim());
if (!Class4.bool_0)
{
button_3.BackgroundImage = Resources.imgStopRed28px;
}
else
{
button_3.BackgroundImage = Resources.imgStartGreen32px;
}
Class4.int_0 = Convert.ToInt32(INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Setting", "Filter", ""));
Class4.string_1 = INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Setting", "AlarmArea", "");
Class4.bool_1 = Convert.ToBoolean(INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Msg", "1", ""));
Class4.bool_2 = Convert.ToBoolean(INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Msg", "2", ""));
Class4.bool_3 = Convert.ToBoolean(INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Msg", "3", ""));
Class4.bool_4 = Convert.ToBoolean(INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Msg", "4", ""));
Class4.bool_5 = Convert.ToBoolean(INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Msg", "5", ""));
Class4.bool_6 = Convert.ToBoolean(INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Msg", "6", ""));
Class4.bool_7 = Convert.ToBoolean(INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Msg", "7", ""));
Class4.bool_8 = Convert.ToBoolean(INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Msg", "8", ""));
Class4.bool_9 = Convert.ToBoolean(INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Msg", "9", ""));
Class4.bool_10 = Convert.ToBoolean(INIOperationClass.INIGetStringValue(Class4.string_0 + "\\config.ini", "Msg", "10", ""));
}
}