// another way of popin-up the "Share Files/Folders" dialog box just // in case u did,nt like the first one protected void btnShareFileFolder_Click(object sender, System.EventArgs e) { frmSelection formSelection = new frmSelection(); formSelection.ShowDialog(); /*StreamIt it = new StreamIt("",new StreamingCallBackDeligates(StreamingCallBack)); * it.ShowDialog();*/ }
// Time to be kind to share resoures with others // through "Share Files/Folders" dialog box protected void ctxMenuShare_Click(object sender, System.EventArgs e) { if (!bShareDialogOpend) { // open this dialog bax only if it is not opened already bShareDialogOpend = true; // make and object of frmSelection form and show it frmSelection formSelection = new frmSelection(); formSelection.ShowDialog(); bShareDialogOpend = false; } }
// another way of popin-up the "Share Files/Folders" dialog box just // in case u did,nt like the first one protected void btnShareFileFolder_Click(object sender, System.EventArgs e) { frmSelection formSelection = new frmSelection(); formSelection.ShowDialog(); }