예제 #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());
        }
예제 #2
0
 public UserConfigWriter(FileFormatClass fmtc) : base(fmtc)
 {
 }
예제 #3
0
 public PacketLogWriter(FileFormatClass fmtc) : base(fmtc)
 {
 }
예제 #4
0
 public FileFormatWriter(FileFormatClass fmtc)
 {
     Class = fmtc;
 }
예제 #5
0
 public PacketLogReader(FileFormatClass fmtc) : base(fmtc)
 {
 }
예제 #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;
        }
예제 #8
0
 public FileFormatReader(FileFormatClass fmtc)
 {
     Class = fmtc;
 }