void ButtonMainSplittingSplitNowClick(object sender, EventArgs e) { long nudVal=Convert.ToUInt32(numericUpDownMainSplittingChunksize.Value); long cSize=KsSplitter.GetSizeInBytes(nudVal, comboBoxMainSplittingChunksizetype.Text); StatusForm statForm=new StatusForm(this); joinHandler sh=new joinHandler(this, statForm); tabControlMain.Enabled=false; statForm.Show(this); KsSplitter.SplitFile(textBoxMainSplittingInputFile.Text, textBoxMainSplittingOutputdir.Text, cSize, sh); //KsJoiner.JoinFile(textBoxMainJoiningModeManualInputchunk.Text, textBoxMainJoiningModeManualOutputfile.Text, jh); }
void ButtonMainJoiningModeManualJoinnowClick(object sender, EventArgs e) { StatusForm statForm=new StatusForm(this); joinHandler jh=new joinHandler(this, statForm); tabControlMain.Enabled=false; statForm.Show(this); KsJoiner.JoinFile(textBoxMainJoiningModeManualInputchunk.Text, textBoxMainJoiningModeManualOutputfile.Text, jh); }