Beispiel #1
0
        private string GetDialogExtFilter(FileFormatClass format)
        {
            var str = new StringBuilder();

            foreach (var ext in format.FileExtension)
            {
                str.AppendFormat("*{0};", ext);
            }
            str.Remove(str.Length - 1, 1);

            return(str.ToString());
        }
Beispiel #2
0
 public UserConfigWriter(FileFormatClass fmtc) : base(fmtc)
 {
 }
Beispiel #3
0
 public PacketLogWriter(FileFormatClass fmtc) : base(fmtc)
 {
 }
Beispiel #4
0
 public FileFormatWriter(FileFormatClass fmtc)
 {
     Class = fmtc;
 }
Beispiel #5
0
 public PacketLogReader(FileFormatClass fmtc) : base(fmtc)
 {
 }
Beispiel #6
0
 public UserConfigReader(FileFormatClass fmtc) : base(fmtc)
 {
 }
        private void LBox_Main_DoubleClick(object sender, EventArgs e)
        {
            Format = LBox_Main.SelectedItem as FileFormatClass;

            DialogResult = DialogResult.OK;
        }
Beispiel #8
0
 public FileFormatReader(FileFormatClass fmtc)
 {
     Class = fmtc;
 }