Nikssna
Nikssna
CC#
Created by Nikssna on 12/9/2024 in #help
Error CS1061 PropertyStore does not contain a definition for Settings
Please
4 replies
CC#
Created by Nikssna on 12/9/2024 in #help
Error CS1061 PropertyStore does not contain a definition for Settings
@everyone
4 replies
CC#
Created by Nikssna on 12/9/2024 in #help
Error CS1061 PropertyStore does not contain a definition for Settings
Once*
4 replies
CC#
Created by Nikssna on 11/29/2024 in #help
Can someone help me fix my code, it doesnt open usercoontrols form porperly
Oh
20 replies
CC#
Created by Nikssna on 11/29/2024 in #help
Can someone help me fix my code, it doesnt open usercoontrols form porperly
maybe when you will get home i could just call you and screen share?
20 replies
CC#
Created by Nikssna on 11/29/2024 in #help
Can someone help me fix my code, it doesnt open usercoontrols form porperly
like when i open the usercontrol the code button is checked but it doesnt need ato and when i re open it the fastcolored textbox desapears
20 replies
CC#
Created by Nikssna on 11/29/2024 in #help
Can someone help me fix my code, it doesnt open usercoontrols form porperly
i tried to use chatgpt but i dont think it helped
20 replies
CC#
Created by Nikssna on 11/29/2024 in #help
Can someone help me fix my code, it doesnt open usercoontrols form porperly
private void guna2Button8_Click(object sender, EventArgs e)
{
// Create the UC_ListBoxhub user control and pass the Form1 reference to it
UC_ListBoxhub uc = new UC_ListBoxhub(this); // Passing reference to Form1
addUserControl(uc); // Add the user control
}

private void addUserControl(UserControl userControl)
{
// Loop through controls and hide any other user control (but keep FastColoredTextBox visible)
foreach (Control ctrl in this.Controls)
{
if (ctrl is UserControl && ctrl != userControl) // Hide other user controls
{
ctrl.Hide();
}
}

// If the user control is not already added, add it
if (!this.Controls.Contains(userControl))
{
userControl.Dock = DockStyle.Fill; // Make sure it fills the form
Controls.Add(userControl); // Add the user control
}

userControl.BringToFront(); // Bring the new user control to the front
}
private void guna2Button8_Click(object sender, EventArgs e)
{
// Create the UC_ListBoxhub user control and pass the Form1 reference to it
UC_ListBoxhub uc = new UC_ListBoxhub(this); // Passing reference to Form1
addUserControl(uc); // Add the user control
}

private void addUserControl(UserControl userControl)
{
// Loop through controls and hide any other user control (but keep FastColoredTextBox visible)
foreach (Control ctrl in this.Controls)
{
if (ctrl is UserControl && ctrl != userControl) // Hide other user controls
{
ctrl.Hide();
}
}

// If the user control is not already added, add it
if (!this.Controls.Contains(userControl))
{
userControl.Dock = DockStyle.Fill; // Make sure it fills the form
Controls.Add(userControl); // Add the user control
}

userControl.BringToFront(); // Bring the new user control to the front
}
20 replies
CC#
Created by Nikssna on 11/29/2024 in #help
Can someone help me fix my code, it doesnt open usercoontrols form porperly
$codegif
20 replies
CC#
Created by Nikssna on 11/29/2024 in #help
Can someone help me fix my code, it doesnt open usercoontrols form porperly
No description
20 replies
CC#
Created by Nikssna on 11/29/2024 in #help
Can someone help me fix my code, it doesnt open usercoontrols form porperly
?
20 replies
CC#
Created by Nikssna on 11/29/2024 in #help
Can someone help me fix my code, it doesnt open usercoontrols form porperly
can i screen share or should i send a screen shot
20 replies