private string userName = Environment.UserName; // ユーザー名を取得する public async Task execStartUp(string macroName) { StopButton stopButton = new StopButton(macroName); settingStopButton(stopButton); stopButton.Show(); return; }
public void settingStopButton(StopButton stopButton) { stopButton.Left = 800; stopButton.Top = 800; stopButton.StartPosition = FormStartPosition.Manual; }