Exemple #1
0
        public ctlParamBuffer(string as_type)
        {
            InitializeComponent();

            pb_buffer = cBuffer.INSTANCE;

            foreach (int index in pb_buffer.INDEX)
            {
                ui_cbBuffer.Items.Add(index);
            }

            if (as_type == "TO")
            {
                ui_cbBuffer.DropDownStyle = ComboBoxStyle.DropDown;
                ui_lblBuffer.Text = "Buffer de destination";
            }
            else if (as_type == "FROM")
            {
                ui_cbBuffer.DropDownStyle = ComboBoxStyle.DropDownList;
                ui_lblBuffer.Text = "Buffer source";
            }
        }
Exemple #2
0
 // Constructeurs
 public bufToBuf()
 {
     pb_buffer = cBuffer.INSTANCE;
 }
Exemple #3
0
 public bufToFile(string as_filename, int ai_from)
 {
     ps_fileName = as_filename;
     pi_from = ai_from;
     pb_buffer = cBuffer.INSTANCE;
 }
Exemple #4
0
 public bufToFile(string as_filename)
 {
     ps_fileName = as_filename;
     pb_buffer = cBuffer.INSTANCE;
 }
Exemple #5
0
 // Constructeurs
 public bufToFile()
 {
     pb_buffer = cBuffer.INSTANCE;
 }
Exemple #6
0
 public fileLoad(string as_filename, int ai_to)
 {
     ps_fileName = as_filename;
     pi_to = ai_to;
     pb_buffer = cBuffer.INSTANCE;
 }
Exemple #7
0
 public fileLoad(string as_filename)
 {
     ps_fileName = as_filename;
     pb_buffer = cBuffer.INSTANCE;
 }
Exemple #8
0
 // Constructeurs
 public fileLoad()
 {
     pb_buffer = cBuffer.INSTANCE;
 }