private void OnDisabledRDPUsersClick(object sender, EventArgs e) { DemoViewLocalUsers viewLocalUsers = new DemoViewLocalUsers(ComputerNameLabel.Text, LocalGroupType.RDPUSERS); viewLocalUsers.StartPosition = FormStartPosition.CenterScreen; viewLocalUsers.ShowDialog(); }
public DemoViewAddLocalUser(DemoViewLocalUsers demoLocalUsersView, LocalGroupType groupType, string computerName) { _demoLocalUsersView = demoLocalUsersView; this.groupType = groupType; InitializeComponent(); }