private void Form1_Shown(object sender, EventArgs e) { Auth a = new Auth(global); a.ShowDialog(); PaintUser(); }
private void button7_Click(object sender, EventArgs e) { if (trigger == 0) { Auth a = new Auth(global); a.ShowDialog(); PaintUser(); } if (trigger == 1) { ViewCountData f = new ViewCountData(global); f.ShowDialog(); } }