33 lines
846 B
C#
33 lines
846 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace _3auth_test
|
|
{
|
|
public partial class MainInterface : Form
|
|
{
|
|
public MainInterface(bool init)
|
|
{
|
|
InitializeComponent();
|
|
|
|
if (init && !Program.CheckLogin())
|
|
{
|
|
MainInterface mainForm = new MainInterface(false);
|
|
mainForm.Enabled = false;
|
|
LoginForm loginForm = new LoginForm();
|
|
loginForm.Show();
|
|
}
|
|
}
|
|
|
|
private void testing_get_values_Click(object sender, EventArgs e)
|
|
{
|
|
testing_id.Text = Program.flashii_id;
|
|
testing_session.Text = Program.flashii_session;
|
|
}
|
|
}
|
|
}
|