2
Answers

Groupbox into popup window in C#

Is that possible to bring groupbox from main form to popup window by clicking a button in c# windows form application ?
could you pls help me... 
my code
private void button5_Click(object sender, EventArgs e)
{
var form = new Form();
form.Show(this.GroupVolume);
}
 
but its not working. 
Answers (2)
0
habib ullah

habib ullah

NA 116 2k 7y
sir please define the details of the above code
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 7y
You can use Path.GetExtension()
 
string myFilePath = @"C:\Manas.txt";
string ext = Path.GetExtension(myFilePath); //.txt